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,171 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cardsOperations = void 0;
4
+ exports.cardsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'cards',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'List Cards',
20
+ value: 'listCards',
21
+ action: 'List cards',
22
+ },
23
+ {
24
+ name: 'Create a New Virtual (Virtual, Flash, Advertising) Card',
25
+ value: 'createNew',
26
+ action: 'Create a new virtual virtual flash advertising card',
27
+ },
28
+ {
29
+ name: 'Retrieve Card Data View URL',
30
+ value: 'retrieveCard',
31
+ action: 'Retrieve card data view URL',
32
+ },
33
+ ],
34
+ default: 'listCards',
35
+ },
36
+ {
37
+ displayName: 'Organization ID',
38
+ name: 'organizationId',
39
+ type: 'string',
40
+ displayOptions: {
41
+ show: {
42
+ resource: [
43
+ 'cards',
44
+ ],
45
+ operation: [
46
+ 'listCards',
47
+ ],
48
+ },
49
+ },
50
+ default: '',
51
+ required: true,
52
+ description: 'The unique identifier of the organization whose cards are to be listed',
53
+ },
54
+ {
55
+ displayName: 'Status',
56
+ name: 'status',
57
+ type: 'options',
58
+ displayOptions: {
59
+ show: {
60
+ resource: [
61
+ 'cards',
62
+ ],
63
+ operation: [
64
+ 'listCards',
65
+ ],
66
+ },
67
+ },
68
+ options: [
69
+ { name: 'All', value: 'all' },
70
+ { name: 'Active', value: 'active' },
71
+ { name: 'Inactive', value: 'inactive' },
72
+ ],
73
+ default: 'all',
74
+ description: 'Filter cards by their status',
75
+ },
76
+ {
77
+ displayName: 'Organization ID',
78
+ name: 'organizationId',
79
+ type: 'string',
80
+ displayOptions: {
81
+ show: {
82
+ resource: [
83
+ 'cards',
84
+ ],
85
+ operation: [
86
+ 'createNew',
87
+ ],
88
+ },
89
+ },
90
+ default: '',
91
+ required: true,
92
+ description: 'The unique identifier of the organization for which the virtual card will be created',
93
+ },
94
+ {
95
+ displayName: 'Card Type',
96
+ name: 'cardType',
97
+ type: 'options',
98
+ displayOptions: {
99
+ show: {
100
+ resource: [
101
+ 'cards',
102
+ ],
103
+ operation: [
104
+ 'createNew',
105
+ ],
106
+ },
107
+ },
108
+ options: [
109
+ { name: 'Virtual', value: 'virtual' },
110
+ { name: 'Flash', value: 'flash' },
111
+ { name: 'Advertising', value: 'advertising' },
112
+ ],
113
+ default: 'virtual',
114
+ required: true,
115
+ description: 'The type of virtual card to create',
116
+ },
117
+ {
118
+ displayName: 'Card Name',
119
+ name: 'cardName',
120
+ type: 'string',
121
+ displayOptions: {
122
+ show: {
123
+ resource: [
124
+ 'cards',
125
+ ],
126
+ operation: [
127
+ 'createNew',
128
+ ],
129
+ },
130
+ },
131
+ default: '',
132
+ required: true,
133
+ description: 'The name of the virtual card',
134
+ },
135
+ {
136
+ displayName: 'Spending Limit',
137
+ name: 'spendingLimit',
138
+ type: 'number',
139
+ displayOptions: {
140
+ show: {
141
+ resource: [
142
+ 'cards',
143
+ ],
144
+ operation: [
145
+ 'createNew',
146
+ ],
147
+ },
148
+ },
149
+ default: '',
150
+ description: 'The spending limit for the virtual card',
151
+ },
152
+ {
153
+ displayName: 'Currency',
154
+ name: 'currency',
155
+ type: 'string',
156
+ displayOptions: {
157
+ show: {
158
+ resource: [
159
+ 'cards',
160
+ ],
161
+ operation: [
162
+ 'createNew',
163
+ ],
164
+ },
165
+ },
166
+ default: 'EUR',
167
+ required: true,
168
+ description: 'The currency of the virtual card',
169
+ },
170
+ ];
171
+ //# sourceMappingURL=CardsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/CardsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,eAAe,GAAsB;IAMhD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAA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QACvB,IAAI,EAAE,UAAU;QAChB,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,KAAK;QACd,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,kCAAkC;KAClD;CAMJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const clientsOperations: INodeProperties[];
@@ -0,0 +1,218 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.clientsOperations = void 0;
4
+ exports.clientsOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'clients',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Get Clients Details',
20
+ value: 'getclients',
21
+ action: 'Get clients details',
22
+ },
23
+ {
24
+ name: 'Get a List of Clients',
25
+ value: 'getListClients',
26
+ action: 'Get a list of client',
27
+ },
28
+ {
29
+ name: 'Create a Client',
30
+ value: 'createClient',
31
+ action: 'Create a client',
32
+ },
33
+ ],
34
+ default: 'getclients',
35
+ },
36
+ {
37
+ displayName: 'Client ID',
38
+ name: 'clientId',
39
+ type: 'string',
40
+ displayOptions: {
41
+ show: {
42
+ resource: [
43
+ 'clients',
44
+ ],
45
+ operation: [
46
+ 'getclients',
47
+ ],
48
+ },
49
+ },
50
+ default: '',
51
+ required: true,
52
+ description: 'The unique identifier of the client whose details are to be fetched',
53
+ },
54
+ {
55
+ displayName: 'Organization ID',
56
+ name: 'organizationId',
57
+ type: 'string',
58
+ displayOptions: {
59
+ show: {
60
+ resource: [
61
+ 'clients',
62
+ ],
63
+ operation: [
64
+ 'getListClients',
65
+ ],
66
+ },
67
+ },
68
+ default: '',
69
+ required: true,
70
+ description: 'The unique identifier of the organization whose clients are to be fetched',
71
+ },
72
+ {
73
+ displayName: 'Status',
74
+ name: 'status',
75
+ type: 'options',
76
+ displayOptions: {
77
+ show: {
78
+ resource: [
79
+ 'clients',
80
+ ],
81
+ operation: [
82
+ 'getListClients',
83
+ ],
84
+ },
85
+ },
86
+ options: [
87
+ { name: 'All', value: 'all' },
88
+ { name: 'Active', value: 'active' },
89
+ { name: 'Inactive', value: 'inactive' },
90
+ ],
91
+ default: 'all',
92
+ description: 'Filter clients by their status',
93
+ },
94
+ {
95
+ displayName: 'Start Date',
96
+ name: 'startDate',
97
+ type: 'dateTime',
98
+ displayOptions: {
99
+ show: {
100
+ resource: [
101
+ 'clients',
102
+ ],
103
+ operation: [
104
+ 'getListClients',
105
+ ],
106
+ },
107
+ },
108
+ default: '',
109
+ description: 'Fetch clients created after this date',
110
+ },
111
+ {
112
+ displayName: 'End Date',
113
+ name: 'endDate',
114
+ type: 'dateTime',
115
+ displayOptions: {
116
+ show: {
117
+ resource: [
118
+ 'clients',
119
+ ],
120
+ operation: [
121
+ 'getListClients',
122
+ ],
123
+ },
124
+ },
125
+ default: '',
126
+ description: 'Fetch clients created before this date',
127
+ },
128
+ {
129
+ displayName: 'Organization ID',
130
+ name: 'organizationId',
131
+ type: 'string',
132
+ displayOptions: {
133
+ show: {
134
+ resource: [
135
+ 'clients',
136
+ ],
137
+ operation: [
138
+ 'createClient',
139
+ ],
140
+ },
141
+ },
142
+ default: '',
143
+ required: true,
144
+ description: 'The unique identifier of the organization for which the client will be created',
145
+ },
146
+ {
147
+ displayName: 'Client Name',
148
+ name: 'clientName',
149
+ type: 'string',
150
+ displayOptions: {
151
+ show: {
152
+ resource: [
153
+ 'clients',
154
+ ],
155
+ operation: [
156
+ 'createClient',
157
+ ],
158
+ },
159
+ },
160
+ default: '',
161
+ required: true,
162
+ description: 'The name of the client to be created',
163
+ },
164
+ {
165
+ displayName: 'Email',
166
+ name: 'email',
167
+ type: 'string',
168
+ placeholder: 'name@email.com',
169
+ displayOptions: {
170
+ show: {
171
+ resource: [
172
+ 'clients',
173
+ ],
174
+ operation: [
175
+ 'createClient',
176
+ ],
177
+ },
178
+ },
179
+ default: '',
180
+ required: true,
181
+ description: 'The email address of the client',
182
+ },
183
+ {
184
+ displayName: 'Phone Number',
185
+ name: 'phoneNumber',
186
+ type: 'string',
187
+ displayOptions: {
188
+ show: {
189
+ resource: [
190
+ 'clients',
191
+ ],
192
+ operation: [
193
+ 'createClient',
194
+ ],
195
+ },
196
+ },
197
+ default: '',
198
+ description: 'The phone number of the client',
199
+ },
200
+ {
201
+ displayName: 'Address',
202
+ name: 'address',
203
+ type: 'string',
204
+ displayOptions: {
205
+ show: {
206
+ resource: [
207
+ 'clients',
208
+ ],
209
+ operation: [
210
+ 'createClient',
211
+ ],
212
+ },
213
+ },
214
+ default: '',
215
+ description: 'The address of the client',
216
+ },
217
+ ];
218
+ //# sourceMappingURL=ClientsDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientsDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/ClientsDescriptions.ts"],"names":[],"mappings":";;;AAIa,QAAA,iBAAiB,GAAsB;IAMlD;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,SAAS;iBACT;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,qBAAqB;aAC7B;YACD;gBACC,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,gBAAgB;gBACvB,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,iBAAiB;aACzB;SACD;QACD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EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,SAAS;iBACT;gBACD,SAAS,EAAE;oBACV,cAAc;iBACd;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;KAChD;IACD;QACI,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QAClB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,SAAS;iBACT;gBACD,SAAS,EAAE;oBACV,cAAc;iBACd;aACD;SACD;QACG,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2BAA2B;KAC3C;CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const clientsInvoicesOperations: INodeProperties[];
@@ -0,0 +1,205 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.clientsInvoicesOperations = void 0;
4
+ exports.clientsInvoicesOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'clientsInvoices',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'List Client Invoices',
20
+ value: 'listInvoices',
21
+ action: 'List client invoices',
22
+ },
23
+ {
24
+ name: 'Create a Client Invoice',
25
+ value: 'createClientInvoice',
26
+ action: 'Create a client invoice',
27
+ },
28
+ {
29
+ name: 'Show Client Invoice',
30
+ value: 'showClientInvoice',
31
+ action: 'Show client invoice',
32
+ },
33
+ ],
34
+ default: 'listInvoices',
35
+ },
36
+ {
37
+ displayName: 'Organization ID',
38
+ name: 'organizationId',
39
+ type: 'string',
40
+ displayOptions: {
41
+ show: {
42
+ resource: [
43
+ 'clientsInvoices',
44
+ ],
45
+ operation: [
46
+ 'listInvoices',
47
+ ],
48
+ },
49
+ },
50
+ default: '',
51
+ required: true,
52
+ description: 'The unique identifier of the organization whose client invoices are to be fetched',
53
+ },
54
+ {
55
+ displayName: 'Status',
56
+ name: 'status',
57
+ type: 'options',
58
+ displayOptions: {
59
+ show: {
60
+ resource: [
61
+ 'clientsInvoices',
62
+ ],
63
+ operation: [
64
+ 'listInvoices',
65
+ ],
66
+ },
67
+ },
68
+ options: [
69
+ { name: 'All', value: 'all' },
70
+ { name: 'Pending', value: 'pending' },
71
+ { name: 'Paid', value: 'paid' },
72
+ ],
73
+ default: 'all',
74
+ description: 'Filter client invoices by their payment status',
75
+ },
76
+ {
77
+ displayName: 'Start Date',
78
+ name: 'startDate',
79
+ type: 'dateTime',
80
+ displayOptions: {
81
+ show: {
82
+ resource: [
83
+ 'clientsInvoices',
84
+ ],
85
+ operation: [
86
+ 'listInvoices',
87
+ ],
88
+ },
89
+ },
90
+ default: '',
91
+ description: 'Fetch invoices created after this date',
92
+ },
93
+ {
94
+ displayName: 'End Date',
95
+ name: 'endDate',
96
+ type: 'dateTime',
97
+ displayOptions: {
98
+ show: {
99
+ resource: [
100
+ 'clientsInvoices',
101
+ ],
102
+ operation: [
103
+ 'listInvoices',
104
+ ],
105
+ },
106
+ },
107
+ default: '',
108
+ description: 'Fetch invoices created before this date',
109
+ },
110
+ {
111
+ displayName: 'Organization ID',
112
+ name: 'organizationId',
113
+ type: 'string',
114
+ displayOptions: {
115
+ show: {
116
+ resource: [
117
+ 'clientsInvoices',
118
+ ],
119
+ operation: [
120
+ 'createClientInvoice',
121
+ ],
122
+ },
123
+ },
124
+ default: '',
125
+ required: true,
126
+ description: 'The unique identifier of the organization for which the client invoice will be created',
127
+ },
128
+ {
129
+ displayName: 'Client Invoice',
130
+ name: 'clientInvoice',
131
+ type: 'fixedCollection',
132
+ displayOptions: {
133
+ show: {
134
+ resource: [
135
+ 'clientsInvoices',
136
+ ],
137
+ operation: [
138
+ 'createClientInvoice',
139
+ ],
140
+ },
141
+ },
142
+ typeOptions: {
143
+ multipleValues: false,
144
+ },
145
+ default: {},
146
+ required: true,
147
+ description: 'Details of the client invoice to be created',
148
+ options: [
149
+ {
150
+ displayName: 'Invoice Details',
151
+ name: 'invoiceDetails',
152
+ values: [
153
+ {
154
+ displayName: 'Amount',
155
+ name: 'amount',
156
+ type: 'number',
157
+ default: '',
158
+ required: true,
159
+ description: 'Amount of the client invoice',
160
+ },
161
+ {
162
+ displayName: 'Currency',
163
+ name: 'currency',
164
+ type: 'string',
165
+ default: 'EUR',
166
+ required: true,
167
+ description: 'Currency of the client invoice',
168
+ },
169
+ {
170
+ displayName: 'Description',
171
+ name: 'description',
172
+ type: 'string',
173
+ default: '',
174
+ description: 'Description or details of the client invoice',
175
+ },
176
+ {
177
+ displayName: 'Due Date',
178
+ name: 'dueDate',
179
+ type: 'dateTime',
180
+ default: '',
181
+ required: true,
182
+ description: 'Due date for the client invoice payment',
183
+ },
184
+ {
185
+ displayName: 'Invoice Date',
186
+ name: 'invoiceDate',
187
+ type: 'dateTime',
188
+ default: '',
189
+ required: true,
190
+ description: 'Date of the client invoice',
191
+ },
192
+ {
193
+ displayName: 'Invoice Number',
194
+ name: 'invoiceNumber',
195
+ type: 'string',
196
+ default: '',
197
+ required: true,
198
+ description: 'Unique number of the client invoice',
199
+ },
200
+ ],
201
+ },
202
+ ],
203
+ },
204
+ ];
205
+ //# sourceMappingURL=ClientsInvoicesDescriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientsInvoicesDescriptions.js","sourceRoot":"","sources":["../../../../nodes/Qonto/descriptions/ClientsInvoicesDescriptions.ts"],"names":[],"mappings":";;;AAKa,QAAA,yBAAyB,GAAsB;IAM5D;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,iBAAiB;iBACjB;aACD;SACD;QACD,OAAO,EAAE;YAC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