n8n-nodes-easybill 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +19 -0
- package/README.md +54 -0
- package/dist/credentials/EasyBillApi.credentials.d.ts +9 -0
- package/dist/credentials/EasyBillApi.credentials.js +37 -0
- package/dist/credentials/EasyBillApi.credentials.js.map +1 -0
- package/dist/nodes/EasyBill/CustomerGroup/CustomerGroupFields.d.ts +2 -0
- package/dist/nodes/EasyBill/CustomerGroup/CustomerGroupFields.js +133 -0
- package/dist/nodes/EasyBill/CustomerGroup/CustomerGroupFields.js.map +1 -0
- package/dist/nodes/EasyBill/CustomerGroup/CustomerGroupOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/CustomerGroup/CustomerGroupOperations.js +50 -0
- package/dist/nodes/EasyBill/CustomerGroup/CustomerGroupOperations.js.map +1 -0
- package/dist/nodes/EasyBill/Customers/CustomerFields.d.ts +2 -0
- package/dist/nodes/EasyBill/Customers/CustomerFields.js +605 -0
- package/dist/nodes/EasyBill/Customers/CustomerFields.js.map +1 -0
- package/dist/nodes/EasyBill/Customers/CustomerOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/Customers/CustomerOperations.js +48 -0
- package/dist/nodes/EasyBill/Customers/CustomerOperations.js.map +1 -0
- package/dist/nodes/EasyBill/Discount/DiscountFields.d.ts +2 -0
- package/dist/nodes/EasyBill/Discount/DiscountFields.js +235 -0
- package/dist/nodes/EasyBill/Discount/DiscountFields.js.map +1 -0
- package/dist/nodes/EasyBill/Discount/DiscountOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/Discount/DiscountOperations.js +80 -0
- package/dist/nodes/EasyBill/Discount/DiscountOperations.js.map +1 -0
- package/dist/nodes/EasyBill/DocumentPayment/DocumentPaymentFields.d.ts +2 -0
- package/dist/nodes/EasyBill/DocumentPayment/DocumentPaymentFields.js +198 -0
- package/dist/nodes/EasyBill/DocumentPayment/DocumentPaymentFields.js.map +1 -0
- package/dist/nodes/EasyBill/DocumentPayment/DocumentPaymentOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/DocumentPayment/DocumentPaymentOperations.js +44 -0
- package/dist/nodes/EasyBill/DocumentPayment/DocumentPaymentOperations.js.map +1 -0
- package/dist/nodes/EasyBill/Documents/DocumentsFields.d.ts +2 -0
- package/dist/nodes/EasyBill/Documents/DocumentsFields.js +1140 -0
- package/dist/nodes/EasyBill/Documents/DocumentsFields.js.map +1 -0
- package/dist/nodes/EasyBill/Documents/DocumentsOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/Documents/DocumentsOperations.js +86 -0
- package/dist/nodes/EasyBill/Documents/DocumentsOperations.js.map +1 -0
- package/dist/nodes/EasyBill/EasyBill.node.d.ts +7 -0
- package/dist/nodes/EasyBill/EasyBill.node.js +845 -0
- package/dist/nodes/EasyBill/EasyBill.node.js.map +1 -0
- package/dist/nodes/EasyBill/EasyBill.node.json +20 -0
- package/dist/nodes/EasyBill/Hints.d.ts +2 -0
- package/dist/nodes/EasyBill/Hints.js +5 -0
- package/dist/nodes/EasyBill/Hints.js.map +1 -0
- package/dist/nodes/EasyBill/Nasa/NasaField.d.ts +2 -0
- package/dist/nodes/EasyBill/Nasa/NasaField.js +54 -0
- package/dist/nodes/EasyBill/Nasa/NasaField.js.map +1 -0
- package/dist/nodes/EasyBill/Nasa/NasaOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/Nasa/NasaOperations.js +61 -0
- package/dist/nodes/EasyBill/Nasa/NasaOperations.js.map +1 -0
- package/dist/nodes/EasyBill/Test/TestFields.d.ts +2 -0
- package/dist/nodes/EasyBill/Test/TestFields.js +77 -0
- package/dist/nodes/EasyBill/Test/TestFields.js.map +1 -0
- package/dist/nodes/EasyBill/Test/TestOperations.d.ts +2 -0
- package/dist/nodes/EasyBill/Test/TestOperations.js +31 -0
- package/dist/nodes/EasyBill/Test/TestOperations.js.map +1 -0
- package/dist/nodes/EasyBill/easybill.png +0 -0
- package/dist/package.json +55 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +55 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2022 n8n
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
+
so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# n8n-nodes-easybill
|
|
4
|
+
|
|
5
|
+
This is an n8n community node. It lets you use the Easybill API in your n8n workflows.
|
|
6
|
+
|
|
7
|
+
Easybill is a service for managing invoices and billing. This node is a work in progress – it's not completely finished yet.
|
|
8
|
+
|
|
9
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
10
|
+
|
|
11
|
+
[Installation](#installation)
|
|
12
|
+
[Operations](#operations)
|
|
13
|
+
[Credentials](#credentials)
|
|
14
|
+
[Compatibility](#compatibility)
|
|
15
|
+
[Usage](#usage)
|
|
16
|
+
[Resources](#resources)
|
|
17
|
+
[Version history](#version-history)
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation. (No need for detailed instructions here – this is just a rough draft.)
|
|
22
|
+
|
|
23
|
+
## Operations
|
|
24
|
+
|
|
25
|
+
_List the operations supported by your node here. (This section is still under construction, so details may be missing.)_
|
|
26
|
+
|
|
27
|
+
## Credentials
|
|
28
|
+
|
|
29
|
+
_If users need to authenticate with Easybill, include details here. For now, just set up your API key and secret as needed – I haven’t added detailed instructions yet._
|
|
30
|
+
|
|
31
|
+
## Compatibility
|
|
32
|
+
|
|
33
|
+
_Tested with n8n versions X and above. There might be issues with older versions. More details to come later._
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
This section is pretty bare-bones for now.
|
|
38
|
+
- Add the node in your workflow.
|
|
39
|
+
- Configure your Easybill credentials.
|
|
40
|
+
- Use it to create or update invoices.
|
|
41
|
+
|
|
42
|
+
For now, consider this a quick and dirty solution until I polish everything up.
|
|
43
|
+
|
|
44
|
+
## Resources
|
|
45
|
+
|
|
46
|
+
* [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
|
|
47
|
+
* [Easybill API Documentation](https://www.easybill.de/) (link may be updated later)
|
|
48
|
+
|
|
49
|
+
## Version history
|
|
50
|
+
|
|
51
|
+
* **0.1.0** – Initial rough version. Not all features are implemented.
|
|
52
|
+
* **Upcoming versions** – More features, better documentation, and bug fixes as development continues.
|
|
53
|
+
|
|
54
|
+
*P.S.: This is still a work in progress. Detailed instructions and complete features are coming soon – stay tuned!*
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class EasyBillApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EasyBillApi = void 0;
|
|
4
|
+
class EasyBillApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'easyBillApi';
|
|
7
|
+
this.displayName = 'EasyBill API';
|
|
8
|
+
this.documentationUrl = 'https://docs.n8n.io/integrations/creating-nodes/build/declarative-style-node/';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'API Key',
|
|
12
|
+
name: 'apiKey',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: '',
|
|
15
|
+
typeOptions: {
|
|
16
|
+
password: true,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
this.authenticate = {
|
|
21
|
+
type: 'generic',
|
|
22
|
+
properties: {
|
|
23
|
+
headers: {
|
|
24
|
+
Authorization: '={{ "Bearer " + $credentials.apiKey }}',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
this.test = {
|
|
29
|
+
request: {
|
|
30
|
+
baseURL: 'https://api.easybill.de/rest/v1',
|
|
31
|
+
url: '/customers',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.EasyBillApi = EasyBillApi;
|
|
37
|
+
//# sourceMappingURL=EasyBillApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EasyBillApi.credentials.js","sourceRoot":"","sources":["../../credentials/EasyBillApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QACrB,gBAAW,GAAG,cAAc,CAAC;QAG7B,qBAAgB,GAAG,+EAA+E,CAAC;QACnG,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACF,WAAW,EAAE;oBACrB,QAAQ,EAAE,IAAI;iBACd;aACD;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,wCAAwC;iBACvD;aACD;SACD,CAAC;QACC,SAAI,GAA2B;YACjC,OAAO,EAAE;gBACR,OAAO,EAAE,iCAAiC;gBAC1C,GAAG,EAAE,YAAY;aACjB;SACD,CAAC;IACH,CAAC;CAAA;AA/BD,kCA+BC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerGroupFields = void 0;
|
|
4
|
+
exports.customerGroupFields = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Customer Group ID',
|
|
7
|
+
name: 'group_id',
|
|
8
|
+
type: 'string',
|
|
9
|
+
default: '',
|
|
10
|
+
description: 'Die ID der Customer Group',
|
|
11
|
+
required: true,
|
|
12
|
+
displayOptions: {
|
|
13
|
+
show: {
|
|
14
|
+
resource: ['customerGroup'],
|
|
15
|
+
operation: ['getCustomerGroup', 'updateCustomerGroup', 'deleteCustomerGroup',],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Additional Fields',
|
|
21
|
+
name: 'additionalFields',
|
|
22
|
+
type: 'collection',
|
|
23
|
+
placeholder: 'Add Field',
|
|
24
|
+
default: {},
|
|
25
|
+
description: 'Additional query parameters for the Customer Groups',
|
|
26
|
+
options: [
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Limit',
|
|
29
|
+
name: 'limit',
|
|
30
|
+
type: 'number',
|
|
31
|
+
typeOptions: {
|
|
32
|
+
minValue: 1,
|
|
33
|
+
},
|
|
34
|
+
default: 50,
|
|
35
|
+
description: 'Max number of results to return',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Page',
|
|
39
|
+
name: 'page',
|
|
40
|
+
type: 'number',
|
|
41
|
+
default: 1,
|
|
42
|
+
description: 'Page number',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
displayOptions: {
|
|
46
|
+
show: {
|
|
47
|
+
resource: ['customerGroup'],
|
|
48
|
+
operation: ['getCustomerGroups'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Name',
|
|
54
|
+
name: 'name',
|
|
55
|
+
type: 'string',
|
|
56
|
+
default: '',
|
|
57
|
+
description: 'Name der Customer Group',
|
|
58
|
+
required: true,
|
|
59
|
+
displayOptions: {
|
|
60
|
+
show: {
|
|
61
|
+
resource: ['customerGroup'],
|
|
62
|
+
operation: ['createCustomerGroup',],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Number',
|
|
68
|
+
name: 'number',
|
|
69
|
+
type: 'string',
|
|
70
|
+
default: '',
|
|
71
|
+
description: 'Name der Customer Group - Can be chosen freely',
|
|
72
|
+
required: true,
|
|
73
|
+
displayOptions: {
|
|
74
|
+
show: {
|
|
75
|
+
resource: ['customerGroup'],
|
|
76
|
+
operation: ['createCustomerGroup',],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
displayName: 'Description',
|
|
82
|
+
name: 'description',
|
|
83
|
+
type: 'string',
|
|
84
|
+
default: '',
|
|
85
|
+
description: 'Beschreibung der Customer Group',
|
|
86
|
+
displayOptions: {
|
|
87
|
+
show: {
|
|
88
|
+
resource: ['customerGroup'],
|
|
89
|
+
operation: ['createCustomerGroup',],
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
displayName: 'Name',
|
|
95
|
+
name: 'name',
|
|
96
|
+
type: 'string',
|
|
97
|
+
default: '',
|
|
98
|
+
description: 'Name der Customer Group',
|
|
99
|
+
displayOptions: {
|
|
100
|
+
show: {
|
|
101
|
+
resource: ['customerGroup'],
|
|
102
|
+
operation: ['updateCustomerGroup',],
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: 'Number',
|
|
108
|
+
name: 'number',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: '',
|
|
111
|
+
description: 'Name der Customer Group - Can be chosen freely',
|
|
112
|
+
displayOptions: {
|
|
113
|
+
show: {
|
|
114
|
+
resource: ['customerGroup'],
|
|
115
|
+
operation: ['updateCustomerGroup',],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
displayName: 'Description',
|
|
121
|
+
name: 'description',
|
|
122
|
+
type: 'string',
|
|
123
|
+
default: '',
|
|
124
|
+
description: 'Beschreibung der Customer Group',
|
|
125
|
+
displayOptions: {
|
|
126
|
+
show: {
|
|
127
|
+
resource: ['customerGroup'],
|
|
128
|
+
operation: ['updateCustomerGroup',],
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
];
|
|
133
|
+
//# sourceMappingURL=CustomerGroupFields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerGroupFields.js","sourceRoot":"","sources":["../../../../nodes/EasyBill/CustomerGroup/CustomerGroupFields.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,G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,CAAC;gBAC3B,SAAS,EAAE,CAAC,qBAAqB,EAAE;aACnC;SACD;KACD;CACD,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerGroupOperations = void 0;
|
|
4
|
+
exports.customerGroupOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['customerGroup'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Create Customer Group',
|
|
18
|
+
value: 'createCustomerGroup',
|
|
19
|
+
action: 'Create customer group',
|
|
20
|
+
description: 'Legt eine neue Customer Group an',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Delete Customer Group',
|
|
24
|
+
value: 'deleteCustomerGroup',
|
|
25
|
+
action: 'Delete customer group',
|
|
26
|
+
description: 'Löscht eine Customer Group',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Customer Group',
|
|
30
|
+
value: 'getCustomerGroup',
|
|
31
|
+
action: 'Fetch customer group',
|
|
32
|
+
description: 'Ruft eine einzelne Customer Group ab',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Customer Groups',
|
|
36
|
+
value: 'getCustomerGroups',
|
|
37
|
+
action: 'Fetch customer group list',
|
|
38
|
+
description: 'Ruft die Liste der Customer Groups ab',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Update Customer Group',
|
|
42
|
+
value: 'updateCustomerGroup',
|
|
43
|
+
action: 'Update customer group',
|
|
44
|
+
description: 'Aktualisiert eine bestehende Customer Group',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
default: 'getCustomerGroups',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
//# sourceMappingURL=CustomerGroupOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerGroupOperations.js","sourceRoot":"","sources":["../../../../nodes/EasyBill/CustomerGroup/CustomerGroupOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IACtD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,eAAe,CAAC;aAC9B;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EAAE,kCAAkC;aAClD;YACD;gBACI,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EAAE,4BAA4B;aAC5C;YACD;gBACI,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,kBAAkB;gBACzB,MAAM,EAAE,sBAAsB;gBAC9B,WAAW,EAAE,sCAAsC;aACtD;YACD;gBACI,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,mBAAmB;gBAC1B,MAAM,EAAE,2BAA2B;gBACnC,WAAW,EAAE,uCAAuC;aACvD;YACD;gBACI,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EAAE,6CAA6C;aAC7D;SAEJ;QACD,OAAO,EAAE,mBAAmB;KAC/B;CACJ,CAAC"}
|