@general-dexterity/n8n-nodes-qonto 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 +158 -0
- package/dist/credentials/QontoApiKey.credentials.d.ts +8 -0
- package/dist/credentials/QontoApiKey.credentials.js +53 -0
- package/dist/credentials/QontoApiKey.credentials.js.map +1 -0
- package/dist/credentials/QontoOAuth2Api.credentials.d.ts +8 -0
- package/dist/credentials/QontoOAuth2Api.credentials.js +69 -0
- package/dist/credentials/QontoOAuth2Api.credentials.js.map +1 -0
- package/dist/nodes/Qonto/Qonto.node.d.ts +5 -0
- package/dist/nodes/Qonto/Qonto.node.js +296 -0
- package/dist/nodes/Qonto/Qonto.node.js.map +1 -0
- package/dist/nodes/Qonto/Qonto.node.json +18 -0
- package/dist/nodes/Qonto/qonto.svg +4 -0
- package/dist/package.json +50 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +52 -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,158 @@
|
|
1
|
+
# n8n-nodes-qonto
|
2
|
+
|
3
|
+
[](https://www.npmjs.com/package/@general-dexterity/n8n-nodes-qonto)
|
4
|
+
[](https://www.npmjs.com/package/@general-dexterity/n8n-nodes-qonto)
|
5
|
+
|
6
|
+
This is an n8n community node. It lets you use Qonto in your n8n workflows.
|
7
|
+
|
8
|
+
Qonto is a business finance solution that simplifies banking, bookkeeping, and expense management for SMEs and freelancers. It provides powerful APIs for managing invoices, transactions, and financial data.
|
9
|
+
|
10
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
11
|
+
|
12
|
+
**Note:** This is a custom n8n node developed by General Dexterity and is not officially affiliated with or endorsed by Qonto.
|
13
|
+
|
14
|
+
## Table of Contents
|
15
|
+
|
16
|
+
- [Installation](#installation)
|
17
|
+
- [Operations](#operations)
|
18
|
+
- [Credentials](#credentials)
|
19
|
+
- [Compatibility](#compatibility)
|
20
|
+
- [Usage](#usage)
|
21
|
+
- [Resources](#resources)
|
22
|
+
- [Version History](#version-history)
|
23
|
+
|
24
|
+
## Installation
|
25
|
+
|
26
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
27
|
+
|
28
|
+
### Quick Installation
|
29
|
+
|
30
|
+
1. In n8n, go to **Settings** > **Community Nodes**
|
31
|
+
2. Select **Install a community node**
|
32
|
+
3. Enter `@general-dexterity/n8n-nodes-qonto`
|
33
|
+
4. Select **Install**
|
34
|
+
|
35
|
+
### Manual Installation (self-hosted)
|
36
|
+
|
37
|
+
```bash
|
38
|
+
npm install @general-dexterity/n8n-nodes-qonto
|
39
|
+
```
|
40
|
+
|
41
|
+
After installation, restart your n8n instance.
|
42
|
+
|
43
|
+
## Operations
|
44
|
+
|
45
|
+
This node supports the following operations:
|
46
|
+
|
47
|
+
### Client Invoice
|
48
|
+
- **Get Many**: Retrieve multiple client invoices with optional filtering and pagination
|
49
|
+
- Filter by status (draft, unpaid, canceled, paid)
|
50
|
+
- Filter by date range (created from/to)
|
51
|
+
- Sort by creation date (ascending or descending)
|
52
|
+
- Control pagination with page size and current page
|
53
|
+
|
54
|
+
## Credentials
|
55
|
+
|
56
|
+
### Prerequisites
|
57
|
+
|
58
|
+
1. You need a Qonto business account. Sign up at [qonto.com](https://qonto.com)
|
59
|
+
2. Ensure you have the necessary permissions to access API features or create OAuth applications
|
60
|
+
|
61
|
+
### Authentication Methods
|
62
|
+
|
63
|
+
This node supports the following authentication methods:
|
64
|
+
|
65
|
+
#### API Key Authentication
|
66
|
+
1. Log in to your Qonto account
|
67
|
+
2. Navigate to **Settings** > **API Integration**
|
68
|
+
3. Click **Generate API Key**
|
69
|
+
4. Set the required permissions for your use case
|
70
|
+
5. Copy the generated login and secret key
|
71
|
+
6. In n8n, add new Qonto API Key credentials:
|
72
|
+
- **Environment**: Select Production or Sandbox (default: Production)
|
73
|
+
- **Login**: Your Qonto login (from step 5)
|
74
|
+
- **Secret Key**: Your generated secret key (from step 5)
|
75
|
+
|
76
|
+
#### OAuth2 Authentication
|
77
|
+
1. Log in to your Qonto account
|
78
|
+
2. Navigate to the OAuth applications section
|
79
|
+
3. Register a new OAuth application
|
80
|
+
4. Set the redirect URI to your n8n OAuth callback URL
|
81
|
+
5. Copy the Client ID and Client Secret
|
82
|
+
6. In n8n, add new Qonto OAuth2 credentials:
|
83
|
+
- **Environment**: Select Production or Sandbox (default: Production)
|
84
|
+
- **Client ID**: Your OAuth application's Client ID
|
85
|
+
- **Client Secret**: Your OAuth application's Client Secret
|
86
|
+
- **Scopes**: The node will automatically request `organization.read` and `client_invoices.read`
|
87
|
+
7. Complete the OAuth authorization flow when prompted
|
88
|
+
|
89
|
+
### Environment Selection
|
90
|
+
|
91
|
+
Both authentication methods support environment selection:
|
92
|
+
|
93
|
+
- **Production** (default): Uses the live Qonto API
|
94
|
+
- API Base URL: `https://thirdparty.qonto.com`
|
95
|
+
- OAuth URLs: `https://oauth.qonto.com`
|
96
|
+
- **Sandbox**: Uses the testing environment for development and testing
|
97
|
+
- API Base URL: `https://thirdparty-sandbox.qonto.com`
|
98
|
+
- OAuth URLs: `https://oauth-sandbox.qonto.com`
|
99
|
+
|
100
|
+
**Important**: Make sure to select the correct environment that matches your Qonto account and use case. Sandbox credentials will not work with the production environment and vice versa.
|
101
|
+
|
102
|
+
## Compatibility
|
103
|
+
|
104
|
+
- **Minimum n8n version**: 1.0.0
|
105
|
+
- **Tested up to**: 1.0.0
|
106
|
+
|
107
|
+
### Known Issues
|
108
|
+
- None reported at this time
|
109
|
+
|
110
|
+
## Usage
|
111
|
+
|
112
|
+
### Example: Get Client Invoices
|
113
|
+
|
114
|
+
1. Add the Qonto node to your workflow
|
115
|
+
2. Select the "Client Invoice" resource
|
116
|
+
3. Choose the "Get Many" operation
|
117
|
+
4. Configure the optional filters:
|
118
|
+
- **Status**: Select one or more invoice statuses to filter by
|
119
|
+
- **Created From**: Set a start date for the date range filter
|
120
|
+
- **Created To**: Set an end date for the date range filter
|
121
|
+
- **Sort Order**: Choose ascending or descending by creation date
|
122
|
+
5. Configure pagination options:
|
123
|
+
- **Page Size**: Number of invoices per page (default: 10)
|
124
|
+
- **Current Page**: Which page to retrieve (default: 1)
|
125
|
+
6. Execute the node
|
126
|
+
|
127
|
+
### Tips and Best Practices
|
128
|
+
|
129
|
+
- Use pagination when dealing with large numbers of invoices to avoid timeouts
|
130
|
+
- The API returns a maximum of 100 invoices per page
|
131
|
+
- Date filters use ISO 8601 format (YYYY-MM-DD)
|
132
|
+
- Status filters can be combined to retrieve invoices in multiple states
|
133
|
+
|
134
|
+
### Common Issues
|
135
|
+
|
136
|
+
**Error: "Authentication failed"**
|
137
|
+
- Solution: Verify your API credentials are correct and have the necessary permissions
|
138
|
+
|
139
|
+
**Error: "Invalid date format"**
|
140
|
+
- Solution: Ensure dates are in YYYY-MM-DD format
|
141
|
+
|
142
|
+
**Error: "Page not found"**
|
143
|
+
- Solution: Check that the current page number doesn't exceed the total number of pages
|
144
|
+
|
145
|
+
## Resources
|
146
|
+
|
147
|
+
* [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
|
148
|
+
* [Qonto API documentation](https://docs.qonto.com/api-reference/business-api)
|
149
|
+
* [Qonto OAuth documentation](https://docs.qonto.com/api-reference/business-api/authentication/oauth/oauth-flow)
|
150
|
+
* [Qonto Sandbox Environment](https://docs.qonto.com/api-reference/business-api/urls#sandbox)
|
151
|
+
* [Qonto official website](https://qonto.com)
|
152
|
+
|
153
|
+
## Version History
|
154
|
+
|
155
|
+
### 0.1.0 (Initial Release)
|
156
|
+
- Initial release with Client Invoice operations
|
157
|
+
- Support for API Key and OAuth2 authentication
|
158
|
+
- Get Many operation with filtering and pagination
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IAuthenticate, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
2
|
+
export declare class QontoApiKey implements ICredentialType {
|
3
|
+
name: string;
|
4
|
+
displayName: string;
|
5
|
+
properties: INodeProperties[];
|
6
|
+
authenticate: IAuthenticate;
|
7
|
+
test: ICredentialTestRequest;
|
8
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.QontoApiKey = void 0;
|
4
|
+
class QontoApiKey {
|
5
|
+
constructor() {
|
6
|
+
this.name = 'qontoApiKeyCredentials';
|
7
|
+
this.displayName = 'Qonto API Key';
|
8
|
+
this.properties = [
|
9
|
+
{
|
10
|
+
displayName: 'Environment',
|
11
|
+
name: 'environment',
|
12
|
+
type: 'options',
|
13
|
+
options: [
|
14
|
+
{
|
15
|
+
name: 'Production',
|
16
|
+
value: 'production',
|
17
|
+
},
|
18
|
+
{
|
19
|
+
name: 'Sandbox',
|
20
|
+
value: 'sandbox',
|
21
|
+
},
|
22
|
+
],
|
23
|
+
default: 'production',
|
24
|
+
description: 'The Qonto API environment to use',
|
25
|
+
},
|
26
|
+
{ displayName: 'Login', name: 'login', type: 'string', default: '', required: true },
|
27
|
+
{
|
28
|
+
displayName: 'Secret Key',
|
29
|
+
name: 'secretKey',
|
30
|
+
type: 'string',
|
31
|
+
default: '',
|
32
|
+
typeOptions: { password: true },
|
33
|
+
required: true,
|
34
|
+
},
|
35
|
+
];
|
36
|
+
this.authenticate = {
|
37
|
+
type: 'generic',
|
38
|
+
properties: {
|
39
|
+
headers: {
|
40
|
+
Authorization: '={{$credentials.login}}:{{$credentials.secretKey}}',
|
41
|
+
},
|
42
|
+
},
|
43
|
+
};
|
44
|
+
this.test = {
|
45
|
+
request: {
|
46
|
+
baseURL: '={{$credentials.environment === "sandbox" ? "https://thirdparty-sandbox.qonto.com" : "https://thirdparty.qonto.com"}}',
|
47
|
+
url: '/v2/organization',
|
48
|
+
},
|
49
|
+
};
|
50
|
+
}
|
51
|
+
}
|
52
|
+
exports.QontoApiKey = QontoApiKey;
|
53
|
+
//# sourceMappingURL=QontoApiKey.credentials.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QontoApiKey.credentials.js","sourceRoot":"","sources":["../../credentials/QontoApiKey.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACE,SAAI,GAAG,wBAAwB,CAAC;QAChC,gBAAW,GAAG,eAAe,CAAC;QAE9B,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,YAAY;qBACpB;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,KAAK,EAAE,SAAS;qBACjB;iBACF;gBACD,OAAO,EAAE,YAAY;gBACrB,WAAW,EAAE,kCAAkC;aAChD;YACD,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YACpF;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;QAEF,iBAAY,GAAkB;YAC5B,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,aAAa,EAAE,oDAAoD;iBACpE;aACF;SACF,CAAC;QAEF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,uHAAuH;gBAChI,GAAG,EAAE,kBAAkB;aACxB;SACF,CAAC;IACJ,CAAC;CAAA;AAhDD,kCAgDC"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.QontoOAuth2Api = void 0;
|
4
|
+
class QontoOAuth2Api {
|
5
|
+
constructor() {
|
6
|
+
this.name = 'qontoOAuth2Api';
|
7
|
+
this.extends = ['oAuth2Api'];
|
8
|
+
this.displayName = 'Qonto OAuth2 API';
|
9
|
+
this.documentationUrl = 'https://docs.qonto.com/api-reference/business-api/authentication/oauth/oauth-flow';
|
10
|
+
this.properties = [
|
11
|
+
{
|
12
|
+
displayName: 'Environment',
|
13
|
+
name: 'environment',
|
14
|
+
type: 'options',
|
15
|
+
options: [
|
16
|
+
{
|
17
|
+
name: 'Production',
|
18
|
+
value: 'production',
|
19
|
+
},
|
20
|
+
{
|
21
|
+
name: 'Sandbox',
|
22
|
+
value: 'sandbox',
|
23
|
+
},
|
24
|
+
],
|
25
|
+
default: 'production',
|
26
|
+
description: 'The Qonto API environment to use',
|
27
|
+
},
|
28
|
+
{
|
29
|
+
displayName: 'Grant Type',
|
30
|
+
name: 'grantType',
|
31
|
+
type: 'hidden',
|
32
|
+
default: 'authorizationCode',
|
33
|
+
},
|
34
|
+
{
|
35
|
+
displayName: 'Authorization URL',
|
36
|
+
name: 'authUrl',
|
37
|
+
type: 'hidden',
|
38
|
+
default: '={{$self.environment === "sandbox" ? "https://oauth-sandbox.qonto.com/oauth2/auth" : "https://oauth.qonto.com/oauth2/auth"}}',
|
39
|
+
},
|
40
|
+
{
|
41
|
+
displayName: 'Access Token URL',
|
42
|
+
name: 'accessTokenUrl',
|
43
|
+
type: 'hidden',
|
44
|
+
default: '={{$self.environment === "sandbox" ? "https://oauth-sandbox.qonto.com/oauth2/token" : "https://oauth.qonto.com/oauth2/token"}}',
|
45
|
+
},
|
46
|
+
{
|
47
|
+
displayName: 'Scope',
|
48
|
+
name: 'scope',
|
49
|
+
type: 'hidden',
|
50
|
+
default: 'organization.read client_invoices.read',
|
51
|
+
description: 'Scopes separated by space. Leave empty for default permissions.',
|
52
|
+
},
|
53
|
+
{
|
54
|
+
displayName: 'Auth URI Query Parameters',
|
55
|
+
name: 'authQueryParameters',
|
56
|
+
type: 'hidden',
|
57
|
+
default: '',
|
58
|
+
},
|
59
|
+
{
|
60
|
+
displayName: 'Authentication',
|
61
|
+
name: 'authentication',
|
62
|
+
type: 'hidden',
|
63
|
+
default: 'body',
|
64
|
+
},
|
65
|
+
];
|
66
|
+
}
|
67
|
+
}
|
68
|
+
exports.QontoOAuth2Api = QontoOAuth2Api;
|
69
|
+
//# sourceMappingURL=QontoOAuth2Api.credentials.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QontoOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/QontoOAu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ACF,CAAC;IAGJ,CAAC;CAAA;AAjED,wCAiEC"}
|
@@ -0,0 +1,296 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Qonto = void 0;
|
4
|
+
class Qonto {
|
5
|
+
constructor() {
|
6
|
+
this.description = {
|
7
|
+
displayName: 'Qonto',
|
8
|
+
name: 'qonto',
|
9
|
+
icon: 'file:qonto.svg',
|
10
|
+
group: ['transform'],
|
11
|
+
version: 1,
|
12
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
13
|
+
description: 'Interact with Qonto API',
|
14
|
+
defaults: {
|
15
|
+
name: 'Qonto',
|
16
|
+
},
|
17
|
+
usableAsTool: true,
|
18
|
+
inputs: ["main"],
|
19
|
+
outputs: ["main"],
|
20
|
+
credentials: [
|
21
|
+
{
|
22
|
+
name: 'qontoApiKeyCredentials',
|
23
|
+
required: true,
|
24
|
+
displayOptions: {
|
25
|
+
show: {
|
26
|
+
authentication: ['apiKey'],
|
27
|
+
},
|
28
|
+
},
|
29
|
+
},
|
30
|
+
{
|
31
|
+
name: 'qontoOAuth2Api',
|
32
|
+
required: true,
|
33
|
+
displayOptions: {
|
34
|
+
show: {
|
35
|
+
authentication: ['oAuth2'],
|
36
|
+
},
|
37
|
+
},
|
38
|
+
},
|
39
|
+
],
|
40
|
+
requestDefaults: {
|
41
|
+
baseURL: '={{$credentials.environment === "sandbox" ? "https://thirdparty-sandbox.qonto.com" : "https://thirdparty.qonto.com"}}',
|
42
|
+
},
|
43
|
+
properties: [
|
44
|
+
{
|
45
|
+
displayName: 'Authentication',
|
46
|
+
name: 'authentication',
|
47
|
+
type: 'options',
|
48
|
+
options: [
|
49
|
+
{
|
50
|
+
name: 'API Key',
|
51
|
+
value: 'apiKey',
|
52
|
+
},
|
53
|
+
{
|
54
|
+
name: 'OAuth2',
|
55
|
+
value: 'oAuth2',
|
56
|
+
},
|
57
|
+
],
|
58
|
+
default: 'apiKey',
|
59
|
+
},
|
60
|
+
{
|
61
|
+
displayName: 'Resource',
|
62
|
+
name: 'resource',
|
63
|
+
type: 'options',
|
64
|
+
noDataExpression: true,
|
65
|
+
options: [
|
66
|
+
{
|
67
|
+
name: 'Client Invoice',
|
68
|
+
value: 'clientInvoice',
|
69
|
+
},
|
70
|
+
],
|
71
|
+
default: 'clientInvoice',
|
72
|
+
},
|
73
|
+
{
|
74
|
+
displayName: 'Operation',
|
75
|
+
name: 'operation',
|
76
|
+
type: 'options',
|
77
|
+
noDataExpression: true,
|
78
|
+
displayOptions: {
|
79
|
+
show: {
|
80
|
+
resource: ['clientInvoice'],
|
81
|
+
},
|
82
|
+
},
|
83
|
+
options: [
|
84
|
+
{
|
85
|
+
name: 'Get Many',
|
86
|
+
value: 'getMany',
|
87
|
+
description: 'Get many client invoices',
|
88
|
+
action: 'Get many client invoices',
|
89
|
+
},
|
90
|
+
],
|
91
|
+
default: 'getMany',
|
92
|
+
},
|
93
|
+
{
|
94
|
+
displayName: 'Return All',
|
95
|
+
name: 'returnAll',
|
96
|
+
type: 'boolean',
|
97
|
+
displayOptions: {
|
98
|
+
show: {
|
99
|
+
resource: ['clientInvoice'],
|
100
|
+
operation: ['getMany'],
|
101
|
+
},
|
102
|
+
},
|
103
|
+
default: false,
|
104
|
+
description: 'Whether to return all results or only up to a given limit',
|
105
|
+
},
|
106
|
+
{
|
107
|
+
displayName: 'Limit',
|
108
|
+
name: 'limit',
|
109
|
+
type: 'number',
|
110
|
+
displayOptions: {
|
111
|
+
show: {
|
112
|
+
resource: ['clientInvoice'],
|
113
|
+
operation: ['getMany'],
|
114
|
+
returnAll: [false],
|
115
|
+
},
|
116
|
+
},
|
117
|
+
typeOptions: {
|
118
|
+
minValue: 1,
|
119
|
+
maxValue: 100,
|
120
|
+
},
|
121
|
+
default: 50,
|
122
|
+
description: 'Max number of results to return',
|
123
|
+
},
|
124
|
+
{
|
125
|
+
displayName: 'Filters',
|
126
|
+
name: 'filters',
|
127
|
+
type: 'collection',
|
128
|
+
placeholder: 'Add Filter',
|
129
|
+
default: {},
|
130
|
+
displayOptions: {
|
131
|
+
show: {
|
132
|
+
resource: ['clientInvoice'],
|
133
|
+
operation: ['getMany'],
|
134
|
+
},
|
135
|
+
},
|
136
|
+
options: [
|
137
|
+
{
|
138
|
+
displayName: 'Status',
|
139
|
+
name: 'status',
|
140
|
+
type: 'options',
|
141
|
+
default: '',
|
142
|
+
options: [
|
143
|
+
{
|
144
|
+
name: 'Draft',
|
145
|
+
value: 'draft',
|
146
|
+
},
|
147
|
+
{
|
148
|
+
name: 'Unpaid',
|
149
|
+
value: 'unpaid',
|
150
|
+
},
|
151
|
+
{
|
152
|
+
name: 'Canceled',
|
153
|
+
value: 'canceled',
|
154
|
+
},
|
155
|
+
{
|
156
|
+
name: 'Paid',
|
157
|
+
value: 'paid',
|
158
|
+
},
|
159
|
+
],
|
160
|
+
description: 'Filter invoices by status',
|
161
|
+
},
|
162
|
+
{
|
163
|
+
displayName: 'Created From',
|
164
|
+
name: 'createdFrom',
|
165
|
+
type: 'dateTime',
|
166
|
+
default: '',
|
167
|
+
description: 'Minimum creation date',
|
168
|
+
},
|
169
|
+
{
|
170
|
+
displayName: 'Created To',
|
171
|
+
name: 'createdTo',
|
172
|
+
type: 'dateTime',
|
173
|
+
default: '',
|
174
|
+
description: 'Maximum creation date',
|
175
|
+
},
|
176
|
+
],
|
177
|
+
},
|
178
|
+
{
|
179
|
+
displayName: 'Options',
|
180
|
+
name: 'options',
|
181
|
+
type: 'collection',
|
182
|
+
placeholder: 'Add Option',
|
183
|
+
default: {},
|
184
|
+
displayOptions: {
|
185
|
+
show: {
|
186
|
+
resource: ['clientInvoice'],
|
187
|
+
operation: ['getMany'],
|
188
|
+
},
|
189
|
+
},
|
190
|
+
options: [
|
191
|
+
{
|
192
|
+
displayName: 'Sort By',
|
193
|
+
name: 'sortBy',
|
194
|
+
type: 'options',
|
195
|
+
default: 'created_at:desc',
|
196
|
+
options: [
|
197
|
+
{
|
198
|
+
name: 'Created At (Ascending)',
|
199
|
+
value: 'created_at:asc',
|
200
|
+
},
|
201
|
+
{
|
202
|
+
name: 'Created At (Descending)',
|
203
|
+
value: 'created_at:desc',
|
204
|
+
},
|
205
|
+
],
|
206
|
+
description: 'Sort invoices by creation date',
|
207
|
+
},
|
208
|
+
],
|
209
|
+
},
|
210
|
+
],
|
211
|
+
};
|
212
|
+
}
|
213
|
+
async execute() {
|
214
|
+
const items = this.getInputData();
|
215
|
+
const returnData = [];
|
216
|
+
const resource = this.getNodeParameter('resource', 0);
|
217
|
+
const operation = this.getNodeParameter('operation', 0);
|
218
|
+
const authentication = this.getNodeParameter('authentication', 0);
|
219
|
+
const credentials = await this.getCredentials(authentication === 'apiKey' ? 'qontoApiKeyCredentials' : 'qontoOAuth2Api');
|
220
|
+
const baseURL = credentials.environment === 'sandbox'
|
221
|
+
? 'https://thirdparty-sandbox.qonto.com'
|
222
|
+
: 'https://thirdparty.qonto.com';
|
223
|
+
for (let i = 0; i < items.length; i++) {
|
224
|
+
try {
|
225
|
+
if (resource === 'clientInvoice') {
|
226
|
+
if (operation === 'getMany') {
|
227
|
+
const returnAll = this.getNodeParameter('returnAll', i);
|
228
|
+
const filters = this.getNodeParameter('filters', i);
|
229
|
+
const options = this.getNodeParameter('options', i);
|
230
|
+
const qs = {};
|
231
|
+
if (filters.status) {
|
232
|
+
qs['filter[status]'] = filters.status;
|
233
|
+
}
|
234
|
+
if (filters.createdFrom) {
|
235
|
+
qs['filter[created_at_from]'] = filters.createdFrom;
|
236
|
+
}
|
237
|
+
if (filters.createdTo) {
|
238
|
+
qs['filter[created_at_to]'] = filters.createdTo;
|
239
|
+
}
|
240
|
+
if (options.sortBy) {
|
241
|
+
qs.sort_by = options.sortBy;
|
242
|
+
}
|
243
|
+
if (returnAll) {
|
244
|
+
qs.per_page = 100;
|
245
|
+
qs.page = 1;
|
246
|
+
const responseData = await this.helpers.requestWithAuthenticationPaginated.call(this, {
|
247
|
+
method: 'GET',
|
248
|
+
uri: `${baseURL}/v2/client_invoices`,
|
249
|
+
qs,
|
250
|
+
json: true,
|
251
|
+
}, 0, {
|
252
|
+
requestInterval: 1000,
|
253
|
+
continue: '={{ !!$response.body?.meta?.next_page }}',
|
254
|
+
request: {
|
255
|
+
qs: {
|
256
|
+
page: '={{ $response.body.meta.next_page }}',
|
257
|
+
},
|
258
|
+
},
|
259
|
+
}, this.getNodeParameter('authentication', 0) === 'apiKey'
|
260
|
+
? 'qontoApiKeyCredentials'
|
261
|
+
: 'qontoOAuth2Api');
|
262
|
+
for (const response of responseData) {
|
263
|
+
returnData.push(...this.helpers.returnJsonArray(response.body.client_invoices));
|
264
|
+
}
|
265
|
+
}
|
266
|
+
else {
|
267
|
+
const limit = this.getNodeParameter('limit', i);
|
268
|
+
qs.per_page = limit;
|
269
|
+
qs.page = 1;
|
270
|
+
const response = await this.helpers.requestWithAuthentication.call(this, this.getNodeParameter('authentication', 0) === 'apiKey'
|
271
|
+
? 'qontoApiKeyCredentials'
|
272
|
+
: 'qontoOAuth2Api', {
|
273
|
+
method: 'GET',
|
274
|
+
url: `${baseURL}/v2/client_invoices`,
|
275
|
+
qs,
|
276
|
+
json: true,
|
277
|
+
});
|
278
|
+
returnData.push(...this.helpers.returnJsonArray(response.client_invoices));
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
}
|
283
|
+
catch (error) {
|
284
|
+
console.error(error);
|
285
|
+
if (this.continueOnFail()) {
|
286
|
+
returnData.push({ json: { error: error.message } });
|
287
|
+
continue;
|
288
|
+
}
|
289
|
+
throw error;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
return [returnData];
|
293
|
+
}
|
294
|
+
}
|
295
|
+
exports.Qonto = Qonto;
|
296
|
+
//# sourceMappingURL=Qonto.node.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Qonto.node.js","sourceRoot":"","sources":["../../../nodes/Qonto/Qonto.node.ts"],"names":[],"mappings":";;;AAQA,MAAa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Version": "1.0",
|
4
|
+
"codexVersion": "1.0",
|
5
|
+
"categories": ["Finance & Accounting"],
|
6
|
+
"resources": {
|
7
|
+
"primaryDocumentation": [
|
8
|
+
{
|
9
|
+
"url": "https://docs.qonto.com/api-reference/business-api"
|
10
|
+
}
|
11
|
+
],
|
12
|
+
"credentialDocumentation": [
|
13
|
+
{
|
14
|
+
"url": "https://docs.qonto.com/api-reference/business-api/authentication"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<rect width="60" height="60" rx="8" fill="#5741D9"/>
|
3
|
+
<path d="M30 15C21.7157 15 15 21.7157 15 30C15 38.2843 21.7157 45 30 45C38.2843 45 45 38.2843 45 30C45 21.7157 38.2843 15 30 15ZM35.625 33.75H33.75V35.625C33.75 36.6605 32.9105 37.5 31.875 37.5H28.125C27.0895 37.5 26.25 36.6605 26.25 35.625V33.75H24.375C23.3395 33.75 22.5 32.9105 22.5 31.875V28.125C22.5 27.0895 23.3395 26.25 24.375 26.25H26.25V24.375C26.25 23.3395 27.0895 22.5 28.125 22.5H31.875C32.9105 22.5 33.75 23.3395 33.75 24.375V26.25H35.625C36.6605 26.25 37.5 27.0895 37.5 28.125V31.875C37.5 32.9105 36.6605 33.75 35.625 33.75Z" fill="white"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"name": "n8n-nodes-qonto",
|
3
|
+
"version": "0.0.1",
|
4
|
+
"description": "",
|
5
|
+
"keywords": [
|
6
|
+
"n8n-community-node-package"
|
7
|
+
],
|
8
|
+
"license": "MIT",
|
9
|
+
"homepage": "",
|
10
|
+
"author": {
|
11
|
+
"name": "Aliou Diallo",
|
12
|
+
"email": "code+gh@general-dexterity.com"
|
13
|
+
},
|
14
|
+
"repository": {
|
15
|
+
"type": "git",
|
16
|
+
"url": "https://github.com/general-dexterity/n8n-nodes-qonto"
|
17
|
+
},
|
18
|
+
"engines": {
|
19
|
+
"node": ">=20.15"
|
20
|
+
},
|
21
|
+
"main": "index.js",
|
22
|
+
"scripts": {
|
23
|
+
"build": "npx rimraf dist && tsc && gulp build:icons",
|
24
|
+
"dev": "tsc --watch",
|
25
|
+
"format": "biome check ./credentials --write",
|
26
|
+
"lint": "biome check ./credentials",
|
27
|
+
"_prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"
|
28
|
+
},
|
29
|
+
"files": [
|
30
|
+
"dist"
|
31
|
+
],
|
32
|
+
"n8n": {
|
33
|
+
"n8nNodesApiVersion": 1,
|
34
|
+
"credentials": [
|
35
|
+
"dist/credentials/QontoApiKey.credentials.js",
|
36
|
+
"dist/credentials/QontoOAuth2Api.credentials.js"
|
37
|
+
],
|
38
|
+
"nodes": [
|
39
|
+
"dist/nodes/Qonto/Qonto.node.js"
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"devDependencies": {
|
43
|
+
"@biomejs/biome": "^1.9.4",
|
44
|
+
"gulp": "^5.0.0",
|
45
|
+
"typescript": "^5.8.2"
|
46
|
+
},
|
47
|
+
"peerDependencies": {
|
48
|
+
"n8n-workflow": "*"
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/axios/index.d.ts","../node_modules/form-data/index.d.ts","../node_modules/n8n-workflow/dist/Constants.d.ts","../node_modules/n8n-workflow/dist/DeferredPromise.d.ts","../node_modules/n8n-workflow/dist/errors/error.types.d.ts","../node_modules/n8n-workflow/dist/errors/base/base.error.d.ts","../node_modules/n8n-workflow/dist/errors/base/operational.error.d.ts","../node_modules/n8n-workflow/dist/errors/base/unexpected.error.d.ts","../node_modules/n8n-workflow/dist/errors/base/user.error.d.ts","../node_modules/n8n-workflow/dist/errors/application.error.d.ts","../node_modules/n8n-workflow/dist/errors/abstract/execution-base.error.d.ts","../node_modules/n8n-workflow/dist/errors/expression.error.d.ts","../node_modules/n8n-workflow/dist/errors/execution-cancelled.error.d.ts","../node_modules/n8n-workflow/dist/errors/abstract/node.error.d.ts","../node_modules/n8n-workflow/dist/errors/node-api.error.d.ts","../node_modules/n8n-workflow/dist/errors/node-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/node-ssl.error.d.ts","../node_modules/n8n-workflow/dist/errors/workflow-activation.error.d.ts","../node_modules/n8n-workflow/dist/errors/webhook-taken.error.d.ts","../node_modules/n8n-workflow/dist/errors/workflow-deactivation.error.d.ts","../node_modules/n8n-workflow/dist/errors/workflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/subworkflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/cli-subworkflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/trigger-close.error.d.ts","../node_modules/n8n-workflow/dist/errors/expression-extension.error.d.ts","../node_modules/n8n-workflow/dist/errors/db-connection-timeout-error.d.ts","../node_modules/n8n-workflow/dist/errors/ensure-error.d.ts","../node_modules/n8n-workflow/dist/errors/index.d.ts","../node_modules/n8n-workflow/dist/ExecutionStatus.d.ts","../node_modules/n8n-workflow/dist/result.d.ts","../node_modules/n8n-workflow/dist/Expression.d.ts","../node_modules/n8n-workflow/dist/Workflow.d.ts","../node_modules/n8n-workflow/dist/WorkflowDataProxyEnvProvider.d.ts","../node_modules/n8n-workflow/dist/Interfaces.d.ts","../node_modules/n8n-workflow/dist/LoggerProxy.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/types.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/namedTypes.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/kinds.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/builders.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/types.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/path.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/scope.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/node-path.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/visitor.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/main.d.ts","../node_modules/@n8n/tournament/node_modules/recast/lib/options.d.ts","../node_modules/@n8n/tournament/node_modules/recast/lib/parser.d.ts","../node_modules/@n8n/tournament/node_modules/recast/lib/printer.d.ts","../node_modules/@n8n/tournament/node_modules/recast/main.d.ts","../node_modules/@n8n/tournament/dist/ExpressionSplitter.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/namedTypes.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/kinds.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/builders.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/types.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/path.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/scope.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/node-path.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/visitor.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/main.d.ts","../node_modules/@n8n/tournament/dist/ast.d.ts","../node_modules/@n8n/tournament/dist/ExpressionBuilder.d.ts","../node_modules/@n8n/tournament/dist/Evaluator.d.ts","../node_modules/@n8n/tournament/dist/Analysis.d.ts","../node_modules/@n8n/tournament/dist/index.d.ts","../node_modules/n8n-workflow/dist/ExpressionEvaluatorProxy.d.ts","../node_modules/n8n-workflow/dist/NodeHelpers.d.ts","../node_modules/n8n-workflow/dist/ObservableObject.d.ts","../node_modules/n8n-workflow/dist/TelemetryHelpers.d.ts","../node_modules/n8n-workflow/dist/Cron.d.ts","../node_modules/n8n-workflow/dist/GlobalState.d.ts","../node_modules/n8n-workflow/dist/MessageEventBus.d.ts","../node_modules/zod/lib/helpers/typeAliases.d.ts","../node_modules/zod/lib/helpers/util.d.ts","../node_modules/zod/lib/ZodError.d.ts","../node_modules/zod/lib/locales/en.d.ts","../node_modules/zod/lib/errors.d.ts","../node_modules/zod/lib/helpers/parseUtil.d.ts","../node_modules/zod/lib/helpers/enumUtil.d.ts","../node_modules/zod/lib/helpers/errorUtil.d.ts","../node_modules/zod/lib/helpers/partialUtil.d.ts","../node_modules/zod/lib/standard-schema.d.ts","../node_modules/zod/lib/types.d.ts","../node_modules/zod/lib/external.d.ts","../node_modules/zod/lib/index.d.ts","../node_modules/zod/index.d.ts","../node_modules/n8n-workflow/dist/FromAIParseUtils.d.ts","../node_modules/n8n-workflow/dist/MetadataUtils.d.ts","../node_modules/n8n-workflow/dist/WorkflowDataProxy.d.ts","../node_modules/n8n-workflow/dist/VersionedNodeType.d.ts","../node_modules/n8n-workflow/dist/TypeValidation.d.ts","../node_modules/n8n-workflow/dist/utils.d.ts","../node_modules/n8n-workflow/dist/type-guards.d.ts","../node_modules/n8n-workflow/dist/Extensions/Extensions.d.ts","../node_modules/n8n-workflow/dist/Extensions/ExpressionExtension.d.ts","../node_modules/n8n-workflow/dist/Extensions/index.d.ts","../node_modules/n8n-workflow/dist/Extensions/ExpressionParser.d.ts","../node_modules/n8n-workflow/dist/NativeMethods/index.d.ts","../node_modules/n8n-workflow/dist/NodeParameters/FilterParameter.d.ts","../node_modules/n8n-workflow/dist/index.d.ts","../credentials/QontoApiKey.credentials.ts","../credentials/QontoOAuth2Api.credentials.ts","../nodes/Qonto/Qonto.node.ts","../nodes/Qonto/Qonto.node.json","../package.json"],"fileIdsList":[[149],[111],[114],[98,99,110],[98,109],[110,111,112,113],[100,101],[100],[101,103],[100,106,107],[100,102,103,104,106,107,108],[103,104,105],[103,106,108],[103],[103,106],[100,102],[84],[95],[94,95,96,97],[85,86],[85],[84,86,88],[85,91,92],[84,88,89,90],[84,88,91,93],[84,88],[84,91],[84,85,87],[84,85,87,88,89,91,92,93],[82],[80,82],[82,114],[143],[143,144],[135],[49,50,51,52,60,63,64,66,69,76,77,78,80,81],[58,82],[79,82],[80,81,82],[53,58,82],[59,82],[53],[54],[70],[58],[59],[60],[53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75],[53,62,82],[62,63,82],[69],[66],[58,59,82],[51,52,76,77,78,79,80,81,82,83,115,116,117,118,119,120,121,136,137,138,139,140,141,142,145,146,147,148],[134],[122,123,134],[124,125],[122,123,124,126,127,132],[123,124],[133],[124],[122,123,124,127,128,129,130,131]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc602ef9638db2163c461ec64133fe76f890f6e03b69b1c96f5c5e59592025e8","impliedFormat":99},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"8093df4b6de7728cd3327b33ce2846cb808e3b738b55f380578ab47fb1a0a82f","impliedFormat":1},{"version":"a0981ee0c7ac06bdb575558bd09bac190e1c0c7888ddcb63d8bf648f23a30e8c","impliedFormat":1},{"version":"b047c5f4612ebd6f142d2eda135939c6808ac082b2251a36e9e002b96f04ca18","impliedFormat":1},{"version":"816c068d57010d183fa4dce821e6552a912cb654cf9f0e840f49f0a0fb3d2157","impliedFormat":1},{"version":"5ca59af607163e4c0b2350019394132c6fd5d643ecc13d5d2692084c23eb74fc","impliedFormat":1},{"version":"ebc356c4f81035935ebddc0e1c7818038b78043d349d58e1042aa1c0579b5600","impliedFormat":1},{"version":"fc73b467be17d21f268b1dae8e63c269e8eba711d6d3faf3c5e525383ac5b461","impliedFormat":1},{"version":"4ba081d644e7e33dc2fa68f4bf7b963cbf9838092a10f0f7d5dcc98095012bfb","impliedFormat":1},{"version":"7c1d9666b46748a09c7c290f2cad37d32d0a395c4fc49357f0f7b32cd2dc7d97","impliedFormat":1},{"version":"054eafa956d5592e6a91c2553e5657ee3032ed50121a65da1079c96d82631459","impliedFormat":1},{"version":"01d56fcd8d2968c9545f42ab80c1e6a43be249dadeb2d38262b888370ebbdf32","impliedFormat":1},{"version":"cf53b1ef37bdf9eacfe04a5c0977793a87fbdd8d6893aa513075fa656c2f7638","impliedFormat":1},{"version":"bfccff2a7a1a17431408d48ec6ef5f54c42d1a1650b97e291c63de8b07333ccb","impliedFormat":1},{"version":"ab8790af6d4be130bd0faaba17d6a1d6394b21a643af03be4827fd7f8664caac","impliedFormat":1},{"version":"37020cf15e16fa6e1c6e2485cd51d6cbe74adee3b860ab49fb7528ca7e8e518e","impliedFormat":1},{"version":"2f83df884805baffce941efa67d2e459f09d82ae5f03b35771eea7bb9875346b","impliedFormat":1},{"version":"1950d2a49c05c7aa6decfe409b552c4ea5fb156894cf0541b34999819bd778ea","impliedFormat":1},{"version":"32fe829960ff7120843f6dd20197e863aee3e81ecded415641a7500654d1bda7","impliedFormat":1},{"version":"0b8d5b22b236fff7e23f3a5d1ddeb80bee6630bd35b1bf1c3efae226f08a1c3d","impliedFormat":1},{"version":"393b1ed0dca4f0aac333e65f2e40dfedfa8b37ac60571e02b152d32d8c84d340","impliedFormat":1},{"version":"f46d50c283425bcc59d68ccf067b3672fb727f802652dc7d60d2e470fb956370","impliedFormat":1},{"version":"38e7ca4f87ae169831eee751ad1b043b672bc9f328c0d44ec5a1bed98756a0b4","impliedFormat":1},{"version":"0b4b6ca509cdb152e18ceeed526d17bb416e7e518508d859a0174977195f9a35","impliedFormat":1},{"version":"124e0f6c51420174212b8d23f9a53d5d781d4777995164f1fb64957eac658ce7","impliedFormat":1},{"version":"c7da212302d6bfa21317461599d24e8077b34664b4ed409c4c02a3d5fe31efaf","impliedFormat":1},{"version":"bf070df468371021e0dd0ad9ab7918b3f94254044136bf711c7e0e855f75309e","impliedFormat":1},{"version":"3226c2a2af36d14aa551babd4154ad18042c0deb1509a61058c6b066cfddc30a","impliedFormat":1},{"version":"191d027b3924d5046fbf118bae0987969b9e03eba478ad34d2572244720ddb3c","impliedFormat":1},{"version":"14f2edd0618d9adaf83d22b55155ec41faddac678b4d158c8380e4325c8b36b6","impliedFormat":1},{"version":"72c9243dfd255afefe50d511f215053083a79db363d12e7e394ba78462be9e1b","impliedFormat":1},{"version":"2fbcb6bb6ffd69437452ca3029458f3c81a92b72aa71922df931cc4d373fffc1","impliedFormat":1},{"version":"8515d09f98ff2e7251cc970e74af5a0790caa52abc02d412ae87cbc6e47239ca","impliedFormat":1},{"version":"6d5438d567004aa049a2cdcad7aa2c3d671c9e74a0209297935b12bc16c3cf38","impliedFormat":1},{"version":"e78705f977ecfcc36de9ab57841ad7a617ef649b07a995577fd857f1d175f730","impliedFormat":1},{"version":"5083850590c7890ffb680f0c9838f48b07eb8b2f7dbe02874858fcac0691705d","impliedFormat":1},{"version":"02a4a2284d423d8ccc3a77aa9257c34fdac28cddfb46f73178e60f6a1b1b31e9","impliedFormat":1},{"version":"3ee8e014aab37dbd755401967fbb9602221550038f6b8da6cedd5291a918ae0a","impliedFormat":1},{"version":"826f3c6a6d737e0d330522094a21cde94a202c5373448240ba483709cb829aec","impliedFormat":1},{"version":"7e4a23f6f3763da4a06900935d22acfd463c375cada5ab325e3980bd6c95d5b3","impliedFormat":1},{"version":"f3e045e81b47113fa02aaf9637b9ef84347610aaceda60a0d8316aabc3f03638","impliedFormat":1},{"version":"1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","impliedFormat":1},{"version":"6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","impliedFormat":1},{"version":"226dbfe4506447111bd898161d47850f8c57f04cbb6a3a6d487b7939dbf89b1b","impliedFormat":1},{"version":"13f846a45f738733c8a63a06eaa9f580e9c07eb7aed5d8a2c674114846a42175","impliedFormat":1},{"version":"9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","impliedFormat":1},{"version":"e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","impliedFormat":1},{"version":"28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","impliedFormat":1},{"version":"1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","impliedFormat":1},{"version":"0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","impliedFormat":1},{"version":"0295c7a5d5d956391ab9bf0410e73a89e25fe26810f9a1d823cc794d682cdafc","impliedFormat":1},{"version":"19826a846db870c2261a3c4cf0695df889d9fe3eebe7775f3f5bc76fe7ad07a7","impliedFormat":1},{"version":"e04cafd03370139cdb0c846273cb19eb4264be0073c7baf78e9b2c16ffb74813","impliedFormat":1},{"version":"7c01c77fb7d8664daa64819245d785e106e0a3cb6e43da64346e4400d7fa9401","impliedFormat":1},{"version":"8c2ca98f4713d989d610fbd38a44316bc43c50aa26983e62dc31002f32ce63fa","impliedFormat":1},{"version":"ee931610d1cf7a6e666fad138187751392fc88bee931b94ac8c4571208dc7370","impliedFormat":1},{"version":"53543b3b64e624a81fc5876da6d72c94dd87655e7afc10988cf82ce7cbc74180","impliedFormat":1},{"version":"967e68e99b8a80551837321442a0e2f12ef50aa1ce567ec991ac6bf062a0c7cf","impliedFormat":1},{"version":"144ab2f3ef7404caf39c6acc88d248d7e55ab3dd1c4c0d89367ad12169aec113","impliedFormat":1},{"version":"759002d4454b851c51b3585e0837c77d159c59957fc519c876449ee5d80a6643","impliedFormat":1},{"version":"1ff2be5eb8b9b508603019df9f851240e57360a9417e672bf4de9d3495833f81","impliedFormat":1},{"version":"8263aed8d77f5b9a10de995c8efd14ea0e5bc54e2b4525178b643f5b24f90f1d","impliedFormat":1},{"version":"a7e7df52af8795560306e4b354e6670d978c59a87dd78b81e58656890c5ed451","impliedFormat":1},{"version":"d6220bee7bd245bc2a377f1a8ef31c496132cc9c7e7e3937e7dd4cbbcec0b38d","impliedFormat":1},{"version":"7686d52e8cbd036b9ca265490c31e36945a52ef3a9e726523d36b02befec7331","impliedFormat":1},{"version":"0f55c8c4605355ddea9fdd104ea0cb089e6ce7f41165fdc72d08247665dba0d4","impliedFormat":1},{"version":"9cc46a5cf6e8b232bb86abfd0c0ed4e0fd25d95aa3d2930e4705b078d29e51ec","impliedFormat":1},{"version":"edd5e20e9eb8cb2eaf941d431af3ab69a9b94e7f5d8699b4c938fee1be8d53c4","impliedFormat":1},{"version":"edcb8d46132756662651f6a42656aaeced2e221d0929411fb0a62c906f9873dd","impliedFormat":1},{"version":"382d2239e60b72282adfeb672e22e6df4de3737ce7e5df2151823dab489496ba","impliedFormat":1},{"version":"304b0d21771513c0a36ed7179a9d1069bfa776e95f50b789ce898f3ef2b71514","impliedFormat":1},{"version":"a42e1c2eec0e747163afa705044664a39065215a8d66c930f8d43f118a9bc044","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"b542939a35357458e62f8229c2d7578ae888d63d3ab837395d7bb8a3064c205e","impliedFormat":1},{"version":"3a5af4fba7b27b815bb40f52715aedebaa4b371da3e5a664e7e0798c9b638825","impliedFormat":1},{"version":"8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","impliedFormat":1},{"version":"ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","impliedFormat":1},{"version":"49c632082dc8a916353288d3d8b2dc82b3471794249a381d090d960c8ceac908","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"71addb585c2db7b8e53dc1b0bcfa58c6c67c6e4fa2b968942046749d66f82e7e","impliedFormat":1},{"version":"c76b0c5727302341d0bdfa2cc2cee4b19ff185b554edb6e8543f0661d8487116","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"0320c5b275beb43649be5a818dfa83a2586ae110ac5bbb2c5eb7184e1fe3ca60","impliedFormat":1},{"version":"f5ef066942e4f0bd98200aa6a6694b831e73200c9b3ade77ad0aa2409e8fe1b1","impliedFormat":1},{"version":"b9e99cd94f4166a245f5158f7286c05406e2a4c694619bceb7a4f3519d1d768e","impliedFormat":1},{"version":"5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","impliedFormat":1},{"version":"378e26daa6ec402b81f5aea1ab47262d4f8ad8966037c26be75e8185366d09a1","impliedFormat":1},{"version":"4788f58342a67af140858e23a24cdf62457ec1ff79af68ac71b9d3c0c89bb53b","impliedFormat":1},{"version":"efb8488e3acac79cac5927eaa8069fffc1d37cc3b2c3213d0256e9e1be8276bc","impliedFormat":1},{"version":"951baa882e6e3e5026cb8a16f80a8bebec1caa35c3fa016c9a3ce6a338bd3123","impliedFormat":1},{"version":"361547594eb0fdbb5316523e4668c26ec483de464f53c4a0f65bbca573abae3e","impliedFormat":1},{"version":"afcef07b51d43cdd4e1bc0b92a3d84734cded5f12d764af090666afefb5a3676","impliedFormat":1},{"version":"3f6f70c077ed8d600aa24d8c0e83ba0dd5d2c5300d524cd2181efd30c0a62c72","impliedFormat":1},{"version":"b773bcdaeda86c0f58910cecd6c77a0bd60be763127c42cad5a64fe66799b1f6","impliedFormat":1},{"version":"0ca63470234437191f454f7f66b5815d79b59ebc636faa1de1194d282563e431","impliedFormat":1},{"version":"6d3b514475ee51ab5e99e4fc82ffcd6191d40c19dd197a1743111e0757c6f9c6","impliedFormat":1},{"version":"0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","impliedFormat":1},{"version":"716c6fce977a188f23ee5165e4179944a63e8620784a7054fc0dd81f6c348bb4","impliedFormat":1},{"version":"cf2324583854e9b5dd489e537e2d46375ffb66169fbd947dea112898210ed9ff","impliedFormat":1},{"version":"b4b08a04e1861c2494437fad74c5c71f38a2f3d3cdd51fba70fcb072f3337b58","impliedFormat":1},{"version":"b6c8a59b2316031e0e0d48abe667c3ef3f2d91ec12808771ac1dc0778b15a01e","signature":"2be99f373aa2f76cb9b10dc1c4939718443641e997311cf01665151dd9c5f51f"},{"version":"39323ee7fc28946745c25d4b9b6cf12ddc2d52e754135bc966361ab44831d782","signature":"11500bae796314356165af883a37cdd5cd3a30e24077c7b106aebe5446ed621b"},{"version":"6300d69cfcbfa52ee7b0a1d3d7567cd5eaf0808b46ed8243bbab6e4a2fecb09b","signature":"951181ac1d0a2125a8b255a665898fe1ae1f810b923d52e925e379936d8ab815"},"e3a88f6f6270456b2b74e829bbb147363e33a40bd51bba4f966cac628da1d480","a53360e0fd31013340eeada60b1083afe8913c4c5728721110cb6110621e21aa"],"root":[[150,154]],"options":{"declaration":true,"esModuleInterop":true,"module":1,"noImplicitAny":true,"noImplicitReturns":true,"noUnusedLocals":true,"outDir":"./","preserveConstEnums":true,"removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":6,"useUnknownInCatchVariables":false},"referencedMap":[[150,1],[151,1],[113,2],[112,3],[111,4],[110,5],[114,6],[102,7],[101,8],[100,9],[108,10],[109,11],[106,12],[107,13],[104,14],[105,15],[103,16],[95,17],[96,18],[98,19],[87,20],[86,21],[85,22],[93,23],[91,24],[92,25],[89,26],[90,27],[88,28],[94,29],[119,30],[79,31],[115,32],[144,33],[145,34],[136,35],[82,36],[83,30],[121,30],[137,1],[147,33],[116,31],[148,37],[117,30],[118,30],[140,30],[139,30],[80,38],[138,39],[59,40],[62,41],[54,42],[55,43],[56,43],[57,43],[71,44],[74,45],[61,46],[73,47],[60,46],[76,48],[63,49],[64,50],[65,46],[70,51],[72,40],[67,52],[66,53],[68,52],[69,41],[149,54],[142,30],[141,30],[135,55],[124,56],[126,57],[133,58],[127,59],[130,55],[134,60],[125,61],[132,62],[152,1]],"version":"5.8.3"}
|
package/index.js
ADDED
File without changes
|
package/package.json
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"name": "@general-dexterity/n8n-nodes-qonto",
|
3
|
+
"version": "0.1.0",
|
4
|
+
"description": "",
|
5
|
+
"keywords": ["n8n-community-node-package"],
|
6
|
+
"license": "MIT",
|
7
|
+
"homepage": "",
|
8
|
+
"author": {
|
9
|
+
"name": "Aliou Diallo",
|
10
|
+
"email": "code+gh@general-dexterity.com"
|
11
|
+
},
|
12
|
+
"repository": {
|
13
|
+
"type": "git",
|
14
|
+
"url": "https://github.com/general-dexterity/n8n-nodes-qonto"
|
15
|
+
},
|
16
|
+
"engines": {
|
17
|
+
"node": ">=20.15"
|
18
|
+
},
|
19
|
+
"main": "index.js",
|
20
|
+
"scripts": {
|
21
|
+
"build": "npx rimraf dist && tsc && gulp build:icons",
|
22
|
+
"commit": "git-cz",
|
23
|
+
"dev": "tsc --watch",
|
24
|
+
"format": "biome check ./credentials --write",
|
25
|
+
"lint": "biome check ./credentials",
|
26
|
+
"_prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"
|
27
|
+
},
|
28
|
+
"config": {
|
29
|
+
"commitizen": {
|
30
|
+
"path": "cz-conventional-changelog"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"files": ["dist"],
|
34
|
+
"n8n": {
|
35
|
+
"n8nNodesApiVersion": 1,
|
36
|
+
"credentials": [
|
37
|
+
"dist/credentials/QontoApiKey.credentials.js",
|
38
|
+
"dist/credentials/QontoOAuth2Api.credentials.js"
|
39
|
+
],
|
40
|
+
"nodes": ["dist/nodes/Qonto/Qonto.node.js"]
|
41
|
+
},
|
42
|
+
"devDependencies": {
|
43
|
+
"@biomejs/biome": "^1.9.4",
|
44
|
+
"commitizen": "^4.3.1",
|
45
|
+
"cz-conventional-changelog": "^3.3.0",
|
46
|
+
"gulp": "^5.0.0",
|
47
|
+
"typescript": "^5.8.2"
|
48
|
+
},
|
49
|
+
"peerDependencies": {
|
50
|
+
"n8n-workflow": "*"
|
51
|
+
}
|
52
|
+
}
|