Skip to content

Commit

Permalink
chore: bumping version to 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
fattureincloud-bot committed Feb 28, 2024
1 parent ca71578 commit 35598c2
Show file tree
Hide file tree
Showing 271 changed files with 1,370 additions and 527 deletions.
11 changes: 9 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ docs/CompanyInfoPlanInfo.md
docs/CompanyInfoPlanInfoFunctions.md
docs/CompanyInfoPlanInfoFunctionsStatus.md
docs/CompanyInfoPlanInfoLimits.md
docs/CompanyPlanUsage.md
docs/CompanyType.md
docs/ControlledCompany.md
docs/CreateArchiveDocumentRequest.md
Expand Down Expand Up @@ -69,11 +70,13 @@ docs/EntityType.md
docs/EventType.md
docs/F24.md
docs/F24Status.md
docs/FattureInCloudPlanType.md
docs/FunctionStatus.md
docs/GetArchiveDocumentResponse.md
docs/GetCashbookEntryResponse.md
docs/GetClientResponse.md
docs/GetCompanyInfoResponse.md
docs/GetCompanyPlanUsageResponse.md
docs/GetEInvoiceRejectionReasonResponse.md
docs/GetEmailDataResponse.md
docs/GetExistingIssuedDocumentTotalsRequest.md
Expand Down Expand Up @@ -286,6 +289,7 @@ lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb
lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb
lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb
lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb
lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb
lib/fattureincloud_ruby_sdk/models/company_type.rb
lib/fattureincloud_ruby_sdk/models/controlled_company.rb
lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb
Expand Down Expand Up @@ -331,11 +335,13 @@ lib/fattureincloud_ruby_sdk/models/entity_type.rb
lib/fattureincloud_ruby_sdk/models/event_type.rb
lib/fattureincloud_ruby_sdk/models/f24.rb
lib/fattureincloud_ruby_sdk/models/f24_status.rb
lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb
lib/fattureincloud_ruby_sdk/models/function_status.rb
lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb
lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb
lib/fattureincloud_ruby_sdk/models/get_client_response.rb
lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb
lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb
lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb
lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb
lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb
Expand Down Expand Up @@ -501,6 +507,7 @@ 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/api_client_spec.rb
spec/configuration_spec.rb
spec/models/company_plan_usage_spec.rb
spec/models/fatture_in_cloud_plan_type_spec.rb
spec/models/get_company_plan_usage_response_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.1.0
7.3.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.0.19.gem
- gem install ./fattureincloud_ruby_sdk-2.0.20.gem
8 changes: 6 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.0.31
- Package version: 2.0.19
- API version: 2.0.32
- Package version: 2.0.20
- Build package: org.openapitools.codegen.languages.RubyClientCodegen


Expand Down Expand Up @@ -82,6 +82,7 @@ Class | Method | HTTP request | Description
*FattureInCloud_Ruby_Sdk::ClientsApi* | [**list_clients**](docs/ClientsApi.md#list_clients) | **GET** /c/{company_id}/entities/clients | List Clients
*FattureInCloud_Ruby_Sdk::ClientsApi* | [**modify_client**](docs/ClientsApi.md#modify_client) | **PUT** /c/{company_id}/entities/clients/{client_id} | Modify Client
*FattureInCloud_Ruby_Sdk::CompaniesApi* | [**get_company_info**](docs/CompaniesApi.md#get_company_info) | **GET** /c/{company_id}/company/info | Get Company Info
*FattureInCloud_Ruby_Sdk::CompaniesApi* | [**get_company_plan_usage**](docs/CompaniesApi.md#get_company_plan_usage) | **GET** /c/{company_id}/company/plan_usage | Get Company Plan Usage
*FattureInCloud_Ruby_Sdk::EmailsApi* | [**list_emails**](docs/EmailsApi.md#list_emails) | **GET** /c/{company_id}/emails | List Emails
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_archive_categories**](docs/InfoApi.md#list_archive_categories) | **GET** /c/{company_id}/info/archive_categories | List Archive Categories
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_cities**](docs/InfoApi.md#list_cities) | **GET** /info/cities | List Cities
Expand Down Expand Up @@ -190,6 +191,7 @@ Class | Method | HTTP request | Description
- [FattureInCloud_Ruby_Sdk::CompanyInfoPlanInfoFunctions](docs/CompanyInfoPlanInfoFunctions.md)
- [FattureInCloud_Ruby_Sdk::CompanyInfoPlanInfoFunctionsStatus](docs/CompanyInfoPlanInfoFunctionsStatus.md)
- [FattureInCloud_Ruby_Sdk::CompanyInfoPlanInfoLimits](docs/CompanyInfoPlanInfoLimits.md)
- [FattureInCloud_Ruby_Sdk::CompanyPlanUsage](docs/CompanyPlanUsage.md)
- [FattureInCloud_Ruby_Sdk::CompanyType](docs/CompanyType.md)
- [FattureInCloud_Ruby_Sdk::ControlledCompany](docs/ControlledCompany.md)
- [FattureInCloud_Ruby_Sdk::CreateArchiveDocumentRequest](docs/CreateArchiveDocumentRequest.md)
Expand Down Expand Up @@ -235,11 +237,13 @@ Class | Method | HTTP request | Description
- [FattureInCloud_Ruby_Sdk::EventType](docs/EventType.md)
- [FattureInCloud_Ruby_Sdk::F24](docs/F24.md)
- [FattureInCloud_Ruby_Sdk::F24Status](docs/F24Status.md)
- [FattureInCloud_Ruby_Sdk::FattureInCloudPlanType](docs/FattureInCloudPlanType.md)
- [FattureInCloud_Ruby_Sdk::FunctionStatus](docs/FunctionStatus.md)
- [FattureInCloud_Ruby_Sdk::GetArchiveDocumentResponse](docs/GetArchiveDocumentResponse.md)
- [FattureInCloud_Ruby_Sdk::GetCashbookEntryResponse](docs/GetCashbookEntryResponse.md)
- [FattureInCloud_Ruby_Sdk::GetClientResponse](docs/GetClientResponse.md)
- [FattureInCloud_Ruby_Sdk::GetCompanyInfoResponse](docs/GetCompanyInfoResponse.md)
- [FattureInCloud_Ruby_Sdk::GetCompanyPlanUsageResponse](docs/GetCompanyPlanUsageResponse.md)
- [FattureInCloud_Ruby_Sdk::GetEInvoiceRejectionReasonResponse](docs/GetEInvoiceRejectionReasonResponse.md)
- [FattureInCloud_Ruby_Sdk::GetEmailDataResponse](docs/GetEmailDataResponse.md)
- [FattureInCloud_Ruby_Sdk::GetExistingIssuedDocumentTotalsRequest](docs/GetExistingIssuedDocumentTotalsRequest.md)
Expand Down
72 changes: 72 additions & 0 deletions docs/CompaniesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it*
| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
| [**get_company_info**](CompaniesApi.md#get_company_info) | **GET** /c/{company_id}/company/info | Get Company Info |
| [**get_company_plan_usage**](CompaniesApi.md#get_company_plan_usage) | **GET** /c/{company_id}/company/plan_usage | Get Company Plan Usage |


## get_company_info
Expand Down Expand Up @@ -75,3 +76,74 @@ end
- **Content-Type**: Not defined
- **Accept**: application/json


## get_company_plan_usage

> <GetCompanyPlanUsageResponse> get_company_plan_usage(company_id, category)
Get Company Plan Usage

Gets the company limits usage.

### 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::CompaniesApi.new
company_id = 12345 # Integer | The ID of the company.
category = 'clients' # String | Category

begin
# Get Company Plan Usage
result = api_instance.get_company_plan_usage(company_id, category)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling CompaniesApi->get_company_plan_usage: #{e}"
end
```

#### Using the get_company_plan_usage_with_http_info variant

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

> <Array(<GetCompanyPlanUsageResponse>, Integer, Hash)> get_company_plan_usage_with_http_info(company_id, category)
```ruby
begin
# Get Company Plan Usage
data, status_code, headers = api_instance.get_company_plan_usage_with_http_info(company_id, category)
p status_code # => 2xx
p headers # => { ... }
p data # => <GetCompanyPlanUsageResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling CompaniesApi->get_company_plan_usage_with_http_info: #{e}"
end
```

### Parameters

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

### Return type

[**GetCompanyPlanUsageResponse**](GetCompanyPlanUsageResponse.md)

### Authorization

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

### HTTP request headers

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

2 changes: 2 additions & 0 deletions docs/Company.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
| **type** | [**CompanyType**](CompanyType.md) | | [optional] |
| **access_token** | **String** | Company authentication token for this company. [Only if type&#x3D;company] | [optional] |
| **controlled_companies** | [**Array&lt;ControlledCompany&gt;**](ControlledCompany.md) | Company list of controlled companies [Only if type&#x3D;accountant] | [optional] |
| **fic_license_expire** | **Date** | | [optional] |
| **fic_plan** | [**FattureInCloudPlanType**](FattureInCloudPlanType.md) | | [optional] |
| **connection_id** | **Integer** | Company connection id | [optional] |
| **tax_code** | **String** | Company tax code | [optional] |

2 changes: 2 additions & 0 deletions docs/CompanyInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
| **email** | **String** | Company email | [optional] |
| **type** | [**CompanyType**](CompanyType.md) | | [optional] |
| **access_info** | [**CompanyInfoAccessInfo**](CompanyInfoAccessInfo.md) | | [optional] |
| **fic_license_expire** | **Date** | | [optional] |
| **fic_plan_name** | [**FattureInCloudPlanType**](FattureInCloudPlanType.md) | | [optional] |
| **plan_info** | [**CompanyInfoPlanInfo**](CompanyInfoPlanInfo.md) | | [optional] |
| **accountant_id** | **Integer** | Company accountant id | [optional] |
| **is_accountant** | **Boolean** | Is the logged account an accountant. | [optional] |
Expand Down
9 changes: 9 additions & 0 deletions docs/CompanyPlanUsage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FattureInCloud_Ruby_Sdk::CompanyPlanUsage

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **limit** | **Float** | Plan limit | [optional] |
| **usage** | **Float** | Plan usage | [optional] |

2 changes: 2 additions & 0 deletions docs/ControlledCompany.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
| **name** | **String** | Controlled company id | [optional] |
| **type** | [**CompanyType**](CompanyType.md) | | [optional] |
| **access_token** | **String** | Controlled company access token Only if type&#x3D;company] | [optional] |
| **fic_license_expire** | **Date** | | [optional] |
| **fic_plan** | [**FattureInCloudPlanType**](FattureInCloudPlanType.md) | | [optional] |
| **connection_id** | **Float** | Controlled company connection id | [optional] |
| **tax_code** | **String** | Controlled company tax code | [optional] |

7 changes: 7 additions & 0 deletions docs/FattureInCloudPlanType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# FattureInCloud_Ruby_Sdk::FattureInCloudPlanType

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |

8 changes: 8 additions & 0 deletions docs/GetCompanyPlanUsageResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# FattureInCloud_Ruby_Sdk::GetCompanyPlanUsageResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **data** | [**CompanyPlanUsage**](CompanyPlanUsage.md) | | [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.0.31
The version of the OpenAPI document: 2.0.32
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0
OpenAPI Generator version: 7.3.0
=end

Expand Down
9 changes: 6 additions & 3 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.0.31
The version of the OpenAPI document: 2.0.32
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0
OpenAPI Generator version: 7.3.0
=end

Expand All @@ -33,6 +33,7 @@
require 'fattureincloud_ruby_sdk/models/company_info_plan_info_functions'
require 'fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status'
require 'fattureincloud_ruby_sdk/models/company_info_plan_info_limits'
require 'fattureincloud_ruby_sdk/models/company_plan_usage'
require 'fattureincloud_ruby_sdk/models/company_type'
require 'fattureincloud_ruby_sdk/models/controlled_company'
require 'fattureincloud_ruby_sdk/models/create_archive_document_request'
Expand Down Expand Up @@ -78,11 +79,13 @@
require 'fattureincloud_ruby_sdk/models/event_type'
require 'fattureincloud_ruby_sdk/models/f24'
require 'fattureincloud_ruby_sdk/models/f24_status'
require 'fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type'
require 'fattureincloud_ruby_sdk/models/function_status'
require 'fattureincloud_ruby_sdk/models/get_archive_document_response'
require 'fattureincloud_ruby_sdk/models/get_cashbook_entry_response'
require 'fattureincloud_ruby_sdk/models/get_client_response'
require 'fattureincloud_ruby_sdk/models/get_company_info_response'
require 'fattureincloud_ruby_sdk/models/get_company_plan_usage_response'
require 'fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response'
require 'fattureincloud_ruby_sdk/models/get_email_data_response'
require 'fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request'
Expand Down Expand Up @@ -274,7 +277,7 @@
require 'fattureincloud_ruby_sdk/filter/filter'
require 'fattureincloud_ruby_sdk/filter/expression'

# oauth
# OAuth
require 'fattureincloud_ruby_sdk/oauth2/oauth2'
require 'fattureincloud_ruby_sdk/oauth2/scope'

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.0.31
The version of the OpenAPI document: 2.0.32
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0
OpenAPI Generator version: 7.3.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.0.31
The version of the OpenAPI document: 2.0.32
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0
OpenAPI Generator version: 7.3.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.0.31
The version of the OpenAPI document: 2.0.32
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0
OpenAPI Generator version: 7.3.0
=end

Expand Down
Loading

0 comments on commit 35598c2

Please sign in to comment.