n8n-nodes-qonto-api 1.0.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.
Files changed (76) hide show
  1. package/README.md +75 -0
  2. package/dist/credentials/QontoApi.credentials.d.ts +10 -0
  3. package/dist/credentials/QontoApi.credentials.js +78 -0
  4. package/dist/credentials/QontoApi.credentials.js.map +1 -0
  5. package/dist/credentials/QontoOAuth2Api.credentials.d.ts +9 -0
  6. package/dist/credentials/QontoOAuth2Api.credentials.js +87 -0
  7. package/dist/credentials/QontoOAuth2Api.credentials.js.map +1 -0
  8. package/dist/icons/qonto.svg +52 -0
  9. package/dist/nodes/Qonto/Qonto.node.d.ts +5 -0
  10. package/dist/nodes/Qonto/Qonto.node.js +806 -0
  11. package/dist/nodes/Qonto/Qonto.node.js.map +1 -0
  12. package/dist/nodes/Qonto/Qonto.node.json +20 -0
  13. package/dist/nodes/Qonto/Qonto.svg +52 -0
  14. package/dist/nodes/Qonto/descriptions/AttachmentDescriptions.d.ts +2 -0
  15. package/dist/nodes/Qonto/descriptions/AttachmentDescriptions.js +69 -0
  16. package/dist/nodes/Qonto/descriptions/AttachmentDescriptions.js.map +1 -0
  17. package/dist/nodes/Qonto/descriptions/AttachmentsInATransactionDescriptions.d.ts +2 -0
  18. package/dist/nodes/Qonto/descriptions/AttachmentsInATransactionDescriptions.js +136 -0
  19. package/dist/nodes/Qonto/descriptions/AttachmentsInATransactionDescriptions.js.map +1 -0
  20. package/dist/nodes/Qonto/descriptions/BeneficiariesDescriptions.d.ts +2 -0
  21. package/dist/nodes/Qonto/descriptions/BeneficiariesDescriptions.js +174 -0
  22. package/dist/nodes/Qonto/descriptions/BeneficiariesDescriptions.js.map +1 -0
  23. package/dist/nodes/Qonto/descriptions/CardsDescriptions.d.ts +2 -0
  24. package/dist/nodes/Qonto/descriptions/CardsDescriptions.js +171 -0
  25. package/dist/nodes/Qonto/descriptions/CardsDescriptions.js.map +1 -0
  26. package/dist/nodes/Qonto/descriptions/ClientsDescriptions.d.ts +2 -0
  27. package/dist/nodes/Qonto/descriptions/ClientsDescriptions.js +218 -0
  28. package/dist/nodes/Qonto/descriptions/ClientsDescriptions.js.map +1 -0
  29. package/dist/nodes/Qonto/descriptions/ClientsInvoicesDescriptions.d.ts +2 -0
  30. package/dist/nodes/Qonto/descriptions/ClientsInvoicesDescriptions.js +205 -0
  31. package/dist/nodes/Qonto/descriptions/ClientsInvoicesDescriptions.js.map +1 -0
  32. package/dist/nodes/Qonto/descriptions/CreditNotesDescriptions.d.ts +2 -0
  33. package/dist/nodes/Qonto/descriptions/CreditNotesDescriptions.js +142 -0
  34. package/dist/nodes/Qonto/descriptions/CreditNotesDescriptions.js.map +1 -0
  35. package/dist/nodes/Qonto/descriptions/ExternalTransfersDescriptions.d.ts +2 -0
  36. package/dist/nodes/Qonto/descriptions/ExternalTransfersDescriptions.js +553 -0
  37. package/dist/nodes/Qonto/descriptions/ExternalTransfersDescriptions.js.map +1 -0
  38. package/dist/nodes/Qonto/descriptions/InsuranceContractsDescriptions.d.ts +2 -0
  39. package/dist/nodes/Qonto/descriptions/InsuranceContractsDescriptions.js +253 -0
  40. package/dist/nodes/Qonto/descriptions/InsuranceContractsDescriptions.js.map +1 -0
  41. package/dist/nodes/Qonto/descriptions/InternalTransactionsDescriptions.d.ts +2 -0
  42. package/dist/nodes/Qonto/descriptions/InternalTransactionsDescriptions.js +133 -0
  43. package/dist/nodes/Qonto/descriptions/InternalTransactionsDescriptions.js.map +1 -0
  44. package/dist/nodes/Qonto/descriptions/LabelsDescriptions.d.ts +2 -0
  45. package/dist/nodes/Qonto/descriptions/LabelsDescriptions.js +91 -0
  46. package/dist/nodes/Qonto/descriptions/LabelsDescriptions.js.map +1 -0
  47. package/dist/nodes/Qonto/descriptions/MembershipsDescriptions.d.ts +2 -0
  48. package/dist/nodes/Qonto/descriptions/MembershipsDescriptions.js +180 -0
  49. package/dist/nodes/Qonto/descriptions/MembershipsDescriptions.js.map +1 -0
  50. package/dist/nodes/Qonto/descriptions/OrganizationsDescriptions.d.ts +2 -0
  51. package/dist/nodes/Qonto/descriptions/OrganizationsDescriptions.js +45 -0
  52. package/dist/nodes/Qonto/descriptions/OrganizationsDescriptions.js.map +1 -0
  53. package/dist/nodes/Qonto/descriptions/RequestsDescriptions.d.ts +2 -0
  54. package/dist/nodes/Qonto/descriptions/RequestsDescriptions.js +278 -0
  55. package/dist/nodes/Qonto/descriptions/RequestsDescriptions.js.map +1 -0
  56. package/dist/nodes/Qonto/descriptions/StatementsDescriptions.d.ts +2 -0
  57. package/dist/nodes/Qonto/descriptions/StatementsDescriptions.js +102 -0
  58. package/dist/nodes/Qonto/descriptions/StatementsDescriptions.js.map +1 -0
  59. package/dist/nodes/Qonto/descriptions/SupplierInvoicesDescriptions.d.ts +2 -0
  60. package/dist/nodes/Qonto/descriptions/SupplierInvoicesDescriptions.js +193 -0
  61. package/dist/nodes/Qonto/descriptions/SupplierInvoicesDescriptions.js.map +1 -0
  62. package/dist/nodes/Qonto/descriptions/TeamsDescriptions.d.ts +2 -0
  63. package/dist/nodes/Qonto/descriptions/TeamsDescriptions.js +103 -0
  64. package/dist/nodes/Qonto/descriptions/TeamsDescriptions.js.map +1 -0
  65. package/dist/nodes/Qonto/descriptions/TransactionsDescriptions.d.ts +2 -0
  66. package/dist/nodes/Qonto/descriptions/TransactionsDescriptions.js +263 -0
  67. package/dist/nodes/Qonto/descriptions/TransactionsDescriptions.js.map +1 -0
  68. package/dist/nodes/Qonto/descriptions/index.d.ts +18 -0
  69. package/dist/nodes/Qonto/descriptions/index.js +35 -0
  70. package/dist/nodes/Qonto/descriptions/index.js.map +1 -0
  71. package/dist/nodes/Qonto/helpers.d.ts +3 -0
  72. package/dist/nodes/Qonto/helpers.js +75 -0
  73. package/dist/nodes/Qonto/helpers.js.map +1 -0
  74. package/dist/package.json +56 -0
  75. package/dist/tsconfig.tsbuildinfo +1 -0
  76. package/package.json +56 -0
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.membershipsOperations = void 0;
4
+ exports.membershipsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'memberships',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'List Memberships',
20
+ value: 'listMemberships',
21
+ action: 'List memberships a memberships',
22
+ },
23
+ {
24
+ name: 'Get Details of a Single Membership',
25
+ value: 'getMemberships',
26
+ action: 'Get details of a single membership',
27
+ },
28
+ {
29
+ name: 'Create and Invite a New Membership',
30
+ value: 'createMemberships',
31
+ action: 'Create and invite a new membership',
32
+ },
33
+ ],
34
+ default: 'listMemberships',
35
+ },
36
+ {
37
+ displayName: 'Return All',
38
+ name: 'returnAll',
39
+ type: 'boolean',
40
+ default: false,
41
+ description: 'Whether to return all results or only up to a given limit',
42
+ displayOptions: {
43
+ show: {
44
+ resource: [
45
+ 'memberships',
46
+ ],
47
+ operation: [
48
+ 'listMemberships',
49
+ ],
50
+ },
51
+ },
52
+ },
53
+ {
54
+ displayName: 'Limit',
55
+ name: 'limit',
56
+ type: 'number',
57
+ displayOptions: {
58
+ show: {
59
+ resource: [
60
+ 'memberships',
61
+ ],
62
+ operation: [
63
+ 'listMemberships',
64
+ ],
65
+ returnAll: [
66
+ false,
67
+ ],
68
+ },
69
+ },
70
+ typeOptions: {
71
+ minValue: 1,
72
+ },
73
+ default: 50,
74
+ description: 'Max number of results to return',
75
+ },
76
+ {
77
+ displayName: 'ID',
78
+ name: 'id',
79
+ type: 'string',
80
+ default: '',
81
+ description: 'Incomplet API Qonto',
82
+ displayOptions: {
83
+ show: {
84
+ resource: [
85
+ 'memberships',
86
+ ],
87
+ operation: [
88
+ 'getMemberships',
89
+ ],
90
+ },
91
+ },
92
+ },
93
+ {
94
+ displayName: 'Email',
95
+ name: 'email',
96
+ type: 'string',
97
+ placeholder: 'name@email.com',
98
+ default: '',
99
+ description: 'Email of the person being invited to join the organization',
100
+ displayOptions: {
101
+ show: {
102
+ resource: [
103
+ 'memberships',
104
+ ],
105
+ operation: [
106
+ 'createMemberships',
107
+ ],
108
+ },
109
+ },
110
+ },
111
+ {
112
+ displayName: 'First_name',
113
+ name: 'first_name',
114
+ type: 'string',
115
+ default: '',
116
+ description: 'First name of the person being invited to join the organization',
117
+ displayOptions: {
118
+ show: {
119
+ resource: [
120
+ 'memberships',
121
+ ],
122
+ operation: [
123
+ 'createMemberships',
124
+ ],
125
+ },
126
+ },
127
+ },
128
+ {
129
+ displayName: 'Last_name',
130
+ name: 'last_name',
131
+ type: 'string',
132
+ default: '',
133
+ description: 'Last name of the person being invited to join the organization',
134
+ displayOptions: {
135
+ show: {
136
+ resource: [
137
+ 'memberships',
138
+ ],
139
+ operation: [
140
+ 'createMemberships',
141
+ ],
142
+ },
143
+ },
144
+ },
145
+ {
146
+ displayName: 'Role',
147
+ name: 'role',
148
+ type: 'string',
149
+ default: '',
150
+ description: 'Role of the person being invited to join the organization',
151
+ displayOptions: {
152
+ show: {
153
+ resource: [
154
+ 'memberships',
155
+ ],
156
+ operation: [
157
+ 'createMemberships',
158
+ ],
159
+ },
160
+ },
161
+ },
162
+ {
163
+ displayName: 'Team_id',
164
+ name: 'team_id',
165
+ type: 'string',
166
+ default: '',
167
+ description: 'Unique identifier of the team the new membership is being assigned',
168
+ displayOptions: {
169
+ show: {
170
+ resource: [
171
+ 'memberships',
172
+ ],
173
+ operation: [
174
+ 'createMemberships',
175
+ ],
176
+ },
177
+ },
178
+ },
179
+ ];
180
+ //# sourceMappingURL=MembershipsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MembershipsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/MembershipsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,qBAAqB,GAAsB;IAKvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,E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AAE,oEAAoE;QACjF,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,aAAa;iBACb;gBACD,SAAS,EAAE;oBACV,mBAAmB;iBACnB;aACD;SACD;KACD;CACA,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const organizationsOperations: INodeProperties[];
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.organizationsOperations = void 0;
4
+ exports.organizationsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'organizations',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Get Organization and Its Bank_accounts',
20
+ value: 'getOrganizationAndItsBank_accounts',
21
+ action: 'Get organization and its bank accounts an organizations',
22
+ },
23
+ ],
24
+ default: 'getOrganizationAndItsBank_accounts',
25
+ },
26
+ {
27
+ displayName: 'Include_external_accounts',
28
+ name: 'include_external_accounts',
29
+ type: 'boolean',
30
+ required: true,
31
+ displayOptions: {
32
+ show: {
33
+ resource: [
34
+ 'organizations',
35
+ ],
36
+ operation: [
37
+ 'getOrganizationAndItsBank_accounts',
38
+ ],
39
+ },
40
+ },
41
+ default: false,
42
+ description: 'Whether to include archived organizations or not',
43
+ },
44
+ ];
45
+ //# sourceMappingURL=OrganizationsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/OrganizationsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,uBAAuB,GAAsB;IAKzD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,eAAe;iBACf;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,wCAAwC;gBAC9C,KAAK,EAAE,oCAAoC;gBAC3C,MAAM,EAAE,yDAAyD;aACjE;SACD;QACD,OAAO,EAAE,oCAAoC;KAC7C;IAKD;QACC,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,eAAe;iBACf;gBACD,SAAS,EAAE;oBACV,oCAAoC;iBACpC;aACD;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,kDAAkD;KAC/D;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const requestsOperations: INodeProperties[];
@@ -0,0 +1,278 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.requestsOperations = void 0;
4
+ exports.requestsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'requests',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'List Requests',
20
+ value: 'listRequests',
21
+ action: 'List requests a requests',
22
+ },
23
+ {
24
+ name: 'Approve a Request',
25
+ value: 'approveARequest',
26
+ action: 'Approve a request a requests',
27
+ },
28
+ {
29
+ name: 'Decline a Request',
30
+ value: 'declineARequest',
31
+ action: 'Decline a request a requests',
32
+ },
33
+ ],
34
+ default: 'listRequests',
35
+ },
36
+ {
37
+ displayName: 'Limit',
38
+ name: 'limit',
39
+ type: 'number',
40
+ displayOptions: {
41
+ show: {
42
+ resource: [
43
+ 'requests',
44
+ ],
45
+ operation: [
46
+ 'listRequests',
47
+ ],
48
+ },
49
+ },
50
+ typeOptions: {
51
+ minValue: 1,
52
+ },
53
+ default: 50,
54
+ description: 'Max number of results to return',
55
+ },
56
+ {
57
+ displayName: 'Filters',
58
+ name: 'filters',
59
+ type: 'collection',
60
+ placeholder: 'Add Filter',
61
+ default: {},
62
+ displayOptions: {
63
+ show: {
64
+ resource: [
65
+ 'requests',
66
+ ],
67
+ operation: [
68
+ 'listRequests',
69
+ ],
70
+ },
71
+ },
72
+ options: [
73
+ {
74
+ displayName: 'Status',
75
+ name: 'status',
76
+ type: 'string',
77
+ placeholder: 'settled',
78
+ default: '',
79
+ description: 'Allowed values: pending, approved, canceled, declined (no combinaison possible yet)',
80
+ },
81
+ {
82
+ displayName: 'Request_type',
83
+ name: 'request_type',
84
+ type: 'options',
85
+ description: 'Request_type can take 4 different values:',
86
+ options: [
87
+ {
88
+ name: 'Flash_card',
89
+ value: 'flash_card',
90
+ description: 'Flash_card: a flash card is a non-physical card with a budget and a last day of validity. The card becomes inactive after the budget is totally spent or the last date of validity is past.',
91
+ },
92
+ {
93
+ name: 'Virtual_card',
94
+ value: 'virtual_card',
95
+ description: 'Virtual_card: a virtual card is a non-physical card with a monthly budget. Card holder can spend that amount every calendar month. Above that, transactions will be refused.',
96
+ },
97
+ {
98
+ name: 'Transfer',
99
+ value: 'transfer',
100
+ description: 'Transfer: a transfer of money from one Qonto account to another account',
101
+ },
102
+ {
103
+ name: 'Multi_transfer',
104
+ value: 'multi_transfer',
105
+ description: 'Multi_transfer: several transfers executed at the same time. A document can be provided to create a multi-transfer which is composed of many different transfers.',
106
+ },
107
+ ],
108
+ default: 'flash_card',
109
+ },
110
+ {
111
+ displayName: 'Processed_at_from',
112
+ name: 'processed_at_from',
113
+ type: 'dateTime',
114
+ placeholder: '2019-01-10T11:47:53.123Z',
115
+ default: '',
116
+ },
117
+ {
118
+ displayName: 'Created_at_from',
119
+ name: 'created_at_from',
120
+ type: 'dateTime',
121
+ placeholder: '2019-01-10T11:47:53.123Z',
122
+ default: '',
123
+ },
124
+ ],
125
+ },
126
+ {
127
+ displayName: 'ID',
128
+ name: 'id',
129
+ type: 'string',
130
+ required: true,
131
+ displayOptions: {
132
+ show: {
133
+ resource: [
134
+ 'requests',
135
+ ],
136
+ operation: [
137
+ 'approveARequest',
138
+ ],
139
+ },
140
+ },
141
+ placeholder: 'UUID of the request to be processed.',
142
+ default: '',
143
+ description: 'This endpoint allows you to approve a pending request',
144
+ },
145
+ {
146
+ displayName: 'Request_type',
147
+ name: 'request_type',
148
+ type: 'options',
149
+ required: true,
150
+ displayOptions: {
151
+ show: {
152
+ resource: [
153
+ 'requests',
154
+ ],
155
+ operation: [
156
+ 'approveARequest',
157
+ ],
158
+ },
159
+ },
160
+ options: [
161
+ {
162
+ name: 'Flash_cards',
163
+ value: 'flash_cards',
164
+ description: 'A flash card is a non-physical card with a budget and a last day of validity. The card becomes inactive after the budget is totally spent or the last date of validity is past.',
165
+ },
166
+ {
167
+ name: 'Virtual_cards',
168
+ value: 'virtual_cards',
169
+ description: 'A virtual card is a non-physical card with a monthly budget. Card holder can spend that amount every calendar month. Above that, transactions will be refused.',
170
+ },
171
+ {
172
+ name: 'Transfers',
173
+ value: 'transfers',
174
+ description: 'A transfer of money from one Qonto account to another account',
175
+ },
176
+ {
177
+ name: 'Multi_transfers',
178
+ value: 'multi_transfers',
179
+ description: 'Several transfers executed at the same time. A document can be provided to create a multi-transfer which is composed of many different transfers.',
180
+ },
181
+ ],
182
+ default: 'transfers',
183
+ },
184
+ {
185
+ displayName: 'Debit IBAN',
186
+ name: 'debit_iban',
187
+ type: 'string',
188
+ required: true,
189
+ displayOptions: {
190
+ show: {
191
+ resource: [
192
+ 'requests',
193
+ ],
194
+ operation: [
195
+ 'approveARequest',
196
+ ],
197
+ },
198
+ },
199
+ default: '',
200
+ description: 'IBAN of account to debit',
201
+ },
202
+ {
203
+ displayName: 'ID',
204
+ name: 'id',
205
+ type: 'string',
206
+ required: true,
207
+ displayOptions: {
208
+ show: {
209
+ resource: [
210
+ 'requests',
211
+ ],
212
+ operation: [
213
+ 'declineARequest',
214
+ ],
215
+ },
216
+ },
217
+ placeholder: 'UUID of the request to be processed.',
218
+ default: '',
219
+ description: 'This endpoint allows you to approve a pending request',
220
+ },
221
+ {
222
+ displayName: 'Request_type',
223
+ name: 'request_type',
224
+ type: 'options',
225
+ required: true,
226
+ displayOptions: {
227
+ show: {
228
+ resource: [
229
+ 'requests',
230
+ ],
231
+ operation: [
232
+ 'declineARequest',
233
+ ],
234
+ },
235
+ },
236
+ options: [
237
+ {
238
+ name: 'Flash_cards',
239
+ value: 'flash_cards',
240
+ description: 'A flash card is a non-physical card with a budget and a last day of validity. The card becomes inactive after the budget is totally spent or the last date of validity is past.',
241
+ },
242
+ {
243
+ name: 'Virtual_cards',
244
+ value: 'virtual_cards',
245
+ description: 'A virtual card is a non-physical card with a monthly budget. Card holder can spend that amount every calendar month. Above that, transactions will be refused.',
246
+ },
247
+ {
248
+ name: 'Transfers',
249
+ value: 'transfers',
250
+ description: 'A transfer of money from one Qonto account to another account',
251
+ },
252
+ {
253
+ name: 'Multi_transfers',
254
+ value: 'multi_transfers',
255
+ description: 'Several transfers executed at the same time. A document can be provided to create a multi-transfer which is composed of many different transfers.',
256
+ },
257
+ ],
258
+ default: 'transfers',
259
+ },
260
+ {
261
+ displayName: 'Declined Note',
262
+ name: 'declined_note',
263
+ type: 'string',
264
+ required: true,
265
+ displayOptions: {
266
+ show: {
267
+ resource: [
268
+ 'requests',
269
+ ],
270
+ operation: [
271
+ 'declineARequest',
272
+ ],
273
+ },
274
+ },
275
+ default: '',
276
+ },
277
+ ];
278
+ //# sourceMappingURL=RequestsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/RequestsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,kBAAkB,GAAsB;IAKpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf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;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,aAAa;gBACpB,WAAW,EAAE,iLAAiL;aAC9L;YACD;gBACC,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,eAAe;gBACtB,WAAW,EAAE,gKAAgK;aAC7K;YACD;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,+DAA+D;aAC5E;YACD;gBACC,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,iBAAiB;gBACxB,WAAW,EAAE,mJAAmJ;aAChK;SACD;QACD,OAAO,EAAE,WAAW;KACpB;IACD;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,UAAU;iBACV;gBACD,SAAS,EAAE;oBACV,iBAAiB;iBACjB;aACD;SACD;QACD,OAAO,EAAE,EAAE;KACX;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const statementsOperations: INodeProperties[];
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.statementsOperations = void 0;
4
+ exports.statementsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'statements',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Show Statement',
20
+ value: 'showStatement',
21
+ action: 'Show statement',
22
+ },
23
+ {
24
+ name: 'List Statements',
25
+ value: 'listStatement',
26
+ action: 'List statements',
27
+ },
28
+ ],
29
+ default: 'showStatement',
30
+ },
31
+ {
32
+ displayName: 'Statement ID',
33
+ name: 'statementId',
34
+ type: 'string',
35
+ displayOptions: {
36
+ show: {
37
+ resource: [
38
+ 'statements',
39
+ ],
40
+ operation: [
41
+ 'showStatement',
42
+ ],
43
+ },
44
+ },
45
+ default: '',
46
+ required: true,
47
+ description: 'The unique identifier of the statement to be fetched',
48
+ },
49
+ {
50
+ displayName: 'Organization ID',
51
+ name: 'organizationId',
52
+ type: 'string',
53
+ displayOptions: {
54
+ show: {
55
+ resource: [
56
+ 'statements',
57
+ ],
58
+ operation: [
59
+ 'listStatement',
60
+ ],
61
+ },
62
+ },
63
+ default: '',
64
+ required: true,
65
+ description: 'The unique identifier of the organization whose statements are to be listed',
66
+ },
67
+ {
68
+ displayName: 'Start Date',
69
+ name: 'startDate',
70
+ type: 'dateTime',
71
+ displayOptions: {
72
+ show: {
73
+ resource: [
74
+ 'statements',
75
+ ],
76
+ operation: [
77
+ 'listStatement',
78
+ ],
79
+ },
80
+ },
81
+ default: '',
82
+ description: 'Fetch statements created after this date',
83
+ },
84
+ {
85
+ displayName: 'End Date',
86
+ name: 'endDate',
87
+ type: 'dateTime',
88
+ displayOptions: {
89
+ show: {
90
+ resource: [
91
+ 'statements',
92
+ ],
93
+ operation: [
94
+ 'listStatement',
95
+ ],
96
+ },
97
+ },
98
+ default: '',
99
+ description: 'Fetch statements created before this date',
100
+ },
101
+ ];
102
+ //# sourceMappingURL=StatementsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatementsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/StatementsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,oBAAoB,GAAsB;IAMrD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,YAAY;iBACZ;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,gBAAgB;gBACtB,KAA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ACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const supplierInvoicesOperations: INodeProperties[];