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 8a42074 commit e1fb57b
Show file tree
Hide file tree
Showing 265 changed files with 1,344 additions and 503 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,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 @@ -228,6 +229,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 @@ -361,6 +363,7 @@ src/model/GetReceiptsMonthlyTotalsResponse.js
src/model/GetReceivedDocumentPreCreateInfoResponse.js
src/model/GetReceivedDocumentResponse.js
src/model/GetSupplierResponse.js
src/model/GetTaxProfileResponse.js
src/model/GetUserInfoResponse.js
src/model/GetUserInfoResponseEmailConfirmationState.js
src/model/GetUserInfoResponseInfo.js
Expand Down Expand Up @@ -484,6 +487,7 @@ src/model/SenderEmail.js
src/model/ShowTotalsMode.js
src/model/Supplier.js
src/model/SupplierType.js
src/model/TaxProfile.js
src/model/TransformIssuedDocumentResponse.js
src/model/UploadArchiveAttachmentResponse.js
src/model/UploadF24AttachmentResponse.js
Expand All @@ -503,3 +507,5 @@ src/model/VerifyEInvoiceXmlResponseData.js
src/model/WebhooksSubscription.js
src/model/WebhooksSubscriptionConfig.js
src/model/WebhooksSubscriptionMapping.js
test/model/GetTaxProfileResponse.spec.js
test/model/TaxProfile.spec.js
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
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.JavascriptClientCodegen


Expand Down Expand Up @@ -178,6 +178,7 @@ Class | Method | HTTP request | Description
*fattureInCloudSdk.SettingsApi* | [**deleteVatType**](docs/SettingsApi.md#deleteVatType) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type
*fattureInCloudSdk.SettingsApi* | [**getPaymentAccount**](docs/SettingsApi.md#getPaymentAccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account
*fattureInCloudSdk.SettingsApi* | [**getPaymentMethod**](docs/SettingsApi.md#getPaymentMethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method
*fattureInCloudSdk.SettingsApi* | [**getTaxProfile**](docs/SettingsApi.md#getTaxProfile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile
*fattureInCloudSdk.SettingsApi* | [**getVatType**](docs/SettingsApi.md#getVatType) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type
*fattureInCloudSdk.SettingsApi* | [**modifyPaymentAccount**](docs/SettingsApi.md#modifyPaymentAccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account
*fattureInCloudSdk.SettingsApi* | [**modifyPaymentMethod**](docs/SettingsApi.md#modifyPaymentMethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method
Expand Down Expand Up @@ -296,6 +297,7 @@ Class | Method | HTTP request | Description
- [fattureInCloudSdk.GetReceivedDocumentPreCreateInfoResponse](docs/GetReceivedDocumentPreCreateInfoResponse.md)
- [fattureInCloudSdk.GetReceivedDocumentResponse](docs/GetReceivedDocumentResponse.md)
- [fattureInCloudSdk.GetSupplierResponse](docs/GetSupplierResponse.md)
- [fattureInCloudSdk.GetTaxProfileResponse](docs/GetTaxProfileResponse.md)
- [fattureInCloudSdk.GetUserInfoResponse](docs/GetUserInfoResponse.md)
- [fattureInCloudSdk.GetUserInfoResponseEmailConfirmationState](docs/GetUserInfoResponseEmailConfirmationState.md)
- [fattureInCloudSdk.GetUserInfoResponseInfo](docs/GetUserInfoResponseInfo.md)
Expand Down Expand Up @@ -419,6 +421,7 @@ Class | Method | HTTP request | Description
- [fattureInCloudSdk.ShowTotalsMode](docs/ShowTotalsMode.md)
- [fattureInCloudSdk.Supplier](docs/Supplier.md)
- [fattureInCloudSdk.SupplierType](docs/SupplierType.md)
- [fattureInCloudSdk.TaxProfile](docs/TaxProfile.md)
- [fattureInCloudSdk.TransformIssuedDocumentResponse](docs/TransformIssuedDocumentResponse.md)
- [fattureInCloudSdk.UploadArchiveAttachmentResponse](docs/UploadArchiveAttachmentResponse.md)
- [fattureInCloudSdk.UploadF24AttachmentResponse](docs/UploadF24AttachmentResponse.md)
Expand Down
22 changes: 22 additions & 0 deletions docs/EventType.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,26 @@

* `received_documents.e_invoices.receive` (value: `"it.fattureincloud.webhooks.received_documents.e_invoices.receive"`)

* `issued_documents.invoices.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.invoices.email_sent"`)

* `issued_documents.quotes.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.quotes.email_sent"`)

* `issued_documents.proformas.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.proformas.email_sent"`)

* `issued_documents.receipts.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.receipts.email_sent"`)

* `issued_documents.delivery_notes.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent"`)

* `issued_documents.credit_notes.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent"`)

* `issued_documents.orders.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.orders.email_sent"`)

* `issued_documents.work_reports.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.work_reports.email_sent"`)

* `issued_documents.supplier_orders.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent"`)

* `issued_documents.self_invoices.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent"`)

* `issued_documents.all.email_sent` (value: `"it.fattureincloud.webhooks.issued_documents.all.email_sent"`)


9 changes: 9 additions & 0 deletions docs/GetTaxProfileResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# fattureInCloudSdk.GetTaxProfileResponse

## Properties

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


49 changes: 49 additions & 0 deletions docs/SettingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Method | HTTP request | Description
[**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 @@ -437,6 +438,54 @@ Name | Type | Description | Notes
- **Accept**: application/json


## getTaxProfile

> GetTaxProfileResponse getTaxProfile(companyId)
Get Tax Profile

Gets the Tax Profile

### Example

```javascript
import fattureInCloudSdk from '@fattureincloud/fattureincloud-js-sdk';
let defaultClient = fattureInCloudSdk.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
let OAuth2AuthenticationCodeFlow = defaultClient.authentications['OAuth2AuthenticationCodeFlow'];
OAuth2AuthenticationCodeFlow.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new fattureInCloudSdk.SettingsApi();
let companyId = 12345; // Number | The ID of the company.
apiInstance.getTaxProfile(companyId).then((result) => {
console.log('API called successfully. Returned result: ' + JSON.stringify(result));
}, (error) => {
console.error(error);
});

```

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**companyId** | **Number**| 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


## getVatType

> GetVatTypeResponse getVatType(companyId, vatTypeId)
Expand Down
29 changes: 29 additions & 0 deletions docs/TaxProfile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# fattureInCloudSdk.TaxProfile

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**companyType** | **String** | The company type | [optional]
**companySubtype** | **String** | The company subtype | [optional]
**profession** | **String** | The profession | [optional]
**regime** | **String** | The applied regime | [optional]
**rivalsaName** | **String** | The name of the rivalsa | [optional]
**defaultRivalsa** | **Number** | The default rivalsa amount | [optional]
**cassaName** | **String** | The name of the cassa | [optional]
**defaultCassa** | **Number** | The default cassa amount | [optional]
**defaultCassaTaxable** | **Number** | The default taxable amount for the cassa | [optional]
**cassa2Name** | **String** | The name of the second cassa | [optional]
**defaultCassa2** | **Number** | The default second cassa amount | [optional]
**defaultCassa2Taxable** | **Number** | The default taxable amount for the second cassa | [optional]
**defaultWithholdingTax** | **Number** | The default withholding tax | [optional]
**defaultWithholdingTaxTaxable** | **Number** | The default taxable amount for the withholding tax | [optional]
**defaultOtherWithholdingTax** | **Number** | The default other withholding tax | [optional]
**enasarco** | **Boolean** | If it has enasarco | [optional]
**enasarcoType** | **String** | The enasarco type | [optional]
**contributionsPercentage** | **Number** | The contributions percentage | [optional]
**profitCoefficient** | **Number** | The profit coefficient | [optional]
**med** | **Boolean** | If the health card system is active | [optional]
**defaultVat** | [**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,5 +13,6 @@ Name | Type | Description | Notes
**eiDescription** | **String** | Vat type e-invoice description | [optional]
**editable** | **Boolean** | [Read Only] Is the vat type is editable. | [optional] [readonly]
**isDisabled** | **Boolean** | Is the vat type disabled | [optional]
**_default** | **Boolean** | If the vat type is default | [optional]


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fattureincloud/fattureincloud-js-sdk",
"version": "2.1.0",
"version": "2.1.1",
"description": "JavaScript SDK for the Fatture in Cloud API",
"license": "MIT",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion sdk-version.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
info:
version: 2.1.0
version: 2.1.1
6 changes: 3 additions & 3 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -16,7 +16,7 @@ import querystring from 'querystring'

/**
* @module ApiClient
* @version 2.1.0
* @version 2.1.1
*/

/**
Expand Down Expand Up @@ -54,7 +54,7 @@ class ApiClient {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'FattureInCloud/2.1.0/JavaScript-SDK'
'User-Agent': 'FattureInCloud/2.1.1/JavaScript-SDK'
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/ArchiveApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -21,7 +21,7 @@ import UploadArchiveAttachmentResponse from '../model/UploadArchiveAttachmentRes
/**
* Archive service.
* @module api/ArchiveApi
* @version 2.1.0
* @version 2.1.1
*/
export default class ArchiveApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/CashbookApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -20,7 +20,7 @@ import ModifyCashbookEntryResponse from '../model/ModifyCashbookEntryResponse'
/**
* Cashbook service.
* @module api/CashbookApi
* @version 2.1.0
* @version 2.1.1
*/
export default class CashbookApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/ClientsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -20,7 +20,7 @@ import ModifyClientResponse from '../model/ModifyClientResponse'
/**
* Clients service.
* @module api/ClientsApi
* @version 2.1.0
* @version 2.1.1
*/
export default class ClientsApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/CompaniesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -18,7 +18,7 @@ import GetCompanyPlanUsageResponse from '../model/GetCompanyPlanUsageResponse'
/**
* Companies service.
* @module api/CompaniesApi
* @version 2.1.0
* @version 2.1.1
*/
export default class CompaniesApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/EmailsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -17,7 +17,7 @@ import ListEmailsResponse from '../model/ListEmailsResponse'
/**
* Emails service.
* @module api/EmailsApi
* @version 2.1.0
* @version 2.1.1
*/
export default class EmailsApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/InfoApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -32,7 +32,7 @@ import ListVatTypesResponse from '../model/ListVatTypesResponse'
/**
* Info service.
* @module api/InfoApi
* @version 2.1.0
* @version 2.1.1
*/
export default class InfoApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/IssuedDocumentsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -27,7 +27,7 @@ import UploadIssuedDocumentAttachmentResponse from '../model/UploadIssuedDocumen
/**
* IssuedDocuments service.
* @module api/IssuedDocumentsApi
* @version 2.1.0
* @version 2.1.1
*/
export default class IssuedDocumentsApi {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/IssuedEInvoicesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Fatture in Cloud API v2 - API Reference
* 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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -19,7 +19,7 @@ import VerifyEInvoiceXmlResponse from '../model/VerifyEInvoiceXmlResponse'
/**
* IssuedEInvoices service.
* @module api/IssuedEInvoicesApi
* @version 2.1.0
* @version 2.1.1
*/
export default class IssuedEInvoicesApi {
/**
Expand Down
Loading

0 comments on commit e1fb57b

Please sign in to comment.