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.15 #44

Merged
merged 2 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
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

@fattureincloud/fattureincloud-ts-sdk - TypeScript/JavaScript client for Fatture in Cloud API.

## @fattureincloud/[email protected].14
## @fattureincloud/[email protected].15

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

- API version: 2.0.32
- Package version: 2.0.14
- API version: 2.0.33
- Package version: 2.0.15

Module system
* CommonJS
Expand Down
2 changes: 1 addition & 1 deletion api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
1 change: 1 addition & 0 deletions docs/Company.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ Name | Type | Description | Notes
**ficPlan** | [**FattureInCloudPlanType**](FattureInCloudPlanType.md) | | [optional]
**connectionId** | **Number** | Company connection id | [optional]
**taxCode** | **String** | Company tax code | [optional]
**vatNumber** | **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 @@ Name | Type | Description | Notes
**showPayments** | **Boolean** | Show the expiration dates of the payments on the document | [optional]
**showPaymentMethod** | **Boolean** | Show the payment method details on the document | [optional]
**showTotals** | [**ShowTotalsMode**](ShowTotalsMode.md) | | [optional]
**showPaypalButton** | **Boolean** | Show paypal button in the PDF | [optional]
**showNotificationButton** | **Boolean** | Show notification button in the PDF | [optional]
**showTspayButton** | **Boolean** | Show ts pay button in the PDF | [optional]
**deliveryNote** | **Boolean** | Issued document has delivery note | [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
------------ | ------------- | ------------- | -------------
**showSofortButton** | **Boolean** | | [optional]
**multifattureSent** | **Number** | | [optional]
**tsCommunication** | **Boolean** | Send issued document to \"Sistema Tessera Sanitaria\" | [optional]
**tsFlagTipoSpesa** | **Number** | Issued document ts \"tipo spesa\" [TK, FC, FV, SV,SP, AD, AS, ECG, SR] | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/IssuedDocumentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ const apiConfig = new Configuration({
let apiInstance = new IssuedDocumentsApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.

let getNewIssuedDocumentTotalsRequest: GetNewIssuedDocumentTotalsRequest = {"data":{"id":12345,"type":"receipt","year":2021,"numeration":"rec123","subject":"","visible_subject":"","rc_center":"","stamp_duty":0,"use_gross_prices":false,"delivery_note":false,"accompanying_invoice":false,"amount_net":68.18,"amount_vat":6.82,"amount_due_discount":0,"amount_rivalsa":0,"amount_cassa":0,"amount_withholding_tax":0,"amount_other_withholding_tax":0,"h_margins":15,"v_margins":16,"show_payment_method":false,"show_payments":true,"show_totals":"all","show_paypal_button":true,"show_notification_button":false,"is_marked":false,"created_at":"2021-08-13 09:30:20","updated_at":"2021-08-23 05:34:20","entity":{"id":54321,"name":"Mary Red S.r.L.","vat_number":"IT05432181211","tax_code":"IT05432181211","address_street":"Via Italia, 66","address_postal_code":"20900","address_city":"Milano","address_province":"MI","address_extra":"","country":"Italia","certified_email":"[email protected]","ei_code":"ABCXCR1"},"date":"2021-08-20","number":1,"currency":{"id":"EUR","exchange_rate":"1.00000","symbol":"€"},"language":{"code":"it","name":"Italiano"},"notes":"","rivalsa":0,"cassa":0,"withholding_tax":0,"withholding_tax_taxable":100,"other_withholding_tax":0,"payment_method":{"id":4,"name":"Credit card"},"use_split_payment":false,"items_list":[{"product_id":5432,"code":"SG3","name":"Soggiorno","measure":"","net_price":68.18182,"category":"","id":277876033,"apply_withholding_taxes":true,"discount":0,"discount_highlight":false,"in_dn":false,"qty":1,"vat":{"id":3,"value":10,"description":""},"stock":false,"description":"","not_taxable":false}],"payments_list":[{"amount":75,"due_date":"2020-08-23","id":69078013,"payment_terms":{"days":0,"type":"standard"},"status":"not_paid"}],"attachment_url":"kdijrnf893hnwkfk45f50f.pdf","next_due_date":"2020-08-23","template":{"id":2821,"name":"Light Smoke"},"url":"y12h45rn9yf2mse0p43t7ec90vr.pdf"}} // GetNewIssuedDocumentTotalsRequest |
let getNewIssuedDocumentTotalsRequest: GetNewIssuedDocumentTotalsRequest = {"data":{"id":12345,"type":"receipt","year":2021,"numeration":"rec123","subject":"","visible_subject":"","rc_center":"","stamp_duty":0,"use_gross_prices":false,"delivery_note":false,"accompanying_invoice":false,"amount_net":68.18,"amount_vat":6.82,"amount_due_discount":0,"amount_rivalsa":0,"amount_cassa":0,"amount_withholding_tax":0,"amount_other_withholding_tax":0,"h_margins":15,"v_margins":16,"show_payment_method":false,"show_payments":true,"show_totals":"all","show_notification_button":false,"is_marked":false,"created_at":"2021-08-13 09:30:20","updated_at":"2021-08-23 05:34:20","entity":{"id":54321,"name":"Mary Red S.r.L.","vat_number":"IT05432181211","tax_code":"IT05432181211","address_street":"Via Italia, 66","address_postal_code":"20900","address_city":"Milano","address_province":"MI","address_extra":"","country":"Italia","certified_email":"[email protected]","ei_code":"ABCXCR1"},"date":"2021-08-20","number":1,"currency":{"id":"EUR","exchange_rate":"1.00000","symbol":"€"},"language":{"code":"it","name":"Italiano"},"notes":"","rivalsa":0,"cassa":0,"withholding_tax":0,"withholding_tax_taxable":100,"other_withholding_tax":0,"payment_method":{"id":4,"name":"Credit card"},"use_split_payment":false,"items_list":[{"product_id":5432,"code":"SG3","name":"Soggiorno","measure":"","net_price":68.18182,"category":"","id":277876033,"apply_withholding_taxes":true,"discount":0,"discount_highlight":false,"in_dn":false,"qty":1,"vat":{"id":3,"value":10,"description":""},"stock":false,"description":"","not_taxable":false}],"payments_list":[{"amount":75,"due_date":"2020-08-23","id":69078013,"payment_terms":{"days":0,"type":"standard"},"status":"not_paid"}],"attachment_url":"kdijrnf893hnwkfk45f50f.pdf","next_due_date":"2020-08-23","template":{"id":2821,"name":"Light Smoke"},"url":"y12h45rn9yf2mse0p43t7ec90vr.pdf"}} // GetNewIssuedDocumentTotalsRequest |

apiInstance.getNewIssuedDocumentTotals(companyId, getNewIssuedDocumentTotalsRequest).then((data) => {
console.log('API called successfully. Returned data: ' + data);
Expand Down Expand Up @@ -463,7 +463,7 @@ const apiConfig = new Configuration({

let apiInstance = new IssuedDocumentsApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let ids = 1,2,3,4; // String | Ids of the documents.
let ids = "1,2,3,4"; // String | Ids of the documents.

let group = 56, // Number | Group items.
let eInvoice = 56 // Number | New document e_invoice.
Expand Down
6 changes: 3 additions & 3 deletions docs/WebhooksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const apiConfig = new Configuration({

let apiInstance = new WebhooksApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let subscriptionId = SUB123; // String | The ID of the subscription.
let subscriptionId = "SUB123"; // String | The ID of the subscription.
apiInstance.deleteWebhooksSubscription(companyId, subscriptionId).then(() => {
console.log('API called successfully.');
}, (error) => {
Expand Down Expand Up @@ -136,7 +136,7 @@ const apiConfig = new Configuration({

let apiInstance = new WebhooksApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let subscriptionId = SUB123; // String | The ID of the subscription.
let subscriptionId = "SUB123"; // String | The ID of the subscription.
apiInstance.getWebhooksSubscription(companyId, subscriptionId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
Expand Down Expand Up @@ -236,7 +236,7 @@ const apiConfig = new Configuration({

let apiInstance = new WebhooksApi(apiConfig);
let companyId = 12345; // Number | The ID of the company.
let subscriptionId = SUB123; // String | The ID of the subscription.
let subscriptionId = "SUB123"; // String | The ID of the subscription.

let modifyWebhooksSubscriptionRequest: ModifyWebhooksSubscriptionRequest = new FattureInCloudApiV2ApiReference.ModifyWebhooksSubscriptionRequest() // ModifyWebhooksSubscriptionRequest |

Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fattureincloud/fattureincloud-ts-sdk",
"version": "2.0.14",
"version": "2.0.15",
"description": "TypeScript SDK for the Fatture in Cloud API",
"author": "Fatture in Cloud API Team",
"keywords": [
Expand All @@ -25,8 +25,8 @@
"form-data": "^4.0.0"
},
"devDependencies": {
"@types/node": "^12.11.5",
"typescript": "^4.0",
"@types/node": "12.11.5 - 12.20.42",
"typescript": "^4.0 || ^5.0",
"ts-node": "^10.7.0",
"chai": "^4.3.6",
"@types/chai": "^4.3.0",
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.0.14
version: 2.0.15
22 changes: 11 additions & 11 deletions src/api/archive-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -24,21 +24,21 @@ import FormData from 'form-data'
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
// @ts-ignore
import { CreateArchiveDocumentRequest } from '../../src/models';
import type { CreateArchiveDocumentRequest } from '../../src/models';
// @ts-ignore
import { CreateArchiveDocumentResponse } from '../../src/models';
import type { CreateArchiveDocumentResponse } from '../../src/models';
// @ts-ignore
import { GetArchiveDocumentResponse } from '../../src/models';
import type { GetArchiveDocumentResponse } from '../../src/models';
// @ts-ignore
import { ListArchiveDocumentsResponse } from '../../src/models';
import type { ListArchiveDocumentsResponse } from '../../src/models';
// @ts-ignore
import { ModifyArchiveDocumentRequest } from '../../src/models';
import type { ModifyArchiveDocumentRequest } from '../../src/models';
// @ts-ignore
import { ModifyArchiveDocumentResponse } from '../../src/models';
import type { ModifyArchiveDocumentResponse } from '../../src/models';
// @ts-ignore
import { UploadArchiveAttachmentResponse } from '../../src/models';
import type { UploadArchiveAttachmentResponse } from '../../src/models';
/**
* ArchiveApi - axios parameter creator
* @export
Expand Down Expand Up @@ -76,7 +76,7 @@ export const ArchiveApiAxiosParamCreator = function (configuration?: Configurati


localVarHeaderParameter['Content-Type'] = 'application/json';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.14/TypeScript-SDK';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.15/TypeScript-SDK';

setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
Expand Down Expand Up @@ -285,7 +285,7 @@ export const ArchiveApiAxiosParamCreator = function (configuration?: Configurati


localVarHeaderParameter['Content-Type'] = 'application/json';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.14/TypeScript-SDK';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.15/TypeScript-SDK';

setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
Expand Down
20 changes: 10 additions & 10 deletions src/api/cashbook-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.32
* The version of the OpenAPI document: 2.0.33
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -24,19 +24,19 @@ import FormData from 'form-data'
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
// @ts-ignore
import { CreateCashbookEntryRequest } from '../../src/models';
import type { CreateCashbookEntryRequest } from '../../src/models';
// @ts-ignore
import { CreateCashbookEntryResponse } from '../../src/models';
import type { CreateCashbookEntryResponse } from '../../src/models';
// @ts-ignore
import { GetCashbookEntryResponse } from '../../src/models';
import type { GetCashbookEntryResponse } from '../../src/models';
// @ts-ignore
import { ListCashbookEntriesResponse } from '../../src/models';
import type { ListCashbookEntriesResponse } from '../../src/models';
// @ts-ignore
import { ModifyCashbookEntryRequest } from '../../src/models';
import type { ModifyCashbookEntryRequest } from '../../src/models';
// @ts-ignore
import { ModifyCashbookEntryResponse } from '../../src/models';
import type { ModifyCashbookEntryResponse } from '../../src/models';
/**
* CashbookApi - axios parameter creator
* @export
Expand Down Expand Up @@ -74,7 +74,7 @@ export const CashbookApiAxiosParamCreator = function (configuration?: Configurat


localVarHeaderParameter['Content-Type'] = 'application/json';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.14/TypeScript-SDK';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.15/TypeScript-SDK';

setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
Expand Down Expand Up @@ -282,7 +282,7 @@ export const CashbookApiAxiosParamCreator = function (configuration?: Configurat


localVarHeaderParameter['Content-Type'] = 'application/json';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.14/TypeScript-SDK';
localVarHeaderParameter['User-Agent'] = 'FattureInCloud/2.0.15/TypeScript-SDK';

setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
Expand Down
Loading
Loading