Skip to content

Commit a6f024f

Browse files
authored
Merge pull request #150 from fattureincloud/revert-commit-without-update
Revert "Merge pull request #147 from fattureincloud/devel-2.1.1"
2 parents 8ae65f1 + f785192 commit a6f024f

File tree

276 files changed

+2019
-4463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+2019
-4463
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ docs/Model/GetReceiptsMonthlyTotalsResponse.md
109109
docs/Model/GetReceivedDocumentPreCreateInfoResponse.md
110110
docs/Model/GetReceivedDocumentResponse.md
111111
docs/Model/GetSupplierResponse.md
112-
docs/Model/GetTaxProfileResponse.md
113112
docs/Model/GetUserInfoResponse.md
114113
docs/Model/GetUserInfoResponseEmailConfirmationState.md
115114
docs/Model/GetUserInfoResponseInfo.md
@@ -233,7 +232,6 @@ docs/Model/SenderEmail.md
233232
docs/Model/ShowTotalsMode.md
234233
docs/Model/Supplier.md
235234
docs/Model/SupplierType.md
236-
docs/Model/TaxProfile.md
237235
docs/Model/TransformIssuedDocumentResponse.md
238236
docs/Model/UploadArchiveAttachmentResponse.md
239237
docs/Model/UploadF24AttachmentResponse.md
@@ -363,7 +361,6 @@ lib/Model/GetReceiptsMonthlyTotalsResponse.php
363361
lib/Model/GetReceivedDocumentPreCreateInfoResponse.php
364362
lib/Model/GetReceivedDocumentResponse.php
365363
lib/Model/GetSupplierResponse.php
366-
lib/Model/GetTaxProfileResponse.php
367364
lib/Model/GetUserInfoResponse.php
368365
lib/Model/GetUserInfoResponseEmailConfirmationState.php
369366
lib/Model/GetUserInfoResponseInfo.php
@@ -488,7 +485,6 @@ lib/Model/SenderEmail.php
488485
lib/Model/ShowTotalsMode.php
489486
lib/Model/Supplier.php
490487
lib/Model/SupplierType.php
491-
lib/Model/TaxProfile.php
492488
lib/Model/TransformIssuedDocumentResponse.php
493489
lib/Model/UploadArchiveAttachmentResponse.php
494490
lib/Model/UploadF24AttachmentResponse.php
@@ -510,5 +506,3 @@ lib/Model/WebhooksSubscriptionConfig.php
510506
lib/Model/WebhooksSubscriptionMapping.php
511507
lib/ObjectSerializer.php
512508
phpunit.xml.dist
513-
test/Model/GetTaxProfileResponseTest.php
514-
test/Model/TaxProfileTest.php

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.9.0
1+
7.6.0

.php-cs-fixer.cache

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ Class | Method | HTTP request | Description
153153
*SettingsApi* | [**deleteVatType**](docs/Api/SettingsApi.md#deletevattype) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type
154154
*SettingsApi* | [**getPaymentAccount**](docs/Api/SettingsApi.md#getpaymentaccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account
155155
*SettingsApi* | [**getPaymentMethod**](docs/Api/SettingsApi.md#getpaymentmethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method
156-
*SettingsApi* | [**getTaxProfile**](docs/Api/SettingsApi.md#gettaxprofile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile
157156
*SettingsApi* | [**getVatType**](docs/Api/SettingsApi.md#getvattype) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type
158157
*SettingsApi* | [**modifyPaymentAccount**](docs/Api/SettingsApi.md#modifypaymentaccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account
159158
*SettingsApi* | [**modifyPaymentMethod**](docs/Api/SettingsApi.md#modifypaymentmethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method
@@ -271,7 +270,6 @@ Class | Method | HTTP request | Description
271270
- [GetReceivedDocumentPreCreateInfoResponse](docs/Model/GetReceivedDocumentPreCreateInfoResponse.md)
272271
- [GetReceivedDocumentResponse](docs/Model/GetReceivedDocumentResponse.md)
273272
- [GetSupplierResponse](docs/Model/GetSupplierResponse.md)
274-
- [GetTaxProfileResponse](docs/Model/GetTaxProfileResponse.md)
275273
- [GetUserInfoResponse](docs/Model/GetUserInfoResponse.md)
276274
- [GetUserInfoResponseEmailConfirmationState](docs/Model/GetUserInfoResponseEmailConfirmationState.md)
277275
- [GetUserInfoResponseInfo](docs/Model/GetUserInfoResponseInfo.md)
@@ -395,7 +393,6 @@ Class | Method | HTTP request | Description
395393
- [ShowTotalsMode](docs/Model/ShowTotalsMode.md)
396394
- [Supplier](docs/Model/Supplier.md)
397395
- [SupplierType](docs/Model/SupplierType.md)
398-
- [TaxProfile](docs/Model/TaxProfile.md)
399396
- [TransformIssuedDocumentResponse](docs/Model/TransformIssuedDocumentResponse.md)
400397
- [UploadArchiveAttachmentResponse](docs/Model/UploadArchiveAttachmentResponse.md)
401398
- [UploadF24AttachmentResponse](docs/Model/UploadF24AttachmentResponse.md)
@@ -483,5 +480,5 @@ [email protected]
483480

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

486-
- API version: `2.1.2`
483+
- API version: `2.1.0`
487484
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

docs/Api/IssuedDocumentsApi.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ try {
523523
## `joinIssuedDocuments()`
524524

525525
```php
526-
joinIssuedDocuments($company_id, $ids, $group, $parameter): \FattureInCloud\Model\JoinIssuedDocumentsResponse
526+
joinIssuedDocuments($company_id, $ids, $group, $e_invoice): \FattureInCloud\Model\JoinIssuedDocumentsResponse
527527
```
528528

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

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

572572
### Return type
573573

@@ -792,7 +792,7 @@ void (empty response body)
792792
## `transformIssuedDocument()`
793793

794794
```php
795-
transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse
795+
transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse
796796
```
797797

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

826825
try {
827-
$result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy);
826+
$result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy);
828827
print_r($result);
829828
} catch (Exception $e) {
830829
echo 'Exception when calling IssuedDocumentsApi->transformIssuedDocument: ', $e->getMessage(), PHP_EOL;
@@ -838,7 +837,6 @@ try {
838837
| **company_id** | **int**| The ID of the company. | |
839838
| **original_document_id** | **int**| Original document id. | |
840839
| **new_type** | **string**| New document type. | |
841-
| **parameter** | **string**| Old document type. | [optional] |
842840
| **e_invoice** | **int**| New document e_invoice. | [optional] |
843841
| **transform_keep_copy** | **int**| Keep the old document. | [optional] |
844842

docs/Api/SettingsApi.md

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ All URIs are relative to https://api-v2.fattureincloud.it, except if the operati
1212
| [**deleteVatType()**](SettingsApi.md#deleteVatType) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type |
1313
| [**getPaymentAccount()**](SettingsApi.md#getPaymentAccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account |
1414
| [**getPaymentMethod()**](SettingsApi.md#getPaymentMethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method |
15-
| [**getTaxProfile()**](SettingsApi.md#getTaxProfile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile |
1615
| [**getVatType()**](SettingsApi.md#getVatType) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type |
1716
| [**modifyPaymentAccount()**](SettingsApi.md#modifyPaymentAccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account |
1817
| [**modifyPaymentMethod()**](SettingsApi.md#modifyPaymentMethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method |
@@ -520,66 +519,6 @@ try {
520519
[[Back to Model list]](../../README.md#models)
521520
[[Back to README]](../../README.md)
522521

523-
## `getTaxProfile()`
524-
525-
```php
526-
getTaxProfile($company_id): \FattureInCloud\Model\GetTaxProfileResponse
527-
```
528-
529-
Get Tax Profile
530-
531-
Gets the Tax Profile
532-
533-
### Example
534-
535-
```php
536-
<?php
537-
require_once(__DIR__ . '/vendor/autoload.php');
538-
539-
540-
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
541-
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
542-
543-
544-
$apiInstance = new FattureInCloud\Api\SettingsApi(
545-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
546-
// This is optional, `GuzzleHttp\Client` will be used as default.
547-
new GuzzleHttp\Client(),
548-
$config
549-
);
550-
$company_id = 12345; // int | The ID of the company.
551-
552-
try {
553-
$result = $apiInstance->getTaxProfile($company_id);
554-
print_r($result);
555-
} catch (Exception $e) {
556-
echo 'Exception when calling SettingsApi->getTaxProfile: ', $e->getMessage(), PHP_EOL;
557-
}
558-
```
559-
560-
### Parameters
561-
562-
| Name | Type | Description | Notes |
563-
| ------------- | ------------- | ------------- | ------------- |
564-
| **company_id** | **int**| The ID of the company. | |
565-
566-
### Return type
567-
568-
[**\FattureInCloud\Model\GetTaxProfileResponse**](../Model/GetTaxProfileResponse.md)
569-
570-
### Authorization
571-
572-
[OAuth2AuthenticationCodeFlow](../../README.md#OAuth2AuthenticationCodeFlow)
573-
574-
### HTTP request headers
575-
576-
- **Content-Type**: Not defined
577-
- **Accept**: `application/json`
578-
579-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
580-
[[Back to Model list]](../../README.md#models)
581-
[[Back to README]](../../README.md)
582-
583522
## `getVatType()`
584523

585524
```php

docs/Model/Email.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **int** | Email id | [optional]
88
**status** | [**\FattureInCloud\Model\EmailStatus**](EmailStatus.md) | | [optional]
9-
**sent_date** | **string** | Email sent date | [optional]
9+
**sent_date** | **\DateTime** | Email sent date | [optional]
1010
**errors_count** | **int** | Email errors count | [optional]
1111
**error_log** | **string** | Email errors log | [optional]
1212
**from_email** | **string** | Email sender email | [optional]

docs/Model/GetTaxProfileResponse.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/Model/IssuedDocument.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**year** | **int** | Issued document year | [optional]
1414
**currency** | [**\FattureInCloud\Model\Currency**](Currency.md) | | [optional]
1515
**language** | [**\FattureInCloud\Model\Language**](Language.md) | | [optional]
16-
**subject** | **string** | Issued document subject [not shown on the PDF] | [optional]
16+
**subject** | **string** | Issued document subject | [optional]
1717
**visible_subject** | **string** | Issued document visible subject | [optional]
1818
**rc_center** | **string** | Issued document revenue center [or cost center if type&#x3D;supplier_order]. | [optional]
1919
**notes** | **string** | Issued document extra notes | [optional]

docs/Model/TaxProfile.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)