Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating SDK to 2.0.21 #51

Merged
merged 3 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,4 @@ 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/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.3.0
7.6.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.20.gem
- gem install ./fattureincloud_ruby_sdk-2.0.21.gem
4 changes: 2 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.32
- Package version: 2.0.20
- API version: 2.0.33
- Package version: 2.0.21
- Build package: org.openapitools.codegen.languages.RubyClientCodegen


Expand Down
1 change: 1 addition & 0 deletions docs/Company.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
| **fic_plan** | [**FattureInCloudPlanType**](FattureInCloudPlanType.md) | | [optional] |
| **connection_id** | **Integer** | Company connection id | [optional] |
| **tax_code** | **String** | Company tax code | [optional] |
| **vat_number** | **String** | Company vat number | [optional] |

1 change: 0 additions & 1 deletion docs/IssuedDocument.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
| **show_payments** | **Boolean** | Show the expiration dates of the payments on the document | [optional] |
| **show_payment_method** | **Boolean** | Show the payment method details on the document | [optional] |
| **show_totals** | [**ShowTotalsMode**](ShowTotalsMode.md) | | [optional][default to 'all'] |
| **show_paypal_button** | **Boolean** | Show paypal button in the PDF | [optional] |
| **show_notification_button** | **Boolean** | Show notification button in the PDF | [optional] |
| **show_tspay_button** | **Boolean** | Show ts pay button in the PDF | [optional] |
| **delivery_note** | **Boolean** | Issued document has delivery note | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion docs/IssuedDocumentEiData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **vat_kind** | [**VatKind**](VatKind.md) | | [optional] |
| **original_document_type** | [**OriginalDocumentType**](OriginalDocumentType.md) | | [optional][default to 'ordine'] |
| **original_document_type** | [**OriginalDocumentType**](OriginalDocumentType.md) | | [optional] |
| **od_number** | **String** | E-invoice original document number | [optional] |
| **od_date** | **Date** | E-invoice original document date | [optional] |
| **cig** | **String** | E-invoice CIG | [optional] |
Expand Down
1 change: 0 additions & 1 deletion docs/IssuedDocumentExtraData.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **show_sofort_button** | **Boolean** | | [optional] |
| **multifatture_sent** | **Integer** | | [optional] |
| **ts_communication** | **Boolean** | Send issued document to \"Sistema Tessera Sanitaria\" | [optional] |
| **ts_flag_tipo_spesa** | **Float** | Issued document ts \"tipo spesa\" [TK, FC, FV, SV,SP, AD, AS, ECG, SR] | [optional] |
Expand Down
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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.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.0.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/settings_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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/suppliers_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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/taxes_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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/user_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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api/webhooks_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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
10 changes: 5 additions & 5 deletions lib/fattureincloud_ruby_sdk/api_client.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand All @@ -32,7 +32,7 @@ class ApiClient
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
def initialize(config = Configuration.default)
@config = config
@user_agent = "FattureInCloud/2.0.20/Ruby-SDK"
@user_agent = "FattureInCloud/2.0.21/Ruby-SDK"
@default_headers = {
'Content-Type' => 'application/json',
'User-Agent' => @user_agent
Expand Down Expand Up @@ -212,7 +212,7 @@ def download_file(request)
# @param [String] mime MIME
# @return [Boolean] True if the MIME is application/json
def json_mime?(mime)
(mime == '*/*') || !(mime =~ /Application\/.*json(?!p)(;.*)?/i).nil?
(mime == '*/*') || !(mime =~ /^Application\/.*json(?!p)(;.*)?/i).nil?
end

# Deserialize the response to the given return type.
Expand Down Expand Up @@ -291,7 +291,7 @@ def convert_to_type(data, return_type)
# @param [String] filename the filename to be sanitized
# @return [String] the sanitized filename
def sanitize_filename(filename)
filename.gsub(/.*[\/\\]/, '')
filename.split(/[\/\\]/).last
end

def build_request_url(path, opts = {})
Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/api_error.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/configuration.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/models/archive_document.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/models/attachment_data.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
4 changes: 2 additions & 2 deletions lib/fattureincloud_ruby_sdk/models/cashbook_entry.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.32
The version of the OpenAPI document: 2.0.33
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.3.0
Generator version: 7.6.0

=end

Expand Down
Loading
Loading