Skip to content

Commit f1977d4

Browse files
author
Invoicetronic bot
committed
Publish SDKs for tag sdk-1.4
1 parent 8ad8ba1 commit f1977d4

20 files changed

+1157
-53
lines changed

.openapi-generator/FILES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@
55
README.md
66
docs/Company.md
77
docs/CompanyApi.md
8+
docs/DocumentData.md
9+
docs/Error.md
810
docs/Event.md
911
docs/ExportApi.md
1012
docs/LogApi.md
13+
docs/ProblemDetails.md
14+
docs/ProblemHttpResult.md
1115
docs/Receive.md
1216
docs/ReceiveApi.md
1317
docs/Send.md
1418
docs/SendApi.md
19+
docs/SendReduced.md
1520
docs/Status.md
1621
docs/StatusApi.md
1722
docs/Update.md
@@ -33,9 +38,14 @@ src/api/UpdateApi.js
3338
src/api/WebhookApi.js
3439
src/index.js
3540
src/model/Company.js
41+
src/model/DocumentData.js
42+
src/model/Error.js
3643
src/model/Event.js
44+
src/model/ProblemDetails.js
45+
src/model/ProblemHttpResult.js
3746
src/model/Receive.js
3847
src/model/Send.js
48+
src/model/SendReduced.js
3949
src/model/Status.js
4050
src/model/Update.js
4151
src/model/WebHook.js
@@ -49,9 +59,14 @@ test/api/StatusApi.spec.js
4959
test/api/UpdateApi.spec.js
5060
test/api/WebhookApi.spec.js
5161
test/model/Company.spec.js
62+
test/model/DocumentData.spec.js
63+
test/model/Error.spec.js
5264
test/model/Event.spec.js
65+
test/model/ProblemDetails.spec.js
66+
test/model/ProblemHttpResult.spec.js
5367
test/model/Receive.spec.js
5468
test/model/Send.spec.js
69+
test/model/SendReduced.spec.js
5570
test/model/Status.spec.js
5671
test/model/Update.spec.js
5772
test/model/WebHook.spec.js

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,14 @@ Class | Method | HTTP request | Description
174174
## Documentation for Models
175175

176176
- [invoicetronicSdk.Company](docs/Company.md)
177+
- [invoicetronicSdk.DocumentData](docs/DocumentData.md)
178+
- [invoicetronicSdk.Error](docs/Error.md)
177179
- [invoicetronicSdk.Event](docs/Event.md)
180+
- [invoicetronicSdk.ProblemDetails](docs/ProblemDetails.md)
181+
- [invoicetronicSdk.ProblemHttpResult](docs/ProblemHttpResult.md)
178182
- [invoicetronicSdk.Receive](docs/Receive.md)
179183
- [invoicetronicSdk.Send](docs/Send.md)
184+
- [invoicetronicSdk.SendReduced](docs/SendReduced.md)
180185
- [invoicetronicSdk.Status](docs/Status.md)
181186
- [invoicetronicSdk.Update](docs/Update.md)
182187
- [invoicetronicSdk.WebHook](docs/WebHook.md)

docs/DocumentData.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# invoicetronicSdk.DocumentData
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**number** | **String** | | [optional]
8+
**date** | **Date** | | [optional]
9+
10+

docs/Error.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# invoicetronicSdk.Error
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**code** | **String** | Error code. | [optional]
8+
**description** | **String** | Error description. | [optional]
9+
**hint** | **String** | Hint on how to solve the issue. | [optional]
10+
11+

docs/ProblemDetails.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# invoicetronicSdk.ProblemDetails
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**type** | **String** | | [optional]
8+
**title** | **String** | | [optional]
9+
**status** | **Number** | | [optional]
10+
**detail** | **String** | | [optional]
11+
**instance** | **String** | | [optional]
12+
13+

docs/ProblemHttpResult.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# invoicetronicSdk.ProblemHttpResult
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**problemDetails** | [**ProblemDetails**](ProblemDetails.md) | | [optional]
8+
**contentType** | **String** | | [optional] [readonly]
9+
**statusCode** | **Number** | | [optional] [readonly]
10+
11+

docs/SendApi.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Name | Type | Description | Notes
312312

313313
## sendJsonPost
314314

315-
> Send sendJsonPost(fatturaOrdinaria, opts)
315+
> Send sendJsonPost(body, opts)
316316
317317
Add an invoice by json
318318

@@ -329,12 +329,12 @@ Basic.username = 'YOUR USERNAME';
329329
Basic.password = 'YOUR PASSWORD';
330330

331331
let apiInstance = new invoicetronicSdk.SendApi();
332-
let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria(); // FatturaOrdinaria |
332+
let body = {key: null}; // Object |
333333
let opts = {
334334
'validate': false, // Boolean | Validate the document first, and reject it on failure.
335335
'signature': "'Auto'" // String | Whether to digitally sign the document.
336336
};
337-
apiInstance.sendJsonPost(fatturaOrdinaria, opts).then((data) => {
337+
apiInstance.sendJsonPost(body, opts).then((data) => {
338338
console.log('API called successfully. Returned data: ' + data);
339339
}, (error) => {
340340
console.error(error);
@@ -347,7 +347,7 @@ apiInstance.sendJsonPost(fatturaOrdinaria, opts).then((data) => {
347347

348348
Name | Type | Description | Notes
349349
------------- | ------------- | ------------- | -------------
350-
**fatturaOrdinaria** | [**FatturaOrdinaria**](FatturaOrdinaria.md)| |
350+
**body** | **Object**| |
351351
**validate** | **Boolean**| Validate the document first, and reject it on failure. | [optional] [default to false]
352352
**signature** | **String**| Whether to digitally sign the document. | [optional] [default to 'Auto']
353353

@@ -471,7 +471,7 @@ null (empty response body)
471471

472472
## sendValidateJsonPost
473473

474-
> sendValidateJsonPost(fatturaOrdinaria)
474+
> sendValidateJsonPost(body)
475475
476476
Validate an invoice by json
477477

@@ -488,8 +488,8 @@ Basic.username = 'YOUR USERNAME';
488488
Basic.password = 'YOUR PASSWORD';
489489

490490
let apiInstance = new invoicetronicSdk.SendApi();
491-
let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria(); // FatturaOrdinaria |
492-
apiInstance.sendValidateJsonPost(fatturaOrdinaria).then(() => {
491+
let body = {key: null}; // Object |
492+
apiInstance.sendValidateJsonPost(body).then(() => {
493493
console.log('API called successfully.');
494494
}, (error) => {
495495
console.error(error);
@@ -502,7 +502,7 @@ apiInstance.sendValidateJsonPost(fatturaOrdinaria).then(() => {
502502

503503
Name | Type | Description | Notes
504504
------------- | ------------- | ------------- | -------------
505-
**fatturaOrdinaria** | [**FatturaOrdinaria**](FatturaOrdinaria.md)| |
505+
**body** | **Object**| |
506506

507507
### Return type
508508

@@ -569,7 +569,7 @@ null (empty response body)
569569

570570
## sendValidateXmlPost
571571

572-
> sendValidateXmlPost(fatturaOrdinaria)
572+
> sendValidateXmlPost(body)
573573
574574
Validate an invoice by xml
575575

@@ -586,8 +586,8 @@ Basic.username = 'YOUR USERNAME';
586586
Basic.password = 'YOUR PASSWORD';
587587

588588
let apiInstance = new invoicetronicSdk.SendApi();
589-
let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria(); // FatturaOrdinaria |
590-
apiInstance.sendValidateXmlPost(fatturaOrdinaria).then(() => {
589+
let body = {key: null}; // Object |
590+
apiInstance.sendValidateXmlPost(body).then(() => {
591591
console.log('API called successfully.');
592592
}, (error) => {
593593
console.error(error);
@@ -600,7 +600,7 @@ apiInstance.sendValidateXmlPost(fatturaOrdinaria).then(() => {
600600

601601
Name | Type | Description | Notes
602602
------------- | ------------- | ------------- | -------------
603-
**fatturaOrdinaria** | [**FatturaOrdinaria**](FatturaOrdinaria.md)| |
603+
**body** | **Object**| |
604604

605605
### Return type
606606

@@ -618,7 +618,7 @@ null (empty response body)
618618

619619
## sendXmlPost
620620

621-
> Send sendXmlPost(fatturaOrdinaria, opts)
621+
> Send sendXmlPost(body, opts)
622622
623623
Add an invoice by xml
624624

@@ -635,12 +635,12 @@ Basic.username = 'YOUR USERNAME';
635635
Basic.password = 'YOUR PASSWORD';
636636

637637
let apiInstance = new invoicetronicSdk.SendApi();
638-
let fatturaOrdinaria = new invoicetronicSdk.FatturaOrdinaria(); // FatturaOrdinaria |
638+
let body = {key: null}; // Object |
639639
let opts = {
640640
'validate': false, // Boolean | Validate the document first, and reject it on failure.
641641
'signature': "'Auto'" // String | Whether to digitally sign the document.
642642
};
643-
apiInstance.sendXmlPost(fatturaOrdinaria, opts).then((data) => {
643+
apiInstance.sendXmlPost(body, opts).then((data) => {
644644
console.log('API called successfully. Returned data: ' + data);
645645
}, (error) => {
646646
console.error(error);
@@ -653,7 +653,7 @@ apiInstance.sendXmlPost(fatturaOrdinaria, opts).then((data) => {
653653

654654
Name | Type | Description | Notes
655655
------------- | ------------- | ------------- | -------------
656-
**fatturaOrdinaria** | [**FatturaOrdinaria**](FatturaOrdinaria.md)| |
656+
**body** | **Object**| |
657657
**validate** | **Boolean**| Validate the document first, and reject it on failure. | [optional] [default to false]
658658
**signature** | **String**| Whether to digitally sign the document. | [optional] [default to 'Auto']
659659

docs/SendReduced.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# invoicetronicSdk.SendReduced
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**identifier** | **String** | SDI identifier. | [optional]
8+
**prestatore** | **String** | VAT number of the Cedente/Prestatore (vendor). | [optional]
9+
**metaData** | **{String: String}** | Optional metadata, as json. | [optional]
10+
**documents** | [**[DocumentData]**](DocumentData.md) | The invoices included in the payload. | [optional]
11+
**dateSent** | **Date** | When the invoice was sent to SDI. | [optional]
12+
13+

0 commit comments

Comments
 (0)