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,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.creditNotesOperations = void 0;
4
+ exports.creditNotesOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'creditNotes',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Get a List of Credit Notes for an Organization',
20
+ value: 'getListCreditNotes',
21
+ action: 'Get a list of credit notes for an organization',
22
+ },
23
+ {
24
+ name: 'Get Details of Credit Note for an Organization',
25
+ value: 'getDetailsCreditNotes',
26
+ action: 'Get details of credit note for an organization',
27
+ },
28
+ ],
29
+ default: 'getListCreditNotes',
30
+ },
31
+ {
32
+ displayName: 'Organization ID',
33
+ name: 'organizationId',
34
+ type: 'string',
35
+ displayOptions: {
36
+ show: {
37
+ resource: [
38
+ 'creditNotes',
39
+ ],
40
+ operation: [
41
+ 'getListCreditNotes',
42
+ ],
43
+ },
44
+ },
45
+ default: '',
46
+ required: true,
47
+ description: 'The unique identifier of the organization whose credit notes are to be fetched',
48
+ },
49
+ {
50
+ displayName: 'Status',
51
+ name: 'status',
52
+ type: 'options',
53
+ displayOptions: {
54
+ show: {
55
+ resource: [
56
+ 'creditNotes',
57
+ ],
58
+ operation: [
59
+ 'getListCreditNotes',
60
+ ],
61
+ },
62
+ },
63
+ options: [
64
+ { name: 'All', value: 'all' },
65
+ { name: 'Pending', value: 'pending' },
66
+ { name: 'Used', value: 'used' },
67
+ ],
68
+ default: 'all',
69
+ description: 'Filter credit notes by their status',
70
+ },
71
+ {
72
+ displayName: 'Start Date',
73
+ name: 'startDate',
74
+ type: 'dateTime',
75
+ displayOptions: {
76
+ show: {
77
+ resource: [
78
+ 'creditNotes',
79
+ ],
80
+ operation: [
81
+ 'getListCreditNotes',
82
+ ],
83
+ },
84
+ },
85
+ default: '',
86
+ description: 'Fetch credit notes created after this date',
87
+ },
88
+ {
89
+ displayName: 'End Date',
90
+ name: 'endDate',
91
+ type: 'dateTime',
92
+ displayOptions: {
93
+ show: {
94
+ resource: [
95
+ 'creditNotes',
96
+ ],
97
+ operation: [
98
+ 'getListCreditNotes',
99
+ ],
100
+ },
101
+ },
102
+ default: '',
103
+ description: 'Fetch credit notes created before this date',
104
+ },
105
+ {
106
+ displayName: 'Organization ID',
107
+ name: 'organizationId',
108
+ type: 'string',
109
+ displayOptions: {
110
+ show: {
111
+ resource: [
112
+ 'creditNotes',
113
+ ],
114
+ operation: [
115
+ 'getDetailsCreditNotes',
116
+ ],
117
+ },
118
+ },
119
+ default: '',
120
+ required: true,
121
+ description: 'The unique identifier of the organization whose credit note details are to be fetched',
122
+ },
123
+ {
124
+ displayName: 'Credit Note ID',
125
+ name: 'creditNoteId',
126
+ type: 'string',
127
+ displayOptions: {
128
+ show: {
129
+ resource: [
130
+ 'creditNotes',
131
+ ],
132
+ operation: [
133
+ 'getDetailsCreditNotes',
134
+ ],
135
+ },
136
+ },
137
+ default: '',
138
+ required: true,
139
+ description: 'The unique identifier of the credit note',
140
+ },
141
+ ];
142
+ //# sourceMappingURL=CreditNotesDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreditNotesDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/CreditNotesDescriptions.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const externalTransfersOperations: INodeProperties[];
@@ -0,0 +1,553 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.externalTransfersOperations = void 0;
4
+ exports.externalTransfersOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'externalTransfers',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Create External Transfers with Creditor Data',
20
+ value: 'createExternalTransfersWithCreditorData',
21
+ action: 'Create external transfers with creditor data an external transfers',
22
+ },
23
+ {
24
+ name: 'List External Transfers',
25
+ value: 'listExternalTransfers',
26
+ action: 'List external transfers an external transfers',
27
+ },
28
+ {
29
+ name: 'Create an External Transfer',
30
+ value: 'createAnExternalTransfer',
31
+ action: 'Create an external transfer an external transfers',
32
+ },
33
+ {
34
+ name: 'Show an External Transfer',
35
+ value: 'showAnExternalTransfer',
36
+ action: 'Show an external transfer an external transfers',
37
+ },
38
+ ],
39
+ default: 'createExternalTransfersWithCreditorData',
40
+ },
41
+ {
42
+ displayName: 'ID',
43
+ name: 'id',
44
+ type: 'string',
45
+ required: true,
46
+ displayOptions: {
47
+ show: {
48
+ resource: [
49
+ 'externalTransfers',
50
+ ],
51
+ operation: [
52
+ 'showAnExternalTransfer',
53
+ ],
54
+ },
55
+ },
56
+ placeholder: '7b7a5ed6-3903-4782-889d-b4f64bd7bef9',
57
+ default: '',
58
+ description: 'Get a single external transfer',
59
+ },
60
+ {
61
+ displayName: 'Return All',
62
+ name: 'returnAll',
63
+ type: 'boolean',
64
+ default: false,
65
+ description: 'Whether to return all results or only up to a given limit',
66
+ displayOptions: {
67
+ show: {
68
+ resource: [
69
+ 'externalTransfers',
70
+ ],
71
+ operation: [
72
+ 'listExternalTransfers',
73
+ ],
74
+ },
75
+ },
76
+ },
77
+ {
78
+ displayName: 'Limit',
79
+ name: 'limit',
80
+ type: 'number',
81
+ displayOptions: {
82
+ show: {
83
+ resource: [
84
+ 'externalTransfers',
85
+ ],
86
+ operation: [
87
+ 'listExternalTransfers',
88
+ ],
89
+ returnAll: [
90
+ false,
91
+ ],
92
+ },
93
+ },
94
+ typeOptions: {
95
+ minValue: 1,
96
+ },
97
+ default: 50,
98
+ description: 'Max number of results to return',
99
+ },
100
+ {
101
+ displayName: 'Filters',
102
+ name: 'filters',
103
+ type: 'collection',
104
+ placeholder: 'Add Filter',
105
+ default: {},
106
+ displayOptions: {
107
+ show: {
108
+ resource: [
109
+ 'externalTransfers',
110
+ ],
111
+ operation: [
112
+ 'listExternalTransfers',
113
+ ],
114
+ },
115
+ },
116
+ options: [
117
+ {
118
+ displayName: 'Beneficiary_ids',
119
+ name: 'beneficiary_ids',
120
+ type: 'string',
121
+ placeholder: '',
122
+ default: '',
123
+ description: 'Allows filtering on a list of beneficiary IDs',
124
+ },
125
+ {
126
+ displayName: 'Scheduled_date_from',
127
+ name: 'scheduled_date_from',
128
+ type: 'dateTime',
129
+ placeholder: '2019-01-10',
130
+ default: '',
131
+ },
132
+ {
133
+ displayName: 'Scheduled_date_to',
134
+ name: 'scheduled_date_to',
135
+ type: 'dateTime',
136
+ placeholder: '2019-01-10',
137
+ default: '',
138
+ },
139
+ {
140
+ displayName: 'Status',
141
+ name: 'status',
142
+ type: 'string',
143
+ placeholder: 'settled',
144
+ default: '',
145
+ description: 'Allowed values: pending, processing, canceled, declined, settled (no combinaison possible yet)',
146
+ },
147
+ {
148
+ displayName: 'Updated_at_from',
149
+ name: 'updated_at_from',
150
+ type: 'dateTime',
151
+ placeholder: '2019-01-10T11:47:53.123Z',
152
+ default: '',
153
+ },
154
+ {
155
+ displayName: 'Updated_at_to',
156
+ name: 'updated_at_to',
157
+ type: 'dateTime',
158
+ placeholder: '2019-01-10T11:47:53.123Z',
159
+ default: '',
160
+ },
161
+ ],
162
+ },
163
+ {
164
+ displayName: 'Idempotency Key',
165
+ name: 'idempotency_key',
166
+ type: 'string',
167
+ required: true,
168
+ displayOptions: {
169
+ show: {
170
+ resource: [
171
+ 'externalTransfers',
172
+ ],
173
+ operation: [
174
+ 'createAnExternalTransfer',
175
+ ],
176
+ },
177
+ },
178
+ default: '',
179
+ description: 'This is a unique string (we advise to use a uuid) that identifies a transfer. This is used by Qonto to prevent "double spending" by accidentaly replaying the same API call.',
180
+ },
181
+ {
182
+ displayName: 'Beneficiary ID',
183
+ name: 'beneficiary_id',
184
+ type: 'string',
185
+ required: true,
186
+ displayOptions: {
187
+ show: {
188
+ resource: [
189
+ 'externalTransfers',
190
+ ],
191
+ operation: [
192
+ 'createAnExternalTransfer',
193
+ ],
194
+ },
195
+ },
196
+ default: '',
197
+ description: 'IBAN of account to debit',
198
+ },
199
+ {
200
+ displayName: 'Debit IBAN',
201
+ name: 'debit_iban',
202
+ type: 'string',
203
+ required: true,
204
+ displayOptions: {
205
+ show: {
206
+ resource: [
207
+ 'externalTransfers',
208
+ ],
209
+ operation: [
210
+ 'createAnExternalTransfer',
211
+ ],
212
+ },
213
+ },
214
+ default: '',
215
+ description: 'IBAN of account to debit',
216
+ },
217
+ {
218
+ displayName: 'Reference',
219
+ name: 'reference',
220
+ type: 'string',
221
+ required: true,
222
+ displayOptions: {
223
+ show: {
224
+ resource: [
225
+ 'externalTransfers',
226
+ ],
227
+ operation: [
228
+ 'createAnExternalTransfer',
229
+ ],
230
+ },
231
+ },
232
+ default: '',
233
+ description: 'Transfer reference that can be used to enter transfer details to further describe the transfer - Maximum 140 characters',
234
+ },
235
+ {
236
+ displayName: 'Note',
237
+ name: 'note',
238
+ type: 'string',
239
+ displayOptions: {
240
+ show: {
241
+ resource: [
242
+ 'externalTransfers',
243
+ ],
244
+ operation: [
245
+ 'createAnExternalTransfer',
246
+ ],
247
+ },
248
+ },
249
+ default: '',
250
+ },
251
+ {
252
+ displayName: 'Currency',
253
+ name: 'currency',
254
+ type: 'string',
255
+ required: true,
256
+ displayOptions: {
257
+ show: {
258
+ resource: [
259
+ 'externalTransfers',
260
+ ],
261
+ operation: [
262
+ 'createAnExternalTransfer',
263
+ ],
264
+ },
265
+ },
266
+ default: 'EUR',
267
+ description: 'The currency should be EUR',
268
+ },
269
+ {
270
+ displayName: 'Scheduled Date',
271
+ name: 'scheduled_date',
272
+ type: 'dateTime',
273
+ displayOptions: {
274
+ show: {
275
+ resource: [
276
+ 'externalTransfers',
277
+ ],
278
+ operation: [
279
+ 'createAnExternalTransfer',
280
+ ],
281
+ },
282
+ },
283
+ placeholder: '2021-12-31',
284
+ default: '',
285
+ description: 'YYYY-MM-DD, indicates when the external transfer was scheduled to be sent by Qonto',
286
+ },
287
+ {
288
+ displayName: 'Amount',
289
+ name: 'amount',
290
+ type: 'string',
291
+ required: true,
292
+ displayOptions: {
293
+ show: {
294
+ resource: [
295
+ 'externalTransfers',
296
+ ],
297
+ operation: [
298
+ 'createAnExternalTransfer',
299
+ ],
300
+ },
301
+ },
302
+ default: '',
303
+ description: 'The amount corresponds to the amount of the transaction in the currency of the bank account',
304
+ },
305
+ {
306
+ displayName: 'Attachment IDs',
307
+ name: 'attachment_ids',
308
+ placeholder: 'Add Attachments',
309
+ type: 'fixedCollection',
310
+ typeOptions: {
311
+ multipleValues: true,
312
+ },
313
+ displayOptions: {
314
+ show: {
315
+ resource: [
316
+ 'externalTransfers',
317
+ ],
318
+ operation: [
319
+ 'createAnExternalTransfer',
320
+ ],
321
+ },
322
+ },
323
+ options: [
324
+ {
325
+ name: 'attachmentsBinary',
326
+ displayName: 'Attachments Binary',
327
+ values: [
328
+ {
329
+ displayName: 'Property',
330
+ name: 'property',
331
+ type: 'string',
332
+ default: '',
333
+ description: 'Name of the binary property containing the data to be added to the transaction as an attachment. Multiple properties can be set separated by comma.',
334
+ },
335
+ ],
336
+ },
337
+ ],
338
+ default: {},
339
+ description: 'Array of supported attachments to add to the message',
340
+ },
341
+ {
342
+ displayName: 'Debit IBAN',
343
+ name: 'debit_iban',
344
+ type: 'string',
345
+ required: true,
346
+ displayOptions: {
347
+ show: {
348
+ resource: [
349
+ 'externalTransfers',
350
+ ],
351
+ operation: [
352
+ 'createExternalTransfersWithCreditorData',
353
+ ],
354
+ },
355
+ },
356
+ default: '',
357
+ description: 'IBAN of account to debit',
358
+ },
359
+ {
360
+ displayName: 'Credit IBAN',
361
+ name: 'credit_iban',
362
+ type: 'string',
363
+ required: true,
364
+ displayOptions: {
365
+ show: {
366
+ resource: [
367
+ 'externalTransfers',
368
+ ],
369
+ operation: [
370
+ 'createExternalTransfersWithCreditorData',
371
+ ],
372
+ },
373
+ },
374
+ default: '',
375
+ description: 'IBAN of account to credit',
376
+ },
377
+ {
378
+ displayName: 'Credit Account Name',
379
+ name: 'credit_account_name',
380
+ type: 'string',
381
+ required: true,
382
+ displayOptions: {
383
+ show: {
384
+ resource: [
385
+ 'externalTransfers',
386
+ ],
387
+ operation: [
388
+ 'createExternalTransfersWithCreditorData',
389
+ ],
390
+ },
391
+ },
392
+ default: '',
393
+ description: 'The name of the credit account',
394
+ },
395
+ {
396
+ displayName: 'Credit Account Currency',
397
+ name: 'credit_account_currency',
398
+ type: 'string',
399
+ required: true,
400
+ displayOptions: {
401
+ show: {
402
+ resource: [
403
+ 'externalTransfers',
404
+ ],
405
+ operation: [
406
+ 'createExternalTransfersWithCreditorData',
407
+ ],
408
+ },
409
+ },
410
+ default: '',
411
+ description: 'Can be either the currency of the debit_iban or the currency of the creditor. Allowed values is only EUR at the moment.',
412
+ },
413
+ {
414
+ displayName: 'Reference',
415
+ name: 'reference',
416
+ type: 'string',
417
+ displayOptions: {
418
+ show: {
419
+ resource: [
420
+ 'externalTransfers',
421
+ ],
422
+ operation: [
423
+ 'createExternalTransfersWithCreditorData',
424
+ ],
425
+ },
426
+ },
427
+ default: '',
428
+ description: 'Transfer reference that can be used to enter transfer details to further describe the transfer - Maximum 140 characters',
429
+ },
430
+ {
431
+ displayName: 'Note',
432
+ name: 'note',
433
+ type: 'string',
434
+ displayOptions: {
435
+ show: {
436
+ resource: [
437
+ 'externalTransfers',
438
+ ],
439
+ operation: [
440
+ 'createExternalTransfersWithCreditorData',
441
+ ],
442
+ },
443
+ },
444
+ default: '',
445
+ },
446
+ {
447
+ displayName: 'Currency',
448
+ name: 'currency',
449
+ type: 'string',
450
+ required: true,
451
+ displayOptions: {
452
+ show: {
453
+ resource: [
454
+ 'externalTransfers',
455
+ ],
456
+ operation: [
457
+ 'createExternalTransfersWithCreditorData',
458
+ ],
459
+ },
460
+ },
461
+ default: 'EUR',
462
+ description: 'The currency should be EUR',
463
+ },
464
+ {
465
+ displayName: 'Scheduled Date',
466
+ name: 'scheduled_date',
467
+ type: 'dateTime',
468
+ displayOptions: {
469
+ show: {
470
+ resource: [
471
+ 'externalTransfers',
472
+ ],
473
+ operation: [
474
+ 'createExternalTransfersWithCreditorData',
475
+ ],
476
+ },
477
+ },
478
+ placeholder: '2021-12-31',
479
+ default: '',
480
+ description: 'YYYY-MM-DD, indicates when the external transfer was scheduled to be sent by Qonto',
481
+ },
482
+ {
483
+ displayName: 'Amount',
484
+ name: 'amount',
485
+ type: 'string',
486
+ required: true,
487
+ displayOptions: {
488
+ show: {
489
+ resource: [
490
+ 'externalTransfers',
491
+ ],
492
+ operation: [
493
+ 'createExternalTransfersWithCreditorData',
494
+ ],
495
+ },
496
+ },
497
+ default: '',
498
+ description: 'The amount corresponds to the amount of the transaction in the currency of the bank account',
499
+ },
500
+ {
501
+ displayName: 'Idempotency Key',
502
+ name: 'idempotency_key',
503
+ type: 'string',
504
+ displayOptions: {
505
+ show: {
506
+ resource: [
507
+ 'externalTransfers',
508
+ ],
509
+ operation: [
510
+ 'createExternalTransfersWithCreditorData',
511
+ ],
512
+ },
513
+ },
514
+ default: '',
515
+ },
516
+ {
517
+ displayName: 'Attachment IDs',
518
+ name: 'attachment_ids',
519
+ placeholder: 'Add Attachments',
520
+ type: 'fixedCollection',
521
+ typeOptions: {
522
+ multipleValues: true,
523
+ },
524
+ displayOptions: {
525
+ show: {
526
+ resource: [
527
+ 'externalTransfers',
528
+ ],
529
+ operation: [
530
+ 'createExternalTransfersWithCreditorData',
531
+ ],
532
+ },
533
+ },
534
+ options: [
535
+ {
536
+ name: 'attachmentsBinary',
537
+ displayName: 'Attachments Binary',
538
+ values: [
539
+ {
540
+ displayName: 'Property',
541
+ name: 'property',
542
+ type: 'string',
543
+ default: '',
544
+ description: 'Name of the binary property containing the data to be added to the transaction as an attachment. Multiple properties can be set separated by comma.',
545
+ },
546
+ ],
547
+ },
548
+ ],
549
+ default: {},
550
+ description: 'Array of supported attachments to add to the message',
551
+ },
552
+ ];
553
+ //# sourceMappingURL=ExternalTransfersDescriptions.js.map