From 9287ffd9fa300ac4e2a73e0acabef6c2acc3eff2 Mon Sep 17 00:00:00 2001 From: fattureincloud-bot <91328460+fattureincloud-bot@users.noreply.github.com> Date: Thu, 6 Mar 2025 15:40:55 +0000 Subject: [PATCH 1/4] chore: bumping version to 2.1.2 --- .openapi-generator/FILES | 50 +- .openapi-generator/VERSION | 2 +- README.md | 38 +- api/openapi.yaml | 5973 +++++++++++++---- build.gradle | 2 +- docs/Client.md | 3 +- docs/ClientsApi.md | 71 + docs/EmailsApi.md | 16 +- docs/EntityClientPreCreateInfo.md | 23 + docs/EventType.md | 148 +- docs/GetBinIssuedDocumentResponse.md | 17 + docs/GetBinReceivedDocumentResponse.md | 17 + docs/GetEntityClientPreCreateInfoResponse.md | 17 + docs/GetPriceListItemsResponse.md | 17 + docs/IssuedDocument.md | 1 + docs/IssuedDocumentPreCreateInfo.md | 1 + docs/IssuedDocumentsApi.md | 280 + docs/ListBinIssuedDocuments.md | 17 + docs/ListBinReceivedDocuments.md | 17 + docs/ListPriceListsResponse.md | 17 + docs/PaymentMethod.md | 1 + docs/PriceList.md | 23 + docs/PriceListItem.md | 17 + docs/PriceListPricesType.md | 13 + docs/PriceListType.md | 13 + docs/PriceListsApi.md | 152 + docs/ReceivedDocumentsApi.md | 280 + docs/VerifyWebhooksSubscription.md | 18 + docs/VerifyWebhooksSubscriptionRequest.md | 17 + docs/WebhooksApi.md | 72 + docs/WebhooksSubscription.md | 1 + .../WebhooksSubscriptionVerificationMethod.md | 13 + sdk-version.yaml | 2 +- .../it/fattureincloud/sdk/ApiCallback.java | 2 +- .../java/it/fattureincloud/sdk/ApiClient.java | 4 +- .../it/fattureincloud/sdk/ApiException.java | 6 +- .../it/fattureincloud/sdk/ApiResponse.java | 2 +- .../it/fattureincloud/sdk/Configuration.java | 10 +- .../sdk/GzipRequestInterceptor.java | 2 +- src/main/java/it/fattureincloud/sdk/JSON.java | 2 +- src/main/java/it/fattureincloud/sdk/Pair.java | 6 +- .../sdk/ProgressRequestBody.java | 2 +- .../sdk/ProgressResponseBody.java | 2 +- .../sdk/ServerConfiguration.java | 6 +- .../it/fattureincloud/sdk/ServerVariable.java | 6 +- .../it/fattureincloud/sdk/StringUtil.java | 6 +- .../it/fattureincloud/sdk/api/ArchiveApi.java | 2 +- .../fattureincloud/sdk/api/CashbookApi.java | 2 +- .../it/fattureincloud/sdk/api/ClientsApi.java | 158 +- .../fattureincloud/sdk/api/CompaniesApi.java | 2 +- .../it/fattureincloud/sdk/api/EmailsApi.java | 115 +- .../it/fattureincloud/sdk/api/InfoApi.java | 2 +- .../sdk/api/IssuedDocumentsApi.java | 798 ++- .../sdk/api/IssuedEInvoicesApi.java | 2 +- .../fattureincloud/sdk/api/PriceListsApi.java | 389 ++ .../fattureincloud/sdk/api/ProductsApi.java | 2 +- .../fattureincloud/sdk/api/ReceiptsApi.java | 2 +- .../sdk/api/ReceivedDocumentsApi.java | 625 +- .../fattureincloud/sdk/api/SettingsApi.java | 2 +- .../fattureincloud/sdk/api/SuppliersApi.java | 2 +- .../it/fattureincloud/sdk/api/TaxesApi.java | 2 +- .../it/fattureincloud/sdk/api/UserApi.java | 2 +- .../fattureincloud/sdk/api/WebhooksApi.java | 185 +- .../it/fattureincloud/sdk/auth/Scope.java | 9 + .../sdk/model/AbstractOpenApiSchema.java | 6 +- .../sdk/model/ArchiveDocument.java | 6 +- .../sdk/model/AttachmentData.java | 6 +- .../sdk/model/CashbookEntry.java | 6 +- .../sdk/model/CashbookEntryDocument.java | 6 +- .../sdk/model/CashbookEntryKind.java | 2 +- .../sdk/model/CashbookEntryType.java | 2 +- .../it/fattureincloud/sdk/model/City.java | 6 +- .../it/fattureincloud/sdk/model/Client.java | 82 +- .../fattureincloud/sdk/model/ClientType.java | 2 +- .../it/fattureincloud/sdk/model/Company.java | 6 +- .../fattureincloud/sdk/model/CompanyInfo.java | 6 +- .../sdk/model/CompanyInfoAccessInfo.java | 6 +- .../sdk/model/CompanyInfoPlanInfo.java | 6 +- .../model/CompanyInfoPlanInfoFunctions.java | 6 +- .../CompanyInfoPlanInfoFunctionsStatus.java | 6 +- .../sdk/model/CompanyInfoPlanInfoLimits.java | 6 +- .../sdk/model/CompanyPlanUsage.java | 6 +- .../fattureincloud/sdk/model/CompanyType.java | 2 +- .../sdk/model/ControlledCompany.java | 6 +- .../model/CreateArchiveDocumentRequest.java | 6 +- .../model/CreateArchiveDocumentResponse.java | 6 +- .../sdk/model/CreateCashbookEntryRequest.java | 6 +- .../model/CreateCashbookEntryResponse.java | 6 +- .../sdk/model/CreateClientRequest.java | 6 +- .../sdk/model/CreateClientResponse.java | 6 +- .../sdk/model/CreateF24Request.java | 6 +- .../sdk/model/CreateF24Response.java | 6 +- .../model/CreateIssuedDocumentRequest.java | 6 +- .../model/CreateIssuedDocumentResponse.java | 6 +- .../model/CreatePaymentAccountRequest.java | 6 +- .../model/CreatePaymentAccountResponse.java | 6 +- .../sdk/model/CreatePaymentMethodRequest.java | 6 +- .../model/CreatePaymentMethodResponse.java | 6 +- .../sdk/model/CreateProductRequest.java | 6 +- .../sdk/model/CreateProductResponse.java | 6 +- .../sdk/model/CreateReceiptRequest.java | 6 +- .../sdk/model/CreateReceiptResponse.java | 6 +- .../model/CreateReceivedDocumentRequest.java | 6 +- .../model/CreateReceivedDocumentResponse.java | 6 +- .../sdk/model/CreateSupplierRequest.java | 6 +- .../sdk/model/CreateSupplierResponse.java | 6 +- .../sdk/model/CreateVatTypeRequest.java | 6 +- .../sdk/model/CreateVatTypeResponse.java | 6 +- .../CreateWebhooksSubscriptionRequest.java | 6 +- .../CreateWebhooksSubscriptionResponse.java | 6 +- .../it/fattureincloud/sdk/model/Currency.java | 6 +- .../sdk/model/DetailedCountry.java | 6 +- .../sdk/model/DocumentTemplate.java | 6 +- .../sdk/model/EInvoiceRejectionReason.java | 6 +- .../it/fattureincloud/sdk/model/Email.java | 6 +- .../sdk/model/EmailAttachment.java | 6 +- .../fattureincloud/sdk/model/EmailData.java | 6 +- .../model/EmailDataDefaultSenderEmail.java | 6 +- .../sdk/model/EmailRecipientStatus.java | 2 +- .../sdk/model/EmailSchedule.java | 6 +- .../sdk/model/EmailScheduleInclude.java | 6 +- .../fattureincloud/sdk/model/EmailStatus.java | 2 +- .../it/fattureincloud/sdk/model/Entity.java | 6 +- .../sdk/model/EntityClientPreCreateInfo.java | 322 + .../fattureincloud/sdk/model/EntityType.java | 2 +- .../fattureincloud/sdk/model/EventType.java | 182 +- .../java/it/fattureincloud/sdk/model/F24.java | 6 +- .../fattureincloud/sdk/model/F24Status.java | 2 +- .../sdk/model/FattureInCloudPlanType.java | 2 +- .../sdk/model/FunctionStatus.java | 6 +- .../sdk/model/GetArchiveDocumentResponse.java | 6 +- .../model/GetBinIssuedDocumentResponse.java | 89 + .../model/GetBinReceivedDocumentResponse.java | 90 + .../sdk/model/GetCashbookEntryResponse.java | 6 +- .../sdk/model/GetClientResponse.java | 6 +- .../sdk/model/GetCompanyInfoResponse.java | 6 +- .../model/GetCompanyPlanUsageResponse.java | 6 +- .../GetEInvoiceRejectionReasonResponse.java | 6 +- .../sdk/model/GetEmailDataResponse.java | 6 +- .../GetEntityClientPreCreateInfoResponse.java | 90 + ...etExistingIssuedDocumentTotalsRequest.java | 6 +- ...tExistingIssuedDocumentTotalsResponse.java | 6 +- ...ExistingReceivedDocumentTotalsRequest.java | 6 +- ...xistingReceivedDocumentTotalsResponse.java | 6 +- .../sdk/model/GetF24Response.java | 6 +- ...etIssuedDocumentPreCreateInfoResponse.java | 6 +- .../sdk/model/GetIssuedDocumentResponse.java | 6 +- .../GetNewIssuedDocumentTotalsRequest.java | 6 +- .../GetNewIssuedDocumentTotalsResponse.java | 6 +- .../GetNewReceivedDocumentTotalsRequest.java | 6 +- .../GetNewReceivedDocumentTotalsResponse.java | 6 +- .../sdk/model/GetPaymentAccountResponse.java | 6 +- .../sdk/model/GetPaymentMethodResponse.java | 6 +- .../sdk/model/GetPriceListItemsResponse.java | 99 + .../sdk/model/GetProductResponse.java | 6 +- .../GetReceiptPreCreateInfoResponse.java | 6 +- .../sdk/model/GetReceiptResponse.java | 6 +- .../GetReceiptsMonthlyTotalsResponse.java | 6 +- ...ReceivedDocumentPreCreateInfoResponse.java | 6 +- .../model/GetReceivedDocumentResponse.java | 6 +- .../sdk/model/GetSupplierResponse.java | 6 +- .../sdk/model/GetTaxProfileResponse.java | 6 +- .../sdk/model/GetUserInfoResponse.java | 6 +- ...serInfoResponseEmailConfirmationState.java | 6 +- .../sdk/model/GetUserInfoResponseInfo.java | 6 +- .../sdk/model/GetVatTypeResponse.java | 6 +- .../GetWebhooksSubscriptionResponse.java | 6 +- .../sdk/model/IssuedDocument.java | 39 +- .../sdk/model/IssuedDocumentEiData.java | 6 +- .../sdk/model/IssuedDocumentExtraData.java | 6 +- .../model/IssuedDocumentItemsListItem.java | 6 +- .../sdk/model/IssuedDocumentOptions.java | 6 +- .../model/IssuedDocumentPaymentsListItem.java | 6 +- ...dDocumentPaymentsListItemPaymentTerms.java | 6 +- .../model/IssuedDocumentPreCreateInfo.java | 46 +- ...uedDocumentPreCreateInfoDefaultValues.java | 6 +- ...ntPreCreateInfoExtraDataDefaultValues.java | 6 +- ...cumentPreCreateInfoItemsDefaultValues.java | 6 +- .../sdk/model/IssuedDocumentStatus.java | 2 +- .../sdk/model/IssuedDocumentTotals.java | 6 +- .../sdk/model/IssuedDocumentType.java | 2 +- .../model/JoinIssuedDocumentsResponse.java | 6 +- .../it/fattureincloud/sdk/model/Language.java | 6 +- .../model/ListArchiveCategoriesResponse.java | 6 +- .../model/ListArchiveDocumentsResponse.java | 6 +- .../ListArchiveDocumentsResponsePage.java | 6 +- .../sdk/model/ListBinIssuedDocuments.java | 99 + .../sdk/model/ListBinReceivedDocuments.java | 99 + .../model/ListCashbookEntriesResponse.java | 6 +- .../sdk/model/ListCitiesResponse.java | 6 +- .../sdk/model/ListClientsResponse.java | 6 +- .../sdk/model/ListClientsResponsePage.java | 6 +- .../sdk/model/ListCostCentersResponse.java | 6 +- .../sdk/model/ListCountriesResponse.java | 6 +- .../sdk/model/ListCurrenciesResponse.java | 6 +- ...stDeliveryNotesDefaultCausalsResponse.java | 6 +- .../model/ListDetailedCountriesResponse.java | 6 +- .../sdk/model/ListEmailsResponse.java | 6 +- .../sdk/model/ListEmailsResponsePage.java | 6 +- .../sdk/model/ListF24Response.java | 6 +- .../model/ListF24ResponseAggregatedData.java | 6 +- .../sdk/model/ListF24ResponseAggregation.java | 6 +- .../sdk/model/ListF24ResponsePage.java | 6 +- .../model/ListIssuedDocumentsResponse.java | 6 +- .../ListIssuedDocumentsResponsePage.java | 6 +- .../sdk/model/ListLanguagesResponse.java | 6 +- .../model/ListPaymentAccountsResponse.java | 6 +- .../sdk/model/ListPaymentMethodsResponse.java | 6 +- .../sdk/model/ListPriceListsResponse.java | 99 + .../model/ListProductCategoriesResponse.java | 6 +- .../sdk/model/ListProductsResponse.java | 6 +- .../sdk/model/ListProductsResponsePage.java | 6 +- .../sdk/model/ListReceiptsResponse.java | 6 +- .../sdk/model/ListReceiptsResponsePage.java | 6 +- ...istReceivedDocumentCategoriesResponse.java | 6 +- .../model/ListReceivedDocumentsResponse.java | 6 +- .../ListReceivedDocumentsResponsePage.java | 6 +- .../sdk/model/ListRevenueCentersResponse.java | 6 +- .../sdk/model/ListSuppliersResponse.java | 6 +- .../sdk/model/ListSuppliersResponsePage.java | 6 +- .../sdk/model/ListTemplatesResponse.java | 6 +- .../sdk/model/ListUnitsOfMeasureResponse.java | 6 +- .../sdk/model/ListUserCompaniesResponse.java | 6 +- .../model/ListUserCompaniesResponseData.java | 6 +- .../sdk/model/ListVatTypesResponse.java | 6 +- .../ListWebhooksSubscriptionsResponse.java | 6 +- .../model/ModifyArchiveDocumentRequest.java | 6 +- .../model/ModifyArchiveDocumentResponse.java | 6 +- .../sdk/model/ModifyCashbookEntryRequest.java | 6 +- .../model/ModifyCashbookEntryResponse.java | 6 +- .../sdk/model/ModifyClientRequest.java | 6 +- .../sdk/model/ModifyClientResponse.java | 6 +- .../sdk/model/ModifyF24Request.java | 6 +- .../sdk/model/ModifyF24Response.java | 6 +- .../model/ModifyIssuedDocumentRequest.java | 6 +- .../model/ModifyIssuedDocumentResponse.java | 6 +- .../model/ModifyPaymentAccountRequest.java | 6 +- .../model/ModifyPaymentAccountResponse.java | 6 +- .../sdk/model/ModifyPaymentMethodRequest.java | 6 +- .../model/ModifyPaymentMethodResponse.java | 6 +- .../sdk/model/ModifyProductRequest.java | 6 +- .../sdk/model/ModifyProductResponse.java | 6 +- .../sdk/model/ModifyReceiptRequest.java | 6 +- .../sdk/model/ModifyReceiptResponse.java | 6 +- .../model/ModifyReceivedDocumentRequest.java | 6 +- .../model/ModifyReceivedDocumentResponse.java | 6 +- .../sdk/model/ModifySupplierRequest.java | 6 +- .../sdk/model/ModifySupplierResponse.java | 6 +- .../sdk/model/ModifyVatTypeRequest.java | 6 +- .../sdk/model/ModifyVatTypeResponse.java | 6 +- .../ModifyWebhooksSubscriptionRequest.java | 6 +- .../ModifyWebhooksSubscriptionResponse.java | 6 +- .../sdk/model/MonthlyTotal.java | 6 +- .../sdk/model/OriginalDocumentType.java | 2 +- .../fattureincloud/sdk/model/Pagination.java | 6 +- .../sdk/model/PaymentAccount.java | 6 +- .../sdk/model/PaymentAccountType.java | 2 +- .../sdk/model/PaymentMethod.java | 8 +- .../sdk/model/PaymentMethodDetails.java | 6 +- .../sdk/model/PaymentMethodType.java | 2 +- .../sdk/model/PaymentTermsType.java | 2 +- .../sdk/model/PermissionLevel.java | 2 +- .../fattureincloud/sdk/model/Permissions.java | 6 +- ...PermissionsFicIssuedDocumentsDetailed.java | 6 +- .../fattureincloud/sdk/model/PriceList.java | 269 + .../sdk/model/PriceListItem.java | 90 + .../sdk/model/PriceListPricesType.java | 72 + .../sdk/model/PriceListType.java | 72 + .../it/fattureincloud/sdk/model/Product.java | 6 +- .../it/fattureincloud/sdk/model/Receipt.java | 6 +- .../sdk/model/ReceiptItemsListItem.java | 6 +- .../sdk/model/ReceiptPreCreateInfo.java | 6 +- .../fattureincloud/sdk/model/ReceiptType.java | 2 +- .../sdk/model/ReceivedDocument.java | 6 +- .../sdk/model/ReceivedDocumentInfo.java | 6 +- .../ReceivedDocumentInfoDefaultValues.java | 6 +- ...eceivedDocumentInfoItemsDefaultValues.java | 6 +- .../model/ReceivedDocumentItemsListItem.java | 6 +- .../ReceivedDocumentPaymentsListItem.java | 6 +- ...dDocumentPaymentsListItemPaymentTerms.java | 6 +- .../sdk/model/ReceivedDocumentTotals.java | 6 +- .../sdk/model/ReceivedDocumentType.java | 2 +- .../sdk/model/ScheduleEmailRequest.java | 6 +- .../sdk/model/SendEInvoiceRequest.java | 6 +- .../sdk/model/SendEInvoiceRequestData.java | 6 +- .../sdk/model/SendEInvoiceRequestOptions.java | 6 +- .../sdk/model/SendEInvoiceResponse.java | 6 +- .../sdk/model/SendEInvoiceResponseData.java | 6 +- .../fattureincloud/sdk/model/SenderEmail.java | 6 +- .../sdk/model/ShowTotalsMode.java | 2 +- .../it/fattureincloud/sdk/model/Supplier.java | 6 +- .../sdk/model/SupplierType.java | 2 +- .../fattureincloud/sdk/model/TaxProfile.java | 6 +- .../TransformIssuedDocumentResponse.java | 6 +- .../UploadArchiveAttachmentResponse.java | 6 +- .../model/UploadF24AttachmentResponse.java | 6 +- ...ploadIssuedDocumentAttachmentResponse.java | 6 +- ...oadReceivedDocumentAttachmentResponse.java | 6 +- .../it/fattureincloud/sdk/model/User.java | 6 +- .../sdk/model/UserCompanyRole.java | 2 +- .../it/fattureincloud/sdk/model/VatItem.java | 6 +- .../it/fattureincloud/sdk/model/VatKind.java | 2 +- .../it/fattureincloud/sdk/model/VatType.java | 6 +- .../model/VerifyEInvoiceXmlErrorResponse.java | 6 +- .../VerifyEInvoiceXmlErrorResponseError.java | 6 +- ...XmlErrorResponseErrorValidationResult.java | 6 +- .../VerifyEInvoiceXmlErrorResponseExtra.java | 6 +- .../sdk/model/VerifyEInvoiceXmlResponse.java | 6 +- .../model/VerifyEInvoiceXmlResponseData.java | 6 +- .../sdk/model/VerifyWebhooksSubscription.java | 135 + .../VerifyWebhooksSubscriptionRequest.java | 90 + .../sdk/model/WebhooksSubscription.java | 38 +- .../sdk/model/WebhooksSubscriptionConfig.java | 6 +- .../model/WebhooksSubscriptionMapping.java | 2 +- ...ebhooksSubscriptionVerificationMethod.java | 75 + .../sdk/api/PriceListsApiTest.java | 64 + .../model/EntityClientPreCreateInfoTest.java | 104 + .../GetBinIssuedDocumentResponseTest.java | 49 + .../GetBinReceivedDocumentResponseTest.java | 49 + ...EntityClientPreCreateInfoResponseTest.java | 49 + .../model/GetPriceListItemsResponseTest.java | 51 + .../sdk/model/ListBinIssuedDocumentsTest.java | 51 + .../model/ListBinReceivedDocumentsTest.java | 51 + .../sdk/model/ListPriceListsResponseTest.java | 51 + .../sdk/model/PriceListItemTest.java | 49 + .../sdk/model/PriceListPricesTypeTest.java | 32 + .../sdk/model/PriceListTest.java | 99 + .../sdk/model/PriceListTypeTest.java | 32 + ...VerifyWebhooksSubscriptionRequestTest.java | 49 + .../model/VerifyWebhooksSubscriptionTest.java | 58 + ...oksSubscriptionVerificationMethodTest.java | 32 + 331 files changed, 11663 insertions(+), 2386 deletions(-) create mode 100644 docs/EntityClientPreCreateInfo.md create mode 100644 docs/GetBinIssuedDocumentResponse.md create mode 100644 docs/GetBinReceivedDocumentResponse.md create mode 100644 docs/GetEntityClientPreCreateInfoResponse.md create mode 100644 docs/GetPriceListItemsResponse.md create mode 100644 docs/ListBinIssuedDocuments.md create mode 100644 docs/ListBinReceivedDocuments.md create mode 100644 docs/ListPriceListsResponse.md create mode 100644 docs/PriceList.md create mode 100644 docs/PriceListItem.md create mode 100644 docs/PriceListPricesType.md create mode 100644 docs/PriceListType.md create mode 100644 docs/PriceListsApi.md create mode 100644 docs/VerifyWebhooksSubscription.md create mode 100644 docs/VerifyWebhooksSubscriptionRequest.md create mode 100644 docs/WebhooksSubscriptionVerificationMethod.md create mode 100644 src/main/java/it/fattureincloud/sdk/api/PriceListsApi.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfo.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponse.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponse.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponse.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/GetPriceListItemsResponse.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/ListBinIssuedDocuments.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/ListBinReceivedDocuments.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/ListPriceListsResponse.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/PriceList.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/PriceListItem.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/PriceListPricesType.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/PriceListType.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscription.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequest.java create mode 100644 src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethod.java create mode 100644 src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/PriceListTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java create mode 100644 src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 9d01b775..a14616fe 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -65,6 +65,7 @@ docs/EmailScheduleInclude.md docs/EmailStatus.md docs/EmailsApi.md docs/Entity.md +docs/EntityClientPreCreateInfo.md docs/EntityType.md docs/EventType.md docs/F24.md @@ -72,12 +73,15 @@ docs/F24Status.md docs/FattureInCloudPlanType.md docs/FunctionStatus.md docs/GetArchiveDocumentResponse.md +docs/GetBinIssuedDocumentResponse.md +docs/GetBinReceivedDocumentResponse.md docs/GetCashbookEntryResponse.md docs/GetClientResponse.md docs/GetCompanyInfoResponse.md docs/GetCompanyPlanUsageResponse.md docs/GetEInvoiceRejectionReasonResponse.md docs/GetEmailDataResponse.md +docs/GetEntityClientPreCreateInfoResponse.md docs/GetExistingIssuedDocumentTotalsRequest.md docs/GetExistingIssuedDocumentTotalsResponse.md docs/GetExistingReceivedDocumentTotalsRequest.md @@ -91,6 +95,7 @@ docs/GetNewReceivedDocumentTotalsRequest.md docs/GetNewReceivedDocumentTotalsResponse.md docs/GetPaymentAccountResponse.md docs/GetPaymentMethodResponse.md +docs/GetPriceListItemsResponse.md docs/GetProductResponse.md docs/GetReceiptPreCreateInfoResponse.md docs/GetReceiptResponse.md @@ -126,6 +131,8 @@ docs/Language.md docs/ListArchiveCategoriesResponse.md docs/ListArchiveDocumentsResponse.md docs/ListArchiveDocumentsResponsePage.md +docs/ListBinIssuedDocuments.md +docs/ListBinReceivedDocuments.md docs/ListCashbookEntriesResponse.md docs/ListCitiesResponse.md docs/ListClientsResponse.md @@ -146,6 +153,7 @@ docs/ListIssuedDocumentsResponsePage.md docs/ListLanguagesResponse.md docs/ListPaymentAccountsResponse.md docs/ListPaymentMethodsResponse.md +docs/ListPriceListsResponse.md docs/ListProductCategoriesResponse.md docs/ListProductsResponse.md docs/ListProductsResponsePage.md @@ -201,6 +209,11 @@ docs/PaymentTermsType.md docs/PermissionLevel.md docs/Permissions.md docs/PermissionsFicIssuedDocumentsDetailed.md +docs/PriceList.md +docs/PriceListItem.md +docs/PriceListPricesType.md +docs/PriceListType.md +docs/PriceListsApi.md docs/Product.md docs/ProductsApi.md docs/Receipt.md @@ -249,10 +262,13 @@ docs/VerifyEInvoiceXmlErrorResponseErrorValidationResult.md docs/VerifyEInvoiceXmlErrorResponseExtra.md docs/VerifyEInvoiceXmlResponse.md docs/VerifyEInvoiceXmlResponseData.md +docs/VerifyWebhooksSubscription.md +docs/VerifyWebhooksSubscriptionRequest.md docs/WebhooksApi.md docs/WebhooksSubscription.md docs/WebhooksSubscriptionConfig.md docs/WebhooksSubscriptionMapping.md +docs/WebhooksSubscriptionVerificationMethod.md gradle.properties gradle/wrapper/gradle-wrapper.jar gradle/wrapper/gradle-wrapper.properties @@ -281,6 +297,7 @@ src/main/java/it/fattureincloud/sdk/api/EmailsApi.java src/main/java/it/fattureincloud/sdk/api/InfoApi.java src/main/java/it/fattureincloud/sdk/api/IssuedDocumentsApi.java src/main/java/it/fattureincloud/sdk/api/IssuedEInvoicesApi.java +src/main/java/it/fattureincloud/sdk/api/PriceListsApi.java src/main/java/it/fattureincloud/sdk/api/ProductsApi.java src/main/java/it/fattureincloud/sdk/api/ReceiptsApi.java src/main/java/it/fattureincloud/sdk/api/ReceivedDocumentsApi.java @@ -350,6 +367,7 @@ src/main/java/it/fattureincloud/sdk/model/EmailSchedule.java src/main/java/it/fattureincloud/sdk/model/EmailScheduleInclude.java src/main/java/it/fattureincloud/sdk/model/EmailStatus.java src/main/java/it/fattureincloud/sdk/model/Entity.java +src/main/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfo.java src/main/java/it/fattureincloud/sdk/model/EntityType.java src/main/java/it/fattureincloud/sdk/model/EventType.java src/main/java/it/fattureincloud/sdk/model/F24.java @@ -357,12 +375,15 @@ src/main/java/it/fattureincloud/sdk/model/F24Status.java src/main/java/it/fattureincloud/sdk/model/FattureInCloudPlanType.java src/main/java/it/fattureincloud/sdk/model/FunctionStatus.java src/main/java/it/fattureincloud/sdk/model/GetArchiveDocumentResponse.java +src/main/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponse.java +src/main/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponse.java src/main/java/it/fattureincloud/sdk/model/GetCashbookEntryResponse.java src/main/java/it/fattureincloud/sdk/model/GetClientResponse.java src/main/java/it/fattureincloud/sdk/model/GetCompanyInfoResponse.java src/main/java/it/fattureincloud/sdk/model/GetCompanyPlanUsageResponse.java src/main/java/it/fattureincloud/sdk/model/GetEInvoiceRejectionReasonResponse.java src/main/java/it/fattureincloud/sdk/model/GetEmailDataResponse.java +src/main/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponse.java src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsRequest.java src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsResponse.java src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsRequest.java @@ -376,6 +397,7 @@ src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsRequest.ja src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsResponse.java src/main/java/it/fattureincloud/sdk/model/GetPaymentAccountResponse.java src/main/java/it/fattureincloud/sdk/model/GetPaymentMethodResponse.java +src/main/java/it/fattureincloud/sdk/model/GetPriceListItemsResponse.java src/main/java/it/fattureincloud/sdk/model/GetProductResponse.java src/main/java/it/fattureincloud/sdk/model/GetReceiptPreCreateInfoResponse.java src/main/java/it/fattureincloud/sdk/model/GetReceiptResponse.java @@ -408,6 +430,8 @@ src/main/java/it/fattureincloud/sdk/model/Language.java src/main/java/it/fattureincloud/sdk/model/ListArchiveCategoriesResponse.java src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponse.java src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponsePage.java +src/main/java/it/fattureincloud/sdk/model/ListBinIssuedDocuments.java +src/main/java/it/fattureincloud/sdk/model/ListBinReceivedDocuments.java src/main/java/it/fattureincloud/sdk/model/ListCashbookEntriesResponse.java src/main/java/it/fattureincloud/sdk/model/ListCitiesResponse.java src/main/java/it/fattureincloud/sdk/model/ListClientsResponse.java @@ -428,6 +452,7 @@ src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponsePage.java src/main/java/it/fattureincloud/sdk/model/ListLanguagesResponse.java src/main/java/it/fattureincloud/sdk/model/ListPaymentAccountsResponse.java src/main/java/it/fattureincloud/sdk/model/ListPaymentMethodsResponse.java +src/main/java/it/fattureincloud/sdk/model/ListPriceListsResponse.java src/main/java/it/fattureincloud/sdk/model/ListProductCategoriesResponse.java src/main/java/it/fattureincloud/sdk/model/ListProductsResponse.java src/main/java/it/fattureincloud/sdk/model/ListProductsResponsePage.java @@ -483,6 +508,10 @@ src/main/java/it/fattureincloud/sdk/model/PaymentTermsType.java src/main/java/it/fattureincloud/sdk/model/PermissionLevel.java src/main/java/it/fattureincloud/sdk/model/Permissions.java src/main/java/it/fattureincloud/sdk/model/PermissionsFicIssuedDocumentsDetailed.java +src/main/java/it/fattureincloud/sdk/model/PriceList.java +src/main/java/it/fattureincloud/sdk/model/PriceListItem.java +src/main/java/it/fattureincloud/sdk/model/PriceListPricesType.java +src/main/java/it/fattureincloud/sdk/model/PriceListType.java src/main/java/it/fattureincloud/sdk/model/Product.java src/main/java/it/fattureincloud/sdk/model/Receipt.java src/main/java/it/fattureincloud/sdk/model/ReceiptItemsListItem.java @@ -524,8 +553,25 @@ src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseErrorVal src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseExtra.java src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponse.java src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponseData.java +src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscription.java +src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequest.java src/main/java/it/fattureincloud/sdk/model/WebhooksSubscription.java src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionConfig.java src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionMapping.java -src/test/java/it/fattureincloud/sdk/model/GetTaxProfileResponseTest.java -src/test/java/it/fattureincloud/sdk/model/TaxProfileTest.java +src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethod.java +src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java +src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java +src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java +src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java +src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java +src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java +src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java +src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java +src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java +src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java +src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java +src/test/java/it/fattureincloud/sdk/model/PriceListTest.java +src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java +src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java +src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java +src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 4bc5d618..5f84a81d 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.9.0 +7.12.0 diff --git a/README.md b/README.md index 1b6f52ed..6aa93b8d 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ Fatture in Cloud API v2 - API Reference -- API version: 2.1.3 +- API version: 2.1.5 -- Build date: 2024-10-30T09:09:50.123536Z[Etc/UTC] +- Build date: 2025-03-06T15:40:46.627547Z[Etc/UTC] Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. @@ -33,7 +33,7 @@ Add this dependency to your project's POM: it.fattureincloud fattureincloud-java-sdk - 2.1.1 + 2.1.2 ``` @@ -47,7 +47,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "it.fattureincloud:fattureincloud-java-sdk:2.1.1" + implementation "it.fattureincloud:fattureincloud-java-sdk:2.1.2" } ``` @@ -110,6 +110,7 @@ Class | Method | HTTP request | Description *ClientsApi* | [**createClient**](docs/ClientsApi.md#createClient) | **POST** /c/{company_id}/entities/clients | Create Client *ClientsApi* | [**deleteClient**](docs/ClientsApi.md#deleteClient) | **DELETE** /c/{company_id}/entities/clients/{client_id} | Delete Client *ClientsApi* | [**getClient**](docs/ClientsApi.md#getClient) | **GET** /c/{company_id}/entities/clients/{client_id} | Get Client +*ClientsApi* | [**getClientInfo**](docs/ClientsApi.md#getClientInfo) | **GET** /c/{company_id}/entities/clients/info | Get Client info *ClientsApi* | [**listClients**](docs/ClientsApi.md#listClients) | **GET** /c/{company_id}/entities/clients | List Clients *ClientsApi* | [**modifyClient**](docs/ClientsApi.md#modifyClient) | **PUT** /c/{company_id}/entities/clients/{client_id} | Modify Client *CompaniesApi* | [**getCompanyInfo**](docs/CompaniesApi.md#getCompanyInfo) | **GET** /c/{company_id}/company/info | Get Company Info @@ -132,16 +133,20 @@ Class | Method | HTTP request | Description *InfoApi* | [**listUnitsOfMeasure**](docs/InfoApi.md#listUnitsOfMeasure) | **GET** /info/measures | List Units of Measure *InfoApi* | [**listVatTypes**](docs/InfoApi.md#listVatTypes) | **GET** /c/{company_id}/info/vat_types | List Vat Types *IssuedDocumentsApi* | [**createIssuedDocument**](docs/IssuedDocumentsApi.md#createIssuedDocument) | **POST** /c/{company_id}/issued_documents | Create Issued Document +*IssuedDocumentsApi* | [**deleteBinIssuedDocument**](docs/IssuedDocumentsApi.md#deleteBinIssuedDocument) | **DELETE** /c/{company_id}/bin/issued_documents/{document_id} | *IssuedDocumentsApi* | [**deleteIssuedDocument**](docs/IssuedDocumentsApi.md#deleteIssuedDocument) | **DELETE** /c/{company_id}/issued_documents/{document_id} | Delete Issued Document *IssuedDocumentsApi* | [**deleteIssuedDocumentAttachment**](docs/IssuedDocumentsApi.md#deleteIssuedDocumentAttachment) | **DELETE** /c/{company_id}/issued_documents/{document_id}/attachment | Delete Issued Document Attachment +*IssuedDocumentsApi* | [**getBinIssuedDocument**](docs/IssuedDocumentsApi.md#getBinIssuedDocument) | **GET** /c/{company_id}/bin/issued_documents/{document_id} | Get Bin Issued Documents List *IssuedDocumentsApi* | [**getEmailData**](docs/IssuedDocumentsApi.md#getEmailData) | **GET** /c/{company_id}/issued_documents/{document_id}/email | Get Email Data *IssuedDocumentsApi* | [**getExistingIssuedDocumentTotals**](docs/IssuedDocumentsApi.md#getExistingIssuedDocumentTotals) | **POST** /c/{company_id}/issued_documents/{document_id}/totals | Get Existing Issued Document Totals *IssuedDocumentsApi* | [**getIssuedDocument**](docs/IssuedDocumentsApi.md#getIssuedDocument) | **GET** /c/{company_id}/issued_documents/{document_id} | Get Issued Document *IssuedDocumentsApi* | [**getIssuedDocumentPreCreateInfo**](docs/IssuedDocumentsApi.md#getIssuedDocumentPreCreateInfo) | **GET** /c/{company_id}/issued_documents/info | Get Issued Document Pre-Create Info *IssuedDocumentsApi* | [**getNewIssuedDocumentTotals**](docs/IssuedDocumentsApi.md#getNewIssuedDocumentTotals) | **POST** /c/{company_id}/issued_documents/totals | Get New Issued Document Totals *IssuedDocumentsApi* | [**joinIssuedDocuments**](docs/IssuedDocumentsApi.md#joinIssuedDocuments) | **GET** /c/{company_id}/issued_documents/join | Join Issued Documents +*IssuedDocumentsApi* | [**listBinIssuedDocuments**](docs/IssuedDocumentsApi.md#listBinIssuedDocuments) | **GET** /c/{company_id}/bin/issued_documents | Get Bin Issued Documents List *IssuedDocumentsApi* | [**listIssuedDocuments**](docs/IssuedDocumentsApi.md#listIssuedDocuments) | **GET** /c/{company_id}/issued_documents | List Issued Documents *IssuedDocumentsApi* | [**modifyIssuedDocument**](docs/IssuedDocumentsApi.md#modifyIssuedDocument) | **PUT** /c/{company_id}/issued_documents/{document_id} | Modify Issued Document +*IssuedDocumentsApi* | [**recoverBinIssuedDocument**](docs/IssuedDocumentsApi.md#recoverBinIssuedDocument) | **POST** /c/{company_id}/bin/issued_documents/{document_id}/recover | *IssuedDocumentsApi* | [**scheduleEmail**](docs/IssuedDocumentsApi.md#scheduleEmail) | **POST** /c/{company_id}/issued_documents/{document_id}/email | Schedule Email *IssuedDocumentsApi* | [**transformIssuedDocument**](docs/IssuedDocumentsApi.md#transformIssuedDocument) | **GET** /c/{company_id}/issued_documents/transform | Transform Issued Document *IssuedDocumentsApi* | [**uploadIssuedDocumentAttachment**](docs/IssuedDocumentsApi.md#uploadIssuedDocumentAttachment) | **POST** /c/{company_id}/issued_documents/attachment | Upload Issued Document Attachment @@ -149,6 +154,8 @@ Class | Method | HTTP request | Description *IssuedEInvoicesApi* | [**getEInvoiceXml**](docs/IssuedEInvoicesApi.md#getEInvoiceXml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml | Get E-Invoice XML *IssuedEInvoicesApi* | [**sendEInvoice**](docs/IssuedEInvoicesApi.md#sendEInvoice) | **POST** /c/{company_id}/issued_documents/{document_id}/e_invoice/send | Send E-Invoice *IssuedEInvoicesApi* | [**verifyEInvoiceXml**](docs/IssuedEInvoicesApi.md#verifyEInvoiceXml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify E-Invoice XML +*PriceListsApi* | [**getPriceListItems**](docs/PriceListsApi.md#getPriceListItems) | **GET** /c/{company_id}/price_lists/{price_list_id}/items | Get PriceList Items List +*PriceListsApi* | [**getPriceLists**](docs/PriceListsApi.md#getPriceLists) | **GET** /c/{company_id}/price_lists | Get PriceLists *ProductsApi* | [**createProduct**](docs/ProductsApi.md#createProduct) | **POST** /c/{company_id}/products | Create Product *ProductsApi* | [**deleteProduct**](docs/ProductsApi.md#deleteProduct) | **DELETE** /c/{company_id}/products/{product_id} | Delete Product *ProductsApi* | [**getProduct**](docs/ProductsApi.md#getProduct) | **GET** /c/{company_id}/products/{product_id} | Get Product @@ -162,14 +169,18 @@ Class | Method | HTTP request | Description *ReceiptsApi* | [**listReceipts**](docs/ReceiptsApi.md#listReceipts) | **GET** /c/{company_id}/receipts | List Receipts *ReceiptsApi* | [**modifyReceipt**](docs/ReceiptsApi.md#modifyReceipt) | **PUT** /c/{company_id}/receipts/{document_id} | Modify Receipt *ReceivedDocumentsApi* | [**createReceivedDocument**](docs/ReceivedDocumentsApi.md#createReceivedDocument) | **POST** /c/{company_id}/received_documents | Create Received Document +*ReceivedDocumentsApi* | [**deleteBinReceivedDocument**](docs/ReceivedDocumentsApi.md#deleteBinReceivedDocument) | **DELETE** /c/{company_id}/bin/received_documents/{document_id} | *ReceivedDocumentsApi* | [**deleteReceivedDocument**](docs/ReceivedDocumentsApi.md#deleteReceivedDocument) | **DELETE** /c/{company_id}/received_documents/{document_id} | Delete Received Document *ReceivedDocumentsApi* | [**deleteReceivedDocumentAttachment**](docs/ReceivedDocumentsApi.md#deleteReceivedDocumentAttachment) | **DELETE** /c/{company_id}/received_documents/{document_id}/attachment | Delete Received Document Attachment +*ReceivedDocumentsApi* | [**getBinReceivedDocument**](docs/ReceivedDocumentsApi.md#getBinReceivedDocument) | **GET** /c/{company_id}/bin/received_documents/{document_id} | Get Bin Received Documents List *ReceivedDocumentsApi* | [**getExistingReceivedDocumentTotals**](docs/ReceivedDocumentsApi.md#getExistingReceivedDocumentTotals) | **POST** /c/{company_id}/received_documents/{document_id}/totals | Get Existing Received Document Totals *ReceivedDocumentsApi* | [**getNewReceivedDocumentTotals**](docs/ReceivedDocumentsApi.md#getNewReceivedDocumentTotals) | **POST** /c/{company_id}/received_documents/totals | Get New Received Document Totals *ReceivedDocumentsApi* | [**getReceivedDocument**](docs/ReceivedDocumentsApi.md#getReceivedDocument) | **GET** /c/{company_id}/received_documents/{document_id} | Get Received Document *ReceivedDocumentsApi* | [**getReceivedDocumentPreCreateInfo**](docs/ReceivedDocumentsApi.md#getReceivedDocumentPreCreateInfo) | **GET** /c/{company_id}/received_documents/info | Get Received Document Pre-Create Info +*ReceivedDocumentsApi* | [**listBinReceivedDocuments**](docs/ReceivedDocumentsApi.md#listBinReceivedDocuments) | **GET** /c/{company_id}/bin/received_documents | Get Bin Received Documents List *ReceivedDocumentsApi* | [**listReceivedDocuments**](docs/ReceivedDocumentsApi.md#listReceivedDocuments) | **GET** /c/{company_id}/received_documents | List Received Documents *ReceivedDocumentsApi* | [**modifyReceivedDocument**](docs/ReceivedDocumentsApi.md#modifyReceivedDocument) | **PUT** /c/{company_id}/received_documents/{document_id} | Modify Received Document +*ReceivedDocumentsApi* | [**recoverBinReceivedDocument**](docs/ReceivedDocumentsApi.md#recoverBinReceivedDocument) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | *ReceivedDocumentsApi* | [**uploadReceivedDocumentAttachment**](docs/ReceivedDocumentsApi.md#uploadReceivedDocumentAttachment) | **POST** /c/{company_id}/received_documents/attachment | Upload Received Document Attachment *SettingsApi* | [**createPaymentAccount**](docs/SettingsApi.md#createPaymentAccount) | **POST** /c/{company_id}/settings/payment_accounts | Create Payment Account *SettingsApi* | [**createPaymentMethod**](docs/SettingsApi.md#createPaymentMethod) | **POST** /c/{company_id}/settings/payment_methods | Create Payment Method @@ -203,6 +214,7 @@ Class | Method | HTTP request | Description *WebhooksApi* | [**getWebhooksSubscription**](docs/WebhooksApi.md#getWebhooksSubscription) | **GET** /c/{company_id}/subscriptions/{subscription_id} | Get Webhooks Subscription *WebhooksApi* | [**listWebhooksSubscriptions**](docs/WebhooksApi.md#listWebhooksSubscriptions) | **GET** /c/{company_id}/subscriptions | List Webhooks Subscriptions *WebhooksApi* | [**modifyWebhooksSubscription**](docs/WebhooksApi.md#modifyWebhooksSubscription) | **PUT** /c/{company_id}/subscriptions/{subscription_id} | Modify Webhooks Subscription +*WebhooksApi* | [**verifyWebhooksSubscription**](docs/WebhooksApi.md#verifyWebhooksSubscription) | **POST** /c/{company_id}/subscriptions/{subscription_id}/verify | Verify Webhooks Subscription ## Documentation for Models @@ -265,6 +277,7 @@ Class | Method | HTTP request | Description - [EmailScheduleInclude](docs/EmailScheduleInclude.md) - [EmailStatus](docs/EmailStatus.md) - [Entity](docs/Entity.md) + - [EntityClientPreCreateInfo](docs/EntityClientPreCreateInfo.md) - [EntityType](docs/EntityType.md) - [EventType](docs/EventType.md) - [F24](docs/F24.md) @@ -272,12 +285,15 @@ Class | Method | HTTP request | Description - [FattureInCloudPlanType](docs/FattureInCloudPlanType.md) - [FunctionStatus](docs/FunctionStatus.md) - [GetArchiveDocumentResponse](docs/GetArchiveDocumentResponse.md) + - [GetBinIssuedDocumentResponse](docs/GetBinIssuedDocumentResponse.md) + - [GetBinReceivedDocumentResponse](docs/GetBinReceivedDocumentResponse.md) - [GetCashbookEntryResponse](docs/GetCashbookEntryResponse.md) - [GetClientResponse](docs/GetClientResponse.md) - [GetCompanyInfoResponse](docs/GetCompanyInfoResponse.md) - [GetCompanyPlanUsageResponse](docs/GetCompanyPlanUsageResponse.md) - [GetEInvoiceRejectionReasonResponse](docs/GetEInvoiceRejectionReasonResponse.md) - [GetEmailDataResponse](docs/GetEmailDataResponse.md) + - [GetEntityClientPreCreateInfoResponse](docs/GetEntityClientPreCreateInfoResponse.md) - [GetExistingIssuedDocumentTotalsRequest](docs/GetExistingIssuedDocumentTotalsRequest.md) - [GetExistingIssuedDocumentTotalsResponse](docs/GetExistingIssuedDocumentTotalsResponse.md) - [GetExistingReceivedDocumentTotalsRequest](docs/GetExistingReceivedDocumentTotalsRequest.md) @@ -291,6 +307,7 @@ Class | Method | HTTP request | Description - [GetNewReceivedDocumentTotalsResponse](docs/GetNewReceivedDocumentTotalsResponse.md) - [GetPaymentAccountResponse](docs/GetPaymentAccountResponse.md) - [GetPaymentMethodResponse](docs/GetPaymentMethodResponse.md) + - [GetPriceListItemsResponse](docs/GetPriceListItemsResponse.md) - [GetProductResponse](docs/GetProductResponse.md) - [GetReceiptPreCreateInfoResponse](docs/GetReceiptPreCreateInfoResponse.md) - [GetReceiptResponse](docs/GetReceiptResponse.md) @@ -323,6 +340,8 @@ Class | Method | HTTP request | Description - [ListArchiveCategoriesResponse](docs/ListArchiveCategoriesResponse.md) - [ListArchiveDocumentsResponse](docs/ListArchiveDocumentsResponse.md) - [ListArchiveDocumentsResponsePage](docs/ListArchiveDocumentsResponsePage.md) + - [ListBinIssuedDocuments](docs/ListBinIssuedDocuments.md) + - [ListBinReceivedDocuments](docs/ListBinReceivedDocuments.md) - [ListCashbookEntriesResponse](docs/ListCashbookEntriesResponse.md) - [ListCitiesResponse](docs/ListCitiesResponse.md) - [ListClientsResponse](docs/ListClientsResponse.md) @@ -343,6 +362,7 @@ Class | Method | HTTP request | Description - [ListLanguagesResponse](docs/ListLanguagesResponse.md) - [ListPaymentAccountsResponse](docs/ListPaymentAccountsResponse.md) - [ListPaymentMethodsResponse](docs/ListPaymentMethodsResponse.md) + - [ListPriceListsResponse](docs/ListPriceListsResponse.md) - [ListProductCategoriesResponse](docs/ListProductCategoriesResponse.md) - [ListProductsResponse](docs/ListProductsResponse.md) - [ListProductsResponsePage](docs/ListProductsResponsePage.md) @@ -398,6 +418,10 @@ Class | Method | HTTP request | Description - [PermissionLevel](docs/PermissionLevel.md) - [Permissions](docs/Permissions.md) - [PermissionsFicIssuedDocumentsDetailed](docs/PermissionsFicIssuedDocumentsDetailed.md) + - [PriceList](docs/PriceList.md) + - [PriceListItem](docs/PriceListItem.md) + - [PriceListPricesType](docs/PriceListPricesType.md) + - [PriceListType](docs/PriceListType.md) - [Product](docs/Product.md) - [Receipt](docs/Receipt.md) - [ReceiptItemsListItem](docs/ReceiptItemsListItem.md) @@ -439,9 +463,12 @@ Class | Method | HTTP request | Description - [VerifyEInvoiceXmlErrorResponseExtra](docs/VerifyEInvoiceXmlErrorResponseExtra.md) - [VerifyEInvoiceXmlResponse](docs/VerifyEInvoiceXmlResponse.md) - [VerifyEInvoiceXmlResponseData](docs/VerifyEInvoiceXmlResponseData.md) + - [VerifyWebhooksSubscription](docs/VerifyWebhooksSubscription.md) + - [VerifyWebhooksSubscriptionRequest](docs/VerifyWebhooksSubscriptionRequest.md) - [WebhooksSubscription](docs/WebhooksSubscription.md) - [WebhooksSubscriptionConfig](docs/WebhooksSubscriptionConfig.md) - [WebhooksSubscriptionMapping](docs/WebhooksSubscriptionMapping.md) + - [WebhooksSubscriptionVerificationMethod](docs/WebhooksSubscriptionVerificationMethod.md) @@ -489,10 +516,13 @@ Authentication schemes defined for the API: - **stock:a**: Write permission to the Stock movements - **receipts:r**: Read permission to the Receipts - **receipts:a**: Write permission to the Receipts + - **calendar:r**: Read permission to the Calendar + - **calendar:a**: Write permission to the Calendar - **taxes:r**: Read permission to the Taxes - **taxes:a**: Write permission to the Taxes - **archive:r**: Read permission to the Archive Documents - **archive:a**: Read permission to the Archive Documents + - **emails:r**: Read permission to the Emails - **cashbook:r**: Read permission to the Cashbook - **cashbook:a**: Write permission to the Cashbook - **settings:r**: Read permission to the Settings diff --git a/api/openapi.yaml b/api/openapi.yaml index 6666246b..49052d91 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -12,7 +12,7 @@ info: name: MIT url: https://github.com/fattureincloud/openapi-fattureincloud/blob/master/LICENSE title: Fatture in Cloud API v2 - API Reference - version: 2.1.3 + version: 2.1.5 servers: - url: https://api-v2.fattureincloud.it security: @@ -26,6 +26,7 @@ tags: - name: Issued Documents - name: Issued e-invoices - name: Products +- name: PriceLists - name: Receipts - name: Received Documents - name: Suppliers @@ -566,6 +567,7 @@ paths: value: 45 description: "" is_disabled: false + price_list_id: "10" schema: $ref: '#/components/schemas/CreateClientRequest' description: The client to create @@ -744,6 +746,7 @@ paths: value: 45 description: "" is_disabled: false + price_list_id: "10" schema: $ref: '#/components/schemas/GetClientResponse' description: Client Details. @@ -819,6 +822,7 @@ paths: value: 45 description: "" is_disabled: false + price_list_id: "10" schema: $ref: '#/components/schemas/ModifyClientRequest' description: The modified Client. First level parameters are managed in delta @@ -863,6 +867,7 @@ paths: value: 45 description: "" is_disabled: false + price_list_id: "10" schema: $ref: '#/components/schemas/ModifyClientResponse' description: Client modified. @@ -879,6 +884,84 @@ paths: x-content-type: application/json x-accepts: - application/json + /c/{company_id}/entities/clients/info: + get: + description: Retrieves the information useful while creating a new Client. + operationId: getClientInfo + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + countries_list: + - Italy + payment_methods_list: + - id: 555 + name: Rimessa diretta + is_default: false + details: [] + bank_iban: null + bank_name: null + bank_beneficiary: null + ei_payment_method: null + payment_accounts_list: + - id: 0 + name: Conto Banca Intesa + type: standard + iban: string + sia: string + cuc: string + virtual: true + vat_types_list: + - id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma\ + \ 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + default: true + price_lists: + - id: string + name: "123" + prices_type: net + is_default: true + valid_from: string + valid_to: string + type: sell + limit: 0 + usage: 0 + schema: + $ref: '#/components/schemas/GetEntityClientPreCreateInfoResponse' + description: Example response + "401": + description: Unauthorized + "404": + description: Not Found + security: + - OAuth2AuthenticationCodeFlow: + - entity.clients:r + summary: Get Client info + tags: + - Clients + x-accepts: + - application/json /c/{company_id}/entities/suppliers: get: description: Lists the suppliers. @@ -2029,6 +2112,7 @@ paths: status: not_paid payment_method: id: 4 + price_list_id: "10" schema: $ref: '#/components/schemas/CreateIssuedDocumentRequest' description: The Issued Document @@ -2374,6 +2458,7 @@ paths: locked: false has_ts_pay_pending_payment: false show_tspay_button: false + price_list_id: "10" schema: $ref: '#/components/schemas/GetIssuedDocumentResponse' description: Document Details. @@ -4672,6 +4757,15 @@ paths: RT05: Contributo ENPAM RT06: Altro contributo previdenziale use_e_invoice: true + price_lists: + - id: "10" + name: Listino 1 + prices_type: net + is_default: true + is_archived: false + valid_from: 2021-08-01 + valid_to: 2025-09-10 + type: sell schema: $ref: '#/components/schemas/GetIssuedDocumentPreCreateInfoResponse' description: Pre-create info. @@ -10458,6 +10552,62 @@ paths: example: 12345 type: integer style: simple + - description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + type: string + style: form + - description: List of comma-separated fields for result sorting (minus for + desc sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + - description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + - description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form responses: "200": content: @@ -10586,6 +10736,7 @@ paths: types: - it.fattureincloud.webhooks.entities.create - it.fattureincloud.webhooks.issued_documents.create + verification_method: header schema: $ref: '#/components/schemas/CreateWebhooksSubscriptionRequest' description: "" @@ -10748,151 +10899,927 @@ paths: x-content-type: application/json x-accepts: - application/json -components: - parameters: - company_id: - description: The ID of the company. - explode: false - in: path - name: company_id - required: true - schema: - example: 12345 - type: integer - style: simple - fieldset: - description: Name of the fieldset. - explode: true - in: query - name: fieldset - required: false - schema: - enum: - - basic - - detailed - type: string - style: form - sort: - description: List of comma-separated fields for result sorting (minus for desc - sorting). - explode: true - in: query - name: sort - required: false - schema: - type: string - style: form - fields: - description: List of comma-separated fields. - explode: true - in: query - name: fields - required: false - schema: - type: string - style: form - page: - description: The page to retrieve. - explode: true - in: query - name: page - required: false - schema: - default: 1 - type: integer - style: form - client_id: - description: The ID of the client. - explode: false - in: path - name: client_id - required: true - schema: - type: integer - style: simple - supplier_id: - description: The ID of the supplier. - explode: false - in: path - name: supplier_id - required: true - schema: - type: integer - style: simple - product_id: - description: The ID of the product. - explode: false - in: path - name: product_id - required: true - schema: - type: integer - style: simple - issued_document_type: - description: The type of the issued document. - explode: true - in: query - name: type - required: true - schema: - enum: - - invoice - - quote - - proforma - - receipt - - delivery_note - - credit_note - - order - - work_report - - supplier_order - - self_own_invoice - - self_supplier_invoice - type: string - style: form - per_page: - description: The size of the page. - explode: true - in: query - name: per_page - required: false - schema: - default: 5 - maximum: 100 - minimum: 1 - type: integer - style: form - document_id: - description: The ID of the document. - explode: false - in: path - name: document_id - required: true - schema: - type: integer - style: simple - received_document_type: - description: The type of the received document. - explode: true - in: query - name: type - required: true - schema: - enum: - - expense - - passive_credit_note - - passive_delivery_note - - self_invoice - type: string - style: form - q: - description: Query for filtering the results. - explode: true - in: query - name: q - required: false - schema: - type: string - style: form + /c/{company_id}/subscriptions/{subscription_id}/verify: + post: + description: Verify a webhook subscription. + operationId: verifyWebhooksSubscription + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the subscription. + explode: false + in: path + name: subscription_id + required: true + schema: + example: SUB123 + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VerifyWebhooksSubscriptionRequest' + responses: + "200": + description: OK + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Verify Webhooks Subscription + tags: + - Webhooks + x-content-type: application/json + x-accepts: + - application/json + /c/{company_id}/bin/issued_documents: + get: + description: Get bin issued documents list + operationId: ListBinIssuedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + type: receipt + numeration: rec123 + subject: "" + visible_subject: "" + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + next_due_date: 2021-12-31 + url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + - id: 12346 + type: receipt + numeration: rec124 + subject: "" + visible_subject: "" + amount_net: 168.18 + amount_vat: 16.82 + amount_gross: 175 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-28 + number: 1 + next_due_date: 2021-12-31 + url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + schema: + $ref: '#/components/schemas/ListBinIssuedDocuments' + description: Bin Issued Documents List + security: + - OAuth2AuthenticationCodeFlow: + - issued_documents.invoices:r + - issued_documents.credit_notes:r + - issued_documents.receipts:r + - issued_documents.orders:r + - issued_documents.quotes:r + - issued_documents.proformas:r + summary: Get Bin Issued Documents List + tags: + - Issued Documents + x-accepts: + - application/json + /c/{company_id}/bin/issued_documents/{document_id}: + delete: + description: Delete Bin Issued Document + operationId: DeleteBinIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + summary: "" + tags: + - Issued Documents + x-accepts: + - application/json + get: + description: Get bin issued documents detail + operationId: GetBinIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: '#/components/schemas/GetBinIssuedDocumentResponse' + description: Bin issued document details + security: + - OAuth2AuthenticationCodeFlow: + - issued_documents.invoices:r + - issued_documents.credit_notes:r + - issued_documents.receipts:r + - issued_documents.orders:r + - issued_documents.quotes:r + - issued_documents.proformas:r + summary: Get Bin Issued Documents List + tags: + - Issued Documents + x-accepts: + - application/json + /c/{company_id}/bin/issued_documents/{document_id}/recover: + post: + description: Recover Issued Document From The Bin + operationId: RecoverBinIssuedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + summary: "" + tags: + - Issued Documents + x-accepts: + - application/json + /c/{company_id}/bin/received_documents: + get: + description: Get bin Received documents list + operationId: ListBinReceivedDocuments + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - id: 12346 + type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null + schema: + $ref: '#/components/schemas/ListBinReceivedDocuments' + description: Example response + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Bin Received Documents List + tags: + - Received Documents + x-accepts: + - application/json + /c/{company_id}/bin/received_documents/{document_id}: + delete: + description: Delete Bin Received Document + operationId: DeleteBinReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + summary: "" + tags: + - Received Documents + x-accepts: + - application/json + get: + description: Get bin issued documents detail + operationId: GetBinReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + type: receipt + year: 2021 + numeration: rec123 + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + schema: + $ref: '#/components/schemas/GetBinIssuedDocumentResponse' + description: Bin issued document details + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get Bin Received Documents List + tags: + - Received Documents + x-accepts: + - application/json + /c/{company_id}/bin/received_documents/{document_id}/recover: + post: + description: Recover Received Document From The Bin + operationId: RecoverBinReceivedDocument + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + responses: + "200": + description: OK + summary: "" + tags: + - Received Documents + x-accepts: + - application/json + /c/{company_id}/price_lists: + get: + description: Retrieves all price lists of the company + operationId: getPriceLists + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + - id: "10" + name: listino + prices_type: net + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-12-01 + type: sell + - id: "11" + name: listino-test + prices_type: gross + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-01-01 + type: purchase + schema: + $ref: '#/components/schemas/ListPriceListsResponse' + description: Example response + "401": + description: Unauthorized + "404": + description: Not Found + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get PriceLists + tags: + - PriceLists + x-accepts: + - application/json + /c/{company_id}/price_lists/{price_list_id}/items: + get: + description: Retrieves all the Items of a PriceList + operationId: getPriceListItems + parameters: + - description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + - explode: false + in: path + name: price_list_id + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + examples: + example-1: + value: + data: + "1": + price: 3.5 + "2": + price: 5 + schema: + $ref: '#/components/schemas/GetPriceListItemsResponse' + description: Example response + "401": + description: Unauthorized + "404": + description: Not Found + security: + - OAuth2AuthenticationCodeFlow: [] + summary: Get PriceList Items List + tags: + - PriceLists + x-accepts: + - application/json +components: + parameters: + company_id: + description: The ID of the company. + explode: false + in: path + name: company_id + required: true + schema: + example: 12345 + type: integer + style: simple + fieldset: + description: Name of the fieldset. + explode: true + in: query + name: fieldset + required: false + schema: + enum: + - basic + - detailed + type: string + style: form + sort: + description: List of comma-separated fields for result sorting (minus for desc + sorting). + explode: true + in: query + name: sort + required: false + schema: + type: string + style: form + fields: + description: List of comma-separated fields. + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + page: + description: The page to retrieve. + explode: true + in: query + name: page + required: false + schema: + default: 1 + type: integer + style: form + client_id: + description: The ID of the client. + explode: false + in: path + name: client_id + required: true + schema: + type: integer + style: simple + supplier_id: + description: The ID of the supplier. + explode: false + in: path + name: supplier_id + required: true + schema: + type: integer + style: simple + product_id: + description: The ID of the product. + explode: false + in: path + name: product_id + required: true + schema: + type: integer + style: simple + issued_document_type: + description: The type of the issued document. + explode: true + in: query + name: type + required: true + schema: + enum: + - invoice + - quote + - proforma + - receipt + - delivery_note + - credit_note + - order + - work_report + - supplier_order + - self_own_invoice + - self_supplier_invoice + type: string + style: form + per_page: + description: The size of the page. + explode: true + in: query + name: per_page + required: false + schema: + default: 5 + maximum: 100 + minimum: 1 + type: integer + style: form + document_id: + description: The ID of the document. + explode: false + in: path + name: document_id + required: true + schema: + type: integer + style: simple + received_document_type: + description: The type of the received document. + explode: true + in: query + name: type + required: true + schema: + enum: + - expense + - passive_credit_note + - passive_delivery_note + - self_invoice + type: string + style: form + q: + description: Query for filtering the results. + explode: true + in: query + name: q + required: false + schema: + type: string + style: form include_attachment: description: Include the attachment to the XML e-invoice. explode: true @@ -11394,6 +12321,7 @@ components: value: 45 description: "" is_disabled: false + price_list_id: "10" schema: $ref: '#/components/schemas/GetClientResponse' description: Client Details. @@ -11436,6 +12364,7 @@ components: value: 45 description: "" is_disabled: false + price_list_id: "10" schema: $ref: '#/components/schemas/ModifyClientResponse' description: Client modified. @@ -11963,6 +12892,7 @@ components: locked: false has_ts_pay_pending_payment: false show_tspay_button: false + price_list_id: "10" schema: $ref: '#/components/schemas/GetIssuedDocumentResponse' description: Document Details. @@ -13848,6 +14778,15 @@ components: RT05: Contributo ENPAM RT06: Altro contributo previdenziale use_e_invoice: true + price_lists: + - id: "10" + name: Listino 1 + prices_type: net + is_default: true + is_archived: false + valid_from: 2021-08-01 + valid_to: 2025-09-10 + type: sell schema: $ref: '#/components/schemas/GetIssuedDocumentPreCreateInfoResponse' description: Pre-create info. @@ -15921,261 +16860,663 @@ components: data: attachment_token: YmMyNWYxYzIwMTU3N212ABCDZjZiMzg5OWY0ODNkZDQveXl5LmRvYw schema: - $ref: '#/components/schemas/UploadArchiveAttachmentResponse' - description: Example response - CreatePaymentMethodResponse: + $ref: '#/components/schemas/UploadArchiveAttachmentResponse' + description: Example response + CreatePaymentMethodResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: '#/components/schemas/CreatePaymentMethodResponse' + description: Example response + GetPaymentMethodResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: '#/components/schemas/GetPaymentMethodResponse' + description: Example response + ModifyPaymentMethodResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 386683 + name: Bonifico bancario + is_default: true + type: standard + details: + - title: Banca + description: Sao Paulo + default_payment_account: + id: 12345 + name: conto banca SP + schema: + $ref: '#/components/schemas/ModifyPaymentMethodResponse' + description: Example response + CreatePaymentAccountResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: '#/components/schemas/CreatePaymentAccountResponse' + description: Example response + GetPaymentAccountResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: '#/components/schemas/GetPaymentAccountResponse' + description: Example response + ModifyPaymentAccountResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 12345 + name: Indesa + type: bank + iban: IT17Q0051343200000003497636 + sia: T1234 + virtual: false + schema: + $ref: '#/components/schemas/ModifyPaymentAccountResponse' + description: Example response + CreateVatTypeResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: '#/components/schemas/CreateVatTypeResponse' + description: Example response + GetVatTypeResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: '#/components/schemas/GetVatTypeResponse' + description: Example response + ModifyVatTypeResponse: + content: + application/json: + examples: + example-1: + value: + data: + id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + schema: + $ref: '#/components/schemas/ModifyVatTypeResponse' + description: Example response + GetEInvoiceXmlResponse: + content: + text/xml: + schema: + $ref: '#/components/schemas/GetEInvoiceXmlResponse' + description: "" + GetEInvoiceRejectionReasonResponse: content: application/json: examples: example-1: value: data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP + reason: La Partita IVA della tua azienda risulta sbagliata e/o cessata. + ei_status: rejected + solution: "Puoi correggere la tua Partita IVA in: Impostazioni >\ + \ Azienda > Informazioni di fatturazione." + date: 2023-06-06 schema: - $ref: '#/components/schemas/CreatePaymentMethodResponse' + $ref: '#/components/schemas/GetEInvoiceRejectionReasonResponse' description: Example response - GetPaymentMethodResponse: + ListDetailedCountriesResponse: content: application/json: examples: example-1: value: data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP + - name: Italia + settings_name: Italia + iso: IT + fiscal_iso: IT + uic: "086" + - name: Afghanistan + settings_name: Afghanistan + iso: AF + fiscal_iso: AF + uic: "002" + - name: Albania + settings_name: Albania + iso: AL + fiscal_iso: AL + uic: "087" schema: - $ref: '#/components/schemas/GetPaymentMethodResponse' - description: Example response - ModifyPaymentMethodResponse: + $ref: '#/components/schemas/ListDetailedCountriesResponse' + description: List of detailed countries + TransformIssuedDocumentResponse: content: application/json: examples: example-1: value: data: - id: 386683 - name: Bonifico bancario - is_default: true - type: standard - details: - - title: Banca - description: Sao Paulo - default_payment_account: - id: 12345 - name: conto banca SP + type: invoice + year: 2022 + numeration: "" + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2022-08-13 09:30:20 + updated_at: 2022-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + options: + create_from: + - "82112399" + transform: true + keep_copy: true schema: - $ref: '#/components/schemas/ModifyPaymentMethodResponse' + $ref: '#/components/schemas/TransformIssuedDocumentResponse' description: Example response - CreatePaymentAccountResponse: + JoinIssuedDocumentsResponse: content: application/json: examples: example-1: value: data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false + type: invoice + year: 2022 + numeration: "" + subject: "" + visible_subject: "" + rc_center: "" + ei_cassa_type: null + ei_withholding_tax_causal: null + ei_other_withholding_tax_type: null + ei_other_withholding_tax_causal: null + stamp_duty: 0 + use_gross_prices: false + e_invoice: false + agyo_company_id: null + agyo_id: null + agyo_sent_at: null + delivery_note: false + accompanying_invoice: false + amount_net: 68.18 + amount_vat: 6.82 + amount_gross: 75 + amount_due_discount: 0 + amount_rivalsa: 0 + amount_cassa: 0 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + h_margins: 15 + v_margins: 16 + show_payment_method: false + show_payments: true + show_totals: all + show_notification_button: false + is_marked: false + created_at: 2022-08-13 09:30:20 + updated_at: 2022-08-23 05:34:20 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-20 + number: 1 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + language: + code: it + name: Italiano + notes: "" + rivalsa: 0 + cassa: 0 + withholding_tax: 0 + withholding_tax_taxable: 100 + other_withholding_tax: 0 + payment_method: + id: 4 + name: Credit card + use_split_payment: false + merged_in: null + original_document: null + items_list: + - product_id: 5432 + code: SG3 + name: Soggiorno + measure: "" + net_price: 68.18182 + category: "" + id: 277876033 + gross_price: 75 + apply_withholding_taxes: true + discount: 0 + discount_highlight: false + in_dn: false + qty: 1 + vat: + id: 3 + value: 10 + description: "" + stock: false + description: "" + not_taxable: false + payments_list: + - amount: 75 + due_date: 2020-08-23 + paid_date: null + id: 69078013 + payment_terms: + days: 0 + type: standard + status: not_paid + attachment_url: kdijrnf893hnwkfk45f50f.pdf + seen_date: null + next_due_date: 2020-08-23 + template: + id: 2821 + name: Light Smoke + extra_data: null + url: y12h45rn9yf2mse0p43t7ec90vr.pdf + locked: false + has_ts_pay_pending_payment: false + show_tspay_button: false + options: + create_from: + - "82112399" + - "82112400" schema: - $ref: '#/components/schemas/CreatePaymentAccountResponse' + $ref: '#/components/schemas/JoinIssuedDocumentsResponse' description: Example response - GetPaymentAccountResponse: + ListEmailsResponse: content: application/json: examples: example-1: value: + current_page: 1 data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false + - id: 1 + status: sent + sent_date: 2022-07-17 13:53:12 + errors_count: 0 + error_log: "" + from_email: test@mail.it + from_name: Test mail + to_email: mail@test.it + to_name: Mario + subject: Test + content: Test send email + copy_to: "" + recipient_status: unknown + recipient_date: null + kind: Fatture + attachments: [] + - id: 2 + status: sent + sent_date: 2022-07-18 13:53:12 + errors_count: 0 + error_log: "" + from_email: test@mail.it + from_name: Test mail + to_email: mail@test.it + to_name: Maria + subject: Test + content: Test send email + copy_to: "" + recipient_status: unknown + recipient_date: null + kind: Fatture + attachments: [] + first_page_url: emails?page=1 + from: 1 + last_page: 1 + last_page_url: emails?page=1 + next_page_url: null + path: emails + per_page: 50 + prev_page_url: null + to: 2 + total: 2 schema: - $ref: '#/components/schemas/GetPaymentAccountResponse' + $ref: '#/components/schemas/ListEmailsResponse' description: Example response - ModifyPaymentAccountResponse: + CreateWebhooksSubscriptionResponse: content: application/json: examples: example-1: value: data: - id: 12345 - name: Indesa - type: bank - iban: IT17Q0051343200000003497636 - sia: T1234 - virtual: false + id: SUB123 + sink: http://www.test.com + verified: true + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' + event is already registered for this application schema: - $ref: '#/components/schemas/ModifyPaymentAccountResponse' + $ref: '#/components/schemas/CreateWebhooksSubscriptionResponse' description: Example response - CreateVatTypeResponse: + ListWebhooksSubscriptionsResponse: content: application/json: examples: example-1: value: data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true + - id: SUB12345 + sink: https://www.testurl.com/endpoint + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.create + - it.fattureincloud.webhooks.issued_documents.update + - id: SUB12346 + sink: https://www.testurl.com/endpoint2 + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.delete schema: - $ref: '#/components/schemas/CreateVatTypeResponse' + $ref: '#/components/schemas/ListWebhooksSubscriptionsResponse' description: Example response - GetVatTypeResponse: + GetWebhooksSubscriptionResponse: content: application/json: examples: example-1: value: data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true + id: SUB123 + sink: https://test.url + verified: true + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create schema: - $ref: '#/components/schemas/GetVatTypeResponse' + $ref: '#/components/schemas/GetWebhooksSubscriptionResponse' description: Example response - ModifyVatTypeResponse: + ModifyWebhooksSubscriptionResponse: content: application/json: examples: example-1: value: data: - id: 0 - value: 22 - description: Non imponibile art. 123 - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: 2 - ei_description: string - editable: true - is_disabled: true + id: SUB12345 + sink: http://www.test.com + verified: true + types: + - it.fattureincloud.webhooks.entities.create + - it.fattureincloud.webhooks.issued_documents.create + warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' + event is already registered for this application schema: - $ref: '#/components/schemas/ModifyVatTypeResponse' + $ref: '#/components/schemas/ModifyWebhooksSubscriptionResponse' description: Example response - GetEInvoiceXmlResponse: - content: - text/xml: - schema: - $ref: '#/components/schemas/GetEInvoiceXmlResponse' - description: "" - GetEInvoiceRejectionReasonResponse: + GetCompanyPlanUsageResponse: content: application/json: examples: example-1: value: data: - reason: La Partita IVA della tua azienda risulta sbagliata e/o cessata. - ei_status: rejected - solution: "Puoi correggere la tua Partita IVA in: Impostazioni >\ - \ Azienda > Informazioni di fatturazione." - date: 2023-06-06 + limit: 3000 + usage: 100 schema: - $ref: '#/components/schemas/GetEInvoiceRejectionReasonResponse' + $ref: '#/components/schemas/GetCompanyPlanUsageResponse' description: Example response - ListDetailedCountriesResponse: + GetTaxProfileResponse: content: application/json: examples: example-1: value: data: - - name: Italia - settings_name: Italia - iso: IT - fiscal_iso: IT - uic: "086" - - name: Afghanistan - settings_name: Afghanistan - iso: AF - fiscal_iso: AF - uic: "002" - - name: Albania - settings_name: Albania - iso: AL - fiscal_iso: AL - uic: "087" - schema: - $ref: '#/components/schemas/ListDetailedCountriesResponse' - description: List of detailed countries - TransformIssuedDocumentResponse: + company_type: individual + company_subtype: artigiani + profession: null + regime: forfettario_5 + rivalsa_name: "" + default_rivalsa: 0 + cassa_name: "" + default_cassa: 0 + default_cassa_taxable: 100 + cassa2_name: "" + default_cassa2: 0 + default_cassa2_taxable: 0 + default_withholding_tax: 0 + default_withholding_tax_taxable: 100 + default_other_withholding_tax: 0 + enasarco: false + enasarco_type: null + contributions_percentage: 0 + med: false + default_vat: + id: 66 + value: 0 + description: Contribuenti forfettari + notes: "Operazione non soggetta a IVA ai sensi dell'art. 1, commi\ + \ 54-89, Legge n. 190\\/2014 e succ. modifiche\\/integrazioni" + e_invoice: true + ei_type: 2.2 + ei_description: Non soggetta art. 1\/54-89 L. 190\/2014 e succ. + modifiche\/integrazioni + editable: false + is_disabled: false + default: true + schema: + $ref: '#/components/schemas/GetTaxProfileResponse' + description: Example response + ListBinIssuedDocumentsResponse: content: application/json: examples: example-1: value: data: - type: invoice - year: 2022 - numeration: "" + - id: 12345 + type: receipt + numeration: rec123 subject: "" visible_subject: "" - rc_center: "" - ei_cassa_type: null - ei_withholding_tax_causal: null - ei_other_withholding_tax_type: null - ei_other_withholding_tax_causal: null - stamp_duty: 0 - use_gross_prices: false - e_invoice: false - agyo_company_id: null - agyo_id: null - agyo_sent_at: null - delivery_note: false - accompanying_invoice: false amount_net: 68.18 amount_vat: 6.82 amount_gross: 75 amount_due_discount: 0 - amount_rivalsa: 0 - amount_cassa: 0 - amount_withholding_tax: 0 - amount_other_withholding_tax: 0 - h_margins: 15 - v_margins: 16 - show_payment_method: false - show_payments: true - show_totals: all - show_notification_button: false - is_marked: false - created_at: 2022-08-13 09:30:20 - updated_at: 2022-08-23 05:34:20 entity: id: 54321 name: Mary Red S.r.L. @@ -16191,84 +17532,52 @@ components: ei_code: ABCXCR1 date: 2021-08-20 number: 1 - currency: - id: EUR - exchange_rate: "1.00000" - symbol: € - language: - code: it - name: Italiano - notes: "" - rivalsa: 0 - cassa: 0 - withholding_tax: 0 - withholding_tax_taxable: 100 - other_withholding_tax: 0 - payment_method: - id: 4 - name: Credit card - use_split_payment: false - merged_in: null - original_document: null - items_list: - - product_id: 5432 - code: SG3 - name: Soggiorno - measure: "" - net_price: 68.18182 - category: "" - id: 277876033 - gross_price: 75 - apply_withholding_taxes: true - discount: 0 - discount_highlight: false - in_dn: false - qty: 1 - vat: - id: 3 - value: 10 - description: "" - stock: false - description: "" - not_taxable: false - payments_list: - - amount: 75 - due_date: 2020-08-23 - paid_date: null - id: 69078013 - payment_terms: - days: 0 - type: standard - status: not_paid - attachment_url: kdijrnf893hnwkfk45f50f.pdf - seen_date: null - next_due_date: 2020-08-23 - template: - id: 2821 - name: Light Smoke - extra_data: null - url: y12h45rn9yf2mse0p43t7ec90vr.pdf - locked: false - has_ts_pay_pending_payment: false - show_tspay_button: false - options: - create_from: - - "82112399" - transform: true - keep_copy: true + next_due_date: 2021-12-31 + url: ypbqqe4u8w8bdabcd5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null + - id: 12346 + type: receipt + numeration: rec124 + subject: "" + visible_subject: "" + amount_net: 168.18 + amount_vat: 16.82 + amount_gross: 175 + amount_due_discount: 0 + entity: + id: 54321 + name: Mary Red S.r.L. + vat_number: IT05432181211 + tax_code: IT05432181211 + address_street: "Via Italia, 66" + address_postal_code: "20900" + address_city: Milano + address_province: MI + address_extra: "" + country: Italia + certified_email: mary@pec.red.com + ei_code: ABCXCR1 + date: 2021-08-28 + number: 1 + next_due_date: 2021-12-31 + url: qwertye4u8w8bdaqrt5fd5b1a4gtqhlof.pdf + items_list: null + payments_list: null schema: - $ref: '#/components/schemas/TransformIssuedDocumentResponse' - description: Example response - JoinIssuedDocumentsResponse: + $ref: '#/components/schemas/ListBinIssuedDocuments' + description: Bin Issued Documents List + GetBinIssuedDocumentResponse: content: application/json: examples: example-1: value: data: - type: invoice - year: 2022 - numeration: "" + id: 12345 + type: receipt + year: 2021 + numeration: rec123 subject: "" visible_subject: "" rc_center: "" @@ -16299,8 +17608,8 @@ components: show_totals: all show_notification_button: false is_marked: false - created_at: 2022-08-13 09:30:20 - updated_at: 2022-08-23 05:34:20 + created_at: 2021-08-13 09:30:20 + updated_at: 2021-08-23 05:34:20 entity: id: 54321 name: Mary Red S.r.L. @@ -16376,191 +17685,248 @@ components: locked: false has_ts_pay_pending_payment: false show_tspay_button: false - options: - create_from: - - "82112399" - - "82112400" - schema: - $ref: '#/components/schemas/JoinIssuedDocumentsResponse' - description: Example response - ListEmailsResponse: - content: - application/json: - examples: - example-1: - value: - current_page: 1 - data: - - id: 1 - status: sent - sent_date: 2022-07-17 13:53:12 - errors_count: 0 - error_log: "" - from_email: test@mail.it - from_name: Test mail - to_email: mail@test.it - to_name: Mario - subject: Test - content: Test send email - copy_to: "" - recipient_status: unknown - recipient_date: null - kind: Fatture - attachments: [] - - id: 2 - status: sent - sent_date: 2022-07-18 13:53:12 - errors_count: 0 - error_log: "" - from_email: test@mail.it - from_name: Test mail - to_email: mail@test.it - to_name: Maria - subject: Test - content: Test send email - copy_to: "" - recipient_status: unknown - recipient_date: null - kind: Fatture - attachments: [] - first_page_url: emails?page=1 - from: 1 - last_page: 1 - last_page_url: emails?page=1 - next_page_url: null - path: emails - per_page: 50 - prev_page_url: null - to: 2 - total: 2 - schema: - $ref: '#/components/schemas/ListEmailsResponse' - description: Example response - CreateWebhooksSubscriptionResponse: - content: - application/json: - examples: - example-1: - value: - data: - id: SUB123 - sink: http://www.test.com - verified: true - types: - - it.fattureincloud.webhooks.entities.create - - it.fattureincloud.webhooks.issued_documents.create - warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' - event is already registered for this application schema: - $ref: '#/components/schemas/CreateWebhooksSubscriptionResponse' - description: Example response - ListWebhooksSubscriptionsResponse: + $ref: '#/components/schemas/GetBinIssuedDocumentResponse' + description: Bin issued document details + ListBinReceivedDocumentsResponse: content: application/json: examples: example-1: value: data: - - id: SUB12345 - sink: https://www.testurl.com/endpoint - verified: true - types: - - it.fattureincloud.webhooks.issued_documents.create - - it.fattureincloud.webhooks.issued_documents.update - - id: SUB12346 - sink: https://www.testurl.com/endpoint2 - verified: true - types: - - it.fattureincloud.webhooks.issued_documents.delete + - id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null + - id: 12346 + type: expense + description: Assicurazione RCA + iamortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-09 14:02:02 + updated_at: 2021-08-09 14:02:02 + entity: + id: 89 + name: Indesa Assicurazioni S.P.A. + date: 2021-08-08 + next_due_date: 2021-08-08 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 645.69 + amount_vat: 0 + amount_gross: 645.69 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 645.69 + due_date: 2021-08-08 + paid_date: 2021-08-08 + id: 999 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 333 + name: Carta conto + virtual: false + attachment_url: spesa_gjsd567e5hu6ti.pdf + attachment_preview_url: null + extra_data: null schema: - $ref: '#/components/schemas/ListWebhooksSubscriptionsResponse' + $ref: '#/components/schemas/ListBinReceivedDocuments' description: Example response - GetWebhooksSubscriptionResponse: + GetBinReceivedDocumentResponse: content: application/json: examples: example-1: value: data: - id: SUB123 - sink: https://test.url - verified: true - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create + id: 12345 + type: expense + description: Soggiorno di lavoro + amortization: 1 + rc_center: "" + invoice_number: "" + is_marked: false + is_detailed: false + e_invoice: false + created_at: 2021-08-15 14:02:02 + updated_at: 2021-08-15 14:02:02 + entity: + id: 111 + name: Hotel Rubino Palace + date: 2021-08-15 + next_due_date: 2021-08-15 + currency: + id: EUR + exchange_rate: "1.00000" + symbol: € + amount_net: 592 + amount_vat: 0 + amount_gross: 592 + amount_withholding_tax: 0 + amount_other_withholding_tax: 0 + tax_deductibility: 50 + vat_deductibility: 100 + items_list: null + payments_list: + - amount: 592 + due_date: 2021-08-15 + paid_date: 2021-08-15 + id: 777 + payment_terms: + days: 0 + type: standard + status: paid + payment_account: + id: 222 + name: Contanti + virtual: false + attachment_url: spesa_ger5i783t45hu6ti.pdf + attachment_preview_url: null + extra_data: null schema: - $ref: '#/components/schemas/GetWebhooksSubscriptionResponse' - description: Example response - ModifyWebhooksSubscriptionResponse: + $ref: '#/components/schemas/GetBinReceivedDocumentResponse' + description: Bin received document details + GetEntityClientsInfoResponse: content: application/json: examples: example-1: value: data: - id: SUB12345 - sink: http://www.test.com - verified: true - types: - - it.fattureincloud.webhooks.entities.create - - it.fattureincloud.webhooks.issued_documents.create - warnings: The 'it.fattureincloud.webhooks.entities.clients.delete' - event is already registered for this application + countries_list: + - Italy + payment_methods_list: + - id: 555 + name: Rimessa diretta + is_default: false + details: [] + bank_iban: null + bank_name: null + bank_beneficiary: null + ei_payment_method: null + payment_accounts_list: + - id: 0 + name: Conto Banca Intesa + type: standard + iban: string + sia: string + cuc: string + virtual: true + vat_types_list: + - id: 0 + value: 22 + description: Non imponibile art. 123 + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: 2 + ei_description: string + editable: true + is_disabled: true + default: true + price_lists: + - id: string + name: "123" + prices_type: net + is_default: true + valid_from: string + valid_to: string + type: sell + limit: 0 + usage: 0 schema: - $ref: '#/components/schemas/ModifyWebhooksSubscriptionResponse' + $ref: '#/components/schemas/GetEntityClientPreCreateInfoResponse' description: Example response - GetCompanyPlanUsageResponse: + ListPriceList: content: application/json: examples: example-1: value: data: - limit: 3000 - usage: 100 + - id: "10" + name: listino + prices_type: net + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-12-01 + type: sell + - id: "11" + name: listino-test + prices_type: gross + is_default: true + valid_from: 2025-01-01 + valid_to: 2025-01-01 + type: purchase schema: - $ref: '#/components/schemas/GetCompanyPlanUsageResponse' + $ref: '#/components/schemas/ListPriceListsResponse' description: Example response - GetTaxProfileResponse: + GetPriceListItems: content: application/json: examples: example-1: value: data: - company_type: individual - company_subtype: artigiani - profession: null - regime: forfettario_5 - rivalsa_name: "" - default_rivalsa: 0 - cassa_name: "" - default_cassa: 0 - default_cassa_taxable: 100 - cassa2_name: "" - default_cassa2: 0 - default_cassa2_taxable: 0 - default_withholding_tax: 0 - default_withholding_tax_taxable: 100 - default_other_withholding_tax: 0 - enasarco: false - enasarco_type: null - contributions_percentage: 0 - med: false - default_vat: - id: 66 - value: 0 - description: Contribuenti forfettari - notes: "Operazione non soggetta a IVA ai sensi dell'art. 1, commi\ - \ 54-89, Legge n. 190\\/2014 e succ. modifiche\\/integrazioni" - e_invoice: true - ei_type: 2.2 - ei_description: Non soggetta art. 1\/54-89 L. 190\/2014 e succ. - modifiche\/integrazioni - editable: false - is_disabled: false - default: true + "1": + price: 3.5 + "2": + price: 5 schema: - $ref: '#/components/schemas/GetTaxProfileResponse' + $ref: '#/components/schemas/GetPriceListItemsResponse' description: Example response schemas: GetUserInfoResponse: @@ -16822,6 +18188,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -16897,6 +18264,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -16983,6 +18351,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -17066,6 +18435,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -17149,6 +18519,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -17233,6 +18604,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -17315,22 +18687,142 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - last_name: last_name - address_city: Bergamo - tax_code: RSSMRA44A12E890Q - intent_declaration_protocol_number: intent_declaration_protocol_number - phone: phone - address_street: "Via dei tigli, 12" - e_invoice: true - name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 + last_name: last_name + price_list_id: price_list_id + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + properties: + data: + $ref: '#/components/schemas/Client' + title: ModifyClientResponse + type: object + GetEntityClientPreCreateInfoResponse: + example: + data: + payment_methods_list: + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + usage: 6.027456183070403 + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + limit: 0.8008281904610115 + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + countries_list: + - countries_list + - countries_list properties: data: - $ref: '#/components/schemas/Client' - title: ModifyClientResponse + $ref: '#/components/schemas/EntityClientPreCreateInfo' + title: GetEntityClientPreCreateInfoResponse type: object ListSuppliersResponse: allOf: @@ -18044,6 +19536,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -18357,6 +19850,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -18681,6 +20175,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -19012,6 +20507,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -19333,6 +20829,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -19655,6 +21152,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -19986,6 +21484,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -20307,6 +21806,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -20657,6 +22157,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -20874,6 +22375,21 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell items_default_values: vat: ei_description: ei_description @@ -24104,9 +25620,188 @@ components: $ref: '#/components/schemas/Currency' nullable: true type: array - title: ListCurrenciesResponse + title: ListCurrenciesResponse + type: object + ListUnitsOfMeasureResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListUnitsOfMeasureResponse + type: object + ListDeliveryNotesDefaultCausalsResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListDeliveryNotesDefaultCasualsResponse + type: object + ListVatTypesResponse: + description: "" + example: + data: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + properties: + data: + items: + $ref: '#/components/schemas/VatType' + nullable: true + type: array + title: ListVatTypesResponse + type: object + ListPaymentMethodsResponse: + description: "" + example: + data: + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + items: + $ref: '#/components/schemas/PaymentMethod' + nullable: true + type: array + title: ListPaymentMethodsResponse + type: object + ListPaymentAccountsResponse: + description: "" + example: + data: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + items: + $ref: '#/components/schemas/PaymentAccount' + nullable: true + type: array + title: ListPaymentAccountsResponse + type: object + ListRevenueCentersResponse: + description: "" + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListRevenueCentersResponse + type: object + ListCostCentersResponse: + example: + data: + - data + - data + properties: + data: + items: + type: string + nullable: true + type: array + title: ListCostCentersResponse type: object - ListUnitsOfMeasureResponse: + ListProductCategoriesResponse: description: "" example: data: @@ -24118,9 +25813,9 @@ components: type: string nullable: true type: array - title: ListUnitsOfMeasureResponse + title: ListProductCategoriesResponse type: object - ListDeliveryNotesDefaultCausalsResponse: + ListReceivedDocumentCategoriesResponse: description: "" example: data: @@ -24132,45 +25827,25 @@ components: type: string nullable: true type: array - title: ListDeliveryNotesDefaultCasualsResponse + title: ListReceivedDocumentCategoriesResponse type: object - ListVatTypesResponse: - description: "" + ListArchiveCategoriesResponse: example: data: - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + - data + - data properties: data: items: - $ref: '#/components/schemas/VatType' + type: string nullable: true type: array - title: ListVatTypesResponse + title: ListArchiveCategoriesResponse type: object - ListPaymentMethodsResponse: - description: "" + CreatePaymentMethodRequest: example: data: - - default_payment_account: + default_payment_account: cuc: cuc virtual: true iban: iban @@ -24197,7 +25872,15 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban - - default_payment_account: + properties: + data: + $ref: '#/components/schemas/PaymentMethod' + title: CreatePaymentMethodRequest + type: object + CreatePaymentMethodResponse: + example: + data: + default_payment_account: cuc: cuc virtual: true iban: iban @@ -24226,24 +25909,133 @@ components: bank_iban: bank_iban properties: data: - items: - $ref: '#/components/schemas/PaymentMethod' - nullable: true - type: array - title: ListPaymentMethodsResponse + $ref: '#/components/schemas/PaymentMethod' + title: CreatePaymentMethodResponse type: object - ListPaymentAccountsResponse: - description: "" + GetPaymentMethodResponse: example: data: - - cuc: cuc + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: '#/components/schemas/PaymentMethod' + title: GetPaymentMethodResponse + type: object + ModifyPaymentMethodRequest: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: '#/components/schemas/PaymentMethod' + title: ModifyPaymentMethodRequest + type: object + ModifyPaymentMethodResponse: + example: + data: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + properties: + data: + $ref: '#/components/schemas/PaymentMethod' + title: ModifyPaymentMethodResponse + type: object + CreatePaymentAccountRequest: + example: + data: + cuc: cuc virtual: true iban: iban name: Conto Banca Intesa sia: sia id: 2 type: standard - - cuc: cuc + properties: + data: + $ref: '#/components/schemas/PaymentAccount' + title: CreatePaymentAccountRequest + type: object + CreatePaymentAccountResponse: + example: + data: + cuc: cuc virtual: true iban: iban name: Conto Banca Intesa @@ -24252,459 +26044,1684 @@ components: type: standard properties: data: - items: - $ref: '#/components/schemas/PaymentAccount' - nullable: true - type: array - title: ListPaymentAccountsResponse + $ref: '#/components/schemas/PaymentAccount' + title: CreatePaymentAccountResponse type: object - ListRevenueCentersResponse: - description: "" + GetTaxProfileResponse: example: data: - - data - - data + profession: profession + company_type: company_type + contributions_percentage: 3.616076749251911 + rivalsa_name: rivalsa_name + default_cassa2_taxable: 5.637376656633329 + regime: regime + default_cassa2: 5.962133916683182 + enasarco_type: enasarco_type + default_cassa: 6.027456183070403 + profit_coefficient: 2.027123023002322 + company_subtype: company_subtype + med: true + default_withholding_tax: 2.3021358869347655 + default_other_withholding_tax: 9.301444243932576 + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + default_withholding_tax_taxable: 7.061401241503109 + enasarco: true + default_cassa_taxable: 1.4658129805029452 + default_rivalsa: 0.8008281904610115 + cassa_name: cassa_name + cassa2_name: cassa2_name properties: data: - items: - type: string - nullable: true - type: array - title: ListRevenueCentersResponse + $ref: '#/components/schemas/TaxProfile' + title: GetTaxProfileResponse type: object - ListCostCentersResponse: + GetPaymentAccountResponse: example: data: - - data - - data + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + properties: + data: + $ref: '#/components/schemas/PaymentAccount' + title: GetPaymentAccountResponse + type: object + ModifyPaymentAccountRequest: + example: + data: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard properties: data: - items: - type: string - nullable: true - type: array - title: ListCostCentersResponse + $ref: '#/components/schemas/PaymentAccount' + title: ModifyPaymentAccountRequest type: object - ListProductCategoriesResponse: - description: "" + ModifyPaymentAccountResponse: example: data: - - data - - data + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard properties: data: - items: - type: string - nullable: true - type: array - title: ListProductCategoriesResponse + $ref: '#/components/schemas/PaymentAccount' + title: ModifyPaymentAccountResponse type: object - ListReceivedDocumentCategoriesResponse: - description: "" + CreateVatTypeRequest: example: data: - - data - - data + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - items: - type: string - nullable: true - type: array - title: ListReceivedDocumentCategoriesResponse + $ref: '#/components/schemas/VatType' + title: CreateVatTypeRequest type: object - ListArchiveCategoriesResponse: + CreateVatTypeResponse: example: data: - - data - - data + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - items: - type: string - nullable: true - type: array - title: ListArchiveCategoriesResponse + $ref: '#/components/schemas/VatType' + title: CreateVatTypeResponse type: object - CreatePaymentMethodRequest: + GetVatTypeResponse: example: data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - $ref: '#/components/schemas/PaymentMethod' - title: CreatePaymentMethodRequest + $ref: '#/components/schemas/VatType' + title: GetVatType type: object - CreatePaymentMethodResponse: + ModifyVatTypeRequest: example: data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - $ref: '#/components/schemas/PaymentMethod' - title: CreatePaymentMethodResponse + $ref: '#/components/schemas/VatType' type: object - GetPaymentMethodResponse: + ModifyVatTypeResponse: example: data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 properties: data: - $ref: '#/components/schemas/PaymentMethod' - title: GetPaymentMethodResponse + $ref: '#/components/schemas/VatType' + title: ModifyVatTypeResponse type: object - ModifyPaymentMethodRequest: + TransformIssuedDocumentResponse: example: data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 + date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + name: Light Smoke + id: 123 + type: type + id: 7 + delivery_note_template: + name: Light Smoke + id: 123 + type: type + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 5.944895607614016 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 0.8851374739011653 + amount_rivalsa: 7.143538047012306 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 6.519180951018382 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + name: Light Smoke + id: 123 + type: type + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 3.0937452626664474 + amount_enasarco_taxable: 8.969578798196912 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 2 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 6 + amount_other_withholding_tax: 0.10263654006109402 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 7.058770351582356 + extra_data: + ts_file_id: ts_file_id + ts_flag_tipo_spesa: 3.0205796992916243 + ts_pagamento_tracciato: true + ts_status: 3 + ts_opposizione: true + ts_communication: true + ts_full_amount: true + ts_tipo_spesa: ts_tipo_spesa + multifatture_sent: 7 + imported_by: imported_by + ts_sent_date: 2000-01-23 + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.353193347011243 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + options: + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true properties: data: - $ref: '#/components/schemas/PaymentMethod' - title: ModifyPaymentMethodRequest + $ref: '#/components/schemas/IssuedDocument' + options: + $ref: '#/components/schemas/IssuedDocumentOptions' + title: TransformIssuedDocumentResponse type: object - ModifyPaymentMethodResponse: + JoinIssuedDocumentsResponse: example: data: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 + date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + name: Light Smoke + id: 123 + type: type + id: 7 + delivery_note_template: + name: Light Smoke + id: 123 + type: type + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - properties: - data: - $ref: '#/components/schemas/PaymentMethod' - title: ModifyPaymentMethodResponse - type: object - CreatePaymentAccountRequest: - example: - data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - properties: - data: - $ref: '#/components/schemas/PaymentAccount' - title: CreatePaymentAccountRequest - type: object - CreatePaymentAccountResponse: - example: - data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 5.944895607614016 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 0.8851374739011653 + amount_rivalsa: 7.143538047012306 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 + e_invoice: true + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 6.519180951018382 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + name: Light Smoke + id: 123 + type: type + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 3.0937452626664474 + amount_enasarco_taxable: 8.969578798196912 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 2 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 6 + amount_other_withholding_tax: 0.10263654006109402 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 7.058770351582356 + extra_data: + ts_file_id: ts_file_id + ts_flag_tipo_spesa: 3.0205796992916243 + ts_pagamento_tracciato: true + ts_status: 3 + ts_opposizione: true + ts_communication: true + ts_full_amount: true + ts_tipo_spesa: ts_tipo_spesa + multifatture_sent: 7 + imported_by: imported_by + ts_sent_date: 2000-01-23 + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.353193347011243 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + options: + keep_copy: true + transform: true + join_type: join_type + create_from: + - create_from + - create_from + fix_payments: true properties: data: - $ref: '#/components/schemas/PaymentAccount' - title: CreatePaymentAccountResponse + $ref: '#/components/schemas/IssuedDocument' + options: + $ref: '#/components/schemas/IssuedDocumentOptions' + title: JoinIssuedDocumentsResponse type: object - GetTaxProfileResponse: + ListEmailsResponse: + allOf: + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/ListEmailsResponsePage' example: + first_page_url: https://openapi-generator.tech + path: https://openapi-generator.tech + per_page: 5 + total: 2 data: - profession: profession - company_type: company_type - contributions_percentage: 3.616076749251911 - rivalsa_name: rivalsa_name - default_cassa2_taxable: 5.637376656633329 - regime: regime - default_cassa2: 5.962133916683182 - enasarco_type: enasarco_type - default_cassa: 6.027456183070403 - profit_coefficient: 2.027123023002322 - company_subtype: company_subtype - med: true - default_withholding_tax: 2.3021358869347655 - default_other_withholding_tax: 9.301444243932576 - default_vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - default_withholding_tax_taxable: 7.061401241503109 - enasarco: true - default_cassa_taxable: 1.4658129805029452 - default_rivalsa: 0.8008281904610115 - cassa_name: cassa_name - cassa2_name: cassa2_name + - to_email: to_email + from_email: from_email + attachments: + - filename: filename + url: url + - filename: filename + url: url + error_log: error_log + to_name: to_name + subject: subject + kind: kind + sent_date: sent_date + from_name: from_name + recipient_status: unknown + content: content + copy_to: copy_to + id: 7 + recipient_date: 2000-01-23T04:56:07.000+00:00 + status: sending + errors_count: 9 + - to_email: to_email + from_email: from_email + attachments: + - filename: filename + url: url + - filename: filename + url: url + error_log: error_log + to_name: to_name + subject: subject + kind: kind + sent_date: sent_date + from_name: from_name + recipient_status: unknown + content: content + copy_to: copy_to + id: 7 + recipient_date: 2000-01-23T04:56:07.000+00:00 + status: sending + errors_count: 9 + last_page: 1 + last_page_url: https://openapi-generator.tech + next_page_url: https://openapi-generator.tech + from: 6 + to: 5 + prev_page_url: https://openapi-generator.tech + current_page: 0 + title: ListEmailsResponse + ListWebhooksSubscriptionsResponse: + example: + data: + - types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + - types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary properties: data: - $ref: '#/components/schemas/TaxProfile' - title: GetTaxProfileResponse + items: + $ref: '#/components/schemas/WebhooksSubscription' + type: array + title: ListWebhooksSubscriptionsResponse type: object - GetPaymentAccountResponse: + CreateWebhooksSubscriptionRequest: example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary properties: data: - $ref: '#/components/schemas/PaymentAccount' - title: GetPaymentAccountResponse + $ref: '#/components/schemas/WebhooksSubscription' + title: CreateWebhooksSubscriptionRequest type: object - ModifyPaymentAccountRequest: + CreateWebhooksSubscriptionResponse: example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + warnings: + - warnings + - warnings properties: data: - $ref: '#/components/schemas/PaymentAccount' - title: ModifyPaymentAccountRequest + $ref: '#/components/schemas/WebhooksSubscription' + warnings: + description: Webhooks registration warnings + items: + type: string + nullable: true + type: array + title: CreateWebhooksSubscriptionResponse type: object - ModifyPaymentAccountResponse: + GetWebhooksSubscriptionResponse: example: data: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary properties: data: - $ref: '#/components/schemas/PaymentAccount' - title: ModifyPaymentAccountResponse + $ref: '#/components/schemas/WebhooksSubscription' + title: GetWebhooksSubscriptionResponse type: object - CreateVatTypeRequest: + ModifyWebhooksSubscriptionRequest: example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary properties: data: - $ref: '#/components/schemas/VatType' - title: CreateVatTypeRequest + $ref: '#/components/schemas/WebhooksSubscription' + title: ModifyWebhooksSubscriptionRequest type: object - CreateVatTypeResponse: + ModifyWebhooksSubscriptionResponse: example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + types: + - it.fattureincloud.webhooks.issued_documents.invoices.create + - it.fattureincloud.webhooks.issued_documents.invoices.create + sink: sink + verification_method: header + verified: true + id: id + config: + mapping: binary + warnings: + - warnings + - warnings properties: data: - $ref: '#/components/schemas/VatType' - title: CreateVatTypeResponse + $ref: '#/components/schemas/WebhooksSubscription' + warnings: + description: Webhooks registration warnings + items: + type: string + nullable: true + type: array + title: CreateWebhooksSubscriptionRequest type: object - GetVatTypeResponse: + VerifyWebhooksSubscriptionRequest: example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + verification_method: header + id: id properties: data: - $ref: '#/components/schemas/VatType' - title: GetVatType + $ref: '#/components/schemas/VerifyWebhooksSubscription' + title: VerifyWebhooksSubscriptionRequest type: object - ModifyVatTypeRequest: + ListBinIssuedDocuments: example: data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + - date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + name: Light Smoke + id: 123 + type: type + id: 7 + delivery_note_template: + name: Light Smoke + id: 123 + type: type + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 5.944895607614016 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 0.8851374739011653 + amount_rivalsa: 7.143538047012306 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - properties: - data: - $ref: '#/components/schemas/VatType' - type: object - ModifyVatTypeResponse: - example: - data: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 6.519180951018382 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + name: Light Smoke + id: 123 + type: type + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 3.0937452626664474 + amount_enasarco_taxable: 8.969578798196912 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 2 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 6 + amount_other_withholding_tax: 0.10263654006109402 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 7.058770351582356 + extra_data: + ts_file_id: ts_file_id + ts_flag_tipo_spesa: 3.0205796992916243 + ts_pagamento_tracciato: true + ts_status: 3 + ts_opposizione: true + ts_communication: true + ts_full_amount: true + ts_tipo_spesa: ts_tipo_spesa + multifatture_sent: 7 + imported_by: imported_by + ts_sent_date: 2000-01-23 + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.353193347011243 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + - date: 2000-01-23 + numeration: /A + notes: notes + year: 3 + subject: subject + rivalsa: 2.027123023002322 + dn_ai_causal: dn_ai_causal + language: + code: code + name: name + type: invoice + show_payments: true + ei_data: + original_document_type: ordine + cig: cig + bank_name: bank_name + od_number: od_number + od_date: 2000-01-23 + bank_beneficiary: bank_beneficiary + vat_kind: null + bank_iban: bank_iban + invoice_number: invoice_number + payment_method: payment_method + cup: cup + invoice_date: 2000-01-23 + dn_ai_weight: dn_ai_weight + number: 1 + rc_center: rc_center + items_list: + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + - code: "239874892374982" + ei_raw: "{}" + discount_highlight: true + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + description: description + not_taxable: true + discount: 3.5571952270680973 + net_price: 1.23 + apply_withholding_taxes: true + measure: measure + product_id: 1234 + qty: 6.438423552598547 + name: Water bottle + gross_price: 1.45 + id: 9 + category: category + stock: true + in_dn: true + dn_ai_notes: dn_ai_notes + acc_inv_template: + name: Light Smoke + id: 123 + type: type + id: 7 + delivery_note_template: + name: Light Smoke + id: 123 + type: type + locked: true + show_tspay_button: true + payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + attachment_token: attachment_token + amount_net: 5.944895607614016 + dn_ai_destination: dn_ai_destination + ai_url: ai_url + amount_cassa: 7.386281948385884 + cassa2_taxable: 7.457744773683766 + v_margins: 6 + amount_cassa2: 6.84685269835264 + accompanying_invoice: true + amount_rivalsa_taxable: 0.8851374739011653 + amount_rivalsa: 7.143538047012306 + show_totals: all + stamp_duty: 8.762042012749001 + use_gross_prices: true + global_cassa_taxable: 4.965218492984954 e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 + dn_ai_packages_number: dn_ai_packages_number + withholding_tax: 9.965781217890562 + amount_withholding_tax_taxable: 6.519180951018382 + other_withholding_tax: 6.683562403749608 + ei_other_withholding_tax_type: ei_other_withholding_tax_type + template: + name: Light Smoke + id: 123 + type: type + cassa: 4.145608029883936 + ei_raw: "{}" + amount_global_cassa_taxable: 5.025004791520295 + amount_due_discount: 3.0937452626664474 + amount_enasarco_taxable: 8.969578798196912 + created_at: created_at + visible_subject: visible_subject + use_split_payment: true + payments_list: + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + - amount: 1.45 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + ei_raw: "{}" + due_date: 2018-04-03 + id: 6 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 2 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 6 + amount_other_withholding_tax: 0.10263654006109402 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 7.058770351582356 + extra_data: + ts_file_id: ts_file_id + ts_flag_tipo_spesa: 3.0205796992916243 + ts_pagamento_tracciato: true + ts_status: 3 + ts_opposizione: true + ts_communication: true + ts_full_amount: true + ts_tipo_spesa: ts_tipo_spesa + multifatture_sent: 7 + imported_by: imported_by + ts_sent_date: 2000-01-23 + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.353193347011243 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 properties: data: - $ref: '#/components/schemas/VatType' - title: ModifyVatTypeResponse + items: + $ref: '#/components/schemas/IssuedDocument' + type: array + title: ListBinIssuedDocuments type: object - TransformIssuedDocumentResponse: + GetBinIssuedDocumentResponse: example: data: date: 2000-01-23 @@ -24895,55 +27912,245 @@ components: ei_raw: "{}" due_date: 2018-04-03 id: 6 - payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal - next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 - is_marked: true - updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 + payment_terms: + days: 1 + type: null + paid_date: 2018-04-03 + status: not_paid + h_margins: 2 + dn_date: 2000-01-23 + ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + next_due_date: 2000-01-23 + cassa2: 1.4894159098541704 + withholding_tax_taxable: 9.369310271410669 + is_marked: true + updated_at: updated_at + amount_vat: 6.704019297950036 + amount_other_withholding_tax_taxable: 4.652396432933246 + currency: + symbol: € + exchange_rate: "1" + html_symbol: EUR + id: EUR + dn_number: 6 + amount_other_withholding_tax: 0.10263654006109402 + ei_cassa_type: ei_cassa_type + dn_ai_transporter: dn_ai_transporter + show_notification_button: true + dn_url: dn_url + show_payment_method: true + price_list_id: price_list_id + delivery_note: true + url: url + attachment_url: attachment_url + amount_withholding_tax: 7.058770351582356 + extra_data: + ts_file_id: ts_file_id + ts_flag_tipo_spesa: 3.0205796992916243 + ts_pagamento_tracciato: true + ts_status: 3 + ts_opposizione: true + ts_communication: true + ts_full_amount: true + ts_tipo_spesa: ts_tipo_spesa + multifatture_sent: 7 + imported_by: imported_by + ts_sent_date: 2000-01-23 + ei_status: attempt + seen_date: 2000-01-23 + ei_cassa2_type: ei_cassa2_type + ei_withholding_tax_causal: ei_withholding_tax_causal + cassa_taxable: 1.2315135367772556 + amount_gross: 3.353193347011243 + entity: + country: Italia + code: "123" + notes: notes + ei_code: ei_code + default_payment_terms_type: standard + vat_number: IT01234567890 + created_at: created_at + type: company + address_extra: address_extra + bank_swift_code: bank_swift_code + default_vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + address_province: BG + updated_at: updated_at + bank_name: bank_name + id: 9 + shipping_address: shipping_address + fax: fax + first_name: first_name + bank_iban: bank_iban + country_iso: Italia + email: mario.rossi@example.it + contact_person: contact_person + address_postal_code: "24010" + default_payment_method: + default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + last_name: last_name + address_city: Bergamo + tax_code: RSSMRA44A12E890Q + intent_declaration_protocol_number: intent_declaration_protocol_number + phone: phone + address_street: "Via dei tigli, 12" + e_invoice: true + name: Rossi S.r.l. + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 + amount_cassa_taxable: 1.0246457001441578 + amount_cassa2_taxable: 1.1730742509559433 + properties: + data: + $ref: '#/components/schemas/IssuedDocument' + title: GetBinIssuedDocumentResponse + type: object + ListBinReceivedDocuments: + example: + data: + - date: 2000-01-23 + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description + created_at: created_at + amortization: 1.2315135367772556 + type: expense + payments_list: + - amount: 9.369310271410669 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 6 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 9.369310271410669 + payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + due_date: 2000-01-23 + id: 9 + payment_terms: + days: 6 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true + next_due_date: 2000-01-23 + rc_center: rc_center + is_marked: true + updated_at: updated_at + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - delivery_note: true - url: url + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 entity: country: Italia code: "123" @@ -25018,186 +28225,16 @@ components: certified_email: mario.rossi@pec.example.it has_intent_declaration: true intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - options: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true - properties: - data: - $ref: '#/components/schemas/IssuedDocument' - options: - $ref: '#/components/schemas/IssuedDocumentOptions' - title: TransformIssuedDocumentResponse - type: object - JoinIssuedDocumentsResponse: - example: - data: - date: 2000-01-23 - numeration: /A - notes: notes - year: 3 - subject: subject - rivalsa: 2.027123023002322 - dn_ai_causal: dn_ai_causal - language: - code: code - name: name - type: invoice - show_payments: true - ei_data: - original_document_type: ordine - cig: cig - bank_name: bank_name - od_number: od_number - od_date: 2000-01-23 - bank_beneficiary: bank_beneficiary - vat_kind: null - bank_iban: bank_iban - invoice_number: invoice_number - payment_method: payment_method - cup: cup - invoice_date: 2000-01-23 - dn_ai_weight: dn_ai_weight - number: 1 - rc_center: rc_center - items_list: - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - - code: "239874892374982" - ei_raw: "{}" - discount_highlight: true - vat: - ei_description: ei_description - default: true - notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" - e_invoice: true - ei_type: "2" - editable: true - is_disabled: true - description: Non imponibile art. 123 - id: 9 - value: 22 - description: description - not_taxable: true - discount: 3.5571952270680973 - net_price: 1.23 - apply_withholding_taxes: true - measure: measure - product_id: 1234 - qty: 6.438423552598547 - name: Water bottle - gross_price: 1.45 - id: 9 - category: category - stock: true - in_dn: true - dn_ai_notes: dn_ai_notes - acc_inv_template: - name: Light Smoke - id: 123 - type: type - id: 7 - delivery_note_template: - name: Light Smoke - id: 123 - type: type - locked: true - show_tspay_button: true - payment_method: - default_payment_account: - cuc: cuc - virtual: true - iban: iban - name: Conto Banca Intesa - sia: sia - id: 2 - type: standard - name: name - bank_name: bank_name - details: - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - - description: description - title: title - bank_beneficiary: bank_beneficiary - id: 3 - type: standard - is_default: true - ei_payment_method: ei_payment_method - bank_iban: bank_iban - attachment_token: attachment_token - amount_net: 5.944895607614016 - dn_ai_destination: dn_ai_destination - ai_url: ai_url - amount_cassa: 7.386281948385884 - cassa2_taxable: 7.457744773683766 - v_margins: 6 - amount_cassa2: 6.84685269835264 - accompanying_invoice: true - amount_rivalsa_taxable: 0.8851374739011653 - amount_rivalsa: 7.143538047012306 - show_totals: all - stamp_duty: 8.762042012749001 - use_gross_prices: true - global_cassa_taxable: 4.965218492984954 - e_invoice: true - dn_ai_packages_number: dn_ai_packages_number - withholding_tax: 9.965781217890562 - amount_withholding_tax_taxable: 6.519180951018382 - other_withholding_tax: 6.683562403749608 - ei_other_withholding_tax_type: ei_other_withholding_tax_type - template: - name: Light Smoke - id: 123 - type: type - cassa: 4.145608029883936 - ei_raw: "{}" - amount_global_cassa_taxable: 5.025004791520295 - amount_due_discount: 3.0937452626664474 - amount_enasarco_taxable: 8.969578798196912 + - date: 2000-01-23 + attachment_preview_url: attachment_preview_url + auto_calculate: true + tax_deductibility: 1.0246457001441578 + description: description created_at: created_at - visible_subject: visible_subject - use_split_payment: true + amortization: 1.2315135367772556 + type: expense payments_list: - - amount: 1.45 + - amount: 9.369310271410669 payment_account: cuc: cuc virtual: true @@ -25206,15 +28243,14 @@ components: sia: sia id: 2 type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 + due_date: 2000-01-23 + id: 9 payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - - amount: 1.45 + days: 6 + type: standard + paid_date: 2000-01-23 + status: status + - amount: 9.369310271410669 payment_account: cuc: cuc virtual: true @@ -25223,58 +28259,77 @@ components: sia: sia id: 2 type: standard - ei_raw: "{}" - due_date: 2018-04-03 - id: 6 + due_date: 2000-01-23 + id: 9 payment_terms: - days: 1 - type: null - paid_date: 2018-04-03 - status: not_paid - h_margins: 2 - dn_date: 2000-01-23 - ei_other_withholding_tax_causal: ei_other_withholding_tax_causal + days: 6 + type: standard + paid_date: 2000-01-23 + status: status + is_detailed: true next_due_date: 2000-01-23 - cassa2: 1.4894159098541704 - withholding_tax_taxable: 9.369310271410669 + rc_center: rc_center is_marked: true updated_at: updated_at - amount_vat: 6.704019297950036 - amount_other_withholding_tax_taxable: 4.652396432933246 + amount_vat: 3.616076749251911 + items_list: + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 + - code: code + measure: measure + product_id: 7 + qty: 4.965218492984954 + name: name + vat: + ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + net_price: 1.1730742509559433 + id: 6 + category: category + stock: 5.025004791520295 currency: symbol: € exchange_rate: "1" html_symbol: EUR id: EUR - dn_number: 6 - amount_other_withholding_tax: 0.10263654006109402 - ei_cassa_type: ei_cassa_type - dn_ai_transporter: dn_ai_transporter - show_notification_button: true - dn_url: dn_url - show_payment_method: true - delivery_note: true - url: url + id: 7 + amount_other_withholding_tax: 4.145608029883936 + locked: true + invoice_number: invoice_number + vat_deductibility: 1.4894159098541704 + attachment_token: attachment_token + amount_net: 9.301444243932576 attachment_url: attachment_url - amount_withholding_tax: 7.058770351582356 - extra_data: - ts_file_id: ts_file_id - ts_flag_tipo_spesa: 3.0205796992916243 - ts_pagamento_tracciato: true - ts_status: 3 - ts_opposizione: true - ts_communication: true - ts_full_amount: true - ts_tipo_spesa: ts_tipo_spesa - multifatture_sent: 7 - imported_by: imported_by - ts_sent_date: 2000-01-23 - ei_status: attempt - seen_date: 2000-01-23 - ei_cassa2_type: ei_cassa2_type - ei_withholding_tax_causal: ei_withholding_tax_causal - cassa_taxable: 1.2315135367772556 - amount_gross: 3.353193347011243 + amount_withholding_tax: 2.027123023002322 + e_invoice: true + category: category + amount_gross: 7.386281948385884 entity: country: Italia code: "123" @@ -25345,208 +28400,59 @@ components: address_street: "Via dei tigli, 12" e_invoice: true name: Rossi S.r.l. - default_payment_terms: 30 - certified_email: mario.rossi@pec.example.it - has_intent_declaration: true - intent_declaration_protocol_date: 2000-01-23 - amount_cassa_taxable: 1.0246457001441578 - amount_cassa2_taxable: 1.1730742509559433 - options: - keep_copy: true - transform: true - join_type: join_type - create_from: - - create_from - - create_from - fix_payments: true - properties: - data: - $ref: '#/components/schemas/IssuedDocument' - options: - $ref: '#/components/schemas/IssuedDocumentOptions' - title: JoinIssuedDocumentsResponse - type: object - ListEmailsResponse: - allOf: - - $ref: '#/components/schemas/Pagination' - - $ref: '#/components/schemas/ListEmailsResponsePage' - example: - first_page_url: https://openapi-generator.tech - path: https://openapi-generator.tech - per_page: 5 - total: 2 - data: - - to_email: to_email - from_email: from_email - attachments: - - filename: filename - url: url - - filename: filename - url: url - error_log: error_log - to_name: to_name - subject: subject - kind: kind - sent_date: sent_date - from_name: from_name - recipient_status: unknown - content: content - copy_to: copy_to - id: 7 - recipient_date: 2000-01-23T04:56:07.000+00:00 - status: sending - errors_count: 9 - - to_email: to_email - from_email: from_email - attachments: - - filename: filename - url: url - - filename: filename - url: url - error_log: error_log - to_name: to_name - subject: subject - kind: kind - sent_date: sent_date - from_name: from_name - recipient_status: unknown - content: content - copy_to: copy_to - id: 7 - recipient_date: 2000-01-23T04:56:07.000+00:00 - status: sending - errors_count: 9 - last_page: 1 - last_page_url: https://openapi-generator.tech - next_page_url: https://openapi-generator.tech - from: 6 - to: 5 - prev_page_url: https://openapi-generator.tech - current_page: 0 - title: ListEmailsResponse - ListWebhooksSubscriptionsResponse: - example: - data: - - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true - id: id - config: - mapping: binary - - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true - id: id - config: - mapping: binary - properties: - data: - items: - $ref: '#/components/schemas/WebhooksSubscription' - type: array - title: ListWebhooksSubscriptionsResponse - type: object - CreateWebhooksSubscriptionRequest: - example: - data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true - id: id - config: - mapping: binary - properties: - data: - $ref: '#/components/schemas/WebhooksSubscription' - title: CreateWebhooksSubscriptionRequest - type: object - CreateWebhooksSubscriptionResponse: - example: - data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true - id: id - config: - mapping: binary - warnings: - - warnings - - warnings + default_payment_terms: 30 + certified_email: mario.rossi@pec.example.it + has_intent_declaration: true + intent_declaration_protocol_date: 2000-01-23 properties: data: - $ref: '#/components/schemas/WebhooksSubscription' - warnings: - description: Webhooks registration warnings items: - type: string - nullable: true + $ref: '#/components/schemas/ReceivedDocument' type: array - title: CreateWebhooksSubscriptionResponse + title: ListBinReceivedDocuments type: object - GetWebhooksSubscriptionResponse: + ListPriceListsResponse: example: data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from id: id - config: - mapping: binary + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell properties: data: - $ref: '#/components/schemas/WebhooksSubscription' - title: GetWebhooksSubscriptionResponse + items: + $ref: '#/components/schemas/PriceList' + type: array + title: ListPriceListsResponse type: object - ModifyWebhooksSubscriptionRequest: + GetPriceListItemsResponse: example: data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true - id: id - config: - mapping: binary + key: + price: 0.8008281904610115 properties: data: - $ref: '#/components/schemas/WebhooksSubscription' - title: ModifyWebhooksSubscriptionRequest + additionalProperties: + $ref: '#/components/schemas/PriceListItem' + title: PriceListItemsList + type: object + title: GetPriceListItemsResponse type: object - ModifyWebhooksSubscriptionResponse: - example: - data: - types: - - it.fattureincloud.webhooks.issued_documents.invoices.create - - it.fattureincloud.webhooks.issued_documents.invoices.create - sink: sink - verified: true - id: id - config: - mapping: binary - warnings: - - warnings - - warnings + GetBinReceivedDocumentResponse: properties: data: - $ref: '#/components/schemas/WebhooksSubscription' - warnings: - description: Webhooks registration warnings - items: - type: string - nullable: true - type: array - title: CreateWebhooksSubscriptionRequest + $ref: '#/components/schemas/ReceivedDocument' + title: GetBinReceivedDocumentResponse type: object User: example: @@ -25932,6 +28838,7 @@ components: ei_payment_method: ei_payment_method bank_iban: bank_iban last_name: last_name + price_list_id: price_list_id address_city: Bergamo tax_code: RSSMRA44A12E890Q intent_declaration_protocol_number: intent_declaration_protocol_number @@ -26069,15 +28976,15 @@ components: description: Use e-invoices for this entity nullable: true type: boolean + discount_highlight: + description: Highlight Discount + nullable: true + type: boolean ei_code: description: | Client e-invoice code nullable: true type: string - discount_highlight: - description: Highlight Discount - nullable: true - type: boolean default_discount: description: Client default discount nullable: true @@ -26095,6 +29002,10 @@ components: format: date nullable: true type: string + price_list_id: + description: Price list id + nullable: true + type: string created_at: description: Client creation date nullable: true @@ -26105,6 +29016,160 @@ components: type: string title: Client type: object + EntityClientPreCreateInfo: + example: + payment_methods_list: + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + - default_payment_account: + cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + name: name + bank_name: bank_name + details: + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + - description: description + title: title + bank_beneficiary: bank_beneficiary + id: 3 + type: standard + is_default: true + ei_payment_method: ei_payment_method + bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + usage: 6.027456183070403 + payment_accounts_list: + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + - cuc: cuc + virtual: true + iban: iban + name: Conto Banca Intesa + sia: sia + id: 2 + type: standard + limit: 0.8008281904610115 + vat_types_list: + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + - ei_description: ei_description + default: true + notes: "IVA non imponibile ai sensi dell'articolo 123, comma 2" + e_invoice: true + ei_type: "2" + editable: true + is_disabled: true + description: Non imponibile art. 123 + id: 9 + value: 22 + countries_list: + - countries_list + - countries_list + properties: + countries_list: + description: Countries list + items: + type: string + nullable: true + type: array + payment_methods_list: + description: Entity payment methods list + items: + $ref: '#/components/schemas/PaymentMethod' + nullable: true + type: array + payment_accounts_list: + description: Entity payment accounts list + items: + $ref: '#/components/schemas/PaymentAccount' + nullable: true + type: array + vat_types_list: + description: Vat types list + items: + $ref: '#/components/schemas/VatType' + nullable: true + type: array + price_lists: + description: Entity price lists + items: + $ref: '#/components/schemas/PriceList' + nullable: true + type: array + limit: + description: Entity limit + nullable: true + type: number + usage: + description: Entity usage + nullable: true + type: number + title: EntityClientPreCreateInfo + type: object ListSuppliersResponsePage: properties: data: @@ -26595,6 +29660,7 @@ components: show_notification_button: true dn_url: dn_url show_payment_method: true + price_list_id: price_list_id delivery_note: true url: url attachment_url: attachment_url @@ -27091,6 +30157,10 @@ components: - manual_rejected nullable: true type: string + price_list_id: + description: Price list id + nullable: true + type: string locked: description: Issued Document can't be edited nullable: true @@ -27303,6 +30373,21 @@ components: is_default: true ei_payment_method: ei_payment_method bank_iban: bank_iban + price_lists: + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + - prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell items_default_values: vat: ei_description: ei_description @@ -27515,6 +30600,11 @@ components: $ref: '#/components/schemas/Language' nullable: true type: array + price_lists: + description: Price lists + items: + $ref: '#/components/schemas/PriceList' + type: array title: IssuedDocumentPreCreateInfo type: object EmailData: @@ -28729,6 +31819,7 @@ components: title: VatType type: object PaymentMethod: + description: "" example: default_payment_account: cuc: cuc @@ -28971,6 +32062,7 @@ components: - it.fattureincloud.webhooks.issued_documents.invoices.create - it.fattureincloud.webhooks.issued_documents.invoices.create sink: sink + verification_method: header verified: true id: id config: @@ -28996,8 +32088,65 @@ components: type: array config: $ref: '#/components/schemas/WebhooksSubscriptionConfig' + verification_method: + $ref: '#/components/schemas/WebhooksSubscriptionVerificationMethod' title: WebhooksSubscription type: object + VerifyWebhooksSubscription: + example: + verification_method: header + id: id + properties: + id: + description: Webhooks subscription id + nullable: true + type: string + verification_method: + $ref: '#/components/schemas/WebhooksSubscriptionVerificationMethod' + title: VerifyWebhooksSubscription + type: object + PriceList: + example: + prices_type: net + valid_to: valid_to + name: "123" + valid_from: valid_from + id: id + is_default: true + type: sell + properties: + id: + description: Price list id + nullable: true + type: string + name: + description: Price list name + example: "123" + nullable: true + type: string + prices_type: + $ref: '#/components/schemas/PriceListPricesType' + is_default: + description: This entity is default + nullable: true + type: boolean + valid_from: + description: Price list validity start date + nullable: true + type: string + valid_to: + description: Price list validity end date + nullable: true + type: string + type: + $ref: '#/components/schemas/PriceListType' + title: PriceList + type: object + PriceListItemsList: + additionalProperties: + $ref: '#/components/schemas/PriceListItem' + title: PriceListItemsList + type: object CompanyType: description: Company type enum: @@ -30085,6 +33234,35 @@ components: $ref: '#/components/schemas/WebhooksSubscriptionMapping' title: WebhooksSubscriptionConfig type: object + WebhooksSubscriptionVerificationMethod: + description: Webhooks Subscription verification method + enum: + - header + - query + title: WebhooksSubscriptionVerificationMethod + type: string + PriceListPricesType: + description: Price list prices type + enum: + - net + - gross + title: PriceListPricesType + type: string + PriceListType: + description: Price list types + enum: + - sell + - purchase + title: PriceListType + type: string + PriceListItem: + example: + price: 0.8008281904610115 + properties: + price: + type: number + title: PriceListItem + type: object PermissionLevel: description: Permission level enum: @@ -31011,10 +34189,13 @@ components: stock:a: Write permission to the Stock movements receipts:r: Read permission to the Receipts receipts:a: Write permission to the Receipts + calendar:r: Read permission to the Calendar + calendar:a: Write permission to the Calendar taxes:r: Read permission to the Taxes taxes:a: Write permission to the Taxes archive:r: Read permission to the Archive Documents archive:a: Read permission to the Archive Documents + emails:r: Read permission to the Emails cashbook:r: Read permission to the Cashbook cashbook:a: Write permission to the Cashbook settings:r: Read permission to the Settings diff --git a/build.gradle b/build.gradle index 8a8d8e5f..59b97a38 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group = 'it.fattureincloud' -version = '2.1.1' +version = '2.1.2' java { withJavadocJar() diff --git a/docs/Client.md b/docs/Client.md index 8978498a..86664a8f 100644 --- a/docs/Client.md +++ b/docs/Client.md @@ -37,12 +37,13 @@ |**bankSwiftCode** | **String** | Client bank swift code | [optional] | |**shippingAddress** | **String** | Client shipping address | [optional] | |**eInvoice** | **Boolean** | Use e-invoices for this entity | [optional] | -|**eiCode** | **String** | Client e-invoice code | [optional] | |**discountHighlight** | **Boolean** | Highlight Discount | [optional] | +|**eiCode** | **String** | Client e-invoice code | [optional] | |**defaultDiscount** | **BigDecimal** | Client default discount | [optional] | |**hasIntentDeclaration** | **Boolean** | Client has intent declaration | [optional] | |**intentDeclarationProtocolNumber** | **String** | Client intent declaration protocol number | [optional] | |**intentDeclarationProtocolDate** | **LocalDate** | Client intent declaration protocol date | [optional] | +|**priceListId** | **String** | Price list id | [optional] | |**createdAt** | **String** | Client creation date | [optional] | |**updatedAt** | **String** | Client last update date | [optional] | diff --git a/docs/ClientsApi.md b/docs/ClientsApi.md index 0743e2fd..cd1de0fe 100644 --- a/docs/ClientsApi.md +++ b/docs/ClientsApi.md @@ -7,6 +7,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**createClient**](ClientsApi.md#createClient) | **POST** /c/{company_id}/entities/clients | Create Client | | [**deleteClient**](ClientsApi.md#deleteClient) | **DELETE** /c/{company_id}/entities/clients/{client_id} | Delete Client | | [**getClient**](ClientsApi.md#getClient) | **GET** /c/{company_id}/entities/clients/{client_id} | Get Client | +| [**getClientInfo**](ClientsApi.md#getClientInfo) | **GET** /c/{company_id}/entities/clients/info | Get Client info | | [**listClients**](ClientsApi.md#listClients) | **GET** /c/{company_id}/entities/clients | List Clients | | [**modifyClient**](ClientsApi.md#modifyClient) | **PUT** /c/{company_id}/entities/clients/{client_id} | Modify Client | @@ -229,6 +230,76 @@ public class Example { | **404** | Not Found | - | +## getClientInfo + +> GetEntityClientPreCreateInfoResponse getClientInfo(companyId) + +Get Client info + +Retrieves the information useful while creating a new Client. + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.ClientsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + ClientsApi apiInstance = new ClientsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + try { + GetEntityClientPreCreateInfoResponse result = apiInstance.getClientInfo(companyId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ClientsApi#getClientInfo"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | + +### Return type + +[**GetEntityClientPreCreateInfoResponse**](GetEntityClientPreCreateInfoResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Example response | - | +| **401** | Unauthorized | - | +| **404** | Not Found | - | + + ## listClients > ListClientsResponse listClients(companyId, fields, fieldset, sort, page, perPage, q) diff --git a/docs/EmailsApi.md b/docs/EmailsApi.md index 05afdaa8..df8abb83 100644 --- a/docs/EmailsApi.md +++ b/docs/EmailsApi.md @@ -10,7 +10,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* ## listEmails -> ListEmailsResponse listEmails(companyId) +> ListEmailsResponse listEmails(companyId, fields, fieldset, sort, page, perPage, q) List Emails @@ -37,8 +37,14 @@ public class Example { EmailsApi apiInstance = new EmailsApi(defaultClient); Integer companyId = 12345; // Integer | The ID of the company. + String fields = "fields_example"; // String | List of comma-separated fields. + String fieldset = "basic"; // String | Name of the fieldset. + String sort = "sort_example"; // String | List of comma-separated fields for result sorting (minus for desc sorting). + Integer page = 1; // Integer | The page to retrieve. + Integer perPage = 5; // Integer | The size of the page. + String q = "q_example"; // String | Query for filtering the results. try { - ListEmailsResponse result = apiInstance.listEmails(companyId); + ListEmailsResponse result = apiInstance.listEmails(companyId, fields, fieldset, sort, page, perPage, q); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling EmailsApi#listEmails"); @@ -56,6 +62,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **companyId** | **Integer**| The ID of the company. | | +| **fields** | **String**| List of comma-separated fields. | [optional] | +| **fieldset** | **String**| Name of the fieldset. | [optional] [enum: basic, detailed] | +| **sort** | **String**| List of comma-separated fields for result sorting (minus for desc sorting). | [optional] | +| **page** | **Integer**| The page to retrieve. | [optional] [default to 1] | +| **perPage** | **Integer**| The size of the page. | [optional] [default to 5] | +| **q** | **String**| Query for filtering the results. | [optional] | ### Return type diff --git a/docs/EntityClientPreCreateInfo.md b/docs/EntityClientPreCreateInfo.md new file mode 100644 index 00000000..e4f66acb --- /dev/null +++ b/docs/EntityClientPreCreateInfo.md @@ -0,0 +1,23 @@ + + +# EntityClientPreCreateInfo + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**countriesList** | **List<String>** | Countries list | [optional] | +|**paymentMethodsList** | [**List<PaymentMethod>**](PaymentMethod.md) | Entity payment methods list | [optional] | +|**paymentAccountsList** | [**List<PaymentAccount>**](PaymentAccount.md) | Entity payment accounts list | [optional] | +|**vatTypesList** | [**List<VatType>**](VatType.md) | Vat types list | [optional] | +|**priceLists** | [**List<PriceList>**](PriceList.md) | Entity price lists | [optional] | +|**limit** | **BigDecimal** | Entity limit | [optional] | +|**usage** | **BigDecimal** | Entity usage | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/EventType.md b/docs/EventType.md index 0eefd7e3..040faa9d 100644 --- a/docs/EventType.md +++ b/docs/EventType.md @@ -5,153 +5,153 @@ ## Enum -* `ISSUED_DOCUMENTS_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.create"`) -* `ISSUED_DOCUMENTS_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.update"`) -* `ISSUED_DOCUMENTS_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.delete"`) -* `ISSUED_DOCUMENTS_QUOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.create"`) -* `ISSUED_DOCUMENTS_QUOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.update"`) -* `ISSUED_DOCUMENTS_QUOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.delete"`) -* `ISSUED_DOCUMENTS_PROFORMAS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.create"`) -* `ISSUED_DOCUMENTS_PROFORMAS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.update"`) -* `ISSUED_DOCUMENTS_PROFORMAS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.delete"`) -* `ISSUED_DOCUMENTS_RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.create"`) -* `ISSUED_DOCUMENTS_RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.update"`) -* `ISSUED_DOCUMENTS_RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.delete"`) -* `ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.create"`) -* `ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.update"`) -* `ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.delete"`) -* `ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.create"`) -* `ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.update"`) -* `ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.delete"`) -* `ISSUED_DOCUMENTS_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.create"`) -* `ISSUED_DOCUMENTS_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.update"`) -* `ISSUED_DOCUMENTS_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.delete"`) -* `ISSUED_DOCUMENTS_WORK_REPORTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.create"`) -* `ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.update"`) -* `ISSUED_DOCUMENTS_WORK_REPORTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.delete"`) -* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.create"`) -* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.update"`) -* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.delete"`) -* `ISSUED_DOCUMENTS_SELF_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.create"`) -* `ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.update"`) -* `ISSUED_DOCUMENTS_SELF_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.delete"`) -* `ISSUED_DOCUMENTS_ALL_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.create"`) -* `ISSUED_DOCUMENTS_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.update"`) -* `ISSUED_DOCUMENTS_ALL_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.all.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.all.delete"`) -* `RECEIVED_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.received_documents.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.received_documents.create"`) -* `RECEIVED_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.received_documents.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.received_documents.update"`) -* `RECEIVED_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.received_documents.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.received_documents.delete"`) -* `RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.receipts.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.receipts.create"`) -* `RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.receipts.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.receipts.update"`) -* `RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.receipts.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.receipts.delete"`) -* `TAXES_CREATE` (value: `"it.fattureincloud.webhooks.taxes.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_TAXES_CREATE` (value: `"it.fattureincloud.webhooks.taxes.create"`) -* `TAXES_UPDATE` (value: `"it.fattureincloud.webhooks.taxes.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_TAXES_UPDATE` (value: `"it.fattureincloud.webhooks.taxes.update"`) -* `TAXES_DELETE` (value: `"it.fattureincloud.webhooks.taxes.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_TAXES_DELETE` (value: `"it.fattureincloud.webhooks.taxes.delete"`) -* `ARCHIVE_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.archive_documents.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.archive_documents.create"`) -* `ARCHIVE_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.archive_documents.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.archive_documents.update"`) -* `ARCHIVE_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.archive_documents.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.archive_documents.delete"`) -* `CASHBOOK_CREATE` (value: `"it.fattureincloud.webhooks.cashbook.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_CREATE` (value: `"it.fattureincloud.webhooks.cashbook.create"`) -* `CASHBOOK_UPDATE` (value: `"it.fattureincloud.webhooks.cashbook.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_UPDATE` (value: `"it.fattureincloud.webhooks.cashbook.update"`) -* `CASHBOOK_DELETE` (value: `"it.fattureincloud.webhooks.cashbook.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_DELETE` (value: `"it.fattureincloud.webhooks.cashbook.delete"`) -* `PRODUCTS_CREATE` (value: `"it.fattureincloud.webhooks.products.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_CREATE` (value: `"it.fattureincloud.webhooks.products.create"`) -* `PRODUCTS_UPDATE` (value: `"it.fattureincloud.webhooks.products.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_UPDATE` (value: `"it.fattureincloud.webhooks.products.update"`) -* `PRODUCTS_DELETE` (value: `"it.fattureincloud.webhooks.products.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_DELETE` (value: `"it.fattureincloud.webhooks.products.delete"`) -* `PRODUCTS_STOCK_UPDATE` (value: `"it.fattureincloud.webhooks.products.stock_update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_STOCK_UPDATE` (value: `"it.fattureincloud.webhooks.products.stock_update"`) -* `ENTITIES_CLIENTS_CREATE` (value: `"it.fattureincloud.webhooks.entities.clients.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_CREATE` (value: `"it.fattureincloud.webhooks.entities.clients.create"`) -* `ENTITIES_CLIENTS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.clients.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.clients.update"`) -* `ENTITIES_CLIENTS_DELETE` (value: `"it.fattureincloud.webhooks.entities.clients.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_DELETE` (value: `"it.fattureincloud.webhooks.entities.clients.delete"`) -* `ENTITIES_SUPPLIERS_CREATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_CREATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.create"`) -* `ENTITIES_SUPPLIERS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.update"`) -* `ENTITIES_SUPPLIERS_DELETE` (value: `"it.fattureincloud.webhooks.entities.suppliers.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_DELETE` (value: `"it.fattureincloud.webhooks.entities.suppliers.delete"`) -* `ENTITIES_ALL_CREATE` (value: `"it.fattureincloud.webhooks.entities.all.create"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_CREATE` (value: `"it.fattureincloud.webhooks.entities.all.create"`) -* `ENTITIES_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.entities.all.update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.entities.all.update"`) -* `ENTITIES_ALL_DELETE` (value: `"it.fattureincloud.webhooks.entities.all.delete"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_DELETE` (value: `"it.fattureincloud.webhooks.entities.all.delete"`) -* `ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.e_invoices.status_update"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.e_invoices.status_update"`) -* `RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE` (value: `"it.fattureincloud.webhooks.received_documents.e_invoices.receive"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE` (value: `"it.fattureincloud.webhooks.received_documents.e_invoices.receive"`) -* `ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.email_sent"`) -* `ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.email_sent"`) -* `ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.email_sent"`) -* `ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.email_sent"`) -* `ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"`) -* `ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"`) -* `ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.orders.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.orders.email_sent"`) -* `ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"`) -* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"`) -* `ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"`) -* `ISSUED_DOCUMENTS_ALL_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.all.email_sent"`) +* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.all.email_sent"`) diff --git a/docs/GetBinIssuedDocumentResponse.md b/docs/GetBinIssuedDocumentResponse.md new file mode 100644 index 00000000..37371595 --- /dev/null +++ b/docs/GetBinIssuedDocumentResponse.md @@ -0,0 +1,17 @@ + + +# GetBinIssuedDocumentResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**IssuedDocument**](IssuedDocument.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/GetBinReceivedDocumentResponse.md b/docs/GetBinReceivedDocumentResponse.md new file mode 100644 index 00000000..219ec910 --- /dev/null +++ b/docs/GetBinReceivedDocumentResponse.md @@ -0,0 +1,17 @@ + + +# GetBinReceivedDocumentResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**ReceivedDocument**](ReceivedDocument.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/GetEntityClientPreCreateInfoResponse.md b/docs/GetEntityClientPreCreateInfoResponse.md new file mode 100644 index 00000000..45954b6e --- /dev/null +++ b/docs/GetEntityClientPreCreateInfoResponse.md @@ -0,0 +1,17 @@ + + +# GetEntityClientPreCreateInfoResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**EntityClientPreCreateInfo**](EntityClientPreCreateInfo.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/GetPriceListItemsResponse.md b/docs/GetPriceListItemsResponse.md new file mode 100644 index 00000000..f59d24a3 --- /dev/null +++ b/docs/GetPriceListItemsResponse.md @@ -0,0 +1,17 @@ + + +# GetPriceListItemsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **Map<String, PriceListItem>** | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/IssuedDocument.md b/docs/IssuedDocument.md index a84f785d..a9b98576 100644 --- a/docs/IssuedDocument.md +++ b/docs/IssuedDocument.md @@ -89,6 +89,7 @@ |**attachmentToken** | **String** | [Write Only] Issued document attachment token returned by POST /issued_documents/attachment | [optional] | |**eiRaw** | **Object** | Issued document advanced raw attributes for e-invoices | [optional] | |**eiStatus** | [**EiStatusEnum**](#EiStatusEnum) | [Read only] Status of the e-invoice. * **attempt** - We are trying to send the invoice, please wait up to 2 hours * **missing** - The invoice is missing * **not_sent** - The invoice has yet to be sent * **sent** - The invoice was sent * **pending** - The checks for the digital signature and sending are in progress * **processing** - The SDI is delivering the invoice to the customer * **error** - An error occurred while handling the invoice, please try to resend it or contact support * **discarded** - The invoice has been rejected by the SDI, so it must be corrected and re-sent * **not_delivered** - The SDI was unable to deliver the invoice * **accepted** - The customer accepted the invoice * **rejected** - The customer rejected the invoice, so it must be corrected * **no_response** - A response has not yet been received whithin the deadline, contact the customer to ascertain the status of the invoice * **manual_accepted** - The customer accepted the invoice * **manual_rejected** - The customer rejected the invoice | [optional] | +|**priceListId** | **String** | Price list id | [optional] | |**locked** | **Boolean** | Issued Document can't be edited | [optional] | |**createdAt** | **String** | Issued document creation date | [optional] | |**updatedAt** | **String** | Issued document last update date | [optional] | diff --git a/docs/IssuedDocumentPreCreateInfo.md b/docs/IssuedDocumentPreCreateInfo.md index 2930457c..62f57a12 100644 --- a/docs/IssuedDocumentPreCreateInfo.md +++ b/docs/IssuedDocumentPreCreateInfo.md @@ -21,6 +21,7 @@ |**paymentAccountsList** | [**List<PaymentAccount>**](PaymentAccount.md) | Payment accounts list | [optional] | |**vatTypesList** | [**List<VatType>**](VatType.md) | Vat types list | [optional] | |**languagesList** | [**List<Language>**](Language.md) | Languages list | [optional] | +|**priceLists** | [**List<PriceList>**](PriceList.md) | Price lists | [optional] | ## Implemented Interfaces diff --git a/docs/IssuedDocumentsApi.md b/docs/IssuedDocumentsApi.md index 216f8ca6..a167c519 100644 --- a/docs/IssuedDocumentsApi.md +++ b/docs/IssuedDocumentsApi.md @@ -5,16 +5,20 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**createIssuedDocument**](IssuedDocumentsApi.md#createIssuedDocument) | **POST** /c/{company_id}/issued_documents | Create Issued Document | +| [**deleteBinIssuedDocument**](IssuedDocumentsApi.md#deleteBinIssuedDocument) | **DELETE** /c/{company_id}/bin/issued_documents/{document_id} | | | [**deleteIssuedDocument**](IssuedDocumentsApi.md#deleteIssuedDocument) | **DELETE** /c/{company_id}/issued_documents/{document_id} | Delete Issued Document | | [**deleteIssuedDocumentAttachment**](IssuedDocumentsApi.md#deleteIssuedDocumentAttachment) | **DELETE** /c/{company_id}/issued_documents/{document_id}/attachment | Delete Issued Document Attachment | +| [**getBinIssuedDocument**](IssuedDocumentsApi.md#getBinIssuedDocument) | **GET** /c/{company_id}/bin/issued_documents/{document_id} | Get Bin Issued Documents List | | [**getEmailData**](IssuedDocumentsApi.md#getEmailData) | **GET** /c/{company_id}/issued_documents/{document_id}/email | Get Email Data | | [**getExistingIssuedDocumentTotals**](IssuedDocumentsApi.md#getExistingIssuedDocumentTotals) | **POST** /c/{company_id}/issued_documents/{document_id}/totals | Get Existing Issued Document Totals | | [**getIssuedDocument**](IssuedDocumentsApi.md#getIssuedDocument) | **GET** /c/{company_id}/issued_documents/{document_id} | Get Issued Document | | [**getIssuedDocumentPreCreateInfo**](IssuedDocumentsApi.md#getIssuedDocumentPreCreateInfo) | **GET** /c/{company_id}/issued_documents/info | Get Issued Document Pre-Create Info | | [**getNewIssuedDocumentTotals**](IssuedDocumentsApi.md#getNewIssuedDocumentTotals) | **POST** /c/{company_id}/issued_documents/totals | Get New Issued Document Totals | | [**joinIssuedDocuments**](IssuedDocumentsApi.md#joinIssuedDocuments) | **GET** /c/{company_id}/issued_documents/join | Join Issued Documents | +| [**listBinIssuedDocuments**](IssuedDocumentsApi.md#listBinIssuedDocuments) | **GET** /c/{company_id}/bin/issued_documents | Get Bin Issued Documents List | | [**listIssuedDocuments**](IssuedDocumentsApi.md#listIssuedDocuments) | **GET** /c/{company_id}/issued_documents | List Issued Documents | | [**modifyIssuedDocument**](IssuedDocumentsApi.md#modifyIssuedDocument) | **PUT** /c/{company_id}/issued_documents/{document_id} | Modify Issued Document | +| [**recoverBinIssuedDocument**](IssuedDocumentsApi.md#recoverBinIssuedDocument) | **POST** /c/{company_id}/bin/issued_documents/{document_id}/recover | | | [**scheduleEmail**](IssuedDocumentsApi.md#scheduleEmail) | **POST** /c/{company_id}/issued_documents/{document_id}/email | Schedule Email | | [**transformIssuedDocument**](IssuedDocumentsApi.md#transformIssuedDocument) | **GET** /c/{company_id}/issued_documents/transform | Transform Issued Document | | [**uploadIssuedDocumentAttachment**](IssuedDocumentsApi.md#uploadIssuedDocumentAttachment) | **POST** /c/{company_id}/issued_documents/attachment | Upload Issued Document Attachment | @@ -92,6 +96,75 @@ public class Example { | **401** | Unauthorized | - | +## deleteBinIssuedDocument + +> deleteBinIssuedDocument(companyId, documentId) + + + +Delete Bin Issued Document + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.IssuedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + IssuedDocumentsApi apiInstance = new IssuedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + Integer documentId = 56; // Integer | The ID of the document. + try { + apiInstance.deleteBinIssuedDocument(companyId, documentId); + } catch (ApiException e) { + System.err.println("Exception when calling IssuedDocumentsApi#deleteBinIssuedDocument"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **documentId** | **Integer**| The ID of the document. | | + +### Return type + +null (empty response body) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + ## deleteIssuedDocument > deleteIssuedDocument(companyId, documentId) @@ -234,6 +307,76 @@ null (empty response body) | **404** | Not Found | - | +## getBinIssuedDocument + +> GetBinIssuedDocumentResponse getBinIssuedDocument(companyId, documentId) + +Get Bin Issued Documents List + +Get bin issued documents detail + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.IssuedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + IssuedDocumentsApi apiInstance = new IssuedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + Integer documentId = 56; // Integer | The ID of the document. + try { + GetBinIssuedDocumentResponse result = apiInstance.getBinIssuedDocument(companyId, documentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IssuedDocumentsApi#getBinIssuedDocument"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **documentId** | **Integer**| The ID of the document. | | + +### Return type + +[**GetBinIssuedDocumentResponse**](GetBinIssuedDocumentResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Bin issued document details | - | + + ## getEmailData > GetEmailDataResponse getEmailData(companyId, documentId) @@ -669,6 +812,74 @@ public class Example { | **200** | Example response | - | +## listBinIssuedDocuments + +> ListBinIssuedDocuments listBinIssuedDocuments(companyId) + +Get Bin Issued Documents List + +Get bin issued documents list + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.IssuedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + IssuedDocumentsApi apiInstance = new IssuedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + try { + ListBinIssuedDocuments result = apiInstance.listBinIssuedDocuments(companyId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IssuedDocumentsApi#listBinIssuedDocuments"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | + +### Return type + +[**ListBinIssuedDocuments**](ListBinIssuedDocuments.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Bin Issued Documents List | - | + + ## listIssuedDocuments > ListIssuedDocumentsResponse listIssuedDocuments(companyId, type, fields, fieldset, sort, page, perPage, q, inclusive) @@ -829,6 +1040,75 @@ public class Example { | **404** | Not Found | - | +## recoverBinIssuedDocument + +> recoverBinIssuedDocument(companyId, documentId) + + + +Recover Issued Document From The Bin + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.IssuedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + IssuedDocumentsApi apiInstance = new IssuedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + Integer documentId = 56; // Integer | The ID of the document. + try { + apiInstance.recoverBinIssuedDocument(companyId, documentId); + } catch (ApiException e) { + System.err.println("Exception when calling IssuedDocumentsApi#recoverBinIssuedDocument"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **documentId** | **Integer**| The ID of the document. | | + +### Return type + +null (empty response body) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + ## scheduleEmail > scheduleEmail(companyId, documentId, scheduleEmailRequest) diff --git a/docs/ListBinIssuedDocuments.md b/docs/ListBinIssuedDocuments.md new file mode 100644 index 00000000..28724e8c --- /dev/null +++ b/docs/ListBinIssuedDocuments.md @@ -0,0 +1,17 @@ + + +# ListBinIssuedDocuments + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<IssuedDocument>**](IssuedDocument.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/ListBinReceivedDocuments.md b/docs/ListBinReceivedDocuments.md new file mode 100644 index 00000000..f644207c --- /dev/null +++ b/docs/ListBinReceivedDocuments.md @@ -0,0 +1,17 @@ + + +# ListBinReceivedDocuments + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<ReceivedDocument>**](ReceivedDocument.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/ListPriceListsResponse.md b/docs/ListPriceListsResponse.md new file mode 100644 index 00000000..9c4cc3a7 --- /dev/null +++ b/docs/ListPriceListsResponse.md @@ -0,0 +1,17 @@ + + +# ListPriceListsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<PriceList>**](PriceList.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/PaymentMethod.md b/docs/PaymentMethod.md index 382a8712..f0e618ac 100644 --- a/docs/PaymentMethod.md +++ b/docs/PaymentMethod.md @@ -3,6 +3,7 @@ # PaymentMethod + ## Properties | Name | Type | Description | Notes | diff --git a/docs/PriceList.md b/docs/PriceList.md new file mode 100644 index 00000000..75586985 --- /dev/null +++ b/docs/PriceList.md @@ -0,0 +1,23 @@ + + +# PriceList + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | Price list id | [optional] | +|**name** | **String** | Price list name | [optional] | +|**pricesType** | **PriceListPricesType** | | [optional] | +|**isDefault** | **Boolean** | This entity is default | [optional] | +|**validFrom** | **String** | Price list validity start date | [optional] | +|**validTo** | **String** | Price list validity end date | [optional] | +|**type** | **PriceListType** | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/PriceListItem.md b/docs/PriceListItem.md new file mode 100644 index 00000000..08192d90 --- /dev/null +++ b/docs/PriceListItem.md @@ -0,0 +1,17 @@ + + +# PriceListItem + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**price** | **BigDecimal** | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/PriceListPricesType.md b/docs/PriceListPricesType.md new file mode 100644 index 00000000..bb3325ca --- /dev/null +++ b/docs/PriceListPricesType.md @@ -0,0 +1,13 @@ + + +# PriceListPricesType + +## Enum + + +* `NET` (value: `"net"`) + +* `GROSS` (value: `"gross"`) + + + diff --git a/docs/PriceListType.md b/docs/PriceListType.md new file mode 100644 index 00000000..ddf080f8 --- /dev/null +++ b/docs/PriceListType.md @@ -0,0 +1,13 @@ + + +# PriceListType + +## Enum + + +* `SELL` (value: `"sell"`) + +* `PURCHASE` (value: `"purchase"`) + + + diff --git a/docs/PriceListsApi.md b/docs/PriceListsApi.md new file mode 100644 index 00000000..c4441b10 --- /dev/null +++ b/docs/PriceListsApi.md @@ -0,0 +1,152 @@ +# PriceListsApi + +All URIs are relative to *https://api-v2.fattureincloud.it* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getPriceListItems**](PriceListsApi.md#getPriceListItems) | **GET** /c/{company_id}/price_lists/{price_list_id}/items | Get PriceList Items List | +| [**getPriceLists**](PriceListsApi.md#getPriceLists) | **GET** /c/{company_id}/price_lists | Get PriceLists | + + + +## getPriceListItems + +> GetPriceListItemsResponse getPriceListItems(companyId, priceListId) + +Get PriceList Items List + +Retrieves all the Items of a PriceList + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.PriceListsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + PriceListsApi apiInstance = new PriceListsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + String priceListId = "priceListId_example"; // String | + try { + GetPriceListItemsResponse result = apiInstance.getPriceListItems(companyId, priceListId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PriceListsApi#getPriceListItems"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **priceListId** | **String**| | | + +### Return type + +[**GetPriceListItemsResponse**](GetPriceListItemsResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Example response | - | +| **401** | Unauthorized | - | +| **404** | Not Found | - | + + +## getPriceLists + +> ListPriceListsResponse getPriceLists(companyId) + +Get PriceLists + +Retrieves all price lists of the company + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.PriceListsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + PriceListsApi apiInstance = new PriceListsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + try { + ListPriceListsResponse result = apiInstance.getPriceLists(companyId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PriceListsApi#getPriceLists"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | + +### Return type + +[**ListPriceListsResponse**](ListPriceListsResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Example response | - | +| **401** | Unauthorized | - | +| **404** | Not Found | - | + diff --git a/docs/ReceivedDocumentsApi.md b/docs/ReceivedDocumentsApi.md index 51d2c871..7169b87d 100644 --- a/docs/ReceivedDocumentsApi.md +++ b/docs/ReceivedDocumentsApi.md @@ -5,14 +5,18 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**createReceivedDocument**](ReceivedDocumentsApi.md#createReceivedDocument) | **POST** /c/{company_id}/received_documents | Create Received Document | +| [**deleteBinReceivedDocument**](ReceivedDocumentsApi.md#deleteBinReceivedDocument) | **DELETE** /c/{company_id}/bin/received_documents/{document_id} | | | [**deleteReceivedDocument**](ReceivedDocumentsApi.md#deleteReceivedDocument) | **DELETE** /c/{company_id}/received_documents/{document_id} | Delete Received Document | | [**deleteReceivedDocumentAttachment**](ReceivedDocumentsApi.md#deleteReceivedDocumentAttachment) | **DELETE** /c/{company_id}/received_documents/{document_id}/attachment | Delete Received Document Attachment | +| [**getBinReceivedDocument**](ReceivedDocumentsApi.md#getBinReceivedDocument) | **GET** /c/{company_id}/bin/received_documents/{document_id} | Get Bin Received Documents List | | [**getExistingReceivedDocumentTotals**](ReceivedDocumentsApi.md#getExistingReceivedDocumentTotals) | **POST** /c/{company_id}/received_documents/{document_id}/totals | Get Existing Received Document Totals | | [**getNewReceivedDocumentTotals**](ReceivedDocumentsApi.md#getNewReceivedDocumentTotals) | **POST** /c/{company_id}/received_documents/totals | Get New Received Document Totals | | [**getReceivedDocument**](ReceivedDocumentsApi.md#getReceivedDocument) | **GET** /c/{company_id}/received_documents/{document_id} | Get Received Document | | [**getReceivedDocumentPreCreateInfo**](ReceivedDocumentsApi.md#getReceivedDocumentPreCreateInfo) | **GET** /c/{company_id}/received_documents/info | Get Received Document Pre-Create Info | +| [**listBinReceivedDocuments**](ReceivedDocumentsApi.md#listBinReceivedDocuments) | **GET** /c/{company_id}/bin/received_documents | Get Bin Received Documents List | | [**listReceivedDocuments**](ReceivedDocumentsApi.md#listReceivedDocuments) | **GET** /c/{company_id}/received_documents | List Received Documents | | [**modifyReceivedDocument**](ReceivedDocumentsApi.md#modifyReceivedDocument) | **PUT** /c/{company_id}/received_documents/{document_id} | Modify Received Document | +| [**recoverBinReceivedDocument**](ReceivedDocumentsApi.md#recoverBinReceivedDocument) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | | | [**uploadReceivedDocumentAttachment**](ReceivedDocumentsApi.md#uploadReceivedDocumentAttachment) | **POST** /c/{company_id}/received_documents/attachment | Upload Received Document Attachment | @@ -87,6 +91,75 @@ public class Example { | **200** | Document created. | - | +## deleteBinReceivedDocument + +> deleteBinReceivedDocument(companyId, documentId) + + + +Delete Bin Received Document + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.ReceivedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + ReceivedDocumentsApi apiInstance = new ReceivedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + Integer documentId = 56; // Integer | The ID of the document. + try { + apiInstance.deleteBinReceivedDocument(companyId, documentId); + } catch (ApiException e) { + System.err.println("Exception when calling ReceivedDocumentsApi#deleteBinReceivedDocument"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **documentId** | **Integer**| The ID of the document. | | + +### Return type + +null (empty response body) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + ## deleteReceivedDocument > deleteReceivedDocument(companyId, documentId) @@ -229,6 +302,76 @@ null (empty response body) | **404** | Not Found | - | +## getBinReceivedDocument + +> GetBinIssuedDocumentResponse getBinReceivedDocument(companyId, documentId) + +Get Bin Received Documents List + +Get bin issued documents detail + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.ReceivedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + ReceivedDocumentsApi apiInstance = new ReceivedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + Integer documentId = 56; // Integer | The ID of the document. + try { + GetBinIssuedDocumentResponse result = apiInstance.getBinReceivedDocument(companyId, documentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ReceivedDocumentsApi#getBinReceivedDocument"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **documentId** | **Integer**| The ID of the document. | | + +### Return type + +[**GetBinIssuedDocumentResponse**](GetBinIssuedDocumentResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Bin issued document details | - | + + ## getExistingReceivedDocumentTotals > GetExistingReceivedDocumentTotalsResponse getExistingReceivedDocumentTotals(companyId, documentId, getExistingReceivedDocumentTotalsRequest) @@ -519,6 +662,74 @@ public class Example { | **200** | Pre-create info | - | +## listBinReceivedDocuments + +> ListBinReceivedDocuments listBinReceivedDocuments(companyId) + +Get Bin Received Documents List + +Get bin Received documents list + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.ReceivedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + ReceivedDocumentsApi apiInstance = new ReceivedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + try { + ListBinReceivedDocuments result = apiInstance.listBinReceivedDocuments(companyId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ReceivedDocumentsApi#listBinReceivedDocuments"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | + +### Return type + +[**ListBinReceivedDocuments**](ListBinReceivedDocuments.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Example response | - | + + ## listReceivedDocuments > ListReceivedDocumentsResponse listReceivedDocuments(companyId, type, fields, fieldset, sort, page, perPage, q) @@ -676,6 +887,75 @@ public class Example { | **404** | Not Found | - | +## recoverBinReceivedDocument + +> recoverBinReceivedDocument(companyId, documentId) + + + +Recover Received Document From The Bin + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.ReceivedDocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + ReceivedDocumentsApi apiInstance = new ReceivedDocumentsApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + Integer documentId = 56; // Integer | The ID of the document. + try { + apiInstance.recoverBinReceivedDocument(companyId, documentId); + } catch (ApiException e) { + System.err.println("Exception when calling ReceivedDocumentsApi#recoverBinReceivedDocument"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **documentId** | **Integer**| The ID of the document. | | + +### Return type + +null (empty response body) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + ## uploadReceivedDocumentAttachment > UploadReceivedDocumentAttachmentResponse uploadReceivedDocumentAttachment(companyId, filename, attachment) diff --git a/docs/VerifyWebhooksSubscription.md b/docs/VerifyWebhooksSubscription.md new file mode 100644 index 00000000..f0175ba5 --- /dev/null +++ b/docs/VerifyWebhooksSubscription.md @@ -0,0 +1,18 @@ + + +# VerifyWebhooksSubscription + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | Webhooks subscription id | [optional] | +|**verificationMethod** | **WebhooksSubscriptionVerificationMethod** | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/VerifyWebhooksSubscriptionRequest.md b/docs/VerifyWebhooksSubscriptionRequest.md new file mode 100644 index 00000000..0a33793f --- /dev/null +++ b/docs/VerifyWebhooksSubscriptionRequest.md @@ -0,0 +1,17 @@ + + +# VerifyWebhooksSubscriptionRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**VerifyWebhooksSubscription**](VerifyWebhooksSubscription.md) | | [optional] | + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index 5dfd2557..9f29d250 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -9,6 +9,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**getWebhooksSubscription**](WebhooksApi.md#getWebhooksSubscription) | **GET** /c/{company_id}/subscriptions/{subscription_id} | Get Webhooks Subscription | | [**listWebhooksSubscriptions**](WebhooksApi.md#listWebhooksSubscriptions) | **GET** /c/{company_id}/subscriptions | List Webhooks Subscriptions | | [**modifyWebhooksSubscription**](WebhooksApi.md#modifyWebhooksSubscription) | **PUT** /c/{company_id}/subscriptions/{subscription_id} | Modify Webhooks Subscription | +| [**verifyWebhooksSubscription**](WebhooksApi.md#verifyWebhooksSubscription) | **POST** /c/{company_id}/subscriptions/{subscription_id}/verify | Verify Webhooks Subscription | @@ -360,3 +361,74 @@ public class Example { |-------------|-------------|------------------| | **200** | Example response | - | + +## verifyWebhooksSubscription + +> verifyWebhooksSubscription(companyId, subscriptionId, verifyWebhooksSubscriptionRequest) + +Verify Webhooks Subscription + +Verify a webhook subscription. + +### Example +```java +// Import classes: +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.auth.*; +import it.fattureincloud.sdk.models.*; +import it.fattureincloud.sdk.api.WebhooksApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-v2.fattureincloud.it"); + + // Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + OAuth OAuth2AuthenticationCodeFlow = (OAuth) defaultClient.getAuthentication("OAuth2AuthenticationCodeFlow"); + OAuth2AuthenticationCodeFlow.setAccessToken("YOUR ACCESS TOKEN"); + + WebhooksApi apiInstance = new WebhooksApi(defaultClient); + Integer companyId = 12345; // Integer | The ID of the company. + String subscriptionId = "SUB123"; // String | The ID of the subscription. + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest = new VerifyWebhooksSubscriptionRequest(); // VerifyWebhooksSubscriptionRequest | + try { + apiInstance.verifyWebhooksSubscription(companyId, subscriptionId, verifyWebhooksSubscriptionRequest); + } catch (ApiException e) { + System.err.println("Exception when calling WebhooksApi#verifyWebhooksSubscription"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **companyId** | **Integer**| The ID of the company. | | +| **subscriptionId** | **String**| The ID of the subscription. | | +| **verifyWebhooksSubscriptionRequest** | [**VerifyWebhooksSubscriptionRequest**](VerifyWebhooksSubscriptionRequest.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/WebhooksSubscription.md b/docs/WebhooksSubscription.md index a5f05021..8da773a5 100644 --- a/docs/WebhooksSubscription.md +++ b/docs/WebhooksSubscription.md @@ -12,6 +12,7 @@ |**verified** | **Boolean** | [Read Only] True if the webhooks subscription has been verified. | [optional] | |**types** | **List<EventType>** | Webhooks events types. | [optional] | |**config** | [**WebhooksSubscriptionConfig**](WebhooksSubscriptionConfig.md) | | [optional] | +|**verificationMethod** | **WebhooksSubscriptionVerificationMethod** | | [optional] | ## Implemented Interfaces diff --git a/docs/WebhooksSubscriptionVerificationMethod.md b/docs/WebhooksSubscriptionVerificationMethod.md new file mode 100644 index 00000000..bc42f60f --- /dev/null +++ b/docs/WebhooksSubscriptionVerificationMethod.md @@ -0,0 +1,13 @@ + + +# WebhooksSubscriptionVerificationMethod + +## Enum + + +* `HEADER` (value: `"header"`) + +* `QUERY` (value: `"query"`) + + + diff --git a/sdk-version.yaml b/sdk-version.yaml index d02565a7..16565b6b 100644 --- a/sdk-version.yaml +++ b/sdk-version.yaml @@ -1,2 +1,2 @@ info: - version: 2.1.1 + version: 2.1.2 diff --git a/src/main/java/it/fattureincloud/sdk/ApiCallback.java b/src/main/java/it/fattureincloud/sdk/ApiCallback.java index dc3c7350..a53e3191 100644 --- a/src/main/java/it/fattureincloud/sdk/ApiCallback.java +++ b/src/main/java/it/fattureincloud/sdk/ApiCallback.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/ApiClient.java b/src/main/java/it/fattureincloud/sdk/ApiClient.java index 4a4b0c34..1d26b1d1 100644 --- a/src/main/java/it/fattureincloud/sdk/ApiClient.java +++ b/src/main/java/it/fattureincloud/sdk/ApiClient.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -130,7 +130,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("FattureInCloud/2.1.1/Java-SDK"); + setUserAgent("FattureInCloud/2.1.2/Java-SDK"); authentications = new HashMap(); } diff --git a/src/main/java/it/fattureincloud/sdk/ApiException.java b/src/main/java/it/fattureincloud/sdk/ApiException.java index 8f6bd0c4..ea896f3a 100644 --- a/src/main/java/it/fattureincloud/sdk/ApiException.java +++ b/src/main/java/it/fattureincloud/sdk/ApiException.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ @SuppressWarnings("serial") @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/ApiResponse.java b/src/main/java/it/fattureincloud/sdk/ApiResponse.java index f5acc05b..223a1ce3 100644 --- a/src/main/java/it/fattureincloud/sdk/ApiResponse.java +++ b/src/main/java/it/fattureincloud/sdk/ApiResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/Configuration.java b/src/main/java/it/fattureincloud/sdk/Configuration.java index 45b5c34c..be448209 100644 --- a/src/main/java/it/fattureincloud/sdk/Configuration.java +++ b/src/main/java/it/fattureincloud/sdk/Configuration.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,12 +14,12 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Configuration { - public static final String VERSION = "2.1.1"; + public static final String VERSION = "2.1.2"; - private static ApiClient defaultApiClient = new ApiClient(); + private static volatile ApiClient defaultApiClient = new ApiClient(); /** * Get the default API client, which would be used when creating API instances without providing diff --git a/src/main/java/it/fattureincloud/sdk/GzipRequestInterceptor.java b/src/main/java/it/fattureincloud/sdk/GzipRequestInterceptor.java index 9bc7b6cd..3fb1d0b7 100644 --- a/src/main/java/it/fattureincloud/sdk/GzipRequestInterceptor.java +++ b/src/main/java/it/fattureincloud/sdk/GzipRequestInterceptor.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/JSON.java b/src/main/java/it/fattureincloud/sdk/JSON.java index 757b6f5b..6404828b 100644 --- a/src/main/java/it/fattureincloud/sdk/JSON.java +++ b/src/main/java/it/fattureincloud/sdk/JSON.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/Pair.java b/src/main/java/it/fattureincloud/sdk/Pair.java index 322ea3fb..b44275de 100644 --- a/src/main/java/it/fattureincloud/sdk/Pair.java +++ b/src/main/java/it/fattureincloud/sdk/Pair.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -14,8 +14,8 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/it/fattureincloud/sdk/ProgressRequestBody.java b/src/main/java/it/fattureincloud/sdk/ProgressRequestBody.java index 781c8f0e..dd7188e5 100644 --- a/src/main/java/it/fattureincloud/sdk/ProgressRequestBody.java +++ b/src/main/java/it/fattureincloud/sdk/ProgressRequestBody.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/ProgressResponseBody.java b/src/main/java/it/fattureincloud/sdk/ProgressResponseBody.java index 6d1c82a4..3ca3e8df 100644 --- a/src/main/java/it/fattureincloud/sdk/ProgressResponseBody.java +++ b/src/main/java/it/fattureincloud/sdk/ProgressResponseBody.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/ServerConfiguration.java b/src/main/java/it/fattureincloud/sdk/ServerConfiguration.java index 43266e76..77bbf98e 100644 --- a/src/main/java/it/fattureincloud/sdk/ServerConfiguration.java +++ b/src/main/java/it/fattureincloud/sdk/ServerConfiguration.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,8 +17,8 @@ /** Representing a Server configuration. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/it/fattureincloud/sdk/ServerVariable.java b/src/main/java/it/fattureincloud/sdk/ServerVariable.java index cc581451..0045bc2e 100644 --- a/src/main/java/it/fattureincloud/sdk/ServerVariable.java +++ b/src/main/java/it/fattureincloud/sdk/ServerVariable.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,8 +17,8 @@ /** Representing a Server Variable for server URL template substitution. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/it/fattureincloud/sdk/StringUtil.java b/src/main/java/it/fattureincloud/sdk/StringUtil.java index 7bb1d63a..878fbe73 100644 --- a/src/main/java/it/fattureincloud/sdk/StringUtil.java +++ b/src/main/java/it/fattureincloud/sdk/StringUtil.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,8 +17,8 @@ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/it/fattureincloud/sdk/api/ArchiveApi.java b/src/main/java/it/fattureincloud/sdk/api/ArchiveApi.java index c9d014d7..ef12a936 100644 --- a/src/main/java/it/fattureincloud/sdk/api/ArchiveApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/ArchiveApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/CashbookApi.java b/src/main/java/it/fattureincloud/sdk/api/CashbookApi.java index f01abaef..82639966 100644 --- a/src/main/java/it/fattureincloud/sdk/api/CashbookApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/CashbookApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/ClientsApi.java b/src/main/java/it/fattureincloud/sdk/api/ClientsApi.java index 8fb92bc6..8225f8ac 100644 --- a/src/main/java/it/fattureincloud/sdk/api/ClientsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/ClientsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import it.fattureincloud.sdk.model.CreateClientRequest; import it.fattureincloud.sdk.model.CreateClientResponse; import it.fattureincloud.sdk.model.GetClientResponse; +import it.fattureincloud.sdk.model.GetEntityClientPreCreateInfoResponse; import it.fattureincloud.sdk.model.ListClientsResponse; import it.fattureincloud.sdk.model.ModifyClientRequest; import it.fattureincloud.sdk.model.ModifyClientResponse; @@ -583,6 +584,161 @@ public okhttp3.Call getClientAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for getClientInfo + * + * @param companyId The ID of the company. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public okhttp3.Call getClientInfoCall(Integer companyId, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/entities/clients/info" + .replace( + "{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getClientInfoValidateBeforeCall( + Integer companyId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling getClientInfo(Async)"); + } + + return getClientInfoCall(companyId, _callback); + } + + /** + * Get Client info Retrieves the information useful while creating a new Client. + * + * @param companyId The ID of the company. (required) + * @return GetEntityClientPreCreateInfoResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public GetEntityClientPreCreateInfoResponse getClientInfo(Integer companyId) throws ApiException { + ApiResponse localVarResp = + getClientInfoWithHttpInfo(companyId); + return localVarResp.getData(); + } + + /** + * Get Client info Retrieves the information useful while creating a new Client. + * + * @param companyId The ID of the company. (required) + * @return ApiResponse<GetEntityClientPreCreateInfoResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public ApiResponse getClientInfoWithHttpInfo( + Integer companyId) throws ApiException { + okhttp3.Call localVarCall = getClientInfoValidateBeforeCall(companyId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Client info (asynchronously) Retrieves the information useful while creating a new Client. + * + * @param companyId The ID of the company. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public okhttp3.Call getClientInfoAsync( + Integer companyId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = getClientInfoValidateBeforeCall(companyId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for listClients * diff --git a/src/main/java/it/fattureincloud/sdk/api/CompaniesApi.java b/src/main/java/it/fattureincloud/sdk/api/CompaniesApi.java index 1c590363..fd80d2e4 100644 --- a/src/main/java/it/fattureincloud/sdk/api/CompaniesApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/CompaniesApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/EmailsApi.java b/src/main/java/it/fattureincloud/sdk/api/EmailsApi.java index beda2564..f42ebb01 100644 --- a/src/main/java/it/fattureincloud/sdk/api/EmailsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/EmailsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -67,6 +67,13 @@ public void setCustomBaseUrl(String customBaseUrl) { * Build call for listEmails * * @param companyId The ID of the company. (required) + * @param fields List of comma-separated fields. (optional) + * @param fieldset Name of the fieldset. (optional) + * @param sort List of comma-separated fields for result sorting (minus for desc sorting). + * (optional) + * @param page The page to retrieve. (optional, default to 1) + * @param perPage The size of the page. (optional, default to 5) + * @param q Query for filtering the results. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -77,7 +84,15 @@ public void setCustomBaseUrl(String customBaseUrl) { * 200 Example response - * */ - public okhttp3.Call listEmailsCall(Integer companyId, final ApiCallback _callback) + public okhttp3.Call listEmailsCall( + Integer companyId, + String fields, + String fieldset, + String sort, + Integer page, + Integer perPage, + String q, + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -106,6 +121,30 @@ public okhttp3.Call listEmailsCall(Integer companyId, final ApiCallback _callbac Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (fields != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields", fields)); + } + + if (fieldset != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldset", fieldset)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (perPage != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("per_page", perPage)); + } + + if (q != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("q", q)); + } + final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -135,7 +174,15 @@ public okhttp3.Call listEmailsCall(Integer companyId, final ApiCallback _callbac } @SuppressWarnings("rawtypes") - private okhttp3.Call listEmailsValidateBeforeCall(Integer companyId, final ApiCallback _callback) + private okhttp3.Call listEmailsValidateBeforeCall( + Integer companyId, + String fields, + String fieldset, + String sort, + Integer page, + Integer perPage, + String q, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'companyId' is set if (companyId == null) { @@ -143,13 +190,20 @@ private okhttp3.Call listEmailsValidateBeforeCall(Integer companyId, final ApiCa "Missing the required parameter 'companyId' when calling listEmails(Async)"); } - return listEmailsCall(companyId, _callback); + return listEmailsCall(companyId, fields, fieldset, sort, page, perPage, q, _callback); } /** * List Emails List Emails. * * @param companyId The ID of the company. (required) + * @param fields List of comma-separated fields. (optional) + * @param fieldset Name of the fieldset. (optional) + * @param sort List of comma-separated fields for result sorting (minus for desc sorting). + * (optional) + * @param page The page to retrieve. (optional, default to 1) + * @param perPage The size of the page. (optional, default to 5) + * @param q Query for filtering the results. (optional) * @return ListEmailsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -160,8 +214,17 @@ private okhttp3.Call listEmailsValidateBeforeCall(Integer companyId, final ApiCa * 200 Example response - * */ - public ListEmailsResponse listEmails(Integer companyId) throws ApiException { - ApiResponse localVarResp = listEmailsWithHttpInfo(companyId); + public ListEmailsResponse listEmails( + Integer companyId, + String fields, + String fieldset, + String sort, + Integer page, + Integer perPage, + String q) + throws ApiException { + ApiResponse localVarResp = + listEmailsWithHttpInfo(companyId, fields, fieldset, sort, page, perPage, q); return localVarResp.getData(); } @@ -169,6 +232,13 @@ public ListEmailsResponse listEmails(Integer companyId) throws ApiException { * List Emails List Emails. * * @param companyId The ID of the company. (required) + * @param fields List of comma-separated fields. (optional) + * @param fieldset Name of the fieldset. (optional) + * @param sort List of comma-separated fields for result sorting (minus for desc sorting). + * (optional) + * @param page The page to retrieve. (optional, default to 1) + * @param perPage The size of the page. (optional, default to 5) + * @param q Query for filtering the results. (optional) * @return ApiResponse<ListEmailsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -179,9 +249,17 @@ public ListEmailsResponse listEmails(Integer companyId) throws ApiException { * 200 Example response - * */ - public ApiResponse listEmailsWithHttpInfo(Integer companyId) + public ApiResponse listEmailsWithHttpInfo( + Integer companyId, + String fields, + String fieldset, + String sort, + Integer page, + Integer perPage, + String q) throws ApiException { - okhttp3.Call localVarCall = listEmailsValidateBeforeCall(companyId, null); + okhttp3.Call localVarCall = + listEmailsValidateBeforeCall(companyId, fields, fieldset, sort, page, perPage, q, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -190,6 +268,13 @@ public ApiResponse listEmailsWithHttpInfo(Integer companyId) * List Emails (asynchronously) List Emails. * * @param companyId The ID of the company. (required) + * @param fields List of comma-separated fields. (optional) + * @param fieldset Name of the fieldset. (optional) + * @param sort List of comma-separated fields for result sorting (minus for desc sorting). + * (optional) + * @param page The page to retrieve. (optional, default to 1) + * @param perPage The size of the page. (optional, default to 5) + * @param q Query for filtering the results. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -201,9 +286,19 @@ public ApiResponse listEmailsWithHttpInfo(Integer companyId) * */ public okhttp3.Call listEmailsAsync( - Integer companyId, final ApiCallback _callback) throws ApiException { + Integer companyId, + String fields, + String fieldset, + String sort, + Integer page, + Integer perPage, + String q, + final ApiCallback _callback) + throws ApiException { - okhttp3.Call localVarCall = listEmailsValidateBeforeCall(companyId, _callback); + okhttp3.Call localVarCall = + listEmailsValidateBeforeCall( + companyId, fields, fieldset, sort, page, perPage, q, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/it/fattureincloud/sdk/api/InfoApi.java b/src/main/java/it/fattureincloud/sdk/api/InfoApi.java index 8302cc49..aaf38fb4 100644 --- a/src/main/java/it/fattureincloud/sdk/api/InfoApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/InfoApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/IssuedDocumentsApi.java b/src/main/java/it/fattureincloud/sdk/api/IssuedDocumentsApi.java index f7ee3636..bce551b2 100644 --- a/src/main/java/it/fattureincloud/sdk/api/IssuedDocumentsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/IssuedDocumentsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import it.fattureincloud.sdk.Pair; import it.fattureincloud.sdk.model.CreateIssuedDocumentRequest; import it.fattureincloud.sdk.model.CreateIssuedDocumentResponse; +import it.fattureincloud.sdk.model.GetBinIssuedDocumentResponse; import it.fattureincloud.sdk.model.GetEmailDataResponse; import it.fattureincloud.sdk.model.GetExistingIssuedDocumentTotalsRequest; import it.fattureincloud.sdk.model.GetExistingIssuedDocumentTotalsResponse; @@ -29,6 +30,7 @@ import it.fattureincloud.sdk.model.GetNewIssuedDocumentTotalsRequest; import it.fattureincloud.sdk.model.GetNewIssuedDocumentTotalsResponse; import it.fattureincloud.sdk.model.JoinIssuedDocumentsResponse; +import it.fattureincloud.sdk.model.ListBinIssuedDocuments; import it.fattureincloud.sdk.model.ListIssuedDocumentsResponse; import it.fattureincloud.sdk.model.ModifyIssuedDocumentRequest; import it.fattureincloud.sdk.model.ModifyIssuedDocumentResponse; @@ -247,6 +249,161 @@ public okhttp3.Call createIssuedDocumentAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for deleteBinIssuedDocument + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteBinIssuedDocumentCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/issued_documents/{document_id}" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "document_id" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "DELETE", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteBinIssuedDocumentValidateBeforeCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling deleteBinIssuedDocument(Async)"); + } + + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling deleteBinIssuedDocument(Async)"); + } + + return deleteBinIssuedDocumentCall(companyId, documentId, _callback); + } + + /** + * Delete Bin Issued Document + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public void deleteBinIssuedDocument(Integer companyId, Integer documentId) throws ApiException { + deleteBinIssuedDocumentWithHttpInfo(companyId, documentId); + } + + /** + * Delete Bin Issued Document + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse deleteBinIssuedDocumentWithHttpInfo( + Integer companyId, Integer documentId) throws ApiException { + okhttp3.Call localVarCall = + deleteBinIssuedDocumentValidateBeforeCall(companyId, documentId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * (asynchronously) Delete Bin Issued Document + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteBinIssuedDocumentAsync( + Integer companyId, Integer documentId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + deleteBinIssuedDocumentValidateBeforeCall(companyId, documentId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } /** * Build call for deleteIssuedDocument * @@ -574,6 +731,168 @@ public okhttp3.Call deleteIssuedDocumentAttachmentAsync( localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } + /** + * Build call for getBinIssuedDocument + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public okhttp3.Call getBinIssuedDocumentCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/issued_documents/{document_id}" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "document_id" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getBinIssuedDocumentValidateBeforeCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling getBinIssuedDocument(Async)"); + } + + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getBinIssuedDocument(Async)"); + } + + return getBinIssuedDocumentCall(companyId, documentId, _callback); + } + + /** + * Get Bin Issued Documents List Get bin issued documents detail + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return GetBinIssuedDocumentResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public GetBinIssuedDocumentResponse getBinIssuedDocument(Integer companyId, Integer documentId) + throws ApiException { + ApiResponse localVarResp = + getBinIssuedDocumentWithHttpInfo(companyId, documentId); + return localVarResp.getData(); + } + + /** + * Get Bin Issued Documents List Get bin issued documents detail + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return ApiResponse<GetBinIssuedDocumentResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public ApiResponse getBinIssuedDocumentWithHttpInfo( + Integer companyId, Integer documentId) throws ApiException { + okhttp3.Call localVarCall = getBinIssuedDocumentValidateBeforeCall(companyId, documentId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Bin Issued Documents List (asynchronously) Get bin issued documents detail + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public okhttp3.Call getBinIssuedDocumentAsync( + Integer companyId, + Integer documentId, + final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getBinIssuedDocumentValidateBeforeCall(companyId, documentId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for getEmailData * @@ -1414,36 +1733,222 @@ public GetNewIssuedDocumentTotalsResponse getNewIssuedDocumentTotals( } /** - * Get New Issued Document Totals Returns the totals for a new document. + * Get New Issued Document Totals Returns the totals for a new document. + * + * @param companyId The ID of the company. (required) + * @param getNewIssuedDocumentTotalsRequest (optional) + * @return ApiResponse<GetNewIssuedDocumentTotalsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Totals. -
401 Unauthorized -
+ */ + public ApiResponse getNewIssuedDocumentTotalsWithHttpInfo( + Integer companyId, GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest) + throws ApiException { + okhttp3.Call localVarCall = + getNewIssuedDocumentTotalsValidateBeforeCall( + companyId, getNewIssuedDocumentTotalsRequest, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get New Issued Document Totals (asynchronously) Returns the totals for a new document. + * + * @param companyId The ID of the company. (required) + * @param getNewIssuedDocumentTotalsRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Totals. -
401 Unauthorized -
+ */ + public okhttp3.Call getNewIssuedDocumentTotalsAsync( + Integer companyId, + GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest, + final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getNewIssuedDocumentTotalsValidateBeforeCall( + companyId, getNewIssuedDocumentTotalsRequest, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for joinIssuedDocuments + * + * @param companyId The ID of the company. (required) + * @param ids Ids of the documents. (required) + * @param group Group items. (optional) + * @param type Type of the documents to be joined (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
+ */ + public okhttp3.Call joinIssuedDocumentsCall( + Integer companyId, String ids, Integer group, String type, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/issued_documents/join" + .replace( + "{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (ids != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ids", ids)); + } + + if (group != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("group", group)); + } + + if (type != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("type", type)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call joinIssuedDocumentsValidateBeforeCall( + Integer companyId, String ids, Integer group, String type, final ApiCallback _callback) + throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling joinIssuedDocuments(Async)"); + } + + // verify the required parameter 'ids' is set + if (ids == null) { + throw new ApiException( + "Missing the required parameter 'ids' when calling joinIssuedDocuments(Async)"); + } + + return joinIssuedDocumentsCall(companyId, ids, group, type, _callback); + } + + /** + * Join Issued Documents Joins issued documents. + * + * @param companyId The ID of the company. (required) + * @param ids Ids of the documents. (required) + * @param group Group items. (optional) + * @param type Type of the documents to be joined (optional) + * @return JoinIssuedDocumentsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
+ */ + public JoinIssuedDocumentsResponse joinIssuedDocuments( + Integer companyId, String ids, Integer group, String type) throws ApiException { + ApiResponse localVarResp = + joinIssuedDocumentsWithHttpInfo(companyId, ids, group, type); + return localVarResp.getData(); + } + + /** + * Join Issued Documents Joins issued documents. * * @param companyId The ID of the company. (required) - * @param getNewIssuedDocumentTotalsRequest (optional) - * @return ApiResponse<GetNewIssuedDocumentTotalsResponse> + * @param ids Ids of the documents. (required) + * @param group Group items. (optional) + * @param type Type of the documents to be joined (optional) + * @return ApiResponse<JoinIssuedDocumentsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details * * * - * - * + * *
Response Details
Status Code Description Response Headers
200 Totals. -
401 Unauthorized -
200 Example response -
*/ - public ApiResponse getNewIssuedDocumentTotalsWithHttpInfo( - Integer companyId, GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest) - throws ApiException { + public ApiResponse joinIssuedDocumentsWithHttpInfo( + Integer companyId, String ids, Integer group, String type) throws ApiException { okhttp3.Call localVarCall = - getNewIssuedDocumentTotalsValidateBeforeCall( - companyId, getNewIssuedDocumentTotalsRequest, null); - Type localVarReturnType = new TypeToken() {}.getType(); + joinIssuedDocumentsValidateBeforeCall(companyId, ids, group, type, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get New Issued Document Totals (asynchronously) Returns the totals for a new document. + * Join Issued Documents (asynchronously) Joins issued documents. * * @param companyId The ID of the company. (required) - * @param getNewIssuedDocumentTotalsRequest (optional) + * @param ids Ids of the documents. (required) + * @param group Group items. (optional) + * @param type Type of the documents to be joined (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1451,30 +1956,27 @@ public ApiResponse getNewIssuedDocumentTotal * * * - * - * + * *
Response Details
Status Code Description Response Headers
200 Totals. -
401 Unauthorized -
200 Example response -
*/ - public okhttp3.Call getNewIssuedDocumentTotalsAsync( + public okhttp3.Call joinIssuedDocumentsAsync( Integer companyId, - GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest, - final ApiCallback _callback) + String ids, + Integer group, + String type, + final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - getNewIssuedDocumentTotalsValidateBeforeCall( - companyId, getNewIssuedDocumentTotalsRequest, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + joinIssuedDocumentsValidateBeforeCall(companyId, ids, group, type, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for joinIssuedDocuments + * Build call for listBinIssuedDocuments * * @param companyId The ID of the company. (required) - * @param ids Ids of the documents. (required) - * @param group Group items. (optional) - * @param type Type of the documents to be joined (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1482,11 +1984,10 @@ public okhttp3.Call getNewIssuedDocumentTotalsAsync( * * * - * + * *
Response Details
Status Code Description Response Headers
200 Example response -
200 Bin Issued Documents List -
*/ - public okhttp3.Call joinIssuedDocumentsCall( - Integer companyId, String ids, Integer group, String type, final ApiCallback _callback) + public okhttp3.Call listBinIssuedDocumentsCall(Integer companyId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -1505,7 +2006,7 @@ public okhttp3.Call joinIssuedDocumentsCall( // create path and map variables String localVarPath = - "/c/{company_id}/issued_documents/join" + "/c/{company_id}/bin/issued_documents" .replace( "{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())); @@ -1515,18 +2016,6 @@ public okhttp3.Call joinIssuedDocumentsCall( Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (ids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ids", ids)); - } - - if (group != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("group", group)); - } - - if (type != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("type", type)); - } - final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1556,80 +2045,62 @@ public okhttp3.Call joinIssuedDocumentsCall( } @SuppressWarnings("rawtypes") - private okhttp3.Call joinIssuedDocumentsValidateBeforeCall( - Integer companyId, String ids, Integer group, String type, final ApiCallback _callback) - throws ApiException { + private okhttp3.Call listBinIssuedDocumentsValidateBeforeCall( + Integer companyId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'companyId' is set if (companyId == null) { throw new ApiException( - "Missing the required parameter 'companyId' when calling joinIssuedDocuments(Async)"); - } - - // verify the required parameter 'ids' is set - if (ids == null) { - throw new ApiException( - "Missing the required parameter 'ids' when calling joinIssuedDocuments(Async)"); + "Missing the required parameter 'companyId' when calling listBinIssuedDocuments(Async)"); } - return joinIssuedDocumentsCall(companyId, ids, group, type, _callback); + return listBinIssuedDocumentsCall(companyId, _callback); } /** - * Join Issued Documents Joins issued documents. + * Get Bin Issued Documents List Get bin issued documents list * * @param companyId The ID of the company. (required) - * @param ids Ids of the documents. (required) - * @param group Group items. (optional) - * @param type Type of the documents to be joined (optional) - * @return JoinIssuedDocumentsResponse + * @return ListBinIssuedDocuments * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details * * * - * + * *
Response Details
Status Code Description Response Headers
200 Example response -
200 Bin Issued Documents List -
*/ - public JoinIssuedDocumentsResponse joinIssuedDocuments( - Integer companyId, String ids, Integer group, String type) throws ApiException { - ApiResponse localVarResp = - joinIssuedDocumentsWithHttpInfo(companyId, ids, group, type); + public ListBinIssuedDocuments listBinIssuedDocuments(Integer companyId) throws ApiException { + ApiResponse localVarResp = + listBinIssuedDocumentsWithHttpInfo(companyId); return localVarResp.getData(); } /** - * Join Issued Documents Joins issued documents. + * Get Bin Issued Documents List Get bin issued documents list * * @param companyId The ID of the company. (required) - * @param ids Ids of the documents. (required) - * @param group Group items. (optional) - * @param type Type of the documents to be joined (optional) - * @return ApiResponse<JoinIssuedDocumentsResponse> + * @return ApiResponse<ListBinIssuedDocuments> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details * * * - * + * *
Response Details
Status Code Description Response Headers
200 Example response -
200 Bin Issued Documents List -
*/ - public ApiResponse joinIssuedDocumentsWithHttpInfo( - Integer companyId, String ids, Integer group, String type) throws ApiException { - okhttp3.Call localVarCall = - joinIssuedDocumentsValidateBeforeCall(companyId, ids, group, type, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse listBinIssuedDocumentsWithHttpInfo(Integer companyId) + throws ApiException { + okhttp3.Call localVarCall = listBinIssuedDocumentsValidateBeforeCall(companyId, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Join Issued Documents (asynchronously) Joins issued documents. + * Get Bin Issued Documents List (asynchronously) Get bin issued documents list * * @param companyId The ID of the company. (required) - * @param ids Ids of the documents. (required) - * @param group Group items. (optional) - * @param type Type of the documents to be joined (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1637,20 +2108,14 @@ public ApiResponse joinIssuedDocumentsWithHttpInfo( * * * - * + * *
Response Details
Status Code Description Response Headers
200 Example response -
200 Bin Issued Documents List -
*/ - public okhttp3.Call joinIssuedDocumentsAsync( - Integer companyId, - String ids, - Integer group, - String type, - final ApiCallback _callback) - throws ApiException { + public okhttp3.Call listBinIssuedDocumentsAsync( + Integer companyId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - joinIssuedDocumentsValidateBeforeCall(companyId, ids, group, type, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = listBinIssuedDocumentsValidateBeforeCall(companyId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -2133,6 +2598,161 @@ public okhttp3.Call modifyIssuedDocumentAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for recoverBinIssuedDocument + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call recoverBinIssuedDocumentCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/issued_documents/{document_id}/recover" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "document_id" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "POST", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call recoverBinIssuedDocumentValidateBeforeCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling recoverBinIssuedDocument(Async)"); + } + + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling recoverBinIssuedDocument(Async)"); + } + + return recoverBinIssuedDocumentCall(companyId, documentId, _callback); + } + + /** + * Recover Issued Document From The Bin + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public void recoverBinIssuedDocument(Integer companyId, Integer documentId) throws ApiException { + recoverBinIssuedDocumentWithHttpInfo(companyId, documentId); + } + + /** + * Recover Issued Document From The Bin + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse recoverBinIssuedDocumentWithHttpInfo( + Integer companyId, Integer documentId) throws ApiException { + okhttp3.Call localVarCall = + recoverBinIssuedDocumentValidateBeforeCall(companyId, documentId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * (asynchronously) Recover Issued Document From The Bin + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call recoverBinIssuedDocumentAsync( + Integer companyId, Integer documentId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + recoverBinIssuedDocumentValidateBeforeCall(companyId, documentId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } /** * Build call for scheduleEmail * diff --git a/src/main/java/it/fattureincloud/sdk/api/IssuedEInvoicesApi.java b/src/main/java/it/fattureincloud/sdk/api/IssuedEInvoicesApi.java index b4b9331d..ce8e304b 100644 --- a/src/main/java/it/fattureincloud/sdk/api/IssuedEInvoicesApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/IssuedEInvoicesApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/PriceListsApi.java b/src/main/java/it/fattureincloud/sdk/api/PriceListsApi.java new file mode 100644 index 00000000..196cd86b --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/api/PriceListsApi.java @@ -0,0 +1,389 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.api; + +import com.google.gson.reflect.TypeToken; +import it.fattureincloud.sdk.ApiCallback; +import it.fattureincloud.sdk.ApiClient; +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.ApiResponse; +import it.fattureincloud.sdk.Configuration; +import it.fattureincloud.sdk.Pair; +import it.fattureincloud.sdk.model.GetPriceListItemsResponse; +import it.fattureincloud.sdk.model.ListPriceListsResponse; +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class PriceListsApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public PriceListsApi() { + this(Configuration.getDefaultApiClient()); + } + + public PriceListsApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getPriceListItems + * + * @param companyId The ID of the company. (required) + * @param priceListId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public okhttp3.Call getPriceListItemsCall( + Integer companyId, String priceListId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/price_lists/{price_list_id}/items" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "price_list_id" + "}", + localVarApiClient.escapeString(priceListId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPriceListItemsValidateBeforeCall( + Integer companyId, String priceListId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling getPriceListItems(Async)"); + } + + // verify the required parameter 'priceListId' is set + if (priceListId == null) { + throw new ApiException( + "Missing the required parameter 'priceListId' when calling getPriceListItems(Async)"); + } + + return getPriceListItemsCall(companyId, priceListId, _callback); + } + + /** + * Get PriceList Items List Retrieves all the Items of a PriceList + * + * @param companyId The ID of the company. (required) + * @param priceListId (required) + * @return GetPriceListItemsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public GetPriceListItemsResponse getPriceListItems(Integer companyId, String priceListId) + throws ApiException { + ApiResponse localVarResp = + getPriceListItemsWithHttpInfo(companyId, priceListId); + return localVarResp.getData(); + } + + /** + * Get PriceList Items List Retrieves all the Items of a PriceList + * + * @param companyId The ID of the company. (required) + * @param priceListId (required) + * @return ApiResponse<GetPriceListItemsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public ApiResponse getPriceListItemsWithHttpInfo( + Integer companyId, String priceListId) throws ApiException { + okhttp3.Call localVarCall = getPriceListItemsValidateBeforeCall(companyId, priceListId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get PriceList Items List (asynchronously) Retrieves all the Items of a PriceList + * + * @param companyId The ID of the company. (required) + * @param priceListId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public okhttp3.Call getPriceListItemsAsync( + Integer companyId, String priceListId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getPriceListItemsValidateBeforeCall(companyId, priceListId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPriceLists + * + * @param companyId The ID of the company. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public okhttp3.Call getPriceListsCall(Integer companyId, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/price_lists" + .replace( + "{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPriceListsValidateBeforeCall( + Integer companyId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling getPriceLists(Async)"); + } + + return getPriceListsCall(companyId, _callback); + } + + /** + * Get PriceLists Retrieves all price lists of the company + * + * @param companyId The ID of the company. (required) + * @return ListPriceListsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public ListPriceListsResponse getPriceLists(Integer companyId) throws ApiException { + ApiResponse localVarResp = getPriceListsWithHttpInfo(companyId); + return localVarResp.getData(); + } + + /** + * Get PriceLists Retrieves all price lists of the company + * + * @param companyId The ID of the company. (required) + * @return ApiResponse<ListPriceListsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public ApiResponse getPriceListsWithHttpInfo(Integer companyId) + throws ApiException { + okhttp3.Call localVarCall = getPriceListsValidateBeforeCall(companyId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get PriceLists (asynchronously) Retrieves all price lists of the company + * + * @param companyId The ID of the company. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
401 Unauthorized -
404 Not Found -
+ */ + public okhttp3.Call getPriceListsAsync( + Integer companyId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPriceListsValidateBeforeCall(companyId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/it/fattureincloud/sdk/api/ProductsApi.java b/src/main/java/it/fattureincloud/sdk/api/ProductsApi.java index 24c64fff..c5885ad6 100644 --- a/src/main/java/it/fattureincloud/sdk/api/ProductsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/ProductsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/ReceiptsApi.java b/src/main/java/it/fattureincloud/sdk/api/ReceiptsApi.java index b8d2ce90..c1b5423a 100644 --- a/src/main/java/it/fattureincloud/sdk/api/ReceiptsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/ReceiptsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/ReceivedDocumentsApi.java b/src/main/java/it/fattureincloud/sdk/api/ReceivedDocumentsApi.java index f5d02cb6..c1834b04 100644 --- a/src/main/java/it/fattureincloud/sdk/api/ReceivedDocumentsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/ReceivedDocumentsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,12 +21,14 @@ import it.fattureincloud.sdk.Pair; import it.fattureincloud.sdk.model.CreateReceivedDocumentRequest; import it.fattureincloud.sdk.model.CreateReceivedDocumentResponse; +import it.fattureincloud.sdk.model.GetBinIssuedDocumentResponse; import it.fattureincloud.sdk.model.GetExistingReceivedDocumentTotalsRequest; import it.fattureincloud.sdk.model.GetExistingReceivedDocumentTotalsResponse; import it.fattureincloud.sdk.model.GetNewReceivedDocumentTotalsRequest; import it.fattureincloud.sdk.model.GetNewReceivedDocumentTotalsResponse; import it.fattureincloud.sdk.model.GetReceivedDocumentPreCreateInfoResponse; import it.fattureincloud.sdk.model.GetReceivedDocumentResponse; +import it.fattureincloud.sdk.model.ListBinReceivedDocuments; import it.fattureincloud.sdk.model.ListReceivedDocumentsResponse; import it.fattureincloud.sdk.model.ModifyReceivedDocumentRequest; import it.fattureincloud.sdk.model.ModifyReceivedDocumentResponse; @@ -240,6 +242,161 @@ public okhttp3.Call createReceivedDocumentAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for deleteBinReceivedDocument + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteBinReceivedDocumentCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/received_documents/{document_id}" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "document_id" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "DELETE", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteBinReceivedDocumentValidateBeforeCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling deleteBinReceivedDocument(Async)"); + } + + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling deleteBinReceivedDocument(Async)"); + } + + return deleteBinReceivedDocumentCall(companyId, documentId, _callback); + } + + /** + * Delete Bin Received Document + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public void deleteBinReceivedDocument(Integer companyId, Integer documentId) throws ApiException { + deleteBinReceivedDocumentWithHttpInfo(companyId, documentId); + } + + /** + * Delete Bin Received Document + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse deleteBinReceivedDocumentWithHttpInfo( + Integer companyId, Integer documentId) throws ApiException { + okhttp3.Call localVarCall = + deleteBinReceivedDocumentValidateBeforeCall(companyId, documentId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * (asynchronously) Delete Bin Received Document + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteBinReceivedDocumentAsync( + Integer companyId, Integer documentId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + deleteBinReceivedDocumentValidateBeforeCall(companyId, documentId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } /** * Build call for deleteReceivedDocument * @@ -568,6 +725,169 @@ public okhttp3.Call deleteReceivedDocumentAttachmentAsync( localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } + /** + * Build call for getBinReceivedDocument + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public okhttp3.Call getBinReceivedDocumentCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/received_documents/{document_id}" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "document_id" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getBinReceivedDocumentValidateBeforeCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling getBinReceivedDocument(Async)"); + } + + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getBinReceivedDocument(Async)"); + } + + return getBinReceivedDocumentCall(companyId, documentId, _callback); + } + + /** + * Get Bin Received Documents List Get bin issued documents detail + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return GetBinIssuedDocumentResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public GetBinIssuedDocumentResponse getBinReceivedDocument(Integer companyId, Integer documentId) + throws ApiException { + ApiResponse localVarResp = + getBinReceivedDocumentWithHttpInfo(companyId, documentId); + return localVarResp.getData(); + } + + /** + * Get Bin Received Documents List Get bin issued documents detail + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return ApiResponse<GetBinIssuedDocumentResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public ApiResponse getBinReceivedDocumentWithHttpInfo( + Integer companyId, Integer documentId) throws ApiException { + okhttp3.Call localVarCall = + getBinReceivedDocumentValidateBeforeCall(companyId, documentId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Bin Received Documents List (asynchronously) Get bin issued documents detail + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Bin issued document details -
+ */ + public okhttp3.Call getBinReceivedDocumentAsync( + Integer companyId, + Integer documentId, + final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getBinReceivedDocumentValidateBeforeCall(companyId, documentId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for getExistingReceivedDocumentTotals * @@ -1304,6 +1624,153 @@ public okhttp3.Call getReceivedDocumentPreCreateInfoAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for listBinReceivedDocuments + * + * @param companyId The ID of the company. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
+ */ + public okhttp3.Call listBinReceivedDocumentsCall(Integer companyId, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/received_documents" + .replace( + "{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "GET", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listBinReceivedDocumentsValidateBeforeCall( + Integer companyId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling listBinReceivedDocuments(Async)"); + } + + return listBinReceivedDocumentsCall(companyId, _callback); + } + + /** + * Get Bin Received Documents List Get bin Received documents list + * + * @param companyId The ID of the company. (required) + * @return ListBinReceivedDocuments + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
+ */ + public ListBinReceivedDocuments listBinReceivedDocuments(Integer companyId) throws ApiException { + ApiResponse localVarResp = + listBinReceivedDocumentsWithHttpInfo(companyId); + return localVarResp.getData(); + } + + /** + * Get Bin Received Documents List Get bin Received documents list + * + * @param companyId The ID of the company. (required) + * @return ApiResponse<ListBinReceivedDocuments> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
+ */ + public ApiResponse listBinReceivedDocumentsWithHttpInfo( + Integer companyId) throws ApiException { + okhttp3.Call localVarCall = listBinReceivedDocumentsValidateBeforeCall(companyId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Bin Received Documents List (asynchronously) Get bin Received documents list + * + * @param companyId The ID of the company. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 Example response -
+ */ + public okhttp3.Call listBinReceivedDocumentsAsync( + Integer companyId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = listBinReceivedDocumentsValidateBeforeCall(companyId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for listReceivedDocuments * @@ -1763,6 +2230,162 @@ public okhttp3.Call modifyReceivedDocumentAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for recoverBinReceivedDocument + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call recoverBinReceivedDocumentCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = + "/c/{company_id}/bin/received_documents/{document_id}/recover" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "document_id" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "POST", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call recoverBinReceivedDocumentValidateBeforeCall( + Integer companyId, Integer documentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling recoverBinReceivedDocument(Async)"); + } + + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling recoverBinReceivedDocument(Async)"); + } + + return recoverBinReceivedDocumentCall(companyId, documentId, _callback); + } + + /** + * Recover Received Document From The Bin + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public void recoverBinReceivedDocument(Integer companyId, Integer documentId) + throws ApiException { + recoverBinReceivedDocumentWithHttpInfo(companyId, documentId); + } + + /** + * Recover Received Document From The Bin + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse recoverBinReceivedDocumentWithHttpInfo( + Integer companyId, Integer documentId) throws ApiException { + okhttp3.Call localVarCall = + recoverBinReceivedDocumentValidateBeforeCall(companyId, documentId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * (asynchronously) Recover Received Document From The Bin + * + * @param companyId The ID of the company. (required) + * @param documentId The ID of the document. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call recoverBinReceivedDocumentAsync( + Integer companyId, Integer documentId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + recoverBinReceivedDocumentValidateBeforeCall(companyId, documentId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } /** * Build call for uploadReceivedDocumentAttachment * diff --git a/src/main/java/it/fattureincloud/sdk/api/SettingsApi.java b/src/main/java/it/fattureincloud/sdk/api/SettingsApi.java index cb9dcad0..1912ce79 100644 --- a/src/main/java/it/fattureincloud/sdk/api/SettingsApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/SettingsApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/SuppliersApi.java b/src/main/java/it/fattureincloud/sdk/api/SuppliersApi.java index dbc6eef2..5e8e9c1e 100644 --- a/src/main/java/it/fattureincloud/sdk/api/SuppliersApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/SuppliersApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/TaxesApi.java b/src/main/java/it/fattureincloud/sdk/api/TaxesApi.java index f2b93b03..c7a2e755 100644 --- a/src/main/java/it/fattureincloud/sdk/api/TaxesApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/TaxesApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/UserApi.java b/src/main/java/it/fattureincloud/sdk/api/UserApi.java index 2523f54a..bdeee1c1 100644 --- a/src/main/java/it/fattureincloud/sdk/api/UserApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/UserApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/api/WebhooksApi.java b/src/main/java/it/fattureincloud/sdk/api/WebhooksApi.java index 8f179e4c..fd4c5062 100644 --- a/src/main/java/it/fattureincloud/sdk/api/WebhooksApi.java +++ b/src/main/java/it/fattureincloud/sdk/api/WebhooksApi.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,7 @@ import it.fattureincloud.sdk.model.ListWebhooksSubscriptionsResponse; import it.fattureincloud.sdk.model.ModifyWebhooksSubscriptionRequest; import it.fattureincloud.sdk.model.ModifyWebhooksSubscriptionResponse; +import it.fattureincloud.sdk.model.VerifyWebhooksSubscriptionRequest; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; @@ -890,4 +891,186 @@ public okhttp3.Call modifyWebhooksSubscriptionAsync( localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for verifyWebhooksSubscription + * + * @param companyId The ID of the company. (required) + * @param subscriptionId The ID of the subscription. (required) + * @param verifyWebhooksSubscriptionRequest (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call verifyWebhooksSubscriptionCall( + Integer companyId, + String subscriptionId, + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest, + final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = verifyWebhooksSubscriptionRequest; + + // create path and map variables + String localVarPath = + "/c/{company_id}/subscriptions/{subscription_id}/verify" + .replace("{" + "company_id" + "}", localVarApiClient.escapeString(companyId.toString())) + .replace( + "{" + "subscription_id" + "}", + localVarApiClient.escapeString(subscriptionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"OAuth2AuthenticationCodeFlow"}; + return localVarApiClient.buildCall( + basePath, + localVarPath, + "POST", + localVarQueryParams, + localVarCollectionQueryParams, + localVarPostBody, + localVarHeaderParams, + localVarCookieParams, + localVarFormParams, + localVarAuthNames, + _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call verifyWebhooksSubscriptionValidateBeforeCall( + Integer companyId, + String subscriptionId, + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest, + final ApiCallback _callback) + throws ApiException { + // verify the required parameter 'companyId' is set + if (companyId == null) { + throw new ApiException( + "Missing the required parameter 'companyId' when calling verifyWebhooksSubscription(Async)"); + } + + // verify the required parameter 'subscriptionId' is set + if (subscriptionId == null) { + throw new ApiException( + "Missing the required parameter 'subscriptionId' when calling verifyWebhooksSubscription(Async)"); + } + + return verifyWebhooksSubscriptionCall( + companyId, subscriptionId, verifyWebhooksSubscriptionRequest, _callback); + } + + /** + * Verify Webhooks Subscription Verify a webhook subscription. + * + * @param companyId The ID of the company. (required) + * @param subscriptionId The ID of the subscription. (required) + * @param verifyWebhooksSubscriptionRequest (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public void verifyWebhooksSubscription( + Integer companyId, + String subscriptionId, + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest) + throws ApiException { + verifyWebhooksSubscriptionWithHttpInfo( + companyId, subscriptionId, verifyWebhooksSubscriptionRequest); + } + + /** + * Verify Webhooks Subscription Verify a webhook subscription. + * + * @param companyId The ID of the company. (required) + * @param subscriptionId The ID of the subscription. (required) + * @param verifyWebhooksSubscriptionRequest (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse verifyWebhooksSubscriptionWithHttpInfo( + Integer companyId, + String subscriptionId, + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest) + throws ApiException { + okhttp3.Call localVarCall = + verifyWebhooksSubscriptionValidateBeforeCall( + companyId, subscriptionId, verifyWebhooksSubscriptionRequest, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Verify Webhooks Subscription (asynchronously) Verify a webhook subscription. + * + * @param companyId The ID of the company. (required) + * @param subscriptionId The ID of the subscription. (required) + * @param verifyWebhooksSubscriptionRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + *
Response Details
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call verifyWebhooksSubscriptionAsync( + Integer companyId, + String subscriptionId, + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest, + final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + verifyWebhooksSubscriptionValidateBeforeCall( + companyId, subscriptionId, verifyWebhooksSubscriptionRequest, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } } diff --git a/src/main/java/it/fattureincloud/sdk/auth/Scope.java b/src/main/java/it/fattureincloud/sdk/auth/Scope.java index af75d332..3b70214d 100644 --- a/src/main/java/it/fattureincloud/sdk/auth/Scope.java +++ b/src/main/java/it/fattureincloud/sdk/auth/Scope.java @@ -98,6 +98,12 @@ public enum Scope { // Write permission to the Receipts RECEIPTS_ALL("receipts:a"), + // Read permission to the Calendar + CALENDAR_READ("calendar:r"), + + // Write permission to the Calendar + CALENDAR_ALL("calendar:a"), + // Read permission to the Taxes TAXES_READ("taxes:r"), @@ -110,6 +116,9 @@ public enum Scope { // Read permission to the Archive Documents ARCHIVE_ALL("archive:a"), + // Read permission to the Emails + EMAILS_READ("emails:r"), + // Read permission to the Cashbook CASHBOOK_READ("cashbook:r"), diff --git a/src/main/java/it/fattureincloud/sdk/model/AbstractOpenApiSchema.java b/src/main/java/it/fattureincloud/sdk/model/AbstractOpenApiSchema.java index 0e574150..88b4423d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/AbstractOpenApiSchema.java +++ b/src/main/java/it/fattureincloud/sdk/model/AbstractOpenApiSchema.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,8 +18,8 @@ /** Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/it/fattureincloud/sdk/model/ArchiveDocument.java b/src/main/java/it/fattureincloud/sdk/model/ArchiveDocument.java index cd3830fe..5b03b2a5 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ArchiveDocument.java +++ b/src/main/java/it/fattureincloud/sdk/model/ArchiveDocument.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** ArchiveDocument */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ArchiveDocument implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/AttachmentData.java b/src/main/java/it/fattureincloud/sdk/model/AttachmentData.java index 78bb72e7..a5d8884d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/AttachmentData.java +++ b/src/main/java/it/fattureincloud/sdk/model/AttachmentData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** AttachmentData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class AttachmentData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CashbookEntry.java b/src/main/java/it/fattureincloud/sdk/model/CashbookEntry.java index da7ec312..e022ba48 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CashbookEntry.java +++ b/src/main/java/it/fattureincloud/sdk/model/CashbookEntry.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** CashbookEntry */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CashbookEntry implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CashbookEntryDocument.java b/src/main/java/it/fattureincloud/sdk/model/CashbookEntryDocument.java index dab7ed21..422ce242 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CashbookEntryDocument.java +++ b/src/main/java/it/fattureincloud/sdk/model/CashbookEntryDocument.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** CashbookEntryDocument */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CashbookEntryDocument implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CashbookEntryKind.java b/src/main/java/it/fattureincloud/sdk/model/CashbookEntryKind.java index 483b3328..3dc1b6eb 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CashbookEntryKind.java +++ b/src/main/java/it/fattureincloud/sdk/model/CashbookEntryKind.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/CashbookEntryType.java b/src/main/java/it/fattureincloud/sdk/model/CashbookEntryType.java index 5947f236..ab83c972 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CashbookEntryType.java +++ b/src/main/java/it/fattureincloud/sdk/model/CashbookEntryType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/City.java b/src/main/java/it/fattureincloud/sdk/model/City.java index ec435fdd..73a04129 100644 --- a/src/main/java/it/fattureincloud/sdk/model/City.java +++ b/src/main/java/it/fattureincloud/sdk/model/City.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** City */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class City implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/Client.java b/src/main/java/it/fattureincloud/sdk/model/Client.java index 40b3a9a8..39c095b2 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Client.java +++ b/src/main/java/it/fattureincloud/sdk/model/Client.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** Client */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Client implements Serializable { private static final long serialVersionUID = 1L; @@ -179,16 +179,16 @@ public class Client implements Serializable { @SerializedName(SERIALIZED_NAME_E_INVOICE) private Boolean eInvoice; - public static final String SERIALIZED_NAME_EI_CODE = "ei_code"; - - @SerializedName(SERIALIZED_NAME_EI_CODE) - private String eiCode; - public static final String SERIALIZED_NAME_DISCOUNT_HIGHLIGHT = "discount_highlight"; @SerializedName(SERIALIZED_NAME_DISCOUNT_HIGHLIGHT) private Boolean discountHighlight; + public static final String SERIALIZED_NAME_EI_CODE = "ei_code"; + + @SerializedName(SERIALIZED_NAME_EI_CODE) + private String eiCode; + public static final String SERIALIZED_NAME_DEFAULT_DISCOUNT = "default_discount"; @SerializedName(SERIALIZED_NAME_DEFAULT_DISCOUNT) @@ -211,6 +211,11 @@ public class Client implements Serializable { @SerializedName(SERIALIZED_NAME_INTENT_DECLARATION_PROTOCOL_DATE) private LocalDate intentDeclarationProtocolDate; + public static final String SERIALIZED_NAME_PRICE_LIST_ID = "price_list_id"; + + @SerializedName(SERIALIZED_NAME_PRICE_LIST_ID) + private String priceListId; + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; @SerializedName(SERIALIZED_NAME_CREATED_AT) @@ -823,44 +828,44 @@ public void seteInvoice(Boolean eInvoice) { this.eInvoice = eInvoice; } - public Client eiCode(String eiCode) { + public Client discountHighlight(Boolean discountHighlight) { - this.eiCode = eiCode; + this.discountHighlight = discountHighlight; return this; } /** - * Client e-invoice code + * Highlight Discount * - * @return eiCode + * @return discountHighlight */ @javax.annotation.Nullable - public String getEiCode() { - return eiCode; + public Boolean getDiscountHighlight() { + return discountHighlight; } - public void setEiCode(String eiCode) { - this.eiCode = eiCode; + public void setDiscountHighlight(Boolean discountHighlight) { + this.discountHighlight = discountHighlight; } - public Client discountHighlight(Boolean discountHighlight) { + public Client eiCode(String eiCode) { - this.discountHighlight = discountHighlight; + this.eiCode = eiCode; return this; } /** - * Highlight Discount + * Client e-invoice code * - * @return discountHighlight + * @return eiCode */ @javax.annotation.Nullable - public Boolean getDiscountHighlight() { - return discountHighlight; + public String getEiCode() { + return eiCode; } - public void setDiscountHighlight(Boolean discountHighlight) { - this.discountHighlight = discountHighlight; + public void setEiCode(String eiCode) { + this.eiCode = eiCode; } public Client defaultDiscount(BigDecimal defaultDiscount) { @@ -943,6 +948,26 @@ public void setIntentDeclarationProtocolDate(LocalDate intentDeclarationProtocol this.intentDeclarationProtocolDate = intentDeclarationProtocolDate; } + public Client priceListId(String priceListId) { + + this.priceListId = priceListId; + return this; + } + + /** + * Price list id + * + * @return priceListId + */ + @javax.annotation.Nullable + public String getPriceListId() { + return priceListId; + } + + public void setPriceListId(String priceListId) { + this.priceListId = priceListId; + } + public Client createdAt(String createdAt) { this.createdAt = createdAt; @@ -1022,13 +1047,14 @@ public boolean equals(Object o) { && Objects.equals(this.bankSwiftCode, client.bankSwiftCode) && Objects.equals(this.shippingAddress, client.shippingAddress) && Objects.equals(this.eInvoice, client.eInvoice) - && Objects.equals(this.eiCode, client.eiCode) && Objects.equals(this.discountHighlight, client.discountHighlight) + && Objects.equals(this.eiCode, client.eiCode) && Objects.equals(this.defaultDiscount, client.defaultDiscount) && Objects.equals(this.hasIntentDeclaration, client.hasIntentDeclaration) && Objects.equals( this.intentDeclarationProtocolNumber, client.intentDeclarationProtocolNumber) && Objects.equals(this.intentDeclarationProtocolDate, client.intentDeclarationProtocolDate) + && Objects.equals(this.priceListId, client.priceListId) && Objects.equals(this.createdAt, client.createdAt) && Objects.equals(this.updatedAt, client.updatedAt); } @@ -1075,12 +1101,13 @@ public int hashCode() { bankSwiftCode, shippingAddress, eInvoice, - eiCode, discountHighlight, + eiCode, defaultDiscount, hasIntentDeclaration, intentDeclarationProtocolNumber, intentDeclarationProtocolDate, + priceListId, createdAt, updatedAt); } @@ -1132,8 +1159,8 @@ public String toString() { sb.append(" bankSwiftCode: ").append(toIndentedString(bankSwiftCode)).append("\n"); sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n"); sb.append(" eInvoice: ").append(toIndentedString(eInvoice)).append("\n"); - sb.append(" eiCode: ").append(toIndentedString(eiCode)).append("\n"); sb.append(" discountHighlight: ").append(toIndentedString(discountHighlight)).append("\n"); + sb.append(" eiCode: ").append(toIndentedString(eiCode)).append("\n"); sb.append(" defaultDiscount: ").append(toIndentedString(defaultDiscount)).append("\n"); sb.append(" hasIntentDeclaration: ") .append(toIndentedString(hasIntentDeclaration)) @@ -1144,6 +1171,7 @@ public String toString() { sb.append(" intentDeclarationProtocolDate: ") .append(toIndentedString(intentDeclarationProtocolDate)) .append("\n"); + sb.append(" priceListId: ").append(toIndentedString(priceListId)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append("}"); diff --git a/src/main/java/it/fattureincloud/sdk/model/ClientType.java b/src/main/java/it/fattureincloud/sdk/model/ClientType.java index 8b9ed2be..27e7aa04 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ClientType.java +++ b/src/main/java/it/fattureincloud/sdk/model/ClientType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/Company.java b/src/main/java/it/fattureincloud/sdk/model/Company.java index a89dd199..03b1259b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Company.java +++ b/src/main/java/it/fattureincloud/sdk/model/Company.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** Company */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Company implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyInfo.java b/src/main/java/it/fattureincloud/sdk/model/CompanyInfo.java index e2662681..549736b7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** CompanyInfo */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoAccessInfo.java b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoAccessInfo.java index 9ebddc19..aade0943 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoAccessInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoAccessInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** CompanyInfoAccessInfo */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyInfoAccessInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfo.java b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfo.java index 2e0f6b34..ed65d739 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Company plan info */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyInfoPlanInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctions.java b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctions.java index 2cf07f2c..a5821c8d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctions.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctions.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Access to functions for this company. */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyInfoPlanInfoFunctions implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctionsStatus.java b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctionsStatus.java index 37329eeb..bdb24087 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctionsStatus.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoFunctionsStatus.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CompanyInfoPlanInfoFunctionsStatus */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyInfoPlanInfoFunctionsStatus implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoLimits.java b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoLimits.java index f52f87d2..d0698e49 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoLimits.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyInfoPlanInfoLimits.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Company plan limits */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyInfoPlanInfoLimits implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyPlanUsage.java b/src/main/java/it/fattureincloud/sdk/model/CompanyPlanUsage.java index a3753833..a203407d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyPlanUsage.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyPlanUsage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** CompanyPlanUsage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CompanyPlanUsage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CompanyType.java b/src/main/java/it/fattureincloud/sdk/model/CompanyType.java index fa983a26..ac91ae74 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CompanyType.java +++ b/src/main/java/it/fattureincloud/sdk/model/CompanyType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/ControlledCompany.java b/src/main/java/it/fattureincloud/sdk/model/ControlledCompany.java index 38a4cea8..2e2f71d2 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ControlledCompany.java +++ b/src/main/java/it/fattureincloud/sdk/model/ControlledCompany.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ControlledCompany */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ControlledCompany implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentRequest.java index 4ab9a34c..6840f2ba 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateArchiveDocumentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentResponse.java index e782646c..558d9e87 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateArchiveDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateArchiveDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryRequest.java index 7ea2cd9b..052df3f6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateCashbookEntryRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryResponse.java index fb4ee603..7d3a03d6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateCashbookEntryResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateCashbookEntryResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateClientRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateClientRequest.java index e386c101..68d86f3c 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateClientRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateClientRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateClientRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateClientRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateClientResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateClientResponse.java index 70573ea5..d05f426b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateClientResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateClientResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateClientResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateClientResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateF24Request.java b/src/main/java/it/fattureincloud/sdk/model/CreateF24Request.java index cb9d8c03..66838d34 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateF24Request.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateF24Request.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateF24Request implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateF24Response.java b/src/main/java/it/fattureincloud/sdk/model/CreateF24Response.java index a70e3361..4ff5c599 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateF24Response.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateF24Response.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateF24Response implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentRequest.java index 8341a276..713a4f95 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateIssuedDocumentRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateIssuedDocumentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentResponse.java index 90a8ada7..8e9574f9 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateIssuedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateIssuedDocumentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateIssuedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountRequest.java index 037a9920..a2a7ba30 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** CreatePaymentAccountRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreatePaymentAccountRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountResponse.java index c20fa4ee..618cf8be 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentAccountResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** CreatePaymentAccountResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreatePaymentAccountResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodRequest.java index fffb8e6b..cdf401a3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreatePaymentMethodRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreatePaymentMethodRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodResponse.java index 617b8c7b..7af3f0be 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreatePaymentMethodResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreatePaymentMethodResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreatePaymentMethodResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateProductRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateProductRequest.java index c8728f85..490b7b38 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateProductRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateProductRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateProductRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateProductRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateProductResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateProductResponse.java index de582da4..bd64db74 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateProductResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateProductResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateProductResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateProductResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateReceiptRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateReceiptRequest.java index bf3f258b..ee1517cc 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateReceiptRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateReceiptRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateReceiptRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateReceiptResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateReceiptResponse.java index a93e9e22..bb57f566 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateReceiptResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateReceiptResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateReceiptResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentRequest.java index 8c3d7baf..8623a91b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateReceivedDocumentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentResponse.java index a24592f9..cdbc90ab 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateReceivedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateReceivedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateSupplierRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateSupplierRequest.java index aa0e0a73..a2622eb6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateSupplierRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateSupplierRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateSupplierRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateSupplierRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateSupplierResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateSupplierResponse.java index c992f204..079af8fa 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateSupplierResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateSupplierResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateSupplierResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateSupplierResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeRequest.java index 4922eadd..e631ec0f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** CreateVatTypeRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateVatTypeRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeResponse.java index 949e079b..1a6cd493 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateVatTypeResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** CreateVatTypeResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateVatTypeResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionRequest.java b/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionRequest.java index 2388efdf..fb80c7ec 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** CreateWebhooksSubscriptionRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateWebhooksSubscriptionRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionResponse.java b/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionResponse.java index e928b095..5deeb9bf 100644 --- a/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/CreateWebhooksSubscriptionResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** CreateWebhooksSubscriptionResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class CreateWebhooksSubscriptionResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/Currency.java b/src/main/java/it/fattureincloud/sdk/model/Currency.java index c561f34d..84000e3f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Currency.java +++ b/src/main/java/it/fattureincloud/sdk/model/Currency.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Currency */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Currency implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/DetailedCountry.java b/src/main/java/it/fattureincloud/sdk/model/DetailedCountry.java index 6ee49929..43342681 100644 --- a/src/main/java/it/fattureincloud/sdk/model/DetailedCountry.java +++ b/src/main/java/it/fattureincloud/sdk/model/DetailedCountry.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** DetailedCountry */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class DetailedCountry implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/DocumentTemplate.java b/src/main/java/it/fattureincloud/sdk/model/DocumentTemplate.java index 7ac87404..06720c56 100644 --- a/src/main/java/it/fattureincloud/sdk/model/DocumentTemplate.java +++ b/src/main/java/it/fattureincloud/sdk/model/DocumentTemplate.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** DocumentTemplate */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class DocumentTemplate implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EInvoiceRejectionReason.java b/src/main/java/it/fattureincloud/sdk/model/EInvoiceRejectionReason.java index ff02e18e..06175992 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EInvoiceRejectionReason.java +++ b/src/main/java/it/fattureincloud/sdk/model/EInvoiceRejectionReason.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** EInvoiceRejectionReason */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class EInvoiceRejectionReason implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/Email.java b/src/main/java/it/fattureincloud/sdk/model/Email.java index 0cfd364d..27af2c3b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Email.java +++ b/src/main/java/it/fattureincloud/sdk/model/Email.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** Email */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Email implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailAttachment.java b/src/main/java/it/fattureincloud/sdk/model/EmailAttachment.java index d693f8d8..80696af3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailAttachment.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailAttachment.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** EmailAttachment */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class EmailAttachment implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailData.java b/src/main/java/it/fattureincloud/sdk/model/EmailData.java index 13110264..c3279b33 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailData.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** EmailData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class EmailData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailDataDefaultSenderEmail.java b/src/main/java/it/fattureincloud/sdk/model/EmailDataDefaultSenderEmail.java index fb21c79c..cf3b7215 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailDataDefaultSenderEmail.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailDataDefaultSenderEmail.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Default sender email. (Other emails can be found in **sender_emails_list**) */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class EmailDataDefaultSenderEmail implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailRecipientStatus.java b/src/main/java/it/fattureincloud/sdk/model/EmailRecipientStatus.java index 7eed5b3f..c9425ca5 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailRecipientStatus.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailRecipientStatus.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailSchedule.java b/src/main/java/it/fattureincloud/sdk/model/EmailSchedule.java index 94a42497..baec47ec 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailSchedule.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailSchedule.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** EmailSchedule */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class EmailSchedule implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailScheduleInclude.java b/src/main/java/it/fattureincloud/sdk/model/EmailScheduleInclude.java index 79a79ac2..ef423da7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailScheduleInclude.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailScheduleInclude.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** EmailScheduleInclude */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class EmailScheduleInclude implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EmailStatus.java b/src/main/java/it/fattureincloud/sdk/model/EmailStatus.java index a148cacf..c773672c 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EmailStatus.java +++ b/src/main/java/it/fattureincloud/sdk/model/EmailStatus.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/Entity.java b/src/main/java/it/fattureincloud/sdk/model/Entity.java index 0ba28b9b..b47dc24e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Entity.java +++ b/src/main/java/it/fattureincloud/sdk/model/Entity.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** Entity */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Entity implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfo.java b/src/main/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfo.java new file mode 100644 index 00000000..ef65b590 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfo.java @@ -0,0 +1,322 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Objects; +import org.openapitools.jackson.nullable.JsonNullable; + +/** EntityClientPreCreateInfo */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class EntityClientPreCreateInfo implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_COUNTRIES_LIST = "countries_list"; + + @SerializedName(SERIALIZED_NAME_COUNTRIES_LIST) + private List countriesList; + + public static final String SERIALIZED_NAME_PAYMENT_METHODS_LIST = "payment_methods_list"; + + @SerializedName(SERIALIZED_NAME_PAYMENT_METHODS_LIST) + private List paymentMethodsList; + + public static final String SERIALIZED_NAME_PAYMENT_ACCOUNTS_LIST = "payment_accounts_list"; + + @SerializedName(SERIALIZED_NAME_PAYMENT_ACCOUNTS_LIST) + private List paymentAccountsList; + + public static final String SERIALIZED_NAME_VAT_TYPES_LIST = "vat_types_list"; + + @SerializedName(SERIALIZED_NAME_VAT_TYPES_LIST) + private List vatTypesList; + + public static final String SERIALIZED_NAME_PRICE_LISTS = "price_lists"; + + @SerializedName(SERIALIZED_NAME_PRICE_LISTS) + private List priceLists; + + public static final String SERIALIZED_NAME_LIMIT = "limit"; + + @SerializedName(SERIALIZED_NAME_LIMIT) + private BigDecimal limit; + + public static final String SERIALIZED_NAME_USAGE = "usage"; + + @SerializedName(SERIALIZED_NAME_USAGE) + private BigDecimal usage; + + public EntityClientPreCreateInfo() {} + + public EntityClientPreCreateInfo countriesList(List countriesList) { + + this.countriesList = countriesList; + return this; + } + + public EntityClientPreCreateInfo addCountriesListItem(String countriesListItem) { + if (this.countriesList == null) { + this.countriesList = new ArrayList<>(); + } + this.countriesList.add(countriesListItem); + return this; + } + + /** + * Countries list + * + * @return countriesList + */ + @javax.annotation.Nullable + public List getCountriesList() { + return countriesList; + } + + public void setCountriesList(List countriesList) { + this.countriesList = countriesList; + } + + public EntityClientPreCreateInfo paymentMethodsList(List paymentMethodsList) { + + this.paymentMethodsList = paymentMethodsList; + return this; + } + + public EntityClientPreCreateInfo addPaymentMethodsListItem(PaymentMethod paymentMethodsListItem) { + if (this.paymentMethodsList == null) { + this.paymentMethodsList = new ArrayList<>(); + } + this.paymentMethodsList.add(paymentMethodsListItem); + return this; + } + + /** + * Entity payment methods list + * + * @return paymentMethodsList + */ + @javax.annotation.Nullable + public List getPaymentMethodsList() { + return paymentMethodsList; + } + + public void setPaymentMethodsList(List paymentMethodsList) { + this.paymentMethodsList = paymentMethodsList; + } + + public EntityClientPreCreateInfo paymentAccountsList(List paymentAccountsList) { + + this.paymentAccountsList = paymentAccountsList; + return this; + } + + public EntityClientPreCreateInfo addPaymentAccountsListItem( + PaymentAccount paymentAccountsListItem) { + if (this.paymentAccountsList == null) { + this.paymentAccountsList = new ArrayList<>(); + } + this.paymentAccountsList.add(paymentAccountsListItem); + return this; + } + + /** + * Entity payment accounts list + * + * @return paymentAccountsList + */ + @javax.annotation.Nullable + public List getPaymentAccountsList() { + return paymentAccountsList; + } + + public void setPaymentAccountsList(List paymentAccountsList) { + this.paymentAccountsList = paymentAccountsList; + } + + public EntityClientPreCreateInfo vatTypesList(List vatTypesList) { + + this.vatTypesList = vatTypesList; + return this; + } + + public EntityClientPreCreateInfo addVatTypesListItem(VatType vatTypesListItem) { + if (this.vatTypesList == null) { + this.vatTypesList = new ArrayList<>(); + } + this.vatTypesList.add(vatTypesListItem); + return this; + } + + /** + * Vat types list + * + * @return vatTypesList + */ + @javax.annotation.Nullable + public List getVatTypesList() { + return vatTypesList; + } + + public void setVatTypesList(List vatTypesList) { + this.vatTypesList = vatTypesList; + } + + public EntityClientPreCreateInfo priceLists(List priceLists) { + + this.priceLists = priceLists; + return this; + } + + public EntityClientPreCreateInfo addPriceListsItem(PriceList priceListsItem) { + if (this.priceLists == null) { + this.priceLists = new ArrayList<>(); + } + this.priceLists.add(priceListsItem); + return this; + } + + /** + * Entity price lists + * + * @return priceLists + */ + @javax.annotation.Nullable + public List getPriceLists() { + return priceLists; + } + + public void setPriceLists(List priceLists) { + this.priceLists = priceLists; + } + + public EntityClientPreCreateInfo limit(BigDecimal limit) { + + this.limit = limit; + return this; + } + + /** + * Entity limit + * + * @return limit + */ + @javax.annotation.Nullable + public BigDecimal getLimit() { + return limit; + } + + public void setLimit(BigDecimal limit) { + this.limit = limit; + } + + public EntityClientPreCreateInfo usage(BigDecimal usage) { + + this.usage = usage; + return this; + } + + /** + * Entity usage + * + * @return usage + */ + @javax.annotation.Nullable + public BigDecimal getUsage() { + return usage; + } + + public void setUsage(BigDecimal usage) { + this.usage = usage; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EntityClientPreCreateInfo entityClientPreCreateInfo = (EntityClientPreCreateInfo) o; + return Objects.equals(this.countriesList, entityClientPreCreateInfo.countriesList) + && Objects.equals(this.paymentMethodsList, entityClientPreCreateInfo.paymentMethodsList) + && Objects.equals(this.paymentAccountsList, entityClientPreCreateInfo.paymentAccountsList) + && Objects.equals(this.vatTypesList, entityClientPreCreateInfo.vatTypesList) + && Objects.equals(this.priceLists, entityClientPreCreateInfo.priceLists) + && Objects.equals(this.limit, entityClientPreCreateInfo.limit) + && Objects.equals(this.usage, entityClientPreCreateInfo.usage); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b + || (a != null + && b != null + && a.isPresent() + && b.isPresent() + && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash( + countriesList, + paymentMethodsList, + paymentAccountsList, + vatTypesList, + priceLists, + limit, + usage); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[] {a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EntityClientPreCreateInfo {\n"); + sb.append(" countriesList: ").append(toIndentedString(countriesList)).append("\n"); + sb.append(" paymentMethodsList: ").append(toIndentedString(paymentMethodsList)).append("\n"); + sb.append(" paymentAccountsList: ") + .append(toIndentedString(paymentAccountsList)) + .append("\n"); + sb.append(" vatTypesList: ").append(toIndentedString(vatTypesList)).append("\n"); + sb.append(" priceLists: ").append(toIndentedString(priceLists)).append("\n"); + sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + sb.append(" usage: ").append(toIndentedString(usage)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/EntityType.java b/src/main/java/it/fattureincloud/sdk/model/EntityType.java index 1309a813..5e2c350e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EntityType.java +++ b/src/main/java/it/fattureincloud/sdk/model/EntityType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/EventType.java b/src/main/java/it/fattureincloud/sdk/model/EventType.java index 7a1bf928..e66583e8 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EventType.java +++ b/src/main/java/it/fattureincloud/sdk/model/EventType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,180 +23,212 @@ /** Webhooks event type */ @JsonAdapter(EventType.Adapter.class) public enum EventType { - ISSUED_DOCUMENTS_INVOICES_CREATE("it.fattureincloud.webhooks.issued_documents.invoices.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_CREATE( + "it.fattureincloud.webhooks.issued_documents.invoices.create"), - ISSUED_DOCUMENTS_INVOICES_UPDATE("it.fattureincloud.webhooks.issued_documents.invoices.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_UPDATE( + "it.fattureincloud.webhooks.issued_documents.invoices.update"), - ISSUED_DOCUMENTS_INVOICES_DELETE("it.fattureincloud.webhooks.issued_documents.invoices.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_DELETE( + "it.fattureincloud.webhooks.issued_documents.invoices.delete"), - ISSUED_DOCUMENTS_QUOTES_CREATE("it.fattureincloud.webhooks.issued_documents.quotes.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_CREATE( + "it.fattureincloud.webhooks.issued_documents.quotes.create"), - ISSUED_DOCUMENTS_QUOTES_UPDATE("it.fattureincloud.webhooks.issued_documents.quotes.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_UPDATE( + "it.fattureincloud.webhooks.issued_documents.quotes.update"), - ISSUED_DOCUMENTS_QUOTES_DELETE("it.fattureincloud.webhooks.issued_documents.quotes.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_DELETE( + "it.fattureincloud.webhooks.issued_documents.quotes.delete"), - ISSUED_DOCUMENTS_PROFORMAS_CREATE("it.fattureincloud.webhooks.issued_documents.proformas.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_CREATE( + "it.fattureincloud.webhooks.issued_documents.proformas.create"), - ISSUED_DOCUMENTS_PROFORMAS_UPDATE("it.fattureincloud.webhooks.issued_documents.proformas.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_UPDATE( + "it.fattureincloud.webhooks.issued_documents.proformas.update"), - ISSUED_DOCUMENTS_PROFORMAS_DELETE("it.fattureincloud.webhooks.issued_documents.proformas.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_DELETE( + "it.fattureincloud.webhooks.issued_documents.proformas.delete"), - ISSUED_DOCUMENTS_RECEIPTS_CREATE("it.fattureincloud.webhooks.issued_documents.receipts.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_CREATE( + "it.fattureincloud.webhooks.issued_documents.receipts.create"), - ISSUED_DOCUMENTS_RECEIPTS_UPDATE("it.fattureincloud.webhooks.issued_documents.receipts.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_UPDATE( + "it.fattureincloud.webhooks.issued_documents.receipts.update"), - ISSUED_DOCUMENTS_RECEIPTS_DELETE("it.fattureincloud.webhooks.issued_documents.receipts.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_DELETE( + "it.fattureincloud.webhooks.issued_documents.receipts.delete"), - ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE( "it.fattureincloud.webhooks.issued_documents.delivery_notes.create"), - ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE( "it.fattureincloud.webhooks.issued_documents.delivery_notes.update"), - ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE( "it.fattureincloud.webhooks.issued_documents.delivery_notes.delete"), - ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE( "it.fattureincloud.webhooks.issued_documents.credit_notes.create"), - ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE( "it.fattureincloud.webhooks.issued_documents.credit_notes.update"), - ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE( "it.fattureincloud.webhooks.issued_documents.credit_notes.delete"), - ISSUED_DOCUMENTS_ORDERS_CREATE("it.fattureincloud.webhooks.issued_documents.orders.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_CREATE( + "it.fattureincloud.webhooks.issued_documents.orders.create"), - ISSUED_DOCUMENTS_ORDERS_UPDATE("it.fattureincloud.webhooks.issued_documents.orders.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_UPDATE( + "it.fattureincloud.webhooks.issued_documents.orders.update"), - ISSUED_DOCUMENTS_ORDERS_DELETE("it.fattureincloud.webhooks.issued_documents.orders.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_DELETE( + "it.fattureincloud.webhooks.issued_documents.orders.delete"), - ISSUED_DOCUMENTS_WORK_REPORTS_CREATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_CREATE( "it.fattureincloud.webhooks.issued_documents.work_reports.create"), - ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE( "it.fattureincloud.webhooks.issued_documents.work_reports.update"), - ISSUED_DOCUMENTS_WORK_REPORTS_DELETE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_DELETE( "it.fattureincloud.webhooks.issued_documents.work_reports.delete"), - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE( "it.fattureincloud.webhooks.issued_documents.supplier_orders.create"), - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE( "it.fattureincloud.webhooks.issued_documents.supplier_orders.update"), - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE( "it.fattureincloud.webhooks.issued_documents.supplier_orders.delete"), - ISSUED_DOCUMENTS_SELF_INVOICES_CREATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_CREATE( "it.fattureincloud.webhooks.issued_documents.self_invoices.create"), - ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE( "it.fattureincloud.webhooks.issued_documents.self_invoices.update"), - ISSUED_DOCUMENTS_SELF_INVOICES_DELETE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_DELETE( "it.fattureincloud.webhooks.issued_documents.self_invoices.delete"), - ISSUED_DOCUMENTS_ALL_CREATE("it.fattureincloud.webhooks.issued_documents.all.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_CREATE( + "it.fattureincloud.webhooks.issued_documents.all.create"), - ISSUED_DOCUMENTS_ALL_UPDATE("it.fattureincloud.webhooks.issued_documents.all.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_UPDATE( + "it.fattureincloud.webhooks.issued_documents.all.update"), - ISSUED_DOCUMENTS_ALL_DELETE("it.fattureincloud.webhooks.issued_documents.all.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_DELETE( + "it.fattureincloud.webhooks.issued_documents.all.delete"), - RECEIVED_DOCUMENTS_CREATE("it.fattureincloud.webhooks.received_documents.create"), + IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_CREATE( + "it.fattureincloud.webhooks.received_documents.create"), - RECEIVED_DOCUMENTS_UPDATE("it.fattureincloud.webhooks.received_documents.update"), + IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_UPDATE( + "it.fattureincloud.webhooks.received_documents.update"), - RECEIVED_DOCUMENTS_DELETE("it.fattureincloud.webhooks.received_documents.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_DELETE( + "it.fattureincloud.webhooks.received_documents.delete"), - RECEIPTS_CREATE("it.fattureincloud.webhooks.receipts.create"), + IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_CREATE("it.fattureincloud.webhooks.receipts.create"), - RECEIPTS_UPDATE("it.fattureincloud.webhooks.receipts.update"), + IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_UPDATE("it.fattureincloud.webhooks.receipts.update"), - RECEIPTS_DELETE("it.fattureincloud.webhooks.receipts.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_DELETE("it.fattureincloud.webhooks.receipts.delete"), - TAXES_CREATE("it.fattureincloud.webhooks.taxes.create"), + IT_FATTUREINCLOUD_WEBHOOKS_TAXES_CREATE("it.fattureincloud.webhooks.taxes.create"), - TAXES_UPDATE("it.fattureincloud.webhooks.taxes.update"), + IT_FATTUREINCLOUD_WEBHOOKS_TAXES_UPDATE("it.fattureincloud.webhooks.taxes.update"), - TAXES_DELETE("it.fattureincloud.webhooks.taxes.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_TAXES_DELETE("it.fattureincloud.webhooks.taxes.delete"), - ARCHIVE_DOCUMENTS_CREATE("it.fattureincloud.webhooks.archive_documents.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_CREATE( + "it.fattureincloud.webhooks.archive_documents.create"), - ARCHIVE_DOCUMENTS_UPDATE("it.fattureincloud.webhooks.archive_documents.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_UPDATE( + "it.fattureincloud.webhooks.archive_documents.update"), - ARCHIVE_DOCUMENTS_DELETE("it.fattureincloud.webhooks.archive_documents.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_DELETE( + "it.fattureincloud.webhooks.archive_documents.delete"), - CASHBOOK_CREATE("it.fattureincloud.webhooks.cashbook.create"), + IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_CREATE("it.fattureincloud.webhooks.cashbook.create"), - CASHBOOK_UPDATE("it.fattureincloud.webhooks.cashbook.update"), + IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_UPDATE("it.fattureincloud.webhooks.cashbook.update"), - CASHBOOK_DELETE("it.fattureincloud.webhooks.cashbook.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_DELETE("it.fattureincloud.webhooks.cashbook.delete"), - PRODUCTS_CREATE("it.fattureincloud.webhooks.products.create"), + IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_CREATE("it.fattureincloud.webhooks.products.create"), - PRODUCTS_UPDATE("it.fattureincloud.webhooks.products.update"), + IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_UPDATE("it.fattureincloud.webhooks.products.update"), - PRODUCTS_DELETE("it.fattureincloud.webhooks.products.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_DELETE("it.fattureincloud.webhooks.products.delete"), - PRODUCTS_STOCK_UPDATE("it.fattureincloud.webhooks.products.stock_update"), + IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_STOCK_UPDATE( + "it.fattureincloud.webhooks.products.stock_update"), - ENTITIES_CLIENTS_CREATE("it.fattureincloud.webhooks.entities.clients.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_CREATE( + "it.fattureincloud.webhooks.entities.clients.create"), - ENTITIES_CLIENTS_UPDATE("it.fattureincloud.webhooks.entities.clients.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_UPDATE( + "it.fattureincloud.webhooks.entities.clients.update"), - ENTITIES_CLIENTS_DELETE("it.fattureincloud.webhooks.entities.clients.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_DELETE( + "it.fattureincloud.webhooks.entities.clients.delete"), - ENTITIES_SUPPLIERS_CREATE("it.fattureincloud.webhooks.entities.suppliers.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_CREATE( + "it.fattureincloud.webhooks.entities.suppliers.create"), - ENTITIES_SUPPLIERS_UPDATE("it.fattureincloud.webhooks.entities.suppliers.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_UPDATE( + "it.fattureincloud.webhooks.entities.suppliers.update"), - ENTITIES_SUPPLIERS_DELETE("it.fattureincloud.webhooks.entities.suppliers.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_DELETE( + "it.fattureincloud.webhooks.entities.suppliers.delete"), - ENTITIES_ALL_CREATE("it.fattureincloud.webhooks.entities.all.create"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_CREATE("it.fattureincloud.webhooks.entities.all.create"), - ENTITIES_ALL_UPDATE("it.fattureincloud.webhooks.entities.all.update"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_UPDATE("it.fattureincloud.webhooks.entities.all.update"), - ENTITIES_ALL_DELETE("it.fattureincloud.webhooks.entities.all.delete"), + IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_DELETE("it.fattureincloud.webhooks.entities.all.delete"), - ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE( "it.fattureincloud.webhooks.issued_documents.e_invoices.status_update"), - RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE( + IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE( "it.fattureincloud.webhooks.received_documents.e_invoices.receive"), - ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.invoices.email_sent"), - ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.quotes.email_sent"), - ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.proformas.email_sent"), - ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.receipts.email_sent"), - ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"), - ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"), - ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.orders.email_sent"), - ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"), - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"), - ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT( + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"), - ISSUED_DOCUMENTS_ALL_EMAIL_SENT("it.fattureincloud.webhooks.issued_documents.all.email_sent"); + IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_EMAIL_SENT( + "it.fattureincloud.webhooks.issued_documents.all.email_sent"); private String value; diff --git a/src/main/java/it/fattureincloud/sdk/model/F24.java b/src/main/java/it/fattureincloud/sdk/model/F24.java index 13c7cb51..c9021075 100644 --- a/src/main/java/it/fattureincloud/sdk/model/F24.java +++ b/src/main/java/it/fattureincloud/sdk/model/F24.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** F24 */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class F24 implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/F24Status.java b/src/main/java/it/fattureincloud/sdk/model/F24Status.java index cfcff8b1..90312ceb 100644 --- a/src/main/java/it/fattureincloud/sdk/model/F24Status.java +++ b/src/main/java/it/fattureincloud/sdk/model/F24Status.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/FattureInCloudPlanType.java b/src/main/java/it/fattureincloud/sdk/model/FattureInCloudPlanType.java index e9ccea9c..7bc44e4d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/FattureInCloudPlanType.java +++ b/src/main/java/it/fattureincloud/sdk/model/FattureInCloudPlanType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/FunctionStatus.java b/src/main/java/it/fattureincloud/sdk/model/FunctionStatus.java index d5871ec7..b5e9c63b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/FunctionStatus.java +++ b/src/main/java/it/fattureincloud/sdk/model/FunctionStatus.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** FunctionStatus */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class FunctionStatus implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetArchiveDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetArchiveDocumentResponse.java index 1d8e0eb4..b6bc86d4 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetArchiveDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetArchiveDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetArchiveDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponse.java new file mode 100644 index 00000000..15a67f39 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponse.java @@ -0,0 +1,89 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.Objects; + +/** GetBinIssuedDocumentResponse */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class GetBinIssuedDocumentResponse implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private IssuedDocument data; + + public GetBinIssuedDocumentResponse() {} + + public GetBinIssuedDocumentResponse data(IssuedDocument data) { + + this.data = data; + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public IssuedDocument getData() { + return data; + } + + public void setData(IssuedDocument data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetBinIssuedDocumentResponse getBinIssuedDocumentResponse = (GetBinIssuedDocumentResponse) o; + return Objects.equals(this.data, getBinIssuedDocumentResponse.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetBinIssuedDocumentResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponse.java new file mode 100644 index 00000000..6c4af6d4 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponse.java @@ -0,0 +1,90 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.Objects; + +/** GetBinReceivedDocumentResponse */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class GetBinReceivedDocumentResponse implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private ReceivedDocument data; + + public GetBinReceivedDocumentResponse() {} + + public GetBinReceivedDocumentResponse data(ReceivedDocument data) { + + this.data = data; + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public ReceivedDocument getData() { + return data; + } + + public void setData(ReceivedDocument data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetBinReceivedDocumentResponse getBinReceivedDocumentResponse = + (GetBinReceivedDocumentResponse) o; + return Objects.equals(this.data, getBinReceivedDocumentResponse.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetBinReceivedDocumentResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/GetCashbookEntryResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetCashbookEntryResponse.java index 83dbf144..2f287cec 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetCashbookEntryResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetCashbookEntryResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetCashbookEntryResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetClientResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetClientResponse.java index 02c99813..591d1d71 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetClientResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetClientResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetClientResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetClientResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetCompanyInfoResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetCompanyInfoResponse.java index 9e52c0ff..206cf66d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetCompanyInfoResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetCompanyInfoResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetCompanyInfoResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetCompanyPlanUsageResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetCompanyPlanUsageResponse.java index 5533d67c..18120339 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetCompanyPlanUsageResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetCompanyPlanUsageResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetCompanyPlanUsageResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetEInvoiceRejectionReasonResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetEInvoiceRejectionReasonResponse.java index b850d23c..789882e8 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetEInvoiceRejectionReasonResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetEInvoiceRejectionReasonResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetEInvoiceRejectionReasonResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetEInvoiceRejectionReasonResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetEmailDataResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetEmailDataResponse.java index 29704eb6..fce4fa85 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetEmailDataResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetEmailDataResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetEmailDataResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetEmailDataResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponse.java new file mode 100644 index 00000000..0f652546 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponse.java @@ -0,0 +1,90 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.Objects; + +/** GetEntityClientPreCreateInfoResponse */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class GetEntityClientPreCreateInfoResponse implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private EntityClientPreCreateInfo data; + + public GetEntityClientPreCreateInfoResponse() {} + + public GetEntityClientPreCreateInfoResponse data(EntityClientPreCreateInfo data) { + + this.data = data; + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public EntityClientPreCreateInfo getData() { + return data; + } + + public void setData(EntityClientPreCreateInfo data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetEntityClientPreCreateInfoResponse getEntityClientPreCreateInfoResponse = + (GetEntityClientPreCreateInfoResponse) o; + return Objects.equals(this.data, getEntityClientPreCreateInfoResponse.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetEntityClientPreCreateInfoResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsRequest.java b/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsRequest.java index b7856e9b..1197c057 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetExistingIssuedDocumentTotalsRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetExistingIssuedDocumentTotalsRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsResponse.java index db541f77..079db4f9 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetExistingIssuedDocumentTotalsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetExistingIssuedDocumentTotalsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsRequest.java b/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsRequest.java index b25684b0..c2706291 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetExistingReceivedDocumentTotalsRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsResponse.java index de1daedb..8e975c39 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetExistingReceivedDocumentTotalsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetExistingReceivedDocumentTotalsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetF24Response.java b/src/main/java/it/fattureincloud/sdk/model/GetF24Response.java index becf638c..5233e966 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetF24Response.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetF24Response.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetF24Response */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetF24Response implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponse.java index 64bc78a2..edc1d4cb 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetIssuedDocumentPreCreateInfoResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetIssuedDocumentPreCreateInfoResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentResponse.java index 045abf99..26a50729 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetIssuedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetIssuedDocumentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetIssuedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsRequest.java b/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsRequest.java index 4cf7a9e8..8476cc08 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetNewIssuedDocumentTotalsRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetNewIssuedDocumentTotalsRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsResponse.java index 578a937d..29050aca 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetNewIssuedDocumentTotalsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetNewIssuedDocumentTotalsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsRequest.java b/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsRequest.java index 0fff9d7d..884d69bb 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetNewReceivedDocumentTotalsRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsResponse.java index 32f8b6e5..b6815b34 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetNewReceivedDocumentTotalsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetNewReceivedDocumentTotalsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetPaymentAccountResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetPaymentAccountResponse.java index 7fd56dff..36c2418f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetPaymentAccountResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetPaymentAccountResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** GetPaymentAccountResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetPaymentAccountResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetPaymentMethodResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetPaymentMethodResponse.java index ae93b392..917a0320 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetPaymentMethodResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetPaymentMethodResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetPaymentMethodResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetPaymentMethodResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetPriceListItemsResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetPriceListItemsResponse.java new file mode 100644 index 00000000..0c2438ae --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/GetPriceListItemsResponse.java @@ -0,0 +1,99 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** GetPriceListItemsResponse */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class GetPriceListItemsResponse implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private Map data = new HashMap<>(); + + public GetPriceListItemsResponse() {} + + public GetPriceListItemsResponse data(Map data) { + + this.data = data; + return this; + } + + public GetPriceListItemsResponse putDataItem(String key, PriceListItem dataItem) { + if (this.data == null) { + this.data = new HashMap<>(); + } + this.data.put(key, dataItem); + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public Map getData() { + return data; + } + + public void setData(Map data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetPriceListItemsResponse getPriceListItemsResponse = (GetPriceListItemsResponse) o; + return Objects.equals(this.data, getPriceListItemsResponse.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetPriceListItemsResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/GetProductResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetProductResponse.java index 81decce5..a63a1777 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetProductResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetProductResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetProductResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetProductResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetReceiptPreCreateInfoResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetReceiptPreCreateInfoResponse.java index a0401edb..2db8f18c 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetReceiptPreCreateInfoResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetReceiptPreCreateInfoResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetReceiptPreCreateInfoResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetReceiptResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetReceiptResponse.java index f8b5ef6f..2cde3d9f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetReceiptResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetReceiptResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetReceiptResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetReceiptsMonthlyTotalsResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetReceiptsMonthlyTotalsResponse.java index 26bc229c..bc8c8b6f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetReceiptsMonthlyTotalsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetReceiptsMonthlyTotalsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetReceiptsMonthlyTotalsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentPreCreateInfoResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentPreCreateInfoResponse.java index 3e6acb3e..831a0d5f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentPreCreateInfoResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentPreCreateInfoResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetReceivedDocumentPreCreateInfoResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentResponse.java index 279fc0c0..41c10a2f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetReceivedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetReceivedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetSupplierResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetSupplierResponse.java index d9c12ca5..b70d5243 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetSupplierResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetSupplierResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetSupplierResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetSupplierResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetTaxProfileResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetTaxProfileResponse.java index ec1e50f6..863fe776 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetTaxProfileResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetTaxProfileResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetTaxProfileResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetTaxProfileResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponse.java index 8a5df4bb..c7e254d1 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetUserInfoResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseEmailConfirmationState.java b/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseEmailConfirmationState.java index 8c099219..6f7350f0 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseEmailConfirmationState.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseEmailConfirmationState.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** GetUserInfoResponseEmailConfirmationState */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetUserInfoResponseEmailConfirmationState implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseInfo.java b/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseInfo.java index 4643b859..c5ccdd40 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetUserInfoResponseInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** GetUserInfoResponseInfo */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetUserInfoResponseInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetVatTypeResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetVatTypeResponse.java index 921a5640..aa890622 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetVatTypeResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetVatTypeResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** GetVatTypeResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetVatTypeResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/GetWebhooksSubscriptionResponse.java b/src/main/java/it/fattureincloud/sdk/model/GetWebhooksSubscriptionResponse.java index 1099c595..365f43d5 100644 --- a/src/main/java/it/fattureincloud/sdk/model/GetWebhooksSubscriptionResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/GetWebhooksSubscriptionResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** GetWebhooksSubscriptionResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class GetWebhooksSubscriptionResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java index 7569f408..84d4a624 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,8 +30,8 @@ /** IssuedDocument */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocument implements Serializable { private static final long serialVersionUID = 1L; @@ -528,6 +528,11 @@ public EiStatusEnum read(final JsonReader jsonReader) throws IOException { return EiStatusEnum.fromValue(value); } } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + EiStatusEnum.fromValue(value); + } } public static final String SERIALIZED_NAME_EI_STATUS = "ei_status"; @@ -535,6 +540,11 @@ public EiStatusEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_EI_STATUS) private EiStatusEnum eiStatus; + public static final String SERIALIZED_NAME_PRICE_LIST_ID = "price_list_id"; + + @SerializedName(SERIALIZED_NAME_PRICE_LIST_ID) + private String priceListId; + public static final String SERIALIZED_NAME_LOCKED = "locked"; @SerializedName(SERIALIZED_NAME_LOCKED) @@ -2152,6 +2162,26 @@ public void setEiStatus(EiStatusEnum eiStatus) { this.eiStatus = eiStatus; } + public IssuedDocument priceListId(String priceListId) { + + this.priceListId = priceListId; + return this; + } + + /** + * Price list id + * + * @return priceListId + */ + @javax.annotation.Nullable + public String getPriceListId() { + return priceListId; + } + + public void setPriceListId(String priceListId) { + this.priceListId = priceListId; + } + public IssuedDocument locked(Boolean locked) { this.locked = locked; @@ -2306,6 +2336,7 @@ public boolean equals(Object o) { && Objects.equals(this.attachmentToken, issuedDocument.attachmentToken) && Objects.equals(this.eiRaw, issuedDocument.eiRaw) && Objects.equals(this.eiStatus, issuedDocument.eiStatus) + && Objects.equals(this.priceListId, issuedDocument.priceListId) && Objects.equals(this.locked, issuedDocument.locked) && Objects.equals(this.createdAt, issuedDocument.createdAt) && Objects.equals(this.updatedAt, issuedDocument.updatedAt); @@ -2405,6 +2436,7 @@ public int hashCode() { attachmentToken, eiRaw, eiStatus, + priceListId, locked, createdAt, updatedAt); @@ -2535,6 +2567,7 @@ public String toString() { sb.append(" attachmentToken: ").append(toIndentedString(attachmentToken)).append("\n"); sb.append(" eiRaw: ").append(toIndentedString(eiRaw)).append("\n"); sb.append(" eiStatus: ").append(toIndentedString(eiStatus)).append("\n"); + sb.append(" priceListId: ").append(toIndentedString(priceListId)).append("\n"); sb.append(" locked: ").append(toIndentedString(locked)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentEiData.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentEiData.java index 909b9c5d..d0d63b4f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentEiData.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentEiData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** Issued document e-invoice data [Only if e_invoice=true] */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentEiData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentExtraData.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentExtraData.java index b343eedd..7f2055ea 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentExtraData.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentExtraData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -26,8 +26,8 @@ */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentExtraData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentItemsListItem.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentItemsListItem.java index 3adbf53f..99a40402 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentItemsListItem.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentItemsListItem.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** IssuedDocumentItemsListItem */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentItemsListItem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentOptions.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentOptions.java index 83b1408a..15b8e692 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentOptions.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentOptions.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** IssuedDocumentOptions */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentOptions implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItem.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItem.java index ae15e150..3a37a265 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItem.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItem.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** IssuedDocumentPaymentsListItem */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentPaymentsListItem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItemPaymentTerms.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItemPaymentTerms.java index 1353eb9b..b2499828 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItemPaymentTerms.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPaymentsListItemPaymentTerms.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** IssuedDocumentPaymentsListItemPaymentTerms */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentPaymentsListItemPaymentTerms implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfo.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfo.java index 3a3d027a..fc772ec3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,8 +25,8 @@ /** IssuedDocumentPreCreateInfo */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentPreCreateInfo implements Serializable { private static final long serialVersionUID = 1L; @@ -101,6 +101,11 @@ public class IssuedDocumentPreCreateInfo implements Serializable { @SerializedName(SERIALIZED_NAME_LANGUAGES_LIST) private List languagesList; + public static final String SERIALIZED_NAME_PRICE_LISTS = "price_lists"; + + @SerializedName(SERIALIZED_NAME_PRICE_LISTS) + private List priceLists = new ArrayList<>(); + public IssuedDocumentPreCreateInfo() {} public IssuedDocumentPreCreateInfo numerations(Map> numerations) { @@ -481,6 +486,34 @@ public void setLanguagesList(List languagesList) { this.languagesList = languagesList; } + public IssuedDocumentPreCreateInfo priceLists(List priceLists) { + + this.priceLists = priceLists; + return this; + } + + public IssuedDocumentPreCreateInfo addPriceListsItem(PriceList priceListsItem) { + if (this.priceLists == null) { + this.priceLists = new ArrayList<>(); + } + this.priceLists.add(priceListsItem); + return this; + } + + /** + * Price lists + * + * @return priceLists + */ + @javax.annotation.Nullable + public List getPriceLists() { + return priceLists; + } + + public void setPriceLists(List priceLists) { + this.priceLists = priceLists; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -504,7 +537,8 @@ public boolean equals(Object o) { && Objects.equals(this.paymentMethodsList, issuedDocumentPreCreateInfo.paymentMethodsList) && Objects.equals(this.paymentAccountsList, issuedDocumentPreCreateInfo.paymentAccountsList) && Objects.equals(this.vatTypesList, issuedDocumentPreCreateInfo.vatTypesList) - && Objects.equals(this.languagesList, issuedDocumentPreCreateInfo.languagesList); + && Objects.equals(this.languagesList, issuedDocumentPreCreateInfo.languagesList) + && Objects.equals(this.priceLists, issuedDocumentPreCreateInfo.priceLists); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -532,7 +566,8 @@ public int hashCode() { paymentMethodsList, paymentAccountsList, vatTypesList, - languagesList); + languagesList, + priceLists); } private static int hashCodeNullable(JsonNullable a) { @@ -564,6 +599,7 @@ public String toString() { .append("\n"); sb.append(" vatTypesList: ").append(toIndentedString(vatTypesList)).append("\n"); sb.append(" languagesList: ").append(toIndentedString(languagesList)).append("\n"); + sb.append(" priceLists: ").append(toIndentedString(priceLists)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoDefaultValues.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoDefaultValues.java index 2a02700d..9bad96c9 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoDefaultValues.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoDefaultValues.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** Issued document default values */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentPreCreateInfoDefaultValues implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.java index a0fe7ef7..d2c5c233 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Issued document extra data default values */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentPreCreateInfoExtraDataDefaultValues implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoItemsDefaultValues.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoItemsDefaultValues.java index 0e4fce61..592a37a1 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoItemsDefaultValues.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoItemsDefaultValues.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Issued document items default values */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentPreCreateInfoItemsDefaultValues implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentStatus.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentStatus.java index fca7e6cb..4055b598 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentStatus.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentStatus.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentTotals.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentTotals.java index 1e6d0b0e..28d425f7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentTotals.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentTotals.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** IssuedDocumentTotals */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class IssuedDocumentTotals implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentType.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentType.java index e9d8a8e5..35fd248a 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentType.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocumentType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/JoinIssuedDocumentsResponse.java b/src/main/java/it/fattureincloud/sdk/model/JoinIssuedDocumentsResponse.java index c5542b0e..17184d4c 100644 --- a/src/main/java/it/fattureincloud/sdk/model/JoinIssuedDocumentsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/JoinIssuedDocumentsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** JoinIssuedDocumentsResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class JoinIssuedDocumentsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/Language.java b/src/main/java/it/fattureincloud/sdk/model/Language.java index fd241c4d..eeb08c26 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Language.java +++ b/src/main/java/it/fattureincloud/sdk/model/Language.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Language */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Language implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListArchiveCategoriesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListArchiveCategoriesResponse.java index 9b220d28..5c81f752 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListArchiveCategoriesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListArchiveCategoriesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListArchiveCategoriesResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListArchiveCategoriesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponse.java index 5a11d120..272bb885 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListArchiveDocumentsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponsePage.java index f5141931..9828e3c3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListArchiveDocumentsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListArchiveDocumentsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListArchiveDocumentsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListBinIssuedDocuments.java b/src/main/java/it/fattureincloud/sdk/model/ListBinIssuedDocuments.java new file mode 100644 index 00000000..11e798fa --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/ListBinIssuedDocuments.java @@ -0,0 +1,99 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** ListBinIssuedDocuments */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class ListBinIssuedDocuments implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public ListBinIssuedDocuments() {} + + public ListBinIssuedDocuments data(List data) { + + this.data = data; + return this; + } + + public ListBinIssuedDocuments addDataItem(IssuedDocument dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListBinIssuedDocuments listBinIssuedDocuments = (ListBinIssuedDocuments) o; + return Objects.equals(this.data, listBinIssuedDocuments.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListBinIssuedDocuments {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/ListBinReceivedDocuments.java b/src/main/java/it/fattureincloud/sdk/model/ListBinReceivedDocuments.java new file mode 100644 index 00000000..8f0cf900 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/ListBinReceivedDocuments.java @@ -0,0 +1,99 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** ListBinReceivedDocuments */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class ListBinReceivedDocuments implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public ListBinReceivedDocuments() {} + + public ListBinReceivedDocuments data(List data) { + + this.data = data; + return this; + } + + public ListBinReceivedDocuments addDataItem(ReceivedDocument dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListBinReceivedDocuments listBinReceivedDocuments = (ListBinReceivedDocuments) o; + return Objects.equals(this.data, listBinReceivedDocuments.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListBinReceivedDocuments {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/ListCashbookEntriesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListCashbookEntriesResponse.java index 4b8c964e..501a06b6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListCashbookEntriesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListCashbookEntriesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListCashbookEntriesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListCitiesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListCitiesResponse.java index 8e2ad474..28e6f29e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListCitiesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListCitiesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListCitiesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListClientsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListClientsResponse.java index bcf64338..aec52418 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListClientsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListClientsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** ListClientsResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListClientsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListClientsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListClientsResponsePage.java index cb1102b5..f0688446 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListClientsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListClientsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListClientsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListClientsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListCostCentersResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListCostCentersResponse.java index 7fe64684..e06110bf 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListCostCentersResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListCostCentersResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListCostCentersResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListCostCentersResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListCountriesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListCountriesResponse.java index 6068ff58..99ff401e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListCountriesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListCountriesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListCountriesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListCurrenciesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListCurrenciesResponse.java index 8307b6c9..0e45cba0 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListCurrenciesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListCurrenciesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListCurrenciesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListDeliveryNotesDefaultCausalsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListDeliveryNotesDefaultCausalsResponse.java index 47f56494..db3d154f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListDeliveryNotesDefaultCausalsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListDeliveryNotesDefaultCausalsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListDeliveryNotesDefaultCausalsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListDetailedCountriesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListDetailedCountriesResponse.java index 442015d8..c61b5cd0 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListDetailedCountriesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListDetailedCountriesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ListDetailedCountriesResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListDetailedCountriesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponse.java index 3c315dbe..f15ebcaa 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** ListEmailsResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListEmailsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponsePage.java index 6b9ba72d..db418720 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListEmailsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ListEmailsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListEmailsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListF24Response.java b/src/main/java/it/fattureincloud/sdk/model/ListF24Response.java index 53e1320e..e89da6e8 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListF24Response.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListF24Response.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListF24Response implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregatedData.java b/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregatedData.java index 9057fff3..1fffdd43 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregatedData.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregatedData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** ListF24ResponseAggregatedData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListF24ResponseAggregatedData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregation.java b/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregation.java index 49a2f613..6f415881 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregation.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListF24ResponseAggregation.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ListF24ResponseAggregation */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListF24ResponseAggregation implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListF24ResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListF24ResponsePage.java index 28718d34..25fdc2df 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListF24ResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListF24ResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListF24ResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListF24ResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponse.java index 33adbf0c..000684e3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** ListIssuedDocumentsResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListIssuedDocumentsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponsePage.java index c29c1dd5..e8acba94 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListIssuedDocumentsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListIssuedDocumentsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListIssuedDocumentsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListLanguagesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListLanguagesResponse.java index dfc36ec6..f476d63a 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListLanguagesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListLanguagesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListLanguagesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListPaymentAccountsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListPaymentAccountsResponse.java index efa7f2ab..ded424a1 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListPaymentAccountsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListPaymentAccountsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListPaymentAccountsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListPaymentMethodsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListPaymentMethodsResponse.java index 8335593e..70540bd9 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListPaymentMethodsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListPaymentMethodsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListPaymentMethodsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListPriceListsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListPriceListsResponse.java new file mode 100644 index 00000000..853f0cff --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/ListPriceListsResponse.java @@ -0,0 +1,99 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** ListPriceListsResponse */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class ListPriceListsResponse implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public ListPriceListsResponse() {} + + public ListPriceListsResponse data(List data) { + + this.data = data; + return this; + } + + public ListPriceListsResponse addDataItem(PriceList dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListPriceListsResponse listPriceListsResponse = (ListPriceListsResponse) o; + return Objects.equals(this.data, listPriceListsResponse.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListPriceListsResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/ListProductCategoriesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListProductCategoriesResponse.java index 0b199af8..caaf6f6b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListProductCategoriesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListProductCategoriesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListProductCategoriesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListProductsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListProductsResponse.java index c9b490af..3227a9ec 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListProductsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListProductsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** ListProductsResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListProductsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListProductsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListProductsResponsePage.java index f398c932..4ac22376 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListProductsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListProductsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListProductsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListProductsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponse.java index 50bab469..0c0baa64 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListReceiptsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponsePage.java index 2578f578..8ed4f7c8 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListReceiptsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListReceiptsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListReceiptsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentCategoriesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentCategoriesResponse.java index b25ae018..3cd1ffbd 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentCategoriesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentCategoriesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListReceivedDocumentCategoriesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponse.java index aef6c033..79bcf0ca 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListReceivedDocumentsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponsePage.java index 9db99aba..04540c4e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListReceivedDocumentsResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListReceivedDocumentsResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListReceivedDocumentsResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListRevenueCentersResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListRevenueCentersResponse.java index b1573524..ae6836bf 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListRevenueCentersResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListRevenueCentersResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListRevenueCentersResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponse.java index 8ed971cb..21f4318c 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,8 +24,8 @@ /** ListSuppliersResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListSuppliersResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponsePage.java b/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponsePage.java index aac755a4..ac56f0b5 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponsePage.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListSuppliersResponsePage.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListSuppliersResponsePage */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListSuppliersResponsePage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListTemplatesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListTemplatesResponse.java index 77190cd6..f1fc0a3a 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListTemplatesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListTemplatesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListTemplatesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListUnitsOfMeasureResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListUnitsOfMeasureResponse.java index 02d327db..aeaeb6b9 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListUnitsOfMeasureResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListUnitsOfMeasureResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListUnitsOfMeasureResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponse.java index 01cc6743..88476949 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListUserCompaniesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponseData.java b/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponseData.java index 439312cf..207293e7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponseData.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListUserCompaniesResponseData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ListUserCompaniesResponseData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListUserCompaniesResponseData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListVatTypesResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListVatTypesResponse.java index f1788e55..dcb6e86c 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListVatTypesResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListVatTypesResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListVatTypesResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ListWebhooksSubscriptionsResponse.java b/src/main/java/it/fattureincloud/sdk/model/ListWebhooksSubscriptionsResponse.java index cc952c8a..9173c0fa 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ListWebhooksSubscriptionsResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ListWebhooksSubscriptionsResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ListWebhooksSubscriptionsResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ListWebhooksSubscriptionsResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentRequest.java index bd2e49cd..49a3eb80 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyArchiveDocumentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentResponse.java index 361ab799..60a17003 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyArchiveDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyArchiveDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryRequest.java index 73461b0e..4b196c30 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyCashbookEntryRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryResponse.java index db9d430d..90859e2a 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyCashbookEntryResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyCashbookEntryResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyClientRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyClientRequest.java index 5a7b09f3..0215ae46 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyClientRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyClientRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyClientRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyClientResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyClientResponse.java index 556e67fb..88efb2ba 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyClientResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyClientResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyClientResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyClientResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyF24Request.java b/src/main/java/it/fattureincloud/sdk/model/ModifyF24Request.java index cf0a6170..7830f8bd 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyF24Request.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyF24Request.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyF24Request implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyF24Response.java b/src/main/java/it/fattureincloud/sdk/model/ModifyF24Response.java index 314bbe9c..3bd5c1d0 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyF24Response.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyF24Response.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyF24Response implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentRequest.java index 949e8d79..cef5a3bd 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyIssuedDocumentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentResponse.java index 95f078cd..eea08c6f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyIssuedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyIssuedDocumentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyIssuedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountRequest.java index 5c246789..fe6e3a7f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ModifyPaymentAccountRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyPaymentAccountRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountResponse.java index 224644ef..fb80c0f2 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentAccountResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ModifyPaymentAccountResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyPaymentAccountResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodRequest.java index b0b893a1..0d19cb6b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyPaymentMethodRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyPaymentMethodRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodResponse.java index 06eaf8c6..bfc186b6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyPaymentMethodResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyPaymentMethodResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyPaymentMethodResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyProductRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyProductRequest.java index 4241a475..185e9d7d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyProductRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyProductRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyProductRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyProductRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyProductResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyProductResponse.java index 04ec47af..34de6a52 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyProductResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyProductResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyProductResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyProductResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptRequest.java index 6679208a..b9fff34b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyReceiptRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptResponse.java index 2731108a..c395365a 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyReceiptResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyReceiptResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentRequest.java index 316d90bc..b3bff64d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyReceivedDocumentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentResponse.java index c60edb2d..63c96443 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyReceivedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyReceivedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifySupplierRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifySupplierRequest.java index 9be19ba0..e038a8fe 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifySupplierRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifySupplierRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifySupplierRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifySupplierRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifySupplierResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifySupplierResponse.java index 7ec423f2..d6c6d24e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifySupplierResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifySupplierResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifySupplierResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifySupplierResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeRequest.java index cec3a948..1e25ff7e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ModifyVatTypeRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyVatTypeRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeResponse.java index cd015605..ccfe2a3d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyVatTypeResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ModifyVatTypeResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyVatTypeResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionRequest.java b/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionRequest.java index ddbbe1ef..d4300fa7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** ModifyWebhooksSubscriptionRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyWebhooksSubscriptionRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionResponse.java b/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionResponse.java index 98752956..3a7b61d1 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/ModifyWebhooksSubscriptionResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ModifyWebhooksSubscriptionResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ModifyWebhooksSubscriptionResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/MonthlyTotal.java b/src/main/java/it/fattureincloud/sdk/model/MonthlyTotal.java index 85825ef6..f7ed2136 100644 --- a/src/main/java/it/fattureincloud/sdk/model/MonthlyTotal.java +++ b/src/main/java/it/fattureincloud/sdk/model/MonthlyTotal.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** MonthlyTotal */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class MonthlyTotal implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/OriginalDocumentType.java b/src/main/java/it/fattureincloud/sdk/model/OriginalDocumentType.java index 12fd70ad..bdfddaa1 100644 --- a/src/main/java/it/fattureincloud/sdk/model/OriginalDocumentType.java +++ b/src/main/java/it/fattureincloud/sdk/model/OriginalDocumentType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/Pagination.java b/src/main/java/it/fattureincloud/sdk/model/Pagination.java index 582f7ab2..399398be 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Pagination.java +++ b/src/main/java/it/fattureincloud/sdk/model/Pagination.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Pagination implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/PaymentAccount.java b/src/main/java/it/fattureincloud/sdk/model/PaymentAccount.java index 503bf097..51493ef8 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PaymentAccount.java +++ b/src/main/java/it/fattureincloud/sdk/model/PaymentAccount.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** PaymentAccount */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class PaymentAccount implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/PaymentAccountType.java b/src/main/java/it/fattureincloud/sdk/model/PaymentAccountType.java index ed7d4372..1b8c07e3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PaymentAccountType.java +++ b/src/main/java/it/fattureincloud/sdk/model/PaymentAccountType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/PaymentMethod.java b/src/main/java/it/fattureincloud/sdk/model/PaymentMethod.java index 51d8bf10..9ce8caef 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PaymentMethod.java +++ b/src/main/java/it/fattureincloud/sdk/model/PaymentMethod.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,11 +20,11 @@ import java.util.Objects; import org.openapitools.jackson.nullable.JsonNullable; -/** PaymentMethod */ +/** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class PaymentMethod implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/PaymentMethodDetails.java b/src/main/java/it/fattureincloud/sdk/model/PaymentMethodDetails.java index 8257f769..72dc59bf 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PaymentMethodDetails.java +++ b/src/main/java/it/fattureincloud/sdk/model/PaymentMethodDetails.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** PaymentMethodDetails */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class PaymentMethodDetails implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/PaymentMethodType.java b/src/main/java/it/fattureincloud/sdk/model/PaymentMethodType.java index 900b2e50..e2d3c046 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PaymentMethodType.java +++ b/src/main/java/it/fattureincloud/sdk/model/PaymentMethodType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/PaymentTermsType.java b/src/main/java/it/fattureincloud/sdk/model/PaymentTermsType.java index 4e23958e..0a0564cd 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PaymentTermsType.java +++ b/src/main/java/it/fattureincloud/sdk/model/PaymentTermsType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/PermissionLevel.java b/src/main/java/it/fattureincloud/sdk/model/PermissionLevel.java index e1fe05d1..a5a7d520 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PermissionLevel.java +++ b/src/main/java/it/fattureincloud/sdk/model/PermissionLevel.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/Permissions.java b/src/main/java/it/fattureincloud/sdk/model/Permissions.java index 2b574c0e..c395ef4e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Permissions.java +++ b/src/main/java/it/fattureincloud/sdk/model/Permissions.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Permissions implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/PermissionsFicIssuedDocumentsDetailed.java b/src/main/java/it/fattureincloud/sdk/model/PermissionsFicIssuedDocumentsDetailed.java index be49e530..1fe00682 100644 --- a/src/main/java/it/fattureincloud/sdk/model/PermissionsFicIssuedDocumentsDetailed.java +++ b/src/main/java/it/fattureincloud/sdk/model/PermissionsFicIssuedDocumentsDetailed.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** PermissionsFicIssuedDocumentsDetailed */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class PermissionsFicIssuedDocumentsDetailed implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/PriceList.java b/src/main/java/it/fattureincloud/sdk/model/PriceList.java new file mode 100644 index 00000000..935dddcb --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/PriceList.java @@ -0,0 +1,269 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.Arrays; +import java.util.Objects; +import org.openapitools.jackson.nullable.JsonNullable; + +/** PriceList */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class PriceList implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_ID = "id"; + + @SerializedName(SERIALIZED_NAME_ID) + private String id; + + public static final String SERIALIZED_NAME_NAME = "name"; + + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_PRICES_TYPE = "prices_type"; + + @SerializedName(SERIALIZED_NAME_PRICES_TYPE) + private PriceListPricesType pricesType; + + public static final String SERIALIZED_NAME_IS_DEFAULT = "is_default"; + + @SerializedName(SERIALIZED_NAME_IS_DEFAULT) + private Boolean isDefault; + + public static final String SERIALIZED_NAME_VALID_FROM = "valid_from"; + + @SerializedName(SERIALIZED_NAME_VALID_FROM) + private String validFrom; + + public static final String SERIALIZED_NAME_VALID_TO = "valid_to"; + + @SerializedName(SERIALIZED_NAME_VALID_TO) + private String validTo; + + public static final String SERIALIZED_NAME_TYPE = "type"; + + @SerializedName(SERIALIZED_NAME_TYPE) + private PriceListType type; + + public PriceList() {} + + public PriceList id(String id) { + + this.id = id; + return this; + } + + /** + * Price list id + * + * @return id + */ + @javax.annotation.Nullable + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public PriceList name(String name) { + + this.name = name; + return this; + } + + /** + * Price list name + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public PriceList pricesType(PriceListPricesType pricesType) { + + this.pricesType = pricesType; + return this; + } + + /** + * Get pricesType + * + * @return pricesType + */ + @javax.annotation.Nullable + public PriceListPricesType getPricesType() { + return pricesType; + } + + public void setPricesType(PriceListPricesType pricesType) { + this.pricesType = pricesType; + } + + public PriceList isDefault(Boolean isDefault) { + + this.isDefault = isDefault; + return this; + } + + /** + * This entity is default + * + * @return isDefault + */ + @javax.annotation.Nullable + public Boolean getIsDefault() { + return isDefault; + } + + public void setIsDefault(Boolean isDefault) { + this.isDefault = isDefault; + } + + public PriceList validFrom(String validFrom) { + + this.validFrom = validFrom; + return this; + } + + /** + * Price list validity start date + * + * @return validFrom + */ + @javax.annotation.Nullable + public String getValidFrom() { + return validFrom; + } + + public void setValidFrom(String validFrom) { + this.validFrom = validFrom; + } + + public PriceList validTo(String validTo) { + + this.validTo = validTo; + return this; + } + + /** + * Price list validity end date + * + * @return validTo + */ + @javax.annotation.Nullable + public String getValidTo() { + return validTo; + } + + public void setValidTo(String validTo) { + this.validTo = validTo; + } + + public PriceList type(PriceListType type) { + + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + @javax.annotation.Nullable + public PriceListType getType() { + return type; + } + + public void setType(PriceListType type) { + this.type = type; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PriceList priceList = (PriceList) o; + return Objects.equals(this.id, priceList.id) + && Objects.equals(this.name, priceList.name) + && Objects.equals(this.pricesType, priceList.pricesType) + && Objects.equals(this.isDefault, priceList.isDefault) + && Objects.equals(this.validFrom, priceList.validFrom) + && Objects.equals(this.validTo, priceList.validTo) + && Objects.equals(this.type, priceList.type); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b + || (a != null + && b != null + && a.isPresent() + && b.isPresent() + && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, pricesType, isDefault, validFrom, validTo, type); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[] {a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PriceList {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" pricesType: ").append(toIndentedString(pricesType)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" validFrom: ").append(toIndentedString(validFrom)).append("\n"); + sb.append(" validTo: ").append(toIndentedString(validTo)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/PriceListItem.java b/src/main/java/it/fattureincloud/sdk/model/PriceListItem.java new file mode 100644 index 00000000..58fdd22d --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/PriceListItem.java @@ -0,0 +1,90 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Objects; + +/** PriceListItem */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class PriceListItem implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_PRICE = "price"; + + @SerializedName(SERIALIZED_NAME_PRICE) + private BigDecimal price; + + public PriceListItem() {} + + public PriceListItem price(BigDecimal price) { + + this.price = price; + return this; + } + + /** + * Get price + * + * @return price + */ + @javax.annotation.Nullable + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PriceListItem priceListItem = (PriceListItem) o; + return Objects.equals(this.price, priceListItem.price); + } + + @Override + public int hashCode() { + return Objects.hash(price); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PriceListItem {\n"); + sb.append(" price: ").append(toIndentedString(price)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/PriceListPricesType.java b/src/main/java/it/fattureincloud/sdk/model/PriceListPricesType.java new file mode 100644 index 00000000..d3f98b10 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/PriceListPricesType.java @@ -0,0 +1,72 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + + +import com.google.gson.JsonElement; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +/** Price list prices type */ +@JsonAdapter(PriceListPricesType.Adapter.class) +public enum PriceListPricesType { + NET("net"), + + GROSS("gross"); + + private String value; + + PriceListPricesType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PriceListPricesType fromValue(String value) { + for (PriceListPricesType b : PriceListPricesType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PriceListPricesType enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PriceListPricesType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PriceListPricesType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + PriceListPricesType.fromValue(value); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/PriceListType.java b/src/main/java/it/fattureincloud/sdk/model/PriceListType.java new file mode 100644 index 00000000..82287a41 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/PriceListType.java @@ -0,0 +1,72 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + + +import com.google.gson.JsonElement; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +/** Price list types */ +@JsonAdapter(PriceListType.Adapter.class) +public enum PriceListType { + SELL("sell"), + + PURCHASE("purchase"); + + private String value; + + PriceListType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PriceListType fromValue(String value) { + for (PriceListType b : PriceListType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PriceListType enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PriceListType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PriceListType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + PriceListType.fromValue(value); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/Product.java b/src/main/java/it/fattureincloud/sdk/model/Product.java index c82f45a7..a98bd572 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Product.java +++ b/src/main/java/it/fattureincloud/sdk/model/Product.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** Product */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Product implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/Receipt.java b/src/main/java/it/fattureincloud/sdk/model/Receipt.java index df769bc9..328121ac 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Receipt.java +++ b/src/main/java/it/fattureincloud/sdk/model/Receipt.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,8 +25,8 @@ /** Receipt */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Receipt implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceiptItemsListItem.java b/src/main/java/it/fattureincloud/sdk/model/ReceiptItemsListItem.java index ed2617f2..8a3db1b7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceiptItemsListItem.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceiptItemsListItem.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** ReceiptItemsListItem */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceiptItemsListItem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceiptPreCreateInfo.java b/src/main/java/it/fattureincloud/sdk/model/ReceiptPreCreateInfo.java index 1673be88..24aa5d32 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceiptPreCreateInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceiptPreCreateInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,8 +25,8 @@ /** ReceiptPreCreateInfo */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceiptPreCreateInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceiptType.java b/src/main/java/it/fattureincloud/sdk/model/ReceiptType.java index 693372eb..73e6a782 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceiptType.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceiptType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocument.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocument.java index 92508ec5..b8c9a143 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocument.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocument.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,8 +25,8 @@ /** ReceivedDocument */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocument implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfo.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfo.java index df0d4498..78c6dfe9 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfo.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfo.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ReceivedDocumentInfo */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoDefaultValues.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoDefaultValues.java index aad3d69b..83bb8b13 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoDefaultValues.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoDefaultValues.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Received document default values */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentInfoDefaultValues implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoItemsDefaultValues.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoItemsDefaultValues.java index 285098c1..f9ab55bd 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoItemsDefaultValues.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentInfoItemsDefaultValues.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** Received document items default values */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentInfoItemsDefaultValues implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentItemsListItem.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentItemsListItem.java index 8015e8e8..5212f201 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentItemsListItem.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentItemsListItem.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** ReceivedDocumentItemsListItem */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentItemsListItem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItem.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItem.java index 92e303cd..7bdb926e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItem.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItem.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** ReceivedDocumentPaymentsListItem */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentPaymentsListItem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItemPaymentTerms.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItemPaymentTerms.java index ef76c631..61da5437 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItemPaymentTerms.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentPaymentsListItemPaymentTerms.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** ReceivedDocumentPaymentsListItemPaymentTerms */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentPaymentsListItemPaymentTerms implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentTotals.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentTotals.java index 99f1b677..272fa3c6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentTotals.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentTotals.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** ReceivedDocumentTotals */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ReceivedDocumentTotals implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentType.java b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentType.java index 9ba024a1..30b25c2a 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentType.java +++ b/src/main/java/it/fattureincloud/sdk/model/ReceivedDocumentType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/ScheduleEmailRequest.java b/src/main/java/it/fattureincloud/sdk/model/ScheduleEmailRequest.java index e08ef1d5..63707dc6 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ScheduleEmailRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/ScheduleEmailRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class ScheduleEmailRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequest.java b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequest.java index 86d8f805..ca36aee3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequest.java +++ b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequest.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** SendEInvoiceRequest */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class SendEInvoiceRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestData.java b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestData.java index 0f61e347..4be6e0de 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestData.java +++ b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** SendEInvoiceRequestData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class SendEInvoiceRequestData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestOptions.java b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestOptions.java index db780444..b3cd63be 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestOptions.java +++ b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceRequestOptions.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** SendEInvoiceRequestOptions */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class SendEInvoiceRequestOptions implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponse.java b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponse.java index 6861de65..4942bfea 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** SendEInvoiceResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class SendEInvoiceResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponseData.java b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponseData.java index 74c2540e..f5b6eb33 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponseData.java +++ b/src/main/java/it/fattureincloud/sdk/model/SendEInvoiceResponseData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** SendEInvoiceResponseData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class SendEInvoiceResponseData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SenderEmail.java b/src/main/java/it/fattureincloud/sdk/model/SenderEmail.java index bb79a699..e070bb1d 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SenderEmail.java +++ b/src/main/java/it/fattureincloud/sdk/model/SenderEmail.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** SenderEmail */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class SenderEmail implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/ShowTotalsMode.java b/src/main/java/it/fattureincloud/sdk/model/ShowTotalsMode.java index 15da37eb..eebe0648 100644 --- a/src/main/java/it/fattureincloud/sdk/model/ShowTotalsMode.java +++ b/src/main/java/it/fattureincloud/sdk/model/ShowTotalsMode.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/Supplier.java b/src/main/java/it/fattureincloud/sdk/model/Supplier.java index 57a78ee3..b2619f1b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/Supplier.java +++ b/src/main/java/it/fattureincloud/sdk/model/Supplier.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** Supplier */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class Supplier implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/SupplierType.java b/src/main/java/it/fattureincloud/sdk/model/SupplierType.java index 2718cfd5..ab6ede55 100644 --- a/src/main/java/it/fattureincloud/sdk/model/SupplierType.java +++ b/src/main/java/it/fattureincloud/sdk/model/SupplierType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/TaxProfile.java b/src/main/java/it/fattureincloud/sdk/model/TaxProfile.java index 1e977e15..e3da7ca0 100644 --- a/src/main/java/it/fattureincloud/sdk/model/TaxProfile.java +++ b/src/main/java/it/fattureincloud/sdk/model/TaxProfile.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** TaxProfile */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class TaxProfile implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/TransformIssuedDocumentResponse.java b/src/main/java/it/fattureincloud/sdk/model/TransformIssuedDocumentResponse.java index e2d4122b..a4983b76 100644 --- a/src/main/java/it/fattureincloud/sdk/model/TransformIssuedDocumentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/TransformIssuedDocumentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** TransformIssuedDocumentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class TransformIssuedDocumentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/UploadArchiveAttachmentResponse.java b/src/main/java/it/fattureincloud/sdk/model/UploadArchiveAttachmentResponse.java index 36d04a1c..9e43508e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/UploadArchiveAttachmentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/UploadArchiveAttachmentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** UploadArchiveAttachmentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class UploadArchiveAttachmentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/UploadF24AttachmentResponse.java b/src/main/java/it/fattureincloud/sdk/model/UploadF24AttachmentResponse.java index 45723c6e..a884b338 100644 --- a/src/main/java/it/fattureincloud/sdk/model/UploadF24AttachmentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/UploadF24AttachmentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** UploadF24AttachmentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class UploadF24AttachmentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/UploadIssuedDocumentAttachmentResponse.java b/src/main/java/it/fattureincloud/sdk/model/UploadIssuedDocumentAttachmentResponse.java index 4999cc41..396a79d7 100644 --- a/src/main/java/it/fattureincloud/sdk/model/UploadIssuedDocumentAttachmentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/UploadIssuedDocumentAttachmentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** UploadIssuedDocumentAttachmentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class UploadIssuedDocumentAttachmentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/UploadReceivedDocumentAttachmentResponse.java b/src/main/java/it/fattureincloud/sdk/model/UploadReceivedDocumentAttachmentResponse.java index 451ba1ae..5e739e5b 100644 --- a/src/main/java/it/fattureincloud/sdk/model/UploadReceivedDocumentAttachmentResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/UploadReceivedDocumentAttachmentResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** UploadReceivedDocumentAttachmentResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class UploadReceivedDocumentAttachmentResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/User.java b/src/main/java/it/fattureincloud/sdk/model/User.java index b3b2e1e8..5fa68f92 100644 --- a/src/main/java/it/fattureincloud/sdk/model/User.java +++ b/src/main/java/it/fattureincloud/sdk/model/User.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** User */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class User implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/UserCompanyRole.java b/src/main/java/it/fattureincloud/sdk/model/UserCompanyRole.java index 434c2458..4dd8ec25 100644 --- a/src/main/java/it/fattureincloud/sdk/model/UserCompanyRole.java +++ b/src/main/java/it/fattureincloud/sdk/model/UserCompanyRole.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/VatItem.java b/src/main/java/it/fattureincloud/sdk/model/VatItem.java index 988c4c7e..28cdeab4 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VatItem.java +++ b/src/main/java/it/fattureincloud/sdk/model/VatItem.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** VatItem */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VatItem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VatKind.java b/src/main/java/it/fattureincloud/sdk/model/VatKind.java index 578c3ee5..ef8e670e 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VatKind.java +++ b/src/main/java/it/fattureincloud/sdk/model/VatKind.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/VatType.java b/src/main/java/it/fattureincloud/sdk/model/VatType.java index f162c2b0..bee8a8e3 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VatType.java +++ b/src/main/java/it/fattureincloud/sdk/model/VatType.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,8 +22,8 @@ /** VatType */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VatType implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponse.java b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponse.java index 35825cf5..c42e7d5f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** VerifyEInvoiceXmlErrorResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VerifyEInvoiceXmlErrorResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseError.java b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseError.java index 0e2182b9..2d8e7566 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseError.java +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseError.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** VerifyEInvoiceXmlErrorResponseError */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VerifyEInvoiceXmlErrorResponseError implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.java b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.java index f3ecf628..fc07b693 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.java +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseErrorValidationResult.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** VerifyEInvoiceXmlErrorResponseErrorValidationResult */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VerifyEInvoiceXmlErrorResponseErrorValidationResult implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseExtra.java b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseExtra.java index d6abe171..a6d017f1 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseExtra.java +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlErrorResponseExtra.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** VerifyEInvoiceXmlErrorResponseExtra */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VerifyEInvoiceXmlErrorResponseExtra implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponse.java b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponse.java index cd02a8f4..ebef7b28 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponse.java +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponse.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** VerifyEInvoiceXmlResponse */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VerifyEInvoiceXmlResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponseData.java b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponseData.java index fcb176ae..fcd8f701 100644 --- a/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponseData.java +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyEInvoiceXmlResponseData.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ /** VerifyEInvoiceXmlResponseData */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class VerifyEInvoiceXmlResponseData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscription.java b/src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscription.java new file mode 100644 index 00000000..c6c3e6e6 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscription.java @@ -0,0 +1,135 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.Arrays; +import java.util.Objects; +import org.openapitools.jackson.nullable.JsonNullable; + +/** VerifyWebhooksSubscription */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class VerifyWebhooksSubscription implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_ID = "id"; + + @SerializedName(SERIALIZED_NAME_ID) + private String id; + + public static final String SERIALIZED_NAME_VERIFICATION_METHOD = "verification_method"; + + @SerializedName(SERIALIZED_NAME_VERIFICATION_METHOD) + private WebhooksSubscriptionVerificationMethod verificationMethod; + + public VerifyWebhooksSubscription() {} + + public VerifyWebhooksSubscription id(String id) { + + this.id = id; + return this; + } + + /** + * Webhooks subscription id + * + * @return id + */ + @javax.annotation.Nullable + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public VerifyWebhooksSubscription verificationMethod( + WebhooksSubscriptionVerificationMethod verificationMethod) { + + this.verificationMethod = verificationMethod; + return this; + } + + /** + * Get verificationMethod + * + * @return verificationMethod + */ + @javax.annotation.Nullable + public WebhooksSubscriptionVerificationMethod getVerificationMethod() { + return verificationMethod; + } + + public void setVerificationMethod(WebhooksSubscriptionVerificationMethod verificationMethod) { + this.verificationMethod = verificationMethod; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VerifyWebhooksSubscription verifyWebhooksSubscription = (VerifyWebhooksSubscription) o; + return Objects.equals(this.id, verifyWebhooksSubscription.id) + && Objects.equals(this.verificationMethod, verifyWebhooksSubscription.verificationMethod); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b + || (a != null + && b != null + && a.isPresent() + && b.isPresent() + && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, verificationMethod); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[] {a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VerifyWebhooksSubscription {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" verificationMethod: ").append(toIndentedString(verificationMethod)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequest.java b/src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequest.java new file mode 100644 index 00000000..4b3fa428 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequest.java @@ -0,0 +1,90 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import java.io.Serializable; +import java.util.Objects; + +/** VerifyWebhooksSubscriptionRequest */ +@javax.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") +public class VerifyWebhooksSubscriptionRequest implements Serializable { + private static final long serialVersionUID = 1L; + + public static final String SERIALIZED_NAME_DATA = "data"; + + @SerializedName(SERIALIZED_NAME_DATA) + private VerifyWebhooksSubscription data; + + public VerifyWebhooksSubscriptionRequest() {} + + public VerifyWebhooksSubscriptionRequest data(VerifyWebhooksSubscription data) { + + this.data = data; + return this; + } + + /** + * Get data + * + * @return data + */ + @javax.annotation.Nullable + public VerifyWebhooksSubscription getData() { + return data; + } + + public void setData(VerifyWebhooksSubscription data) { + this.data = data; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VerifyWebhooksSubscriptionRequest verifyWebhooksSubscriptionRequest = + (VerifyWebhooksSubscriptionRequest) o; + return Objects.equals(this.data, verifyWebhooksSubscriptionRequest.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VerifyWebhooksSubscriptionRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscription.java b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscription.java index 0b061628..45969489 100644 --- a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscription.java +++ b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscription.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,8 @@ /** WebhooksSubscription */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class WebhooksSubscription implements Serializable { private static final long serialVersionUID = 1L; @@ -53,6 +53,11 @@ public class WebhooksSubscription implements Serializable { @SerializedName(SERIALIZED_NAME_CONFIG) private WebhooksSubscriptionConfig config; + public static final String SERIALIZED_NAME_VERIFICATION_METHOD = "verification_method"; + + @SerializedName(SERIALIZED_NAME_VERIFICATION_METHOD) + private WebhooksSubscriptionVerificationMethod verificationMethod; + public WebhooksSubscription() {} public WebhooksSubscription id(String id) { @@ -163,6 +168,27 @@ public void setConfig(WebhooksSubscriptionConfig config) { this.config = config; } + public WebhooksSubscription verificationMethod( + WebhooksSubscriptionVerificationMethod verificationMethod) { + + this.verificationMethod = verificationMethod; + return this; + } + + /** + * Get verificationMethod + * + * @return verificationMethod + */ + @javax.annotation.Nullable + public WebhooksSubscriptionVerificationMethod getVerificationMethod() { + return verificationMethod; + } + + public void setVerificationMethod(WebhooksSubscriptionVerificationMethod verificationMethod) { + this.verificationMethod = verificationMethod; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -176,7 +202,8 @@ public boolean equals(Object o) { && Objects.equals(this.sink, webhooksSubscription.sink) && Objects.equals(this.verified, webhooksSubscription.verified) && Objects.equals(this.types, webhooksSubscription.types) - && Objects.equals(this.config, webhooksSubscription.config); + && Objects.equals(this.config, webhooksSubscription.config) + && Objects.equals(this.verificationMethod, webhooksSubscription.verificationMethod); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -190,7 +217,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(id, sink, verified, types, config); + return Objects.hash(id, sink, verified, types, config, verificationMethod); } private static int hashCodeNullable(JsonNullable a) { @@ -209,6 +236,7 @@ public String toString() { sb.append(" verified: ").append(toIndentedString(verified)).append("\n"); sb.append(" types: ").append(toIndentedString(types)).append("\n"); sb.append(" config: ").append(toIndentedString(config)).append("\n"); + sb.append(" verificationMethod: ").append(toIndentedString(verificationMethod)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionConfig.java b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionConfig.java index df84544f..48ef353f 100644 --- a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionConfig.java +++ b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionConfig.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,8 +19,8 @@ /** WebhooksSubscriptionConfig */ @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2024-10-30T09:09:50.123536Z[Etc/UTC]", - comments = "Generator version: 7.9.0") + date = "2025-03-06T15:40:46.627547Z[Etc/UTC]", + comments = "Generator version: 7.12.0") public class WebhooksSubscriptionConfig implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionMapping.java b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionMapping.java index 2b7f0482..95b01ae8 100644 --- a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionMapping.java +++ b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionMapping.java @@ -2,7 +2,7 @@ * Fatture in Cloud API v2 - API Reference * 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.3 + * The version of the OpenAPI document: 2.1.5 * Contact: info@fattureincloud.it * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethod.java b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethod.java new file mode 100644 index 00000000..b26ef784 --- /dev/null +++ b/src/main/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethod.java @@ -0,0 +1,75 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package it.fattureincloud.sdk.model; + + +import com.google.gson.JsonElement; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +/** Webhooks Subscription verification method */ +@JsonAdapter(WebhooksSubscriptionVerificationMethod.Adapter.class) +public enum WebhooksSubscriptionVerificationMethod { + HEADER("header"), + + QUERY("query"); + + private String value; + + WebhooksSubscriptionVerificationMethod(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static WebhooksSubscriptionVerificationMethod fromValue(String value) { + for (WebhooksSubscriptionVerificationMethod b : + WebhooksSubscriptionVerificationMethod.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write( + final JsonWriter jsonWriter, final WebhooksSubscriptionVerificationMethod enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public WebhooksSubscriptionVerificationMethod read(final JsonReader jsonReader) + throws IOException { + String value = jsonReader.nextString(); + return WebhooksSubscriptionVerificationMethod.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + WebhooksSubscriptionVerificationMethod.fromValue(value); + } +} diff --git a/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java b/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java new file mode 100644 index 00000000..a87f279f --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java @@ -0,0 +1,64 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.api; + +import it.fattureincloud.sdk.ApiException; +import it.fattureincloud.sdk.model.GetPriceListItemsResponse; +import it.fattureincloud.sdk.model.ListPriceListsResponse; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for PriceListsApi + */ +@Disabled +public class PriceListsApiTest { + + private final PriceListsApi api = new PriceListsApi(); + + /** + * Get PriceList Items List + * + * Retrieves all the Items of a PriceList + * + * @throws ApiException if the Api call fails + */ + @Test + public void getPriceListItemsTest() throws ApiException { + Integer companyId = null; + String priceListId = null; + GetPriceListItemsResponse response = api.getPriceListItems(companyId, priceListId); + // TODO: test validations + } + + /** + * Get PriceLists + * + * Retrieves all price lists of the company + * + * @throws ApiException if the Api call fails + */ + @Test + public void getPriceListsTest() throws ApiException { + Integer companyId = null; + ListPriceListsResponse response = api.getPriceLists(companyId); + // TODO: test validations + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java b/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java new file mode 100644 index 00000000..6d5b025d --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java @@ -0,0 +1,104 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.PaymentAccount; +import it.fattureincloud.sdk.model.PaymentMethod; +import it.fattureincloud.sdk.model.PriceList; +import it.fattureincloud.sdk.model.VatType; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for EntityClientPreCreateInfo + */ +public class EntityClientPreCreateInfoTest { + private final EntityClientPreCreateInfo model = new EntityClientPreCreateInfo(); + + /** + * Model tests for EntityClientPreCreateInfo + */ + @Test + public void testEntityClientPreCreateInfo() { + // TODO: test EntityClientPreCreateInfo + } + + /** + * Test the property 'countriesList' + */ + @Test + public void countriesListTest() { + // TODO: test countriesList + } + + /** + * Test the property 'paymentMethodsList' + */ + @Test + public void paymentMethodsListTest() { + // TODO: test paymentMethodsList + } + + /** + * Test the property 'paymentAccountsList' + */ + @Test + public void paymentAccountsListTest() { + // TODO: test paymentAccountsList + } + + /** + * Test the property 'vatTypesList' + */ + @Test + public void vatTypesListTest() { + // TODO: test vatTypesList + } + + /** + * Test the property 'priceLists' + */ + @Test + public void priceListsTest() { + // TODO: test priceLists + } + + /** + * Test the property 'limit' + */ + @Test + public void limitTest() { + // TODO: test limit + } + + /** + * Test the property 'usage' + */ + @Test + public void usageTest() { + // TODO: test usage + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java new file mode 100644 index 00000000..189e1996 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java @@ -0,0 +1,49 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.IssuedDocument; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetBinIssuedDocumentResponse + */ +public class GetBinIssuedDocumentResponseTest { + private final GetBinIssuedDocumentResponse model = new GetBinIssuedDocumentResponse(); + + /** + * Model tests for GetBinIssuedDocumentResponse + */ + @Test + public void testGetBinIssuedDocumentResponse() { + // TODO: test GetBinIssuedDocumentResponse + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java new file mode 100644 index 00000000..d3055c9f --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java @@ -0,0 +1,49 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.ReceivedDocument; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetBinReceivedDocumentResponse + */ +public class GetBinReceivedDocumentResponseTest { + private final GetBinReceivedDocumentResponse model = new GetBinReceivedDocumentResponse(); + + /** + * Model tests for GetBinReceivedDocumentResponse + */ + @Test + public void testGetBinReceivedDocumentResponse() { + // TODO: test GetBinReceivedDocumentResponse + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java new file mode 100644 index 00000000..611a80d5 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java @@ -0,0 +1,49 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.EntityClientPreCreateInfo; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetEntityClientPreCreateInfoResponse + */ +public class GetEntityClientPreCreateInfoResponseTest { + private final GetEntityClientPreCreateInfoResponse model = new GetEntityClientPreCreateInfoResponse(); + + /** + * Model tests for GetEntityClientPreCreateInfoResponse + */ + @Test + public void testGetEntityClientPreCreateInfoResponse() { + // TODO: test GetEntityClientPreCreateInfoResponse + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java new file mode 100644 index 00000000..750b546b --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java @@ -0,0 +1,51 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.PriceListItem; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetPriceListItemsResponse + */ +public class GetPriceListItemsResponseTest { + private final GetPriceListItemsResponse model = new GetPriceListItemsResponse(); + + /** + * Model tests for GetPriceListItemsResponse + */ + @Test + public void testGetPriceListItemsResponse() { + // TODO: test GetPriceListItemsResponse + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java b/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java new file mode 100644 index 00000000..9a329c59 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java @@ -0,0 +1,51 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.IssuedDocument; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for ListBinIssuedDocuments + */ +public class ListBinIssuedDocumentsTest { + private final ListBinIssuedDocuments model = new ListBinIssuedDocuments(); + + /** + * Model tests for ListBinIssuedDocuments + */ + @Test + public void testListBinIssuedDocuments() { + // TODO: test ListBinIssuedDocuments + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java b/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java new file mode 100644 index 00000000..1799f173 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java @@ -0,0 +1,51 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.ReceivedDocument; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for ListBinReceivedDocuments + */ +public class ListBinReceivedDocumentsTest { + private final ListBinReceivedDocuments model = new ListBinReceivedDocuments(); + + /** + * Model tests for ListBinReceivedDocuments + */ + @Test + public void testListBinReceivedDocuments() { + // TODO: test ListBinReceivedDocuments + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java new file mode 100644 index 00000000..90f438bc --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java @@ -0,0 +1,51 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.PriceList; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for ListPriceListsResponse + */ +public class ListPriceListsResponseTest { + private final ListPriceListsResponse model = new ListPriceListsResponse(); + + /** + * Model tests for ListPriceListsResponse + */ + @Test + public void testListPriceListsResponse() { + // TODO: test ListPriceListsResponse + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java new file mode 100644 index 00000000..3d4677c5 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java @@ -0,0 +1,49 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for PriceListItem + */ +public class PriceListItemTest { + private final PriceListItem model = new PriceListItem(); + + /** + * Model tests for PriceListItem + */ + @Test + public void testPriceListItem() { + // TODO: test PriceListItem + } + + /** + * Test the property 'price' + */ + @Test + public void priceTest() { + // TODO: test price + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java new file mode 100644 index 00000000..7dfe7e2b --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java @@ -0,0 +1,32 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for PriceListPricesType + */ +public class PriceListPricesTypeTest { + /** + * Model tests for PriceListPricesType + */ + @Test + public void testPriceListPricesType() { + // TODO: test PriceListPricesType + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java new file mode 100644 index 00000000..40016d55 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java @@ -0,0 +1,99 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.PriceListPricesType; +import it.fattureincloud.sdk.model.PriceListType; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for PriceList + */ +public class PriceListTest { + private final PriceList model = new PriceList(); + + /** + * Model tests for PriceList + */ + @Test + public void testPriceList() { + // TODO: test PriceList + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'pricesType' + */ + @Test + public void pricesTypeTest() { + // TODO: test pricesType + } + + /** + * Test the property 'isDefault' + */ + @Test + public void isDefaultTest() { + // TODO: test isDefault + } + + /** + * Test the property 'validFrom' + */ + @Test + public void validFromTest() { + // TODO: test validFrom + } + + /** + * Test the property 'validTo' + */ + @Test + public void validToTest() { + // TODO: test validTo + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java new file mode 100644 index 00000000..044a446d --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java @@ -0,0 +1,32 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for PriceListType + */ +public class PriceListTypeTest { + /** + * Model tests for PriceListType + */ + @Test + public void testPriceListType() { + // TODO: test PriceListType + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java new file mode 100644 index 00000000..6522ac50 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java @@ -0,0 +1,49 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.VerifyWebhooksSubscription; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for VerifyWebhooksSubscriptionRequest + */ +public class VerifyWebhooksSubscriptionRequestTest { + private final VerifyWebhooksSubscriptionRequest model = new VerifyWebhooksSubscriptionRequest(); + + /** + * Model tests for VerifyWebhooksSubscriptionRequest + */ + @Test + public void testVerifyWebhooksSubscriptionRequest() { + // TODO: test VerifyWebhooksSubscriptionRequest + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java new file mode 100644 index 00000000..06ceafbc --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java @@ -0,0 +1,58 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import it.fattureincloud.sdk.model.WebhooksSubscriptionVerificationMethod; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for VerifyWebhooksSubscription + */ +public class VerifyWebhooksSubscriptionTest { + private final VerifyWebhooksSubscription model = new VerifyWebhooksSubscription(); + + /** + * Model tests for VerifyWebhooksSubscription + */ + @Test + public void testVerifyWebhooksSubscription() { + // TODO: test VerifyWebhooksSubscription + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'verificationMethod' + */ + @Test + public void verificationMethodTest() { + // TODO: test verificationMethod + } + +} diff --git a/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java b/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java new file mode 100644 index 00000000..60f98c98 --- /dev/null +++ b/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java @@ -0,0 +1,32 @@ +/* + * Fatture in Cloud API v2 - API Reference + * 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.5 + * Contact: info@fattureincloud.it + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package it.fattureincloud.sdk.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for WebhooksSubscriptionVerificationMethod + */ +public class WebhooksSubscriptionVerificationMethodTest { + /** + * Model tests for WebhooksSubscriptionVerificationMethod + */ + @Test + public void testWebhooksSubscriptionVerificationMethod() { + // TODO: test WebhooksSubscriptionVerificationMethod + } + +} From 62e8b59f8e21493712be1a10a20ba3ebd83432b6 Mon Sep 17 00:00:00 2001 From: Gabriele Barcella Date: Thu, 3 Apr 2025 13:07:51 +0200 Subject: [PATCH 2/4] test: added part of unit tests --- docs/EventType.md | 148 +++++++++--------- .../fattureincloud/sdk/model/EventType.java | 148 +++++++++--------- .../sdk/model/IssuedDocument.java | 1 + .../fattureincloud/sdk/api/EmailsApiTest.java | 8 +- ...suedDocumentPreCreateInfoResponseTest.java | 5 +- .../IssuedDocumentPreCreateInfoTest.java | 45 ++++-- ...VerifyWebhooksSubscriptionRequestTest.java | 44 +++++- .../model/VerifyWebhooksSubscriptionTest.java | 53 ++++++- ...oksSubscriptionVerificationMethodTest.java | 26 ++- 9 files changed, 304 insertions(+), 174 deletions(-) diff --git a/docs/EventType.md b/docs/EventType.md index 040faa9d..0eefd7e3 100644 --- a/docs/EventType.md +++ b/docs/EventType.md @@ -5,153 +5,153 @@ ## Enum -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.create"`) +* `ISSUED_DOCUMENTS_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.update"`) +* `ISSUED_DOCUMENTS_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.delete"`) +* `ISSUED_DOCUMENTS_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.create"`) +* `ISSUED_DOCUMENTS_QUOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.update"`) +* `ISSUED_DOCUMENTS_QUOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.delete"`) +* `ISSUED_DOCUMENTS_QUOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.create"`) +* `ISSUED_DOCUMENTS_PROFORMAS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.update"`) +* `ISSUED_DOCUMENTS_PROFORMAS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.delete"`) +* `ISSUED_DOCUMENTS_PROFORMAS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.create"`) +* `ISSUED_DOCUMENTS_RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.update"`) +* `ISSUED_DOCUMENTS_RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.delete"`) +* `ISSUED_DOCUMENTS_RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.create"`) +* `ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.update"`) +* `ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.delete"`) +* `ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.create"`) +* `ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.update"`) +* `ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.delete"`) +* `ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.create"`) +* `ISSUED_DOCUMENTS_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.update"`) +* `ISSUED_DOCUMENTS_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.delete"`) +* `ISSUED_DOCUMENTS_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.orders.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.create"`) +* `ISSUED_DOCUMENTS_WORK_REPORTS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.update"`) +* `ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.delete"`) +* `ISSUED_DOCUMENTS_WORK_REPORTS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.create"`) +* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.update"`) +* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.delete"`) +* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.create"`) +* `ISSUED_DOCUMENTS_SELF_INVOICES_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.update"`) +* `ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.delete"`) +* `ISSUED_DOCUMENTS_SELF_INVOICES_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.create"`) +* `ISSUED_DOCUMENTS_ALL_CREATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.update"`) +* `ISSUED_DOCUMENTS_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.all.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.all.delete"`) +* `ISSUED_DOCUMENTS_ALL_DELETE` (value: `"it.fattureincloud.webhooks.issued_documents.all.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.received_documents.create"`) +* `RECEIVED_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.received_documents.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.received_documents.update"`) +* `RECEIVED_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.received_documents.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.received_documents.delete"`) +* `RECEIVED_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.received_documents.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.receipts.create"`) +* `RECEIPTS_CREATE` (value: `"it.fattureincloud.webhooks.receipts.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.receipts.update"`) +* `RECEIPTS_UPDATE` (value: `"it.fattureincloud.webhooks.receipts.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.receipts.delete"`) +* `RECEIPTS_DELETE` (value: `"it.fattureincloud.webhooks.receipts.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_TAXES_CREATE` (value: `"it.fattureincloud.webhooks.taxes.create"`) +* `TAXES_CREATE` (value: `"it.fattureincloud.webhooks.taxes.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_TAXES_UPDATE` (value: `"it.fattureincloud.webhooks.taxes.update"`) +* `TAXES_UPDATE` (value: `"it.fattureincloud.webhooks.taxes.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_TAXES_DELETE` (value: `"it.fattureincloud.webhooks.taxes.delete"`) +* `TAXES_DELETE` (value: `"it.fattureincloud.webhooks.taxes.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.archive_documents.create"`) +* `ARCHIVE_DOCUMENTS_CREATE` (value: `"it.fattureincloud.webhooks.archive_documents.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.archive_documents.update"`) +* `ARCHIVE_DOCUMENTS_UPDATE` (value: `"it.fattureincloud.webhooks.archive_documents.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.archive_documents.delete"`) +* `ARCHIVE_DOCUMENTS_DELETE` (value: `"it.fattureincloud.webhooks.archive_documents.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_CREATE` (value: `"it.fattureincloud.webhooks.cashbook.create"`) +* `CASHBOOK_CREATE` (value: `"it.fattureincloud.webhooks.cashbook.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_UPDATE` (value: `"it.fattureincloud.webhooks.cashbook.update"`) +* `CASHBOOK_UPDATE` (value: `"it.fattureincloud.webhooks.cashbook.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_DELETE` (value: `"it.fattureincloud.webhooks.cashbook.delete"`) +* `CASHBOOK_DELETE` (value: `"it.fattureincloud.webhooks.cashbook.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_CREATE` (value: `"it.fattureincloud.webhooks.products.create"`) +* `PRODUCTS_CREATE` (value: `"it.fattureincloud.webhooks.products.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_UPDATE` (value: `"it.fattureincloud.webhooks.products.update"`) +* `PRODUCTS_UPDATE` (value: `"it.fattureincloud.webhooks.products.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_DELETE` (value: `"it.fattureincloud.webhooks.products.delete"`) +* `PRODUCTS_DELETE` (value: `"it.fattureincloud.webhooks.products.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_STOCK_UPDATE` (value: `"it.fattureincloud.webhooks.products.stock_update"`) +* `PRODUCTS_STOCK_UPDATE` (value: `"it.fattureincloud.webhooks.products.stock_update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_CREATE` (value: `"it.fattureincloud.webhooks.entities.clients.create"`) +* `ENTITIES_CLIENTS_CREATE` (value: `"it.fattureincloud.webhooks.entities.clients.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.clients.update"`) +* `ENTITIES_CLIENTS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.clients.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_DELETE` (value: `"it.fattureincloud.webhooks.entities.clients.delete"`) +* `ENTITIES_CLIENTS_DELETE` (value: `"it.fattureincloud.webhooks.entities.clients.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_CREATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.create"`) +* `ENTITIES_SUPPLIERS_CREATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.update"`) +* `ENTITIES_SUPPLIERS_UPDATE` (value: `"it.fattureincloud.webhooks.entities.suppliers.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_DELETE` (value: `"it.fattureincloud.webhooks.entities.suppliers.delete"`) +* `ENTITIES_SUPPLIERS_DELETE` (value: `"it.fattureincloud.webhooks.entities.suppliers.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_CREATE` (value: `"it.fattureincloud.webhooks.entities.all.create"`) +* `ENTITIES_ALL_CREATE` (value: `"it.fattureincloud.webhooks.entities.all.create"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.entities.all.update"`) +* `ENTITIES_ALL_UPDATE` (value: `"it.fattureincloud.webhooks.entities.all.update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_DELETE` (value: `"it.fattureincloud.webhooks.entities.all.delete"`) +* `ENTITIES_ALL_DELETE` (value: `"it.fattureincloud.webhooks.entities.all.delete"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.e_invoices.status_update"`) +* `ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE` (value: `"it.fattureincloud.webhooks.issued_documents.e_invoices.status_update"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE` (value: `"it.fattureincloud.webhooks.received_documents.e_invoices.receive"`) +* `RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE` (value: `"it.fattureincloud.webhooks.received_documents.e_invoices.receive"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.email_sent"`) +* `ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.email_sent"`) +* `ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.email_sent"`) +* `ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.email_sent"`) +* `ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"`) +* `ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"`) +* `ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.orders.email_sent"`) +* `ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.orders.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"`) +* `ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"`) +* `ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"`) +* `ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"`) -* `IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.all.email_sent"`) +* `ISSUED_DOCUMENTS_ALL_EMAIL_SENT` (value: `"it.fattureincloud.webhooks.issued_documents.all.email_sent"`) diff --git a/src/main/java/it/fattureincloud/sdk/model/EventType.java b/src/main/java/it/fattureincloud/sdk/model/EventType.java index e66583e8..d88889ef 100644 --- a/src/main/java/it/fattureincloud/sdk/model/EventType.java +++ b/src/main/java/it/fattureincloud/sdk/model/EventType.java @@ -23,211 +23,211 @@ /** Webhooks event type */ @JsonAdapter(EventType.Adapter.class) public enum EventType { - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_CREATE( + ISSUED_DOCUMENTS_INVOICES_CREATE( "it.fattureincloud.webhooks.issued_documents.invoices.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_UPDATE( + ISSUED_DOCUMENTS_INVOICES_UPDATE( "it.fattureincloud.webhooks.issued_documents.invoices.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_DELETE( + ISSUED_DOCUMENTS_INVOICES_DELETE( "it.fattureincloud.webhooks.issued_documents.invoices.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_CREATE( + ISSUED_DOCUMENTS_QUOTES_CREATE( "it.fattureincloud.webhooks.issued_documents.quotes.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_UPDATE( + ISSUED_DOCUMENTS_QUOTES_UPDATE( "it.fattureincloud.webhooks.issued_documents.quotes.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_DELETE( + ISSUED_DOCUMENTS_QUOTES_DELETE( "it.fattureincloud.webhooks.issued_documents.quotes.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_CREATE( + ISSUED_DOCUMENTS_PROFORMAS_CREATE( "it.fattureincloud.webhooks.issued_documents.proformas.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_UPDATE( + ISSUED_DOCUMENTS_PROFORMAS_UPDATE( "it.fattureincloud.webhooks.issued_documents.proformas.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_DELETE( + ISSUED_DOCUMENTS_PROFORMAS_DELETE( "it.fattureincloud.webhooks.issued_documents.proformas.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_CREATE( + ISSUED_DOCUMENTS_RECEIPTS_CREATE( "it.fattureincloud.webhooks.issued_documents.receipts.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_UPDATE( + ISSUED_DOCUMENTS_RECEIPTS_UPDATE( "it.fattureincloud.webhooks.issued_documents.receipts.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_DELETE( + ISSUED_DOCUMENTS_RECEIPTS_DELETE( "it.fattureincloud.webhooks.issued_documents.receipts.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE( + ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE( "it.fattureincloud.webhooks.issued_documents.delivery_notes.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE( + ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE( "it.fattureincloud.webhooks.issued_documents.delivery_notes.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE( + ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE( "it.fattureincloud.webhooks.issued_documents.delivery_notes.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE( + ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE( "it.fattureincloud.webhooks.issued_documents.credit_notes.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE( + ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE( "it.fattureincloud.webhooks.issued_documents.credit_notes.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE( + ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE( "it.fattureincloud.webhooks.issued_documents.credit_notes.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_CREATE( + ISSUED_DOCUMENTS_ORDERS_CREATE( "it.fattureincloud.webhooks.issued_documents.orders.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_UPDATE( + ISSUED_DOCUMENTS_ORDERS_UPDATE( "it.fattureincloud.webhooks.issued_documents.orders.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_DELETE( + ISSUED_DOCUMENTS_ORDERS_DELETE( "it.fattureincloud.webhooks.issued_documents.orders.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_CREATE( + ISSUED_DOCUMENTS_WORK_REPORTS_CREATE( "it.fattureincloud.webhooks.issued_documents.work_reports.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE( + ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE( "it.fattureincloud.webhooks.issued_documents.work_reports.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_DELETE( + ISSUED_DOCUMENTS_WORK_REPORTS_DELETE( "it.fattureincloud.webhooks.issued_documents.work_reports.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE( + ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE( "it.fattureincloud.webhooks.issued_documents.supplier_orders.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE( + ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE( "it.fattureincloud.webhooks.issued_documents.supplier_orders.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE( + ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE( "it.fattureincloud.webhooks.issued_documents.supplier_orders.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_CREATE( + ISSUED_DOCUMENTS_SELF_INVOICES_CREATE( "it.fattureincloud.webhooks.issued_documents.self_invoices.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE( + ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE( "it.fattureincloud.webhooks.issued_documents.self_invoices.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_DELETE( + ISSUED_DOCUMENTS_SELF_INVOICES_DELETE( "it.fattureincloud.webhooks.issued_documents.self_invoices.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_CREATE( + ISSUED_DOCUMENTS_ALL_CREATE( "it.fattureincloud.webhooks.issued_documents.all.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_UPDATE( + ISSUED_DOCUMENTS_ALL_UPDATE( "it.fattureincloud.webhooks.issued_documents.all.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_DELETE( + ISSUED_DOCUMENTS_ALL_DELETE( "it.fattureincloud.webhooks.issued_documents.all.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_CREATE( + RECEIVED_DOCUMENTS_CREATE( "it.fattureincloud.webhooks.received_documents.create"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_UPDATE( + RECEIVED_DOCUMENTS_UPDATE( "it.fattureincloud.webhooks.received_documents.update"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_DELETE( + RECEIVED_DOCUMENTS_DELETE( "it.fattureincloud.webhooks.received_documents.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_CREATE("it.fattureincloud.webhooks.receipts.create"), + RECEIPTS_CREATE("it.fattureincloud.webhooks.receipts.create"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_UPDATE("it.fattureincloud.webhooks.receipts.update"), + RECEIPTS_UPDATE("it.fattureincloud.webhooks.receipts.update"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIPTS_DELETE("it.fattureincloud.webhooks.receipts.delete"), + RECEIPTS_DELETE("it.fattureincloud.webhooks.receipts.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_TAXES_CREATE("it.fattureincloud.webhooks.taxes.create"), + TAXES_CREATE("it.fattureincloud.webhooks.taxes.create"), - IT_FATTUREINCLOUD_WEBHOOKS_TAXES_UPDATE("it.fattureincloud.webhooks.taxes.update"), + TAXES_UPDATE("it.fattureincloud.webhooks.taxes.update"), - IT_FATTUREINCLOUD_WEBHOOKS_TAXES_DELETE("it.fattureincloud.webhooks.taxes.delete"), + TAXES_DELETE("it.fattureincloud.webhooks.taxes.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_CREATE( + ARCHIVE_DOCUMENTS_CREATE( "it.fattureincloud.webhooks.archive_documents.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_UPDATE( + ARCHIVE_DOCUMENTS_UPDATE( "it.fattureincloud.webhooks.archive_documents.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ARCHIVE_DOCUMENTS_DELETE( + ARCHIVE_DOCUMENTS_DELETE( "it.fattureincloud.webhooks.archive_documents.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_CREATE("it.fattureincloud.webhooks.cashbook.create"), + CASHBOOK_CREATE("it.fattureincloud.webhooks.cashbook.create"), - IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_UPDATE("it.fattureincloud.webhooks.cashbook.update"), + CASHBOOK_UPDATE("it.fattureincloud.webhooks.cashbook.update"), - IT_FATTUREINCLOUD_WEBHOOKS_CASHBOOK_DELETE("it.fattureincloud.webhooks.cashbook.delete"), + CASHBOOK_DELETE("it.fattureincloud.webhooks.cashbook.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_CREATE("it.fattureincloud.webhooks.products.create"), + PRODUCTS_CREATE("it.fattureincloud.webhooks.products.create"), - IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_UPDATE("it.fattureincloud.webhooks.products.update"), + PRODUCTS_UPDATE("it.fattureincloud.webhooks.products.update"), - IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_DELETE("it.fattureincloud.webhooks.products.delete"), + PRODUCTS_DELETE("it.fattureincloud.webhooks.products.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_PRODUCTS_STOCK_UPDATE( + PRODUCTS_STOCK_UPDATE( "it.fattureincloud.webhooks.products.stock_update"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_CREATE( + ENTITIES_CLIENTS_CREATE( "it.fattureincloud.webhooks.entities.clients.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_UPDATE( + ENTITIES_CLIENTS_UPDATE( "it.fattureincloud.webhooks.entities.clients.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_CLIENTS_DELETE( + ENTITIES_CLIENTS_DELETE( "it.fattureincloud.webhooks.entities.clients.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_CREATE( + ENTITIES_SUPPLIERS_CREATE( "it.fattureincloud.webhooks.entities.suppliers.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_UPDATE( + ENTITIES_SUPPLIERS_UPDATE( "it.fattureincloud.webhooks.entities.suppliers.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_SUPPLIERS_DELETE( + ENTITIES_SUPPLIERS_DELETE( "it.fattureincloud.webhooks.entities.suppliers.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_CREATE("it.fattureincloud.webhooks.entities.all.create"), + ENTITIES_ALL_CREATE("it.fattureincloud.webhooks.entities.all.create"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_UPDATE("it.fattureincloud.webhooks.entities.all.update"), + ENTITIES_ALL_UPDATE("it.fattureincloud.webhooks.entities.all.update"), - IT_FATTUREINCLOUD_WEBHOOKS_ENTITIES_ALL_DELETE("it.fattureincloud.webhooks.entities.all.delete"), + ENTITIES_ALL_DELETE("it.fattureincloud.webhooks.entities.all.delete"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE( + ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE( "it.fattureincloud.webhooks.issued_documents.e_invoices.status_update"), - IT_FATTUREINCLOUD_WEBHOOKS_RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE( + RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE( "it.fattureincloud.webhooks.received_documents.e_invoices.receive"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT( + ISSUED_DOCUMENTS_INVOICES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.invoices.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT( + ISSUED_DOCUMENTS_QUOTES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.quotes.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT( + ISSUED_DOCUMENTS_PROFORMAS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.proformas.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT( + ISSUED_DOCUMENTS_RECEIPTS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.receipts.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT( + ISSUED_DOCUMENTS_DELIVERY_NOTES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT( + ISSUED_DOCUMENTS_CREDIT_NOTES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT( + ISSUED_DOCUMENTS_ORDERS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.orders.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT( + ISSUED_DOCUMENTS_WORK_REPORTS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT( + ISSUED_DOCUMENTS_SUPPLIER_ORDERS_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT( + ISSUED_DOCUMENTS_SELF_INVOICES_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"), - IT_FATTUREINCLOUD_WEBHOOKS_ISSUED_DOCUMENTS_ALL_EMAIL_SENT( + ISSUED_DOCUMENTS_ALL_EMAIL_SENT( "it.fattureincloud.webhooks.issued_documents.all.email_sent"); private String value; diff --git a/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java b/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java index 84d4a624..80995839 100644 --- a/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java +++ b/src/main/java/it/fattureincloud/sdk/model/IssuedDocument.java @@ -12,6 +12,7 @@ package it.fattureincloud.sdk.model; +import com.google.gson.JsonElement; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; diff --git a/src/test/java/it/fattureincloud/sdk/api/EmailsApiTest.java b/src/test/java/it/fattureincloud/sdk/api/EmailsApiTest.java index 75a2d2d0..ab56d9b5 100644 --- a/src/test/java/it/fattureincloud/sdk/api/EmailsApiTest.java +++ b/src/test/java/it/fattureincloud/sdk/api/EmailsApiTest.java @@ -77,6 +77,12 @@ public void listEmailsTest() throws ApiException, IOException { EmailsApi api = mockApi(result, mockCall); Integer companyId = 11111; + String fields = null; + String fieldset = null; + String sort = null; + Integer page = 1; + Integer perPage = 5; + String q = null; ListEmailsResponse expected = new ListEmailsResponse() @@ -132,7 +138,7 @@ public void listEmailsTest() throws ApiException, IOException { .to(10) .total(10); - ListEmailsResponse response = api.listEmails(companyId); + ListEmailsResponse response = api.listEmails(companyId, fields, fieldset, sort, page, perPage, q); assertEquals(expected.getData(), response.getData()); Mockito.verify(mockCall, Mockito.only()).execute(); } diff --git a/src/test/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponseTest.java index 00fa8263..87ef891c 100644 --- a/src/test/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/GetIssuedDocumentPreCreateInfoResponseTest.java @@ -68,7 +68,8 @@ public void init() { Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2)))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")))); } /** Model tests for GetIssuedDocumentPreCreateInfoResponse */ @@ -78,7 +79,7 @@ public void testGetIssuedDocumentPreCreateInfoResponse() { Gson gson = jsonManager.getGson(); String json = gson.toJson(model); String str = - "{\"data\":{\"numerations\":{},\"dn_numerations\":{},\"default_values\":{\"default_template\":{\"id\":1},\"dn_template\":{\"id\":1},\"ai_template\":{\"id\":1},\"notes\":\"notes\",\"rivalsa\":1,\"cassa\":1,\"withholding_tax\":1,\"withholding_tax_taxable\":1,\"other_withholding_tax\":1,\"use_gross_prices\":true,\"payment_method\":{\"id\":1,\"type\":\"standard\"}},\"extra_data_default_values\":{\"ts_communication\":true,\"ts_tipo_spesa\":\"ts\",\"ts_flag_tipo_spesa\":1,\"ts_pagamento_tracciato\":true},\"items_default_values\":{\"vat\":{\"id\":1}},\"countries_list\":[\"Italia\",\"Marocco\"],\"currencies_list\":[{\"id\":\"EUR\"},{\"id\":\"DNR\"}],\"templates_list\":[{\"id\":1},{\"id\":2}],\"dn_templates_list\":[{\"id\":1},{\"id\":2}],\"ai_templates_list\":[{\"id\":1},{\"id\":2}],\"payment_methods_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"payment_accounts_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"vat_types_list\":[{\"id\":1},{\"id\":2}]}}"; + "{\"data\":{\"numerations\":{},\"dn_numerations\":{},\"default_values\":{\"default_template\":{\"id\":1},\"dn_template\":{\"id\":1},\"ai_template\":{\"id\":1},\"notes\":\"notes\",\"rivalsa\":1,\"cassa\":1,\"withholding_tax\":1,\"withholding_tax_taxable\":1,\"other_withholding_tax\":1,\"use_gross_prices\":true,\"payment_method\":{\"id\":1,\"type\":\"standard\"}},\"extra_data_default_values\":{\"ts_communication\":true,\"ts_tipo_spesa\":\"ts\",\"ts_flag_tipo_spesa\":1,\"ts_pagamento_tracciato\":true},\"items_default_values\":{\"vat\":{\"id\":1}},\"countries_list\":[\"Italia\",\"Marocco\"],\"currencies_list\":[{\"id\":\"EUR\"},{\"id\":\"DNR\"}],\"templates_list\":[{\"id\":1},{\"id\":2}],\"dn_templates_list\":[{\"id\":1},{\"id\":2}],\"ai_templates_list\":[{\"id\":1},{\"id\":2}],\"payment_methods_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"payment_accounts_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"vat_types_list\":[{\"id\":1},{\"id\":2}],\"price_lists\":[{\"id\":\"12345\"}]}}"; assertEquals(str, json); GetIssuedDocumentPreCreateInfoResponse generated = gson.fromJson(str, GetIssuedDocumentPreCreateInfoResponse.class); diff --git a/src/test/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoTest.java b/src/test/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoTest.java index b0fee80f..bfcfeede 100644 --- a/src/test/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/IssuedDocumentPreCreateInfoTest.java @@ -18,6 +18,7 @@ import com.google.gson.Gson; import it.fattureincloud.sdk.JSON; import java.math.BigDecimal; +import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -90,7 +91,8 @@ public void init() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); } /** Model tests for IssuedDocumentPreCreateInfo */ @@ -100,7 +102,7 @@ public void testIssuedDocumentPreCreateInfo() { Gson gson = jsonManager.getGson(); String json = gson.toJson(model); String str = - "{\"numerations\":{\"2022\":{\"cloud\":1988,\"in\":2,\"fatture\":22},\"2021\":{\"a\":1,\"b\":2,\"c\":3}},\"dn_numerations\":{\"2022\":{\"a\":0,\"b\":11,\"c\":222},\"2021\":{\"d\":3333,\"e\":44444,\"f\":555555}},\"default_values\":{\"default_template\":{\"id\":1},\"dn_template\":{\"id\":1},\"ai_template\":{\"id\":1},\"notes\":\"notes\",\"rivalsa\":1,\"cassa\":1,\"withholding_tax\":1,\"withholding_tax_taxable\":1,\"other_withholding_tax\":1,\"use_gross_prices\":true,\"payment_method\":{\"id\":1,\"type\":\"standard\"}},\"extra_data_default_values\":{\"ts_communication\":true,\"ts_tipo_spesa\":\"ts\",\"ts_flag_tipo_spesa\":1,\"ts_pagamento_tracciato\":true},\"items_default_values\":{\"vat\":{\"id\":1}},\"countries_list\":[\"Italia\",\"Marocco\"],\"currencies_list\":[{\"id\":\"EUR\"},{\"id\":\"DNR\"}],\"templates_list\":[{\"id\":1},{\"id\":2}],\"dn_templates_list\":[{\"id\":1},{\"id\":2}],\"ai_templates_list\":[{\"id\":1},{\"id\":2}],\"payment_methods_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"payment_accounts_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"vat_types_list\":[{\"id\":1},{\"id\":2}]}"; + "{\"numerations\":{\"2022\":{\"cloud\":1988,\"in\":2,\"fatture\":22},\"2021\":{\"a\":1,\"b\":2,\"c\":3}},\"dn_numerations\":{\"2022\":{\"a\":0,\"b\":11,\"c\":222},\"2021\":{\"d\":3333,\"e\":44444,\"f\":555555}},\"default_values\":{\"default_template\":{\"id\":1},\"dn_template\":{\"id\":1},\"ai_template\":{\"id\":1},\"notes\":\"notes\",\"rivalsa\":1,\"cassa\":1,\"withholding_tax\":1,\"withholding_tax_taxable\":1,\"other_withholding_tax\":1,\"use_gross_prices\":true,\"payment_method\":{\"id\":1,\"type\":\"standard\"}},\"extra_data_default_values\":{\"ts_communication\":true,\"ts_tipo_spesa\":\"ts\",\"ts_flag_tipo_spesa\":1,\"ts_pagamento_tracciato\":true},\"items_default_values\":{\"vat\":{\"id\":1}},\"countries_list\":[\"Italia\",\"Marocco\"],\"currencies_list\":[{\"id\":\"EUR\"},{\"id\":\"DNR\"}],\"templates_list\":[{\"id\":1},{\"id\":2}],\"dn_templates_list\":[{\"id\":1},{\"id\":2}],\"ai_templates_list\":[{\"id\":1},{\"id\":2}],\"payment_methods_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"payment_accounts_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"vat_types_list\":[{\"id\":1},{\"id\":2}],\"price_lists\":[{\"id\":\"12345\"}]}"; assertEquals(str, json); IssuedDocumentPreCreateInfo generated = gson.fromJson(str, IssuedDocumentPreCreateInfo.class); assertEquals(model, generated); @@ -189,7 +191,8 @@ public void numerationsTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -271,7 +274,8 @@ public void dnNumerationsTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -394,7 +398,8 @@ public void defaultValuesTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -489,7 +494,8 @@ public void extraDataDefaultValuesTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -568,7 +574,8 @@ public void itemsDefaultValuesTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -640,7 +647,8 @@ public void countriesListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -717,7 +725,8 @@ public void currenciesListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -796,7 +805,8 @@ public void templatesListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -875,7 +885,8 @@ public void dnTemplatesListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -954,7 +965,8 @@ public void aiTemplatesListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -1033,7 +1045,8 @@ public void paymentMethodsListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -1112,7 +1125,8 @@ public void paymentAccountsListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")));; assertEquals(expected, i); } @@ -1185,7 +1199,8 @@ public void vatTypesListTest() { .paymentMethodsList(Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) .paymentAccountsList( Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) - .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))); + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); assertEquals(expected, i); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java index 6522ac50..dda4c73d 100644 --- a/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionRequestTest.java @@ -13,14 +13,23 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.VerifyWebhooksSubscription; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.util.Arrays; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -28,14 +37,36 @@ * Model tests for VerifyWebhooksSubscriptionRequest */ public class VerifyWebhooksSubscriptionRequestTest { - private final VerifyWebhooksSubscriptionRequest model = new VerifyWebhooksSubscriptionRequest(); + private VerifyWebhooksSubscriptionRequest model; + + @BeforeEach + public void init() { + model = + new VerifyWebhooksSubscriptionRequest() + .data(new VerifyWebhooksSubscription() + .id("12345") + .verificationMethod(WebhooksSubscriptionVerificationMethod.HEADER)); + } + /** * Model tests for VerifyWebhooksSubscriptionRequest */ @Test public void testVerifyWebhooksSubscriptionRequest() { - // TODO: test VerifyWebhooksSubscriptionRequest + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = "{\"data\":{\"id\":\"12345\",\"verification_method\":\"header\"}}"; + assertEquals(str, json); + VerifyWebhooksSubscriptionRequest generated = + gson.fromJson(str, VerifyWebhooksSubscriptionRequest.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -43,7 +74,14 @@ public void testVerifyWebhooksSubscriptionRequest() { */ @Test public void dataTest() { - // TODO: test data + assertEquals("12345", model.getData().getId()); + model.setData(new VerifyWebhooksSubscription().id("123456")); + assertEquals("123456", model.getData().getId()); + + model.data(new VerifyWebhooksSubscription().id("12345")); + VerifyWebhooksSubscriptionRequest actual = new VerifyWebhooksSubscriptionRequest(); + actual.setData(new VerifyWebhooksSubscription().id("12345")); + assertEquals(model, actual); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java index 06ceafbc..5dfb1243 100644 --- a/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/VerifyWebhooksSubscriptionTest.java @@ -13,15 +13,25 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.WebhooksSubscriptionVerificationMethod; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; +import java.math.BigDecimal; +import java.time.LocalDate; import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -29,14 +39,33 @@ * Model tests for VerifyWebhooksSubscription */ public class VerifyWebhooksSubscriptionTest { - private final VerifyWebhooksSubscription model = new VerifyWebhooksSubscription(); + private VerifyWebhooksSubscription model; + + @BeforeEach + public void init() { + model = + new VerifyWebhooksSubscription() + .id("12345") + .verificationMethod(WebhooksSubscriptionVerificationMethod.HEADER); + } /** * Model tests for VerifyWebhooksSubscription */ @Test public void testVerifyWebhooksSubscription() { - // TODO: test VerifyWebhooksSubscription + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = "{\"id\":\"12345\",\"verification_method\":\"header\"}"; + assertEquals(str, json); + VerifyWebhooksSubscription generated = gson.fromJson(str, VerifyWebhooksSubscription.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -44,7 +73,15 @@ public void testVerifyWebhooksSubscription() { */ @Test public void idTest() { - // TODO: test id + assertEquals("12345", model.getId()); + model.setId("123456"); + assertEquals("123456", model.getId()); + VerifyWebhooksSubscription a = model.id("12345"); + VerifyWebhooksSubscription expected = + new VerifyWebhooksSubscription() + .id("12345") + .verificationMethod(WebhooksSubscriptionVerificationMethod.HEADER); + assertEquals(expected, a); } /** @@ -52,7 +89,15 @@ public void idTest() { */ @Test public void verificationMethodTest() { - // TODO: test verificationMethod + assertEquals(WebhooksSubscriptionVerificationMethod.HEADER, model.getVerificationMethod()); + model.setVerificationMethod(WebhooksSubscriptionVerificationMethod.QUERY); + assertEquals(WebhooksSubscriptionVerificationMethod.QUERY, model.getVerificationMethod()); + VerifyWebhooksSubscription a = model.verificationMethod(WebhooksSubscriptionVerificationMethod.HEADER); + VerifyWebhooksSubscription expected = + new VerifyWebhooksSubscription() + .id("12345") + .verificationMethod(WebhooksSubscriptionVerificationMethod.HEADER); + assertEquals(expected, a); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java b/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java index 60f98c98..ba1b223a 100644 --- a/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/WebhooksSubscriptionVerificationMethodTest.java @@ -13,7 +13,14 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; + +import it.fattureincloud.sdk.JSON; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -26,7 +33,24 @@ public class WebhooksSubscriptionVerificationMethodTest { */ @Test public void testWebhooksSubscriptionVerificationMethod() { - // TODO: test WebhooksSubscriptionVerificationMethod + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + + assertEquals("\"header\"", gson.toJson(WebhooksSubscriptionVerificationMethod.HEADER)); + assertEquals("\"query\"", gson.toJson(WebhooksSubscriptionVerificationMethod.QUERY)); + + assertEquals( + WebhooksSubscriptionVerificationMethod.HEADER, gson.fromJson("\"header\"", WebhooksSubscriptionVerificationMethod.class)); + assertEquals(WebhooksSubscriptionVerificationMethod.QUERY, gson.fromJson("\"query\"", WebhooksSubscriptionVerificationMethod.class)); + + assertEquals("header", WebhooksSubscriptionVerificationMethod.HEADER.getValue()); + assertEquals("query", WebhooksSubscriptionVerificationMethod.QUERY.getValue()); + + assertEquals("header", WebhooksSubscriptionVerificationMethod.HEADER.toString()); + assertEquals("query", WebhooksSubscriptionVerificationMethod.QUERY.toString()); + + assertEquals(WebhooksSubscriptionVerificationMethod.HEADER, WebhooksSubscriptionVerificationMethod.fromValue("header")); + assertEquals(WebhooksSubscriptionVerificationMethod.QUERY, WebhooksSubscriptionVerificationMethod.fromValue("query")); } } From dce41fc6bb6dc806b1871695629502eaba2727ac Mon Sep 17 00:00:00 2001 From: Gabriele Barcella Date: Fri, 4 Apr 2025 11:17:06 +0200 Subject: [PATCH 3/4] test: added unit tests --- .../sdk/api/PriceListsApiTest.java | 93 ++++++++++- .../model/EntityClientPreCreateInfoTest.java | 157 +++++++++++++++++- .../GetBinIssuedDocumentResponseTest.java | 43 ++++- .../GetBinReceivedDocumentResponseTest.java | 77 ++++++++- ...EntityClientPreCreateInfoResponseTest.java | 49 +++++- .../model/GetPriceListItemsResponseTest.java | 45 ++++- .../sdk/model/ListBinIssuedDocumentsTest.java | 42 ++++- .../model/ListBinReceivedDocumentsTest.java | 91 ++++++++-- .../sdk/model/ListPriceListsResponseTest.java | 51 +++++- .../sdk/model/PriceListItemTest.java | 43 ++++- .../sdk/model/PriceListPricesTypeTest.java | 24 ++- .../sdk/model/PriceListTest.java | 145 ++++++++++++++-- .../sdk/model/PriceListTypeTest.java | 26 ++- 13 files changed, 821 insertions(+), 65 deletions(-) diff --git a/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java b/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java index a87f279f..7b9d53e6 100644 --- a/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java +++ b/src/test/java/it/fattureincloud/sdk/api/PriceListsApiTest.java @@ -13,12 +13,30 @@ package it.fattureincloud.sdk.api; +import it.fattureincloud.sdk.ApiClient; import it.fattureincloud.sdk.ApiException; import it.fattureincloud.sdk.model.GetPriceListItemsResponse; +import it.fattureincloud.sdk.model.GetReceiptResponse; import it.fattureincloud.sdk.model.ListPriceListsResponse; +import it.fattureincloud.sdk.model.PaymentAccount; +import it.fattureincloud.sdk.model.PriceList; +import it.fattureincloud.sdk.model.PriceListItem; +import it.fattureincloud.sdk.model.PriceListPricesType; +import it.fattureincloud.sdk.model.PriceListType; +import it.fattureincloud.sdk.model.Receipt; +import it.fattureincloud.sdk.model.ReceiptItemsListItem; +import it.fattureincloud.sdk.model.ReceiptType; +import okhttp3.*; +import org.mockito.Mockito; + import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; + +import java.io.IOException; +import java.math.BigDecimal; +import java.time.LocalDate; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -30,7 +48,30 @@ @Disabled public class PriceListsApiTest { - private final PriceListsApi api = new PriceListsApi(); + private static PriceListsApi mockApi(final String serializedBody, final Call remoteCall) + throws IOException { + final OkHttpClient okHttpClient = Mockito.mock(OkHttpClient.class); + + Response.Builder builder = + new Response.Builder() + .request(new Request.Builder().url("https://api-v2.fattureincloud.it").build()) + .protocol(Protocol.HTTP_1_1) + .code(200) + .message(""); + if (serializedBody != null) { + builder = + builder.body(ResponseBody.create(serializedBody, MediaType.parse("application/json"))); + } + + final Response response = builder.build(); + + Mockito.when(remoteCall.execute()).thenReturn(response); + Mockito.when(okHttpClient.newCall(Mockito.any())).thenReturn(remoteCall); + + ApiClient client = new ApiClient(okHttpClient); + + return new PriceListsApi(client); + } /** * Get PriceList Items List @@ -40,11 +81,26 @@ public class PriceListsApiTest { * @throws ApiException if the Api call fails */ @Test - public void getPriceListItemsTest() throws ApiException { - Integer companyId = null; - String priceListId = null; + public void getPriceListItemsTest() throws ApiException, IOException { + String result = + "{\"data\":{1:{\"price\":3.5}}}"; + + Call mockCall = Mockito.mock(Call.class); + PriceListsApi api = mockApi(result, mockCall); + + Integer companyId = 2; + String priceListId = "1"; + + GetPriceListItemsResponse expected = + new GetPriceListItemsResponse() + .data(new HashMap() {{ + put("1", new PriceListItem().price(BigDecimal.valueOf(3.5))); + }}); + GetPriceListItemsResponse response = api.getPriceListItems(companyId, priceListId); - // TODO: test validations + assertEquals(expected, response.getData()); + Mockito.verify(mockCall, Mockito.only()).execute(); + } /** @@ -55,10 +111,31 @@ public void getPriceListItemsTest() throws ApiException { * @throws ApiException if the Api call fails */ @Test - public void getPriceListsTest() throws ApiException { - Integer companyId = null; + public void getPriceListsTest() throws ApiException, IOException { + String result = + "{\"data\":[{\"id\":\"10\",\"name\":\"Listino 1\",\"prices_type\":\"net\",\"is_default\":true,\"valid_from\":\"2023-01-01\",\"valid_to\":\"2023-12-31\",\"type\":\"sell\"}]}"; + + Call mockCall = Mockito.mock(Call.class); + PriceListsApi api = mockApi(result, mockCall); + + Integer companyId = 2; + + ListPriceListsResponse expected = + new ListPriceListsResponse() + .addDataItem( + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL)); + ListPriceListsResponse response = api.getPriceLists(companyId); - // TODO: test validations + assertEquals(expected, response.getData()); + Mockito.verify(mockCall, Mockito.only()).execute(); + } } diff --git a/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java b/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java index 6d5b025d..168e1ac7 100644 --- a/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/EntityClientPreCreateInfoTest.java @@ -13,21 +13,29 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.PaymentAccount; import it.fattureincloud.sdk.model.PaymentMethod; import it.fattureincloud.sdk.model.PriceList; import it.fattureincloud.sdk.model.VatType; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -35,14 +43,39 @@ * Model tests for EntityClientPreCreateInfo */ public class EntityClientPreCreateInfoTest { - private final EntityClientPreCreateInfo model = new EntityClientPreCreateInfo(); + private EntityClientPreCreateInfo model; + + @BeforeEach + public void init() { + model = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); + } /** * Model tests for EntityClientPreCreateInfo */ @Test public void testEntityClientPreCreateInfo() { - // TODO: test EntityClientPreCreateInfo + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"countries_list\":[\"Italia\",\"Marocco\"],\"payment_methods_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"payment_accounts_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"vat_types_list\":[{\"id\":1},{\"id\":2}],\"price_lists\":[{\"id\":\"12345\"}]}"; + assertEquals(str, json); + EntityClientPreCreateInfo generated = gson.fromJson(str, EntityClientPreCreateInfo.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -50,7 +83,20 @@ public void testEntityClientPreCreateInfo() { */ @Test public void countriesListTest() { - // TODO: test countriesList + assertEquals(model.getCountriesList(), Arrays.asList("Italia", "Marocco")); + model.setCountriesList(Arrays.asList("Italia", "Marocco", "Francia")); + assertEquals(model.getCountriesList(), Arrays.asList("Italia", "Marocco", "Francia")); + EntityClientPreCreateInfo a = model.countriesList(Arrays.asList("Italia", "Marocco")); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); + assertEquals(expected, a); } /** @@ -58,7 +104,24 @@ public void countriesListTest() { */ @Test public void paymentMethodsListTest() { - // TODO: test paymentMethodsList + assertEquals(1, model.getPaymentMethodsList().get(0).getId()); + assertEquals(2, model.getPaymentMethodsList().get(1).getId()); + model.setPaymentMethodsList( + Arrays.asList(new PaymentMethod().id(3), new PaymentMethod().id(4))); + assertEquals(3, model.getPaymentMethodsList().get(0).getId()); + assertEquals(4, model.getPaymentMethodsList().get(1).getId()); + EntityClientPreCreateInfo a = model.paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); + assertEquals(expected, a); } /** @@ -66,7 +129,24 @@ public void paymentMethodsListTest() { */ @Test public void paymentAccountsListTest() { - // TODO: test paymentAccountsList + assertEquals(1, model.getPaymentAccountsList().get(0).getId()); + assertEquals(2, model.getPaymentAccountsList().get(1).getId()); + model.setPaymentAccountsList( + Arrays.asList(new PaymentAccount().id(3), new PaymentAccount().id(4))); + assertEquals(3, model.getPaymentAccountsList().get(0).getId()); + assertEquals(4, model.getPaymentAccountsList().get(1).getId()); + EntityClientPreCreateInfo a = model.paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); + assertEquals(expected, a); } /** @@ -74,7 +154,23 @@ public void paymentAccountsListTest() { */ @Test public void vatTypesListTest() { - // TODO: test vatTypesList + assertEquals(1, model.getVatTypesList().get(0).getId()); + assertEquals(2, model.getVatTypesList().get(1).getId()); + model.setVatTypesList(Arrays.asList(new VatType().id(3), new VatType().id(4))); + assertEquals(3, model.getVatTypesList().get(0).getId()); + assertEquals(4, model.getVatTypesList().get(1).getId()); + EntityClientPreCreateInfo a = model.vatTypesList( + Arrays.asList(new VatType().id(1), new VatType().id(2))); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); + assertEquals(expected, a); } /** @@ -82,7 +178,21 @@ public void vatTypesListTest() { */ @Test public void priceListsTest() { - // TODO: test priceLists + assertEquals("12345", model.getPriceLists().get(0).getId()); + model.setPriceLists(Arrays.asList(new PriceList().id("54321"))); + assertEquals("54321", model.getPriceLists().get(0).getId()); + EntityClientPreCreateInfo a = model.priceLists( + Arrays.asList(new PriceList().id("12345"))); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))); + assertEquals(expected, a); } /** @@ -90,7 +200,21 @@ public void priceListsTest() { */ @Test public void limitTest() { - // TODO: test limit + assertEquals(null, model.getLimit()); + model.setLimit(new BigDecimal("1000.50")); + assertEquals(new BigDecimal("1000.50"), model.getLimit()); + EntityClientPreCreateInfo a = model.limit(new BigDecimal("500.25")); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))) + .limit(new BigDecimal("500.25")); + assertEquals(expected, a); } /** @@ -98,7 +222,22 @@ public void limitTest() { */ @Test public void usageTest() { - // TODO: test usage + assertEquals(null, model.getUsage()); + model.setUsage(new BigDecimal("200.75")); + assertEquals(new BigDecimal("200.75"), model.getUsage()); + EntityClientPreCreateInfo a = model.usage(new BigDecimal("150.50")); + EntityClientPreCreateInfo expected = + new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345"))) + .usage(new BigDecimal("150.50")); + assertEquals(expected, a); } + } diff --git a/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java index 189e1996..734808f0 100644 --- a/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/GetBinIssuedDocumentResponseTest.java @@ -13,14 +13,23 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.IssuedDocument; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.util.Arrays; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -28,14 +37,35 @@ * Model tests for GetBinIssuedDocumentResponse */ public class GetBinIssuedDocumentResponseTest { - private final GetBinIssuedDocumentResponse model = new GetBinIssuedDocumentResponse(); + private GetBinIssuedDocumentResponse model; + + @BeforeEach + public void init() { + model = + new GetBinIssuedDocumentResponse() + .data(new IssuedDocument() + .id(12345) + .type(IssuedDocumentType.INVOICE)); + } /** * Model tests for GetBinIssuedDocumentResponse */ @Test public void testGetBinIssuedDocumentResponse() { - // TODO: test GetBinIssuedDocumentResponse + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":{\"id\":12345,\"type\":\"invoice\",\"show_totals\":\"all\"}}"; + assertEquals(str, json); + GetBinIssuedDocumentResponse generated = gson.fromJson(str, GetBinIssuedDocumentResponse.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -43,7 +73,14 @@ public void testGetBinIssuedDocumentResponse() { */ @Test public void dataTest() { - // TODO: test data + assertEquals(12345, model.getData().getId()); + model.setData(new IssuedDocument().id(1)); + assertEquals(1, model.getData().getId()); + + model.data(new IssuedDocument().id(2)); + GetBinIssuedDocumentResponse actual = new GetBinIssuedDocumentResponse(); + actual.setData(new IssuedDocument().id(2)); + assertEquals(model, actual); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java index d3055c9f..e665aefb 100644 --- a/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/GetBinReceivedDocumentResponseTest.java @@ -13,14 +13,25 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.ReceivedDocument; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; +import java.math.BigDecimal; +import java.time.LocalDate; import java.util.Arrays; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -28,14 +39,67 @@ * Model tests for GetBinReceivedDocumentResponse */ public class GetBinReceivedDocumentResponseTest { - private final GetBinReceivedDocumentResponse model = new GetBinReceivedDocumentResponse(); + private GetBinReceivedDocumentResponse model; + + @BeforeEach + public void init() { + model = new GetBinReceivedDocumentResponse() + .data(new ReceivedDocument() + .id(12345) + .type(ReceivedDocumentType.EXPENSE) + .entity(new Entity().id(1).name("neim")) + .date(LocalDate.of(2021, 12, 25)) + .category("cat6") + .description("Ricarica") + .amountNet(new BigDecimal(10)) + .amortization(new BigDecimal(10)) + .rcCenter("bg") + .amountVat(new BigDecimal(0)) + .amountWithholdingTax(new BigDecimal(0)) + .amountOtherWithholdingTax(new BigDecimal(0)) + .taxDeductibility(new BigDecimal(50)) + .vatDeductibility(new BigDecimal(100)) + .isMarked(false) + .invoiceNumber("in") + .isMarked(false) + .isDetailed(false) + .eInvoice(false) + .attachmentToken( + "dGdweHdjNjlieWFjY3BseGZ0cTZmbWN0Njhhb3R0cXQvZmlsZW5hbWVfZXhhbXBsZQ==") + .currency(new Currency().id("EUR").exchangeRate("1")) + .addPaymentsListItem( + new ReceivedDocumentPaymentsListItem() + .amount(new BigDecimal(592)) + .dueDate(LocalDate.of(2021, 12, 25)) + .paidDate(LocalDate.of(2021, 12, 25)) + .paymentTerms( + new ReceivedDocumentPaymentsListItemPaymentTerms() + .days(0) + .type(PaymentTermsType.STANDARD)) + .status("paid") + .paymentAccount(new PaymentAccount().id(21))) + .addItemsListItem(new ReceivedDocumentItemsListItem().id(1)) + .isDetailed(false)); + } /** * Model tests for GetBinReceivedDocumentResponse */ @Test public void testGetBinReceivedDocumentResponse() { - // TODO: test GetBinReceivedDocumentResponse + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":{\"id\":12345,\"type\":\"expense\",\"entity\":{\"id\":1,\"name\":\"neim\",\"default_payment_terms_type\":\"standard\"},\"date\":\"2021-12-25\",\"category\":\"cat6\",\"description\":\"Ricarica\",\"amount_net\":10,\"amount_vat\":0,\"amount_withholding_tax\":0,\"amount_other_withholding_tax\":0,\"amortization\":10,\"rc_center\":\"bg\",\"invoice_number\":\"in\",\"is_marked\":false,\"is_detailed\":false,\"e_invoice\":false,\"currency\":{\"id\":\"EUR\",\"exchange_rate\":\"1\"},\"tax_deductibility\":50,\"vat_deductibility\":100,\"items_list\":[{\"id\":1}],\"payments_list\":[{\"amount\":592,\"due_date\":\"2021-12-25\",\"paid_date\":\"2021-12-25\",\"payment_terms\":{\"days\":0,\"type\":\"standard\"},\"status\":\"paid\",\"payment_account\":{\"id\":21,\"type\":\"standard\"}}],\"attachment_token\":\"dGdweHdjNjlieWFjY3BseGZ0cTZmbWN0Njhhb3R0cXQvZmlsZW5hbWVfZXhhbXBsZQ\\u003d\\u003d\"}}"; + assertEquals(str, json); + GetBinReceivedDocumentResponse generated = gson.fromJson(str, GetBinReceivedDocumentResponse.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -43,7 +107,14 @@ public void testGetBinReceivedDocumentResponse() { */ @Test public void dataTest() { - // TODO: test data + assertEquals(12345, model.getData().getId()); + model.setData(new ReceivedDocument().id(1)); + assertEquals(1, model.getData().getId()); + + model.data(new ReceivedDocument().id(2)); + GetBinReceivedDocumentResponse actual = new GetBinReceivedDocumentResponse(); + actual.setData(new ReceivedDocument().id(2)); + assertEquals(model, actual); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java index 611a80d5..d0159481 100644 --- a/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/GetEntityClientPreCreateInfoResponseTest.java @@ -13,14 +13,23 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.EntityClientPreCreateInfo; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.util.Arrays; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -28,14 +37,40 @@ * Model tests for GetEntityClientPreCreateInfoResponse */ public class GetEntityClientPreCreateInfoResponseTest { - private final GetEntityClientPreCreateInfoResponse model = new GetEntityClientPreCreateInfoResponse(); + private GetEntityClientPreCreateInfoResponse model; + + @BeforeEach + public void init() { + model = + new GetEntityClientPreCreateInfoResponse() + .data(new EntityClientPreCreateInfo() + .countriesList(Arrays.asList("Italia", "Marocco")) + .paymentMethodsList( + Arrays.asList(new PaymentMethod().id(1), new PaymentMethod().id(2))) + .paymentAccountsList( + Arrays.asList(new PaymentAccount().id(1), new PaymentAccount().id(2))) + .vatTypesList(Arrays.asList(new VatType().id(1), new VatType().id(2))) + .priceLists(Arrays.asList(new PriceList().id("12345")))); + } /** * Model tests for GetEntityClientPreCreateInfoResponse */ @Test public void testGetEntityClientPreCreateInfoResponse() { - // TODO: test GetEntityClientPreCreateInfoResponse + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":{\"countries_list\":[\"Italia\",\"Marocco\"],\"payment_methods_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"payment_accounts_list\":[{\"id\":1,\"type\":\"standard\"},{\"id\":2,\"type\":\"standard\"}],\"vat_types_list\":[{\"id\":1},{\"id\":2}],\"price_lists\":[{\"id\":\"12345\"}]}}"; + assertEquals(str, json); + GetEntityClientPreCreateInfoResponse generated = gson.fromJson(str, GetEntityClientPreCreateInfoResponse.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -43,7 +78,15 @@ public void testGetEntityClientPreCreateInfoResponse() { */ @Test public void dataTest() { - // TODO: test data + EntityClientPreCreateInfo data = model.getData(); + assertEquals(Arrays.asList("Italia", "Marocco"), data.getCountriesList()); + assertEquals(1, data.getPaymentMethodsList().get(0).getId()); + assertEquals(2, data.getPaymentMethodsList().get(1).getId()); + assertEquals(1, data.getPaymentAccountsList().get(0).getId()); + assertEquals(2, data.getPaymentAccountsList().get(1).getId()); + assertEquals(1, data.getVatTypesList().get(0).getId()); + assertEquals(2, data.getVatTypesList().get(1).getId()); + assertEquals("12345", data.getPriceLists().get(0).getId()); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java index 750b546b..1b55d044 100644 --- a/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java @@ -13,16 +13,26 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.PriceListItem; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; +import java.math.BigDecimal; import java.util.Arrays; import java.util.HashMap; import java.util.Map; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -30,14 +40,35 @@ * Model tests for GetPriceListItemsResponse */ public class GetPriceListItemsResponseTest { - private final GetPriceListItemsResponse model = new GetPriceListItemsResponse(); + private GetPriceListItemsResponse model; + + @BeforeEach + public void init() { + model = + new GetPriceListItemsResponse() + .data(new HashMap() {{ + put("1", new PriceListItem().price(BigDecimal.valueOf(3))); + }}); + } /** * Model tests for GetPriceListItemsResponse */ @Test public void testGetPriceListItemsResponse() { - // TODO: test GetPriceListItemsResponse + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":{\"1\":{\"price\":3}}}"; + assertEquals(str, json); + GetPriceListItemsResponse generated = gson.fromJson(str, GetPriceListItemsResponse.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -45,7 +76,15 @@ public void testGetPriceListItemsResponse() { */ @Test public void dataTest() { - // TODO: test data + assertEquals(BigDecimal.valueOf(3), model.getData().get("1").getPrice()); + model.putDataItem("2", new PriceListItem().price(BigDecimal.valueOf(5))); + assertEquals(BigDecimal.valueOf(5), model.getData().get("2").getPrice()); + model.setData(null); + assertEquals(null, model.getData()); + model.setData(new HashMap<>() {{ + put("3", new PriceListItem().price(BigDecimal.valueOf(10))); + }}); + assertEquals(BigDecimal.valueOf(10), model.getData().get("3").getPrice()); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java b/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java index 9a329c59..ca58a65d 100644 --- a/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/ListBinIssuedDocumentsTest.java @@ -13,16 +13,25 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.IssuedDocument; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -30,14 +39,34 @@ * Model tests for ListBinIssuedDocuments */ public class ListBinIssuedDocumentsTest { - private final ListBinIssuedDocuments model = new ListBinIssuedDocuments(); + private ListBinIssuedDocuments model = new ListBinIssuedDocuments(); + + @BeforeEach + public void init() { + model = + new ListBinIssuedDocuments() + .addDataItem(new IssuedDocument().id(12345).notes("bando")); + } /** * Model tests for ListBinIssuedDocuments */ @Test public void testListBinIssuedDocuments() { - // TODO: test ListBinIssuedDocuments + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":[{\"id\":12345,\"type\":\"invoice\",\"notes\":\"bando\",\"show_totals\":\"all\"}]}"; + assertEquals(str, json); + ListBinIssuedDocuments generated = + gson.fromJson(str, ListBinIssuedDocuments.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -45,7 +74,14 @@ public void testListBinIssuedDocuments() { */ @Test public void dataTest() { - // TODO: test data + assertEquals(12345, model.getData().get(0).getId()); + model.setData(Arrays.asList(new IssuedDocument().id(1))); + assertEquals(1, model.getData().get(0).getId()); + + model.data(Arrays.asList(new IssuedDocument().id(2))); + ListBinIssuedDocuments actual = new ListBinIssuedDocuments(); + actual.setData(Arrays.asList(new IssuedDocument().id(2))); + assertEquals(model, actual); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java b/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java index 1799f173..5fedbb9f 100644 --- a/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/ListBinReceivedDocumentsTest.java @@ -13,31 +13,89 @@ package it.fattureincloud.sdk.model; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import it.fattureincloud.sdk.model.ReceivedDocument; -import java.io.IOException; -import java.util.ArrayList; +import com.google.gson.Gson; + +import it.fattureincloud.sdk.JSON; + + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + +import java.math.BigDecimal; +import java.time.LocalDate; import java.util.Arrays; -import java.util.List; -import org.junit.jupiter.api.Disabled; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Model tests for ListBinReceivedDocuments */ public class ListBinReceivedDocumentsTest { - private final ListBinReceivedDocuments model = new ListBinReceivedDocuments(); + private ListBinReceivedDocuments model; + + @BeforeEach + public void init() { + model = + new ListBinReceivedDocuments() + .addDataItem( + new ReceivedDocument() + .id(12345) + .type(ReceivedDocumentType.EXPENSE) + .entity(new Entity().id(1).name("neim")) + .date(LocalDate.of(2021, 12, 25)) + .category("cat6") + .description("Ricarica") + .amountNet(new BigDecimal(10)) + .amortization(new BigDecimal(10)) + .rcCenter("bg") + .amountVat(new BigDecimal(0)) + .amountWithholdingTax(new BigDecimal(0)) + .amountOtherWithholdingTax(new BigDecimal(0)) + .taxDeductibility(new BigDecimal(50)) + .vatDeductibility(new BigDecimal(100)) + .isMarked(false) + .invoiceNumber("in") + .isMarked(false) + .isDetailed(false) + .eInvoice(false) + .attachmentToken( + "dGdweHdjNjlieWFjY3BseGZ0cTZmbWN0Njhhb3R0cXQvZmlsZW5hbWVfZXhhbXBsZQ==") + .currency(new Currency().id("EUR").exchangeRate("1")) + .addPaymentsListItem( + new ReceivedDocumentPaymentsListItem() + .amount(new BigDecimal(592)) + .dueDate(LocalDate.of(2021, 12, 25)) + .paidDate(LocalDate.of(2021, 12, 25)) + .paymentTerms( + new ReceivedDocumentPaymentsListItemPaymentTerms() + .days(0) + .type(PaymentTermsType.STANDARD)) + .status("paid") + .paymentAccount(new PaymentAccount().id(21))) + .addItemsListItem(new ReceivedDocumentItemsListItem().id(1)) + .isDetailed(false)); + } /** * Model tests for ListBinReceivedDocuments */ @Test public void testListBinReceivedDocuments() { - // TODO: test ListBinReceivedDocuments + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":[{\"id\":12345,\"type\":\"expense\",\"entity\":{\"id\":1,\"name\":\"neim\",\"default_payment_terms_type\":\"standard\"},\"date\":\"2021-12-25\",\"category\":\"cat6\",\"description\":\"Ricarica\",\"amount_net\":10,\"amount_vat\":0,\"amount_withholding_tax\":0,\"amount_other_withholding_tax\":0,\"amortization\":10,\"rc_center\":\"bg\",\"invoice_number\":\"in\",\"is_marked\":false,\"is_detailed\":false,\"e_invoice\":false,\"currency\":{\"id\":\"EUR\",\"exchange_rate\":\"1\"},\"tax_deductibility\":50,\"vat_deductibility\":100,\"items_list\":[{\"id\":1}],\"payments_list\":[{\"amount\":592,\"due_date\":\"2021-12-25\",\"paid_date\":\"2021-12-25\",\"payment_terms\":{\"days\":0,\"type\":\"standard\"},\"status\":\"paid\",\"payment_account\":{\"id\":21,\"type\":\"standard\"}}],\"attachment_token\":\"dGdweHdjNjlieWFjY3BseGZ0cTZmbWN0Njhhb3R0cXQvZmlsZW5hbWVfZXhhbXBsZQ\\u003d\\u003d\"}]}"; + assertEquals(str, json); + ListBinReceivedDocuments generated = + gson.fromJson(str, ListBinReceivedDocuments.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -45,7 +103,14 @@ public void testListBinReceivedDocuments() { */ @Test public void dataTest() { - // TODO: test data + assertEquals(12345, model.getData().get(0).getId()); + model.setData(Arrays.asList(new ReceivedDocument().id(1))); + assertEquals(1, model.getData().get(0).getId()); + + model.data(Arrays.asList(new ReceivedDocument().id(2))); + ListBinReceivedDocuments actual = new ListBinReceivedDocuments(); + actual.setData(Arrays.asList(new ReceivedDocument().id(2))); + assertEquals(model, actual); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java index 90f438bc..c9dca620 100644 --- a/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/ListPriceListsResponseTest.java @@ -13,16 +13,25 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.PriceList; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -30,14 +39,43 @@ * Model tests for ListPriceListsResponse */ public class ListPriceListsResponseTest { - private final ListPriceListsResponse model = new ListPriceListsResponse(); + private ListPriceListsResponse model; + + @BeforeEach + public void init() { + model = + new ListPriceListsResponse() + .addDataItem( + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL) + ); + } + /** * Model tests for ListPriceListsResponse */ @Test public void testListPriceListsResponse() { - // TODO: test ListPriceListsResponse + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"data\":[{\"id\":\"10\",\"name\":\"Listino 1\",\"prices_type\":\"net\",\"is_default\":true,\"valid_from\":\"2023-01-01\",\"valid_to\":\"2023-12-31\",\"type\":\"sell\"}]}"; + assertEquals(str, json); + ListPriceListsResponse generated = gson.fromJson(str, ListPriceListsResponse.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -45,7 +83,14 @@ public void testListPriceListsResponse() { */ @Test public void dataTest() { - // TODO: test data + assertEquals("10", model.getData().get(0).getId()); + model.setData(Arrays.asList(new PriceList().id("11"))); + assertEquals("11", model.getData().get(0).getId()); + + model.data(Arrays.asList(new PriceList().id("12"))); + ListPriceListsResponse actual = new ListPriceListsResponse(); + actual.setData(Arrays.asList(new PriceList().id("12"))); + assertEquals(model, actual); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java index 3d4677c5..45c9a342 100644 --- a/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListItemTest.java @@ -13,14 +13,24 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; import java.math.BigDecimal; +import java.time.LocalDate; import java.util.Arrays; + +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -28,14 +38,33 @@ * Model tests for PriceListItem */ public class PriceListItemTest { - private final PriceListItem model = new PriceListItem(); + private PriceListItem model; + + @BeforeEach + public void init() { + model = + new PriceListItem() + .price(BigDecimal.valueOf(10)); + } /** * Model tests for PriceListItem */ @Test public void testPriceListItem() { - // TODO: test PriceListItem + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"price\":10}"; + assertEquals(str, json); + PriceListItem generated = gson.fromJson(str, PriceListItem.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -43,7 +72,15 @@ public void testPriceListItem() { */ @Test public void priceTest() { - // TODO: test price + assertEquals(model.getPrice(), BigDecimal.valueOf(10)); + model.setPrice(BigDecimal.valueOf(11)); + assertEquals(model.getPrice(), BigDecimal.valueOf(11)); + PriceListItem a = model.price(BigDecimal.valueOf(10)); + PriceListItem expected = + new PriceListItem() + .price(BigDecimal.valueOf(10)); + assertEquals(expected, a); + } } diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java index 7dfe7e2b..b3e38585 100644 --- a/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListPricesTypeTest.java @@ -13,7 +13,13 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; + +import it.fattureincloud.sdk.JSON; + +import static org.junit.jupiter.api.Assertions.assertEquals; + import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -26,7 +32,23 @@ public class PriceListPricesTypeTest { */ @Test public void testPriceListPricesType() { - // TODO: test PriceListPricesType + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + + assertEquals("\"net\"", gson.toJson(PriceListPricesType.NET)); + assertEquals("\"gross\"", gson.toJson(PriceListPricesType.GROSS)); + + assertEquals(PriceListPricesType.NET, gson.fromJson("\"net\"", PriceListPricesType.class)); + assertEquals(PriceListPricesType.GROSS, gson.fromJson("\"gross\"", PriceListPricesType.class)); + + assertEquals("net", PriceListPricesType.NET.getValue()); + assertEquals("gross", PriceListPricesType.GROSS.getValue()); + + assertEquals("net", PriceListPricesType.NET.toString()); + assertEquals("gross", PriceListPricesType.GROSS.toString()); + + assertEquals(PriceListPricesType.NET, PriceListPricesType.fromValue("net")); + assertEquals(PriceListPricesType.GROSS, PriceListPricesType.fromValue("gross")); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java index 40016d55..4a730a68 100644 --- a/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListTest.java @@ -13,16 +13,25 @@ package it.fattureincloud.sdk.model; +import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; + +import it.fattureincloud.sdk.JSON; import it.fattureincloud.sdk.model.PriceListPricesType; import it.fattureincloud.sdk.model.PriceListType; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; + import java.io.IOException; +import java.math.BigDecimal; import java.util.Arrays; import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -30,14 +39,39 @@ * Model tests for PriceList */ public class PriceListTest { - private final PriceList model = new PriceList(); + private PriceList model; + + @BeforeEach + public void init() { + model = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + } /** * Model tests for PriceList */ @Test - public void testPriceList() { - // TODO: test PriceList + public void testPriceListItem() { + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + String json = gson.toJson(model); + String str = + "{\"id\":\"10\",\"name\":\"Listino 1\",\"prices_type\":\"net\",\"is_default\":true,\"valid_from\":\"2023-01-01\",\"valid_to\":\"2023-12-31\",\"type\":\"sell\"}"; + assertEquals(str, json); + PriceList generated = gson.fromJson(str, PriceList.class); + assertEquals(model, generated); + + Object o = model; + assertEquals(model, o); + assertFalse(model.equals(null)); + assertFalse(model.equals(Integer.getInteger("5"))); } /** @@ -45,7 +79,20 @@ public void testPriceList() { */ @Test public void idTest() { - // TODO: test id + assertEquals(model.getId(), "10"); + model.setId("11"); + assertEquals(model.getId(), "11"); + PriceList a = model.id("10"); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } /** @@ -53,7 +100,20 @@ public void idTest() { */ @Test public void nameTest() { - // TODO: test name + assertEquals(model.getName(), "Listino 1"); + model.setName("Listino 2"); + assertEquals(model.getName(), "Listino 2"); + PriceList a = model.name("Listino 1"); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } /** @@ -61,7 +121,20 @@ public void nameTest() { */ @Test public void pricesTypeTest() { - // TODO: test pricesType + assertEquals(model.getPricesType(), PriceListPricesType.NET); + model.setPricesType(PriceListPricesType.GROSS); + assertEquals(model.getPricesType(), PriceListPricesType.GROSS); + PriceList a = model.pricesType(PriceListPricesType.NET); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } /** @@ -69,7 +142,20 @@ public void pricesTypeTest() { */ @Test public void isDefaultTest() { - // TODO: test isDefault + assertEquals(model.getIsDefault(), true); + model.setIsDefault(false); + assertEquals(model.getIsDefault(), false); + PriceList a = model.isDefault(true); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } /** @@ -77,7 +163,20 @@ public void isDefaultTest() { */ @Test public void validFromTest() { - // TODO: test validFrom + assertEquals(model.getValidFrom(), "2023-01-01"); + model.setValidFrom("2023-02-01"); + assertEquals(model.getValidFrom(), "2023-02-01"); + PriceList a = model.validFrom("2023-01-01"); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } /** @@ -85,7 +184,20 @@ public void validFromTest() { */ @Test public void validToTest() { - // TODO: test validTo + assertEquals(model.getValidTo(), "2023-12-31"); + model.setValidTo("2024-01-01"); + assertEquals(model.getValidTo(), "2024-01-01"); + PriceList a = model.validTo("2023-12-31"); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } /** @@ -93,7 +205,20 @@ public void validToTest() { */ @Test public void typeTest() { - // TODO: test type + assertEquals(model.getType(), PriceListType.SELL); + model.setType(PriceListType.PURCHASE); + assertEquals(model.getType(), PriceListType.PURCHASE); + PriceList a = model.type(PriceListType.SELL); + PriceList expected = + new PriceList() + .id("10") + .name("Listino 1") + .pricesType(PriceListPricesType.NET) + .isDefault(true) + .validFrom("2023-01-01") + .validTo("2023-12-31") + .type(PriceListType.SELL); + assertEquals(expected, a); } } diff --git a/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java b/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java index 044a446d..d0840ba1 100644 --- a/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/PriceListTypeTest.java @@ -13,8 +13,12 @@ package it.fattureincloud.sdk.model; -import com.google.gson.annotations.SerializedName; -import org.junit.jupiter.api.Disabled; +import com.google.gson.Gson; + +import it.fattureincloud.sdk.JSON; + +import static org.junit.jupiter.api.Assertions.assertEquals; + import org.junit.jupiter.api.Test; /** @@ -26,7 +30,23 @@ public class PriceListTypeTest { */ @Test public void testPriceListType() { - // TODO: test PriceListType + JSON jsonManager = new JSON(); + Gson gson = jsonManager.getGson(); + + assertEquals("\"sell\"", gson.toJson(PriceListType.SELL)); + assertEquals("\"purchase\"", gson.toJson(PriceListType.PURCHASE)); + + assertEquals(PriceListType.SELL, gson.fromJson("\"sell\"", PriceListType.class)); + assertEquals(PriceListType.PURCHASE, gson.fromJson("\"purchase\"", PriceListType.class)); + + assertEquals("sell", PriceListType.SELL.getValue()); + assertEquals("purchase", PriceListType.PURCHASE.getValue()); + + assertEquals("sell", PriceListType.SELL.toString()); + assertEquals("purchase", PriceListType.PURCHASE.toString()); + + assertEquals(PriceListType.SELL, PriceListType.fromValue("sell")); + assertEquals(PriceListType.PURCHASE, PriceListType.fromValue("purchase")); } } From 4a04569898d076b3a813ef7851bc37c3f3ee333c Mon Sep 17 00:00:00 2001 From: Gabriele Barcella Date: Thu, 7 Aug 2025 16:43:32 +0200 Subject: [PATCH 4/4] fix: fixed anonymous <> --- .../fattureincloud/sdk/model/GetPriceListItemsResponseTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java b/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java index 1b55d044..c69e9621 100644 --- a/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java +++ b/src/test/java/it/fattureincloud/sdk/model/GetPriceListItemsResponseTest.java @@ -81,7 +81,7 @@ public void dataTest() { assertEquals(BigDecimal.valueOf(5), model.getData().get("2").getPrice()); model.setData(null); assertEquals(null, model.getData()); - model.setData(new HashMap<>() {{ + model.setData(new HashMap() {{ put("3", new PriceListItem().price(BigDecimal.valueOf(10))); }}); assertEquals(BigDecimal.valueOf(10), model.getData().get("3").getPrice());