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 Aug 8, 2024
1 parent a3267d1 commit dff04cf
Show file tree
Hide file tree
Showing 270 changed files with 1,580 additions and 526 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ docs/GetReceiptsMonthlyTotalsResponse.md
docs/GetReceivedDocumentPreCreateInfoResponse.md
docs/GetReceivedDocumentResponse.md
docs/GetSupplierResponse.md
docs/GetTaxProfileResponse.md
docs/GetUserInfoResponse.md
docs/GetUserInfoResponseEmailConfirmationState.md
docs/GetUserInfoResponseInfo.md
Expand Down Expand Up @@ -230,6 +231,7 @@ docs/ShowTotalsMode.md
docs/Supplier.md
docs/SupplierType.md
docs/SuppliersApi.md
docs/TaxProfile.md
docs/TaxesApi.md
docs/TransformIssuedDocumentResponse.md
docs/UploadArchiveAttachmentResponse.md
Expand Down Expand Up @@ -364,6 +366,7 @@ lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb
lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb
lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb
lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb
lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb
lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb
lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb
lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb
Expand Down Expand Up @@ -487,6 +490,7 @@ lib/fattureincloud_ruby_sdk/models/sender_email.rb
lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb
lib/fattureincloud_ruby_sdk/models/supplier.rb
lib/fattureincloud_ruby_sdk/models/supplier_type.rb
lib/fattureincloud_ruby_sdk/models/tax_profile.rb
lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb
lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb
lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb
Expand All @@ -507,4 +511,6 @@ lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb
lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb
lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb
lib/fattureincloud_ruby_sdk/version.rb
spec/models/get_tax_profile_response_spec.rb
spec/models/tax_profile_spec.rb
spec/spec_helper.rb
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.7.0
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build fattureincloud_ruby_sdk.gemspec
- gem install ./fattureincloud_ruby_sdk-2.1.0.gem
- gem install ./fattureincloud_ruby_sdk-2.1.1.gem
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ The Fatture in Cloud API is based on REST, and makes possible to interact with t

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

- API version: 2.1.0
- Package version: 2.1.0
- API version: 2.1.1
- Package version: 2.1.1
- Build package: org.openapitools.codegen.languages.RubyClientCodegen


Expand Down Expand Up @@ -148,6 +148,7 @@ Class | Method | HTTP request | Description
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**delete_vat_type**](docs/SettingsApi.md#delete_vat_type) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_payment_account**](docs/SettingsApi.md#get_payment_account) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_payment_method**](docs/SettingsApi.md#get_payment_method) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_tax_profile**](docs/SettingsApi.md#get_tax_profile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_vat_type**](docs/SettingsApi.md#get_vat_type) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**modify_payment_account**](docs/SettingsApi.md#modify_payment_account) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account
*FattureInCloud_Ruby_Sdk::SettingsApi* | [**modify_payment_method**](docs/SettingsApi.md#modify_payment_method) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method
Expand Down Expand Up @@ -266,6 +267,7 @@ Class | Method | HTTP request | Description
- [FattureInCloud_Ruby_Sdk::GetReceivedDocumentPreCreateInfoResponse](docs/GetReceivedDocumentPreCreateInfoResponse.md)
- [FattureInCloud_Ruby_Sdk::GetReceivedDocumentResponse](docs/GetReceivedDocumentResponse.md)
- [FattureInCloud_Ruby_Sdk::GetSupplierResponse](docs/GetSupplierResponse.md)
- [FattureInCloud_Ruby_Sdk::GetTaxProfileResponse](docs/GetTaxProfileResponse.md)
- [FattureInCloud_Ruby_Sdk::GetUserInfoResponse](docs/GetUserInfoResponse.md)
- [FattureInCloud_Ruby_Sdk::GetUserInfoResponseEmailConfirmationState](docs/GetUserInfoResponseEmailConfirmationState.md)
- [FattureInCloud_Ruby_Sdk::GetUserInfoResponseInfo](docs/GetUserInfoResponseInfo.md)
Expand Down Expand Up @@ -389,6 +391,7 @@ Class | Method | HTTP request | Description
- [FattureInCloud_Ruby_Sdk::ShowTotalsMode](docs/ShowTotalsMode.md)
- [FattureInCloud_Ruby_Sdk::Supplier](docs/Supplier.md)
- [FattureInCloud_Ruby_Sdk::SupplierType](docs/SupplierType.md)
- [FattureInCloud_Ruby_Sdk::TaxProfile](docs/TaxProfile.md)
- [FattureInCloud_Ruby_Sdk::TransformIssuedDocumentResponse](docs/TransformIssuedDocumentResponse.md)
- [FattureInCloud_Ruby_Sdk::UploadArchiveAttachmentResponse](docs/UploadArchiveAttachmentResponse.md)
- [FattureInCloud_Ruby_Sdk::UploadF24AttachmentResponse](docs/UploadF24AttachmentResponse.md)
Expand Down
8 changes: 8 additions & 0 deletions docs/GetTaxProfileResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# FattureInCloud_Ruby_Sdk::GetTaxProfileResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **data** | [**TaxProfile**](TaxProfile.md) | | [optional] |

70 changes: 70 additions & 0 deletions docs/SettingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it*
| [**delete_vat_type**](SettingsApi.md#delete_vat_type) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type |
| [**get_payment_account**](SettingsApi.md#get_payment_account) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account |
| [**get_payment_method**](SettingsApi.md#get_payment_method) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method |
| [**get_tax_profile**](SettingsApi.md#get_tax_profile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile |
| [**get_vat_type**](SettingsApi.md#get_vat_type) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type |
| [**modify_payment_account**](SettingsApi.md#modify_payment_account) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account |
| [**modify_payment_method**](SettingsApi.md#modify_payment_method) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method |
Expand Down Expand Up @@ -601,6 +602,75 @@ end
- **Accept**: application/json


## get_tax_profile

> <GetTaxProfileResponse> get_tax_profile(company_id)
Get Tax Profile

Gets the Tax Profile

### Examples

```ruby
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = FattureInCloud_Ruby_Sdk::SettingsApi.new
company_id = 12345 # Integer | The ID of the company.

begin
# Get Tax Profile
result = api_instance.get_tax_profile(company_id)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling SettingsApi->get_tax_profile: #{e}"
end
```

#### Using the get_tax_profile_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(<GetTaxProfileResponse>, Integer, Hash)> get_tax_profile_with_http_info(company_id)
```ruby
begin
# Get Tax Profile
data, status_code, headers = api_instance.get_tax_profile_with_http_info(company_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <GetTaxProfileResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling SettingsApi->get_tax_profile_with_http_info: #{e}"
end
```

### Parameters

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

### Return type

[**GetTaxProfileResponse**](GetTaxProfileResponse.md)

### Authorization

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

### HTTP request headers

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


## get_vat_type

> <GetVatTypeResponse> get_vat_type(company_id, vat_type_id)
Expand Down
28 changes: 28 additions & 0 deletions docs/TaxProfile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# FattureInCloud_Ruby_Sdk::TaxProfile

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **company_type** | **String** | The company type | [optional] |
| **company_subtype** | **String** | The company subtype | [optional] |
| **profession** | **String** | The profession | [optional] |
| **regime** | **String** | The applied regime | [optional] |
| **rivalsa_name** | **String** | The name of the rivalsa | [optional] |
| **default_rivalsa** | **Float** | The default rivalsa amount | [optional] |
| **cassa_name** | **String** | The name of the cassa | [optional] |
| **default_cassa** | **Float** | The default cassa amount | [optional] |
| **default_cassa_taxable** | **Float** | The default taxable amount for the cassa | [optional] |
| **cassa2_name** | **String** | The name of the second cassa | [optional] |
| **default_cassa2** | **Float** | The default second cassa amount | [optional] |
| **default_cassa2_taxable** | **Float** | The default taxable amount for the second cassa | [optional] |
| **default_withholding_tax** | **Float** | The default withholding tax | [optional] |
| **default_withholding_tax_taxable** | **Float** | The default taxable amount for the withholding tax | [optional] |
| **default_other_withholding_tax** | **Float** | The default other withholding tax | [optional] |
| **enasarco** | **Boolean** | If it has enasarco | [optional] |
| **enasarco_type** | **String** | The enasarco type | [optional] |
| **contributions_percentage** | **Float** | The contributions percentage | [optional] |
| **profit_coefficient** | **Float** | The profit coefficient | [optional] |
| **med** | **Boolean** | If the health card system is active | [optional] |
| **default_vat** | [**VatType**](VatType.md) | | [optional] |

1 change: 1 addition & 0 deletions docs/VatType.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
| **ei_description** | **String** | Vat type e-invoice description | [optional] |
| **editable** | **Boolean** | [Read Only] Is the vat type is editable. | [optional][readonly] |
| **is_disabled** | **Boolean** | Is the vat type disabled | [optional] |
| **default** | **Boolean** | If the vat type is default | [optional] |

4 changes: 2 additions & 2 deletions fattureincloud_ruby_sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
6 changes: 4 additions & 2 deletions lib/fattureincloud_ruby_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down Expand Up @@ -108,6 +108,7 @@
require 'fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response'
require 'fattureincloud_ruby_sdk/models/get_received_document_response'
require 'fattureincloud_ruby_sdk/models/get_supplier_response'
require 'fattureincloud_ruby_sdk/models/get_tax_profile_response'
require 'fattureincloud_ruby_sdk/models/get_user_info_response'
require 'fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state'
require 'fattureincloud_ruby_sdk/models/get_user_info_response_info'
Expand Down Expand Up @@ -231,6 +232,7 @@
require 'fattureincloud_ruby_sdk/models/show_totals_mode'
require 'fattureincloud_ruby_sdk/models/supplier'
require 'fattureincloud_ruby_sdk/models/supplier_type'
require 'fattureincloud_ruby_sdk/models/tax_profile'
require 'fattureincloud_ruby_sdk/models/transform_issued_document_response'
require 'fattureincloud_ruby_sdk/models/upload_archive_attachment_response'
require 'fattureincloud_ruby_sdk/models/upload_f24_attachment_response'
Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/archive_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/cashbook_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/clients_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/companies_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/emails_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/info_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/products_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/receipts_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/received_documents_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
The version of the OpenAPI document: 2.1.0
The version of the OpenAPI document: 2.1.1
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Generator version: 7.7.0
=end

Expand Down
Loading

0 comments on commit dff04cf

Please sign in to comment.