Skip to content

Commit

Permalink
Merge pull request #150 from fattureincloud/revert-commit-without-update
Browse files Browse the repository at this point in the history
Revert "Merge pull request #147 from fattureincloud/devel-2.1.1"
  • Loading branch information
barcigabri authored Oct 24, 2024
2 parents 8ae65f1 + f785192 commit a6f024f
Show file tree
Hide file tree
Showing 276 changed files with 2,019 additions and 4,463 deletions.
6 changes: 0 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ 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 @@ -233,7 +232,6 @@ 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 @@ -363,7 +361,6 @@ 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 @@ -488,7 +485,6 @@ 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 @@ -510,5 +506,3 @@ 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.9.0
7.6.0
2 changes: 1 addition & 1 deletion .php-cs-fixer.cache

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ 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 @@ -271,7 +270,6 @@ 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 @@ -395,7 +393,6 @@ 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 @@ -483,5 +480,5 @@ [email protected]

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

- API version: `2.1.2`
- API version: `2.1.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
14 changes: 6 additions & 8 deletions docs/Api/IssuedDocumentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ try {
## `joinIssuedDocuments()`

```php
joinIssuedDocuments($company_id, $ids, $group, $parameter): \FattureInCloud\Model\JoinIssuedDocumentsResponse
joinIssuedDocuments($company_id, $ids, $group, $e_invoice): \FattureInCloud\Model\JoinIssuedDocumentsResponse
```

Join Issued Documents
Expand All @@ -550,10 +550,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi(
$company_id = 12345; // int | The ID of the company.
$ids = 1,2,3,4; // string | Ids of the documents.
$group = 56; // int | Group items.
$parameter = delivery_notes, orders, quotes, work_reports; // string | Type of the parameters to be joined
$e_invoice = 56; // int | New document e_invoice.

try {
$result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $parameter);
$result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $e_invoice);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IssuedDocumentsApi->joinIssuedDocuments: ', $e->getMessage(), PHP_EOL;
Expand All @@ -567,7 +567,7 @@ try {
| **company_id** | **int**| The ID of the company. | |
| **ids** | **string**| Ids of the documents. | |
| **group** | **int**| Group items. | [optional] |
| **parameter** | **string**| Type of the parameters to be joined | [optional] |
| **e_invoice** | **int**| New document e_invoice. | [optional] |

### Return type

Expand Down Expand Up @@ -792,7 +792,7 @@ void (empty response body)
## `transformIssuedDocument()`

```php
transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse
transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse
```

Transform Issued Document
Expand All @@ -819,12 +819,11 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi(
$company_id = 12345; // int | The ID of the company.
$original_document_id = 56; // int | Original document id.
$new_type = 'new_type_example'; // string | New document type.
$parameter = 'parameter_example'; // string | Old document type.
$e_invoice = 56; // int | New document e_invoice.
$transform_keep_copy = 56; // int | Keep the old document.

try {
$result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy);
$result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IssuedDocumentsApi->transformIssuedDocument: ', $e->getMessage(), PHP_EOL;
Expand All @@ -838,7 +837,6 @@ try {
| **company_id** | **int**| The ID of the company. | |
| **original_document_id** | **int**| Original document id. | |
| **new_type** | **string**| New document type. | |
| **parameter** | **string**| Old document type. | [optional] |
| **e_invoice** | **int**| New document e_invoice. | [optional] |
| **transform_keep_copy** | **int**| Keep the old document. | [optional] |

Expand Down
61 changes: 0 additions & 61 deletions docs/Api/SettingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ All URIs are relative to https://api-v2.fattureincloud.it, except if the operati
| [**deleteVatType()**](SettingsApi.md#deleteVatType) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type |
| [**getPaymentAccount()**](SettingsApi.md#getPaymentAccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account |
| [**getPaymentMethod()**](SettingsApi.md#getPaymentMethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method |
| [**getTaxProfile()**](SettingsApi.md#getTaxProfile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile |
| [**getVatType()**](SettingsApi.md#getVatType) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type |
| [**modifyPaymentAccount()**](SettingsApi.md#modifyPaymentAccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account |
| [**modifyPaymentMethod()**](SettingsApi.md#modifyPaymentMethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method |
Expand Down Expand Up @@ -520,66 +519,6 @@ try {
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)

## `getTaxProfile()`

```php
getTaxProfile($company_id): \FattureInCloud\Model\GetTaxProfileResponse
```

Get Tax Profile

Gets the Tax Profile

### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new FattureInCloud\Api\SettingsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$company_id = 12345; // int | The ID of the company.

try {
$result = $apiInstance->getTaxProfile($company_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SettingsApi->getTaxProfile: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **company_id** | **int**| The ID of the company. | |

### Return type

[**\FattureInCloud\Model\GetTaxProfileResponse**](../Model/GetTaxProfileResponse.md)

### Authorization

[OAuth2AuthenticationCodeFlow](../../README.md#OAuth2AuthenticationCodeFlow)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `application/json`

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)

## `getVatType()`

```php
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/Email.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **int** | Email id | [optional]
**status** | [**\FattureInCloud\Model\EmailStatus**](EmailStatus.md) | | [optional]
**sent_date** | **string** | Email sent date | [optional]
**sent_date** | **\DateTime** | Email sent date | [optional]
**errors_count** | **int** | Email errors count | [optional]
**error_log** | **string** | Email errors log | [optional]
**from_email** | **string** | Email sender email | [optional]
Expand Down
9 changes: 0 additions & 9 deletions docs/Model/GetTaxProfileResponse.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Model/IssuedDocument.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**year** | **int** | Issued document year | [optional]
**currency** | [**\FattureInCloud\Model\Currency**](Currency.md) | | [optional]
**language** | [**\FattureInCloud\Model\Language**](Language.md) | | [optional]
**subject** | **string** | Issued document subject [not shown on the PDF] | [optional]
**subject** | **string** | Issued document subject | [optional]
**visible_subject** | **string** | Issued document visible subject | [optional]
**rc_center** | **string** | Issued document revenue center [or cost center if type&#x3D;supplier_order]. | [optional]
**notes** | **string** | Issued document extra notes | [optional]
Expand Down
29 changes: 0 additions & 29 deletions docs/Model/TaxProfile.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/Model/VatType.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ Name | Type | Description | Notes
**ei_description** | **string** | Vat type e-invoice description | [optional]
**editable** | **bool** | [Read Only] Is the vat type is editable. | [optional] [readonly]
**is_disabled** | **bool** | Is the vat type disabled | [optional]
**default** | **bool** | If the vat type is default | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Loading

0 comments on commit a6f024f

Please sign in to comment.