Skip to content

Commit

Permalink
chore: bumping version to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fattureincloud-bot authored and github-actions[bot] committed Oct 25, 2024
1 parent a6f024f commit ed06427
Show file tree
Hide file tree
Showing 290 changed files with 6,935 additions and 4,782 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ docs/Model/GetReceiptsMonthlyTotalsResponse.md
docs/Model/GetReceivedDocumentPreCreateInfoResponse.md
docs/Model/GetReceivedDocumentResponse.md
docs/Model/GetSupplierResponse.md
docs/Model/GetTaxProfileResponse.md
docs/Model/GetUserInfoResponse.md
docs/Model/GetUserInfoResponseEmailConfirmationState.md
docs/Model/GetUserInfoResponseInfo.md
Expand Down Expand Up @@ -232,6 +233,7 @@ docs/Model/SenderEmail.md
docs/Model/ShowTotalsMode.md
docs/Model/Supplier.md
docs/Model/SupplierType.md
docs/Model/TaxProfile.md
docs/Model/TransformIssuedDocumentResponse.md
docs/Model/UploadArchiveAttachmentResponse.md
docs/Model/UploadF24AttachmentResponse.md
Expand Down Expand Up @@ -361,6 +363,7 @@ lib/Model/GetReceiptsMonthlyTotalsResponse.php
lib/Model/GetReceivedDocumentPreCreateInfoResponse.php
lib/Model/GetReceivedDocumentResponse.php
lib/Model/GetSupplierResponse.php
lib/Model/GetTaxProfileResponse.php
lib/Model/GetUserInfoResponse.php
lib/Model/GetUserInfoResponseEmailConfirmationState.php
lib/Model/GetUserInfoResponseInfo.php
Expand Down Expand Up @@ -485,6 +488,7 @@ lib/Model/SenderEmail.php
lib/Model/ShowTotalsMode.php
lib/Model/Supplier.php
lib/Model/SupplierType.php
lib/Model/TaxProfile.php
lib/Model/TransformIssuedDocumentResponse.php
lib/Model/UploadArchiveAttachmentResponse.php
lib/Model/UploadF24AttachmentResponse.php
Expand All @@ -506,3 +510,5 @@ lib/Model/WebhooksSubscriptionConfig.php
lib/Model/WebhooksSubscriptionMapping.php
lib/ObjectSerializer.php
phpunit.xml.dist
test/Model/GetTaxProfileResponseTest.php
test/Model/TaxProfileTest.php
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.6.0
7.9.0
2 changes: 1 addition & 1 deletion .php-cs-fixer.cache

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# FattureInCloud PHP SDK

[![Packagist](https://img.shields.io/packagist/v/fattureincloud/fattureincloud-php-sdk?color=g)](https://packagist.org/packages/fattureincloud/fattureincloud-php-sdk) ![unit tests](https://github.com/fattureincloud/fattureincloud-php-sdk/actions/workflows/validate.yaml/badge.svg)

Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy.

The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
Expand Down Expand Up @@ -153,6 +152,7 @@ Class | Method | HTTP request | Description
*SettingsApi* | [**deleteVatType**](docs/Api/SettingsApi.md#deletevattype) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type
*SettingsApi* | [**getPaymentAccount**](docs/Api/SettingsApi.md#getpaymentaccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account
*SettingsApi* | [**getPaymentMethod**](docs/Api/SettingsApi.md#getpaymentmethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method
*SettingsApi* | [**getTaxProfile**](docs/Api/SettingsApi.md#gettaxprofile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile
*SettingsApi* | [**getVatType**](docs/Api/SettingsApi.md#getvattype) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type
*SettingsApi* | [**modifyPaymentAccount**](docs/Api/SettingsApi.md#modifypaymentaccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account
*SettingsApi* | [**modifyPaymentMethod**](docs/Api/SettingsApi.md#modifypaymentmethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method
Expand Down Expand Up @@ -270,6 +270,7 @@ Class | Method | HTTP request | Description
- [GetReceivedDocumentPreCreateInfoResponse](docs/Model/GetReceivedDocumentPreCreateInfoResponse.md)
- [GetReceivedDocumentResponse](docs/Model/GetReceivedDocumentResponse.md)
- [GetSupplierResponse](docs/Model/GetSupplierResponse.md)
- [GetTaxProfileResponse](docs/Model/GetTaxProfileResponse.md)
- [GetUserInfoResponse](docs/Model/GetUserInfoResponse.md)
- [GetUserInfoResponseEmailConfirmationState](docs/Model/GetUserInfoResponseEmailConfirmationState.md)
- [GetUserInfoResponseInfo](docs/Model/GetUserInfoResponseInfo.md)
Expand Down Expand Up @@ -393,6 +394,7 @@ Class | Method | HTTP request | Description
- [ShowTotalsMode](docs/Model/ShowTotalsMode.md)
- [Supplier](docs/Model/Supplier.md)
- [SupplierType](docs/Model/SupplierType.md)
- [TaxProfile](docs/Model/TaxProfile.md)
- [TransformIssuedDocumentResponse](docs/Model/TransformIssuedDocumentResponse.md)
- [UploadArchiveAttachmentResponse](docs/Model/UploadArchiveAttachmentResponse.md)
- [UploadF24AttachmentResponse](docs/Model/UploadF24AttachmentResponse.md)
Expand Down Expand Up @@ -480,5 +482,5 @@ [email protected]

This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `2.1.0`
- API version: `2.1.2`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
33 changes: 6 additions & 27 deletions docs/Api/ArchiveApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$create_archive_document_request = new \FattureInCloud\Model\CreateArchiveDocumentRequest; // \FattureInCloud\Model\CreateArchiveDocumentRequest | The Archive Document.

$company_id = 12345; // int | The ID of the company.$create_archive_document_request = new \FattureInCloud\Model\CreateArchiveDocumentRequest; // \FattureInCloud\Model\CreateArchiveDocumentRequest | The Archive Document.
try {
$result = $apiInstance->createArchiveDocument($company_id, $create_archive_document_request);
print_r($result);
Expand Down Expand Up @@ -101,9 +99,7 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$document_id = 56; // int | The ID of the document.

$company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.
try {
$apiInstance->deleteArchiveDocument($company_id, $document_id);
} catch (Exception $e) {
Expand Down Expand Up @@ -162,11 +158,7 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$document_id = 56; // int | The ID of the document.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

$company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
try {
$result = $apiInstance->getArchiveDocument($company_id, $document_id, $fields, $fieldset);
print_r($result);
Expand Down Expand Up @@ -228,14 +220,7 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).
$page = 1; // int | The page to retrieve.
$per_page = 5; // int | The size of the page.
$q = 'q_example'; // string | Query for filtering the results.

$company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results.
try {
$result = $apiInstance->listArchiveDocuments($company_id, $fields, $fieldset, $sort, $page, $per_page, $q);
print_r($result);
Expand Down Expand Up @@ -300,10 +285,7 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$document_id = 56; // int | The ID of the document.
$modify_archive_document_request = new \FattureInCloud\Model\ModifyArchiveDocumentRequest; // \FattureInCloud\Model\ModifyArchiveDocumentRequest | Modified Archive Document

$company_id = 12345; // int | The ID of the company.$document_id = 56; // int | The ID of the document.$modify_archive_document_request = new \FattureInCloud\Model\ModifyArchiveDocumentRequest; // \FattureInCloud\Model\ModifyArchiveDocumentRequest | Modified Archive Document
try {
$result = $apiInstance->modifyArchiveDocument($company_id, $document_id, $modify_archive_document_request);
print_r($result);
Expand Down Expand Up @@ -364,10 +346,7 @@ $apiInstance = new FattureInCloud\Api\ArchiveApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$filename = 'filename_example'; // string | Attachment file name
$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]

$company_id = 12345; // int | The ID of the company.$filename = 'filename_example'; // string | Attachment file name$attachment = "/path/to/file.txt"; // \SplFileObject | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
try {
$result = $apiInstance->uploadArchiveDocumentAttachment($company_id, $filename, $attachment);
print_r($result);
Expand Down
27 changes: 5 additions & 22 deletions docs/Api/CashbookApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$create_cashbook_entry_request = new \FattureInCloud\Model\CreateCashbookEntryRequest; // \FattureInCloud\Model\CreateCashbookEntryRequest | Cashbook entry.

$company_id = 12345; // int | The ID of the company.$create_cashbook_entry_request = new \FattureInCloud\Model\CreateCashbookEntryRequest; // \FattureInCloud\Model\CreateCashbookEntryRequest | Cashbook entry.
try {
$result = $apiInstance->createCashbookEntry($company_id, $create_cashbook_entry_request);
print_r($result);
Expand Down Expand Up @@ -100,9 +98,7 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$document_id = 'document_id_example'; // string | The ID of the document.

$company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.
try {
$apiInstance->deleteCashbookEntry($company_id, $document_id);
} catch (Exception $e) {
Expand Down Expand Up @@ -161,11 +157,7 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$document_id = 'document_id_example'; // string | The ID of the document.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

$company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
try {
$result = $apiInstance->getCashbookEntry($company_id, $document_id, $fields, $fieldset);
print_r($result);
Expand Down Expand Up @@ -227,13 +219,7 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$date_from = 'date_from_example'; // string | Start date.
$date_to = 'date_to_example'; // string | End date.
$year = 56; // int | Filter cashbook by year.
$type = 'type_example'; // string | Filter cashbook by type.
$payment_account_id = 56; // int | Filter by payment account.

$company_id = 12345; // int | The ID of the company.$date_from = 'date_from_example'; // string | Start date.$date_to = 'date_to_example'; // string | End date.$year = 56; // int | Filter cashbook by year.$type = 'type_example'; // string | Filter cashbook by type.$payment_account_id = 56; // int | Filter by payment account.
try {
$result = $apiInstance->listCashbookEntries($company_id, $date_from, $date_to, $year, $type, $payment_account_id);
print_r($result);
Expand Down Expand Up @@ -297,10 +283,7 @@ $apiInstance = new FattureInCloud\Api\CashbookApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$document_id = 'document_id_example'; // string | The ID of the document.
$modify_cashbook_entry_request = new \FattureInCloud\Model\ModifyCashbookEntryRequest; // \FattureInCloud\Model\ModifyCashbookEntryRequest | Cashbook Entry

$company_id = 12345; // int | The ID of the company.$document_id = 'document_id_example'; // string | The ID of the document.$modify_cashbook_entry_request = new \FattureInCloud\Model\ModifyCashbookEntryRequest; // \FattureInCloud\Model\ModifyCashbookEntryRequest | Cashbook Entry
try {
$result = $apiInstance->modifyCashbookEntry($company_id, $document_id, $modify_cashbook_entry_request);
print_r($result);
Expand Down
28 changes: 5 additions & 23 deletions docs/Api/ClientsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$create_client_request = new \FattureInCloud\Model\CreateClientRequest; // \FattureInCloud\Model\CreateClientRequest | The client to create

$company_id = 12345; // int | The ID of the company.$create_client_request = new \FattureInCloud\Model\CreateClientRequest; // \FattureInCloud\Model\CreateClientRequest | The client to create
try {
$result = $apiInstance->createClient($company_id, $create_client_request);
print_r($result);
Expand Down Expand Up @@ -100,9 +98,7 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$client_id = 56; // int | The ID of the client.

$company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.
try {
$apiInstance->deleteClient($company_id, $client_id);
} catch (Exception $e) {
Expand Down Expand Up @@ -161,11 +157,7 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$client_id = 56; // int | The ID of the client.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.

$company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.
try {
$result = $apiInstance->getClient($company_id, $client_id, $fields, $fieldset);
print_r($result);
Expand Down Expand Up @@ -227,14 +219,7 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$fields = 'fields_example'; // string | List of comma-separated fields.
$fieldset = 'fieldset_example'; // string | Name of the fieldset.
$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).
$page = 1; // int | The page to retrieve.
$per_page = 5; // int | The size of the page.
$q = 'q_example'; // string | Query for filtering the results.

$company_id = 12345; // int | The ID of the company.$fields = 'fields_example'; // string | List of comma-separated fields.$fieldset = 'fieldset_example'; // string | Name of the fieldset.$sort = 'sort_example'; // string | List of comma-separated fields for result sorting (minus for desc sorting).$page = 1; // int | The page to retrieve.$per_page = 5; // int | The size of the page.$q = 'q_example'; // string | Query for filtering the results.
try {
$result = $apiInstance->listClients($company_id, $fields, $fieldset, $sort, $page, $per_page, $q);
print_r($result);
Expand Down Expand Up @@ -299,10 +284,7 @@ $apiInstance = new FattureInCloud\Api\ClientsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$client_id = 56; // int | The ID of the client.
$modify_client_request = new \FattureInCloud\Model\ModifyClientRequest; // \FattureInCloud\Model\ModifyClientRequest | The modified Client. First level parameters are managed in delta mode.

$company_id = 12345; // int | The ID of the company.$client_id = 56; // int | The ID of the client.$modify_client_request = new \FattureInCloud\Model\ModifyClientRequest; // \FattureInCloud\Model\ModifyClientRequest | The modified Client. First level parameters are managed in delta mode.
try {
$result = $apiInstance->modifyClient($company_id, $client_id, $modify_client_request);
print_r($result);
Expand Down
7 changes: 2 additions & 5 deletions docs/Api/CompaniesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ $apiInstance = new FattureInCloud\Api\CompaniesApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.

$company_id = 12345; // int | The ID of the company.
try {
$result = $apiInstance->getCompanyInfo($company_id);
print_r($result);
Expand Down Expand Up @@ -95,9 +94,7 @@ $apiInstance = new FattureInCloud\Api\CompaniesApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.
$category = 'category_example'; // string | Category

$company_id = 12345; // int | The ID of the company.$category = 'category_example'; // string | Category
try {
$result = $apiInstance->getCompanyPlanUsage($company_id, $category);
print_r($result);
Expand Down
3 changes: 1 addition & 2 deletions docs/Api/EmailsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ $apiInstance = new FattureInCloud\Api\EmailsApi(
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.

$company_id = 12345; // int | The ID of the company.
try {
$result = $apiInstance->listEmails($company_id);
print_r($result);
Expand Down
Loading

0 comments on commit ed06427

Please sign in to comment.