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,193 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.supplierInvoicesOperations = void 0;
4
+ exports.supplierInvoicesOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'supplierInvoices',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Get a List of Supplier Invoices for an Organization',
20
+ value: 'getSupplierInvoices',
21
+ action: 'Get a list of supplier invoices for an organization',
22
+ },
23
+ {
24
+ name: 'Create Supplier Invoices with Attachments',
25
+ value: 'createSupplierInvoices',
26
+ action: 'Create supplier invoices with attachments',
27
+ },
28
+ ],
29
+ default: 'getSupplierInvoices',
30
+ },
31
+ {
32
+ displayName: 'Organization ID',
33
+ name: 'organizationId',
34
+ type: 'string',
35
+ displayOptions: {
36
+ show: {
37
+ resource: [
38
+ 'supplierInvoices',
39
+ ],
40
+ operation: [
41
+ 'getSupplierInvoices',
42
+ ],
43
+ },
44
+ },
45
+ default: '',
46
+ required: true,
47
+ description: 'The unique identifier of the organization whose supplier invoices are to be fetched',
48
+ },
49
+ {
50
+ displayName: 'Status',
51
+ name: 'status',
52
+ type: 'options',
53
+ displayOptions: {
54
+ show: {
55
+ resource: [
56
+ 'supplierInvoices',
57
+ ],
58
+ operation: [
59
+ 'getSupplierInvoices',
60
+ ],
61
+ },
62
+ },
63
+ options: [
64
+ { name: 'All', value: 'all' },
65
+ { name: 'Pending', value: 'pending' },
66
+ { name: 'Paid', value: 'paid' },
67
+ ],
68
+ default: 'all',
69
+ description: 'Filter supplier invoices by their payment status',
70
+ },
71
+ {
72
+ displayName: 'Start Date',
73
+ name: 'startDate',
74
+ type: 'dateTime',
75
+ displayOptions: {
76
+ show: {
77
+ resource: [
78
+ 'supplierInvoices',
79
+ ],
80
+ operation: [
81
+ 'getSupplierInvoices',
82
+ ],
83
+ },
84
+ },
85
+ default: '',
86
+ description: 'Fetch invoices created after this date',
87
+ },
88
+ {
89
+ displayName: 'End Date',
90
+ name: 'endDate',
91
+ type: 'dateTime',
92
+ displayOptions: {
93
+ show: {
94
+ resource: [
95
+ 'supplierInvoices',
96
+ ],
97
+ operation: [
98
+ 'getSupplierInvoices',
99
+ ],
100
+ },
101
+ },
102
+ default: '',
103
+ description: 'Fetch invoices created before this date',
104
+ },
105
+ {
106
+ displayName: 'Organization ID',
107
+ name: 'organizationId',
108
+ type: 'string',
109
+ displayOptions: {
110
+ show: {
111
+ resource: [
112
+ 'supplierInvoices',
113
+ ],
114
+ operation: [
115
+ 'createSupplierInvoices',
116
+ ],
117
+ },
118
+ },
119
+ default: '',
120
+ required: true,
121
+ description: 'The unique identifier of the organization for which supplier invoices will be created',
122
+ },
123
+ {
124
+ displayName: 'Supplier Invoices',
125
+ name: 'supplierInvoices',
126
+ type: 'fixedCollection',
127
+ displayOptions: {
128
+ show: {
129
+ resource: [
130
+ 'supplierInvoices',
131
+ ],
132
+ operation: [
133
+ 'createSupplierInvoices',
134
+ ],
135
+ },
136
+ },
137
+ typeOptions: {
138
+ multipleValues: true,
139
+ },
140
+ default: {},
141
+ required: true,
142
+ description: 'Details of the supplier invoices to be created',
143
+ options: [
144
+ {
145
+ displayName: 'Invoice',
146
+ name: 'invoice',
147
+ values: [
148
+ {
149
+ displayName: 'Amount',
150
+ name: 'amount',
151
+ type: 'number',
152
+ default: '',
153
+ required: true,
154
+ description: 'Amount of the supplier invoice',
155
+ },
156
+ {
157
+ displayName: 'Attachment IDs',
158
+ name: 'attachmentIds',
159
+ type: 'string',
160
+ default: '',
161
+ required: true,
162
+ description: 'Comma-separated IDs of the attachments associated with the invoice',
163
+ },
164
+ {
165
+ displayName: 'Currency',
166
+ name: 'currency',
167
+ type: 'string',
168
+ default: 'EUR',
169
+ required: true,
170
+ description: 'Currency of the supplier invoice',
171
+ },
172
+ {
173
+ displayName: 'Invoice Date',
174
+ name: 'invoiceDate',
175
+ type: 'dateTime',
176
+ default: '',
177
+ required: true,
178
+ description: 'Date of the supplier invoice',
179
+ },
180
+ {
181
+ displayName: 'Invoice Number',
182
+ name: 'invoiceNumber',
183
+ type: 'string',
184
+ default: '',
185
+ required: true,
186
+ description: 'Unique number of the supplier invoice',
187
+ },
188
+ ],
189
+ },
190
+ ],
191
+ },
192
+ ];
193
+ //# sourceMappingURL=SupplierInvoicesDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupplierInvoicesDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/SupplierInvoicesDescriptions.ts"],"names":[],"mappings":";;;AAKa,QAAA,0BAA0B,GAAsB;IAM7D;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,kBAAkB;iBAClB;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,qDAAqD;gBAC3D,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,qDAAqD;aAC7D;YACD;gBACC,IAAI,EAAE,2CAA2C;gBACjD,KAAK,EAAE,wBAAwB;gBAC/B,MAAM,EAAE,2CAA2C;aACnD;SACD;QACD,OAAO,EAAE,qBAAqB;KAC9B;IAMG;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,kBAAkB;iBAClB;gBACD,SAAS,EAAE;oBACV,qBAAqB;iBACrB;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,qFAAqF;KACrG;IACD;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACnB,cAAc,EAAE;YACf,IAAI,EAAE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{ INodeProperties } from 'n8n-workflow';
2
+ export declare const teamsOperations: INodeProperties[];
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.teamsOperations = void 0;
4
+ exports.teamsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'teams',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'List Teams in an Organization',
20
+ value: 'listTeams',
21
+ action: 'List teams in an organization',
22
+ },
23
+ {
24
+ name: 'Create a New Team',
25
+ value: 'createTeam',
26
+ action: 'Create a new team',
27
+ },
28
+ ],
29
+ default: 'listTeams',
30
+ },
31
+ {
32
+ displayName: 'Organization ID',
33
+ name: 'organizationId',
34
+ type: 'string',
35
+ displayOptions: {
36
+ show: {
37
+ resource: [
38
+ 'teams',
39
+ ],
40
+ operation: [
41
+ 'listTeams',
42
+ ],
43
+ },
44
+ },
45
+ default: '',
46
+ required: true,
47
+ description: 'The unique identifier of the organization whose teams are to be listed',
48
+ },
49
+ {
50
+ displayName: 'Organization ID',
51
+ name: 'organizationId',
52
+ type: 'string',
53
+ displayOptions: {
54
+ show: {
55
+ resource: [
56
+ 'teams',
57
+ ],
58
+ operation: [
59
+ 'createTeam',
60
+ ],
61
+ },
62
+ },
63
+ default: '',
64
+ required: true,
65
+ description: 'The unique identifier of the organization where the new team will be created',
66
+ },
67
+ {
68
+ displayName: 'Team Name',
69
+ name: 'teamName',
70
+ type: 'string',
71
+ displayOptions: {
72
+ show: {
73
+ resource: [
74
+ 'teams',
75
+ ],
76
+ operation: [
77
+ 'createTeam',
78
+ ],
79
+ },
80
+ },
81
+ default: '',
82
+ required: true,
83
+ description: 'The name of the new team',
84
+ },
85
+ {
86
+ displayName: 'Team Description',
87
+ name: 'teamDescription',
88
+ type: 'string',
89
+ displayOptions: {
90
+ show: {
91
+ resource: [
92
+ 'teams',
93
+ ],
94
+ operation: [
95
+ 'createTeam',
96
+ ],
97
+ },
98
+ },
99
+ default: '',
100
+ description: 'A description of the new team',
101
+ },
102
+ ];
103
+ //# sourceMappingURL=TeamsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/TeamsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,eAAe,GAAsB;IAMhD;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,OAAO;iBACP;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,+BAA+B;gBACrC,KAAK,EAAE,WAAW;gBAClB,MAAM,EAAE,+BAA+B;aACvC;YACD;gBACC,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,mBAAmB;aAC3B;SACD;QACD,OAAO,EAAE,WAAW;KACpB;IAIC;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,OAAO;iBACP;gBACD,SAAS,EAAE;oBACV,WAAW;iBACX;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,wEAAwE;KACxF;IAMD;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,OAAO;iBACP;gBACD,SAAS,EAAE;oBACV,YAAY;iBACZ;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,8EAA8E;KAC9F;IACD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,OAAO;iBACP;gBACD,SAAS,EAAE;oBACV,YAAY;iBACZ;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,0BAA0B;KAC1C;IACD;QACI,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,OAAO;iBACP;gBACD,SAAS,EAAE;oBACV,YAAY;iBACZ;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+BAA+B;KAC/C;CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const transactionsOperations: INodeProperties[];
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.transactionsOperations = void 0;
4
+ exports.transactionsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'transactions',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'List Transactions',
20
+ value: 'listTransactions',
21
+ action: 'List transactions a transactions',
22
+ },
23
+ {
24
+ name: 'Retrieve a Transaction',
25
+ value: 'showTransaction',
26
+ action: 'Returns the transaction identified by the id path parameter',
27
+ },
28
+ ],
29
+ default: 'listTransactions',
30
+ },
31
+ {
32
+ displayName: 'Return All',
33
+ name: 'returnAll',
34
+ type: 'boolean',
35
+ default: false,
36
+ description: 'Whether to return all results or only up to a given limit',
37
+ displayOptions: {
38
+ show: {
39
+ resource: [
40
+ 'transactions',
41
+ ],
42
+ operation: [
43
+ 'listTransactions',
44
+ ],
45
+ },
46
+ },
47
+ },
48
+ {
49
+ displayName: 'Limit',
50
+ name: 'limit',
51
+ type: 'number',
52
+ displayOptions: {
53
+ show: {
54
+ resource: [
55
+ 'transactions',
56
+ ],
57
+ operation: [
58
+ 'listTransactions',
59
+ ],
60
+ returnAll: [
61
+ false,
62
+ ],
63
+ },
64
+ },
65
+ typeOptions: {
66
+ minValue: 1,
67
+ },
68
+ default: 50,
69
+ description: 'Max number of results to return',
70
+ },
71
+ {
72
+ displayName: 'Identifier Type',
73
+ name: 'identifierType',
74
+ type: 'options',
75
+ noDataExpression: true,
76
+ displayOptions: {
77
+ show: {
78
+ resource: ['transactions'],
79
+ operation: ['listTransactions'],
80
+ },
81
+ },
82
+ options: [
83
+ {
84
+ name: 'IBAN',
85
+ value: 'iban',
86
+ description: 'Use the IBAN to identify the account',
87
+ },
88
+ {
89
+ name: 'Bank Account ID',
90
+ value: 'bankAccountId',
91
+ description: 'Use the internal Qonto ID to identify the account',
92
+ },
93
+ ],
94
+ default: 'iban',
95
+ },
96
+ {
97
+ displayName: 'IBAN',
98
+ name: 'iban',
99
+ type: 'string',
100
+ required: true,
101
+ displayOptions: {
102
+ show: {
103
+ resource: ['transactions'],
104
+ operation: ['listTransactions'],
105
+ identifierType: ['iban'],
106
+ },
107
+ },
108
+ placeholder: 'FR7616798000010000005663951',
109
+ default: '',
110
+ description: 'The IBAN of the account to retrieve transactions from',
111
+ },
112
+ {
113
+ displayName: 'Bank Account ID',
114
+ name: 'bankAccountId',
115
+ type: 'string',
116
+ required: true,
117
+ displayOptions: {
118
+ show: {
119
+ resource: ['transactions'],
120
+ operation: ['listTransactions'],
121
+ identifierType: ['bankAccountId'],
122
+ },
123
+ },
124
+ placeholder: '018f71db-c635-78b5-b90a-ea05de98c2bf',
125
+ default: '',
126
+ description: 'The ID of the account to retrieve transactions from',
127
+ },
128
+ {
129
+ displayName: 'Filters',
130
+ name: 'filters',
131
+ type: 'collection',
132
+ placeholder: 'Add Filter',
133
+ default: {},
134
+ displayOptions: {
135
+ show: {
136
+ resource: [
137
+ 'transactions',
138
+ ],
139
+ operation: [
140
+ 'listTransactions',
141
+ ],
142
+ },
143
+ },
144
+ options: [
145
+ {
146
+ displayName: 'Attachments',
147
+ name: 'attachments',
148
+ type: 'boolean',
149
+ default: false,
150
+ description: 'Whether for each transactions, attachments can be embedded in the response object, using the includes params',
151
+ },
152
+ {
153
+ displayName: 'Emitted_at_from',
154
+ name: 'emitted_at_from',
155
+ type: 'dateTime',
156
+ placeholder: '2019-01-10T11:47:53.123Z',
157
+ default: '',
158
+ },
159
+ {
160
+ displayName: 'Emitted_at_to',
161
+ name: 'emitted_at_to',
162
+ type: 'dateTime',
163
+ placeholder: '2019-01-10T11:47:53.123Z',
164
+ default: '',
165
+ },
166
+ {
167
+ displayName: 'Labels',
168
+ name: 'labels',
169
+ type: 'boolean',
170
+ default: false,
171
+ description: 'Whether for each transactions, labels can be embedded in the response object, using the includes params',
172
+ },
173
+ {
174
+ displayName: 'Operation Type',
175
+ name: 'operation_type',
176
+ type: 'string',
177
+ placeholder: 'transfer',
178
+ default: '',
179
+ description: 'Card, transfer or income (no combinaison possible yet)',
180
+ },
181
+ {
182
+ displayName: 'Settled_at_from',
183
+ name: 'settled_at_from',
184
+ type: 'dateTime',
185
+ placeholder: '2019-01-10T11:47:53.123Z',
186
+ default: '',
187
+ },
188
+ {
189
+ displayName: 'Settled_at_to',
190
+ name: 'settled_at_to',
191
+ type: 'dateTime',
192
+ placeholder: '2019-01-10T11:47:53.123Z',
193
+ default: '',
194
+ },
195
+ {
196
+ displayName: 'Side',
197
+ name: 'side',
198
+ type: 'options',
199
+ options: [
200
+ {
201
+ name: 'Credit',
202
+ value: 'credit',
203
+ },
204
+ {
205
+ name: 'Debit',
206
+ value: 'debit',
207
+ },
208
+ ],
209
+ default: 'credit',
210
+ description: 'Transactions can be filtered using the side (credit or debit) query params : side=credit or side=debit',
211
+ },
212
+ {
213
+ displayName: 'Status',
214
+ name: 'status',
215
+ type: 'string',
216
+ placeholder: 'settled',
217
+ default: '',
218
+ description: 'Allowed values: pending, declined, completed (no combinaison possible yet)',
219
+ },
220
+ {
221
+ displayName: 'Updated_at_from',
222
+ name: 'updated_at_from',
223
+ type: 'dateTime',
224
+ placeholder: '2019-01-10T11:47:53.123Z',
225
+ default: '',
226
+ },
227
+ {
228
+ displayName: 'Updated_at_to',
229
+ name: 'updated_at_to',
230
+ type: 'dateTime',
231
+ placeholder: '2019-01-10T11:47:53.123Z',
232
+ default: '',
233
+ },
234
+ {
235
+ displayName: 'With_attachments',
236
+ name: 'with_attachments',
237
+ type: 'boolean',
238
+ default: false,
239
+ description: 'Whether transactions can be filtered based on the presence of one or more attachments. This is achieved using the with_attachments boolean param.',
240
+ },
241
+ ],
242
+ },
243
+ {
244
+ displayName: 'ID',
245
+ name: 'id',
246
+ type: 'string',
247
+ required: true,
248
+ displayOptions: {
249
+ show: {
250
+ resource: [
251
+ 'transactions',
252
+ ],
253
+ operation: [
254
+ 'showTransaction',
255
+ ],
256
+ },
257
+ },
258
+ placeholder: '7b7a5ed6-3903-4782-889d-b4f64bd7bef9',
259
+ default: '',
260
+ description: 'Retrieve a single transaction within a particular bank account',
261
+ },
262
+ ];
263
+ //# sourceMappingURL=TransactionsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/TransactionsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,sBAAsB,GAAsB;IAKxD;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,cAAc;iBACd;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,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BAC9B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,0BAA0B;gBACvC,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,0BAA0B;gBACvC,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,mJAAmJ;aAChK;SACD;KACA;IAKD;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,cAAc;iBACd;gBACD,SAAS,EAAE;oBACV,iBAAiB;iBACjB;aACD;SACD;QACD,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gEAAgE;KAC7E;CACD,CAAC"}
@@ -0,0 +1,18 @@
1
+ export * from './AttachmentDescriptions';
2
+ export * from './AttachmentsInATransactionDescriptions';
3
+ export * from './BeneficiariesDescriptions';
4
+ export * from './CardsDescriptions';
5
+ export * from './ClientsDescriptions';
6
+ export * from './ClientsInvoicesDescriptions';
7
+ export * from './CreditNotesDescriptions';
8
+ export * from './ExternalTransfersDescriptions';
9
+ export * from './InsuranceContractsDescriptions';
10
+ export * from './InternalTransactionsDescriptions';
11
+ export * from './LabelsDescriptions';
12
+ export * from './MembershipsDescriptions';
13
+ export * from './OrganizationsDescriptions';
14
+ export * from './RequestsDescriptions';
15
+ export * from './StatementsDescriptions';
16
+ export * from './SupplierInvoicesDescriptions';
17
+ export * from './TeamsDescriptions';
18
+ export * from './TransactionsDescriptions';
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AttachmentDescriptions"), exports);
18
+ __exportStar(require("./AttachmentsInATransactionDescriptions"), exports);
19
+ __exportStar(require("./BeneficiariesDescriptions"), exports);
20
+ __exportStar(require("./CardsDescriptions"), exports);
21
+ __exportStar(require("./ClientsDescriptions"), exports);
22
+ __exportStar(require("./ClientsInvoicesDescriptions"), exports);
23
+ __exportStar(require("./CreditNotesDescriptions"), exports);
24
+ __exportStar(require("./ExternalTransfersDescriptions"), exports);
25
+ __exportStar(require("./InsuranceContractsDescriptions"), exports);
26
+ __exportStar(require("./InternalTransactionsDescriptions"), exports);
27
+ __exportStar(require("./LabelsDescriptions"), exports);
28
+ __exportStar(require("./MembershipsDescriptions"), exports);
29
+ __exportStar(require("./OrganizationsDescriptions"), exports);
30
+ __exportStar(require("./RequestsDescriptions"), exports);
31
+ __exportStar(require("./StatementsDescriptions"), exports);
32
+ __exportStar(require("./SupplierInvoicesDescriptions"), exports);
33
+ __exportStar(require("./TeamsDescriptions"), exports);
34
+ __exportStar(require("./TransactionsDescriptions"), exports);
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0EAAwD;AACxD,8DAA4C;AAC5C,sDAAoC;AACpC,wDAAsC;AACtC,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,mEAAiD;AACjD,qEAAmD;AACnD,uDAAqC;AACrC,4DAA0C;AAC1C,8DAA4C;AAC5C,yDAAuC;AACvC,2DAAyC;AACzC,iEAA+C;AAC/C,sDAAoC;AACpC,6DAA2C"}
@@ -0,0 +1,3 @@
1
+ import { IExecuteFunctions, IExecuteSingleFunctions, ILoadOptionsFunctions, IDataObject, IHttpRequestMethods } from 'n8n-workflow';
2
+ export declare function qontoApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, headers: IDataObject, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, query?: IDataObject, isFileUpload?: boolean): Promise<IDataObject>;
3
+ export declare function handleListing(this: IExecuteFunctions, headers: IDataObject, method: IHttpRequestMethods, endpoint: string, body: IDataObject | undefined, query: IDataObject | undefined, i: number): Promise<IDataObject[]>;