@klardaten/n8n-nodes-datevconnect 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -10
- package/dist/credentials/DatevConnectApi.credentials.js +68 -95
- package/dist/nodes/Accounting/Accounting.config.js +1373 -0
- package/dist/nodes/Accounting/Accounting.node.js +180 -5153
- package/dist/nodes/Accounting/handlers/AccountPostingResourceHandler.js +40 -0
- package/dist/nodes/Accounting/handlers/AccountingSequenceResourceHandler.js +72 -0
- package/dist/nodes/Accounting/handlers/AccountingStatisticsResourceHandler.js +38 -0
- package/dist/nodes/Accounting/handlers/AccountingSumsAndBalancesResourceHandler.js +52 -0
- package/dist/nodes/Accounting/handlers/AccountingTransactionKeysResourceHandler.js +53 -0
- package/dist/nodes/Accounting/handlers/AccountsPayableResourceHandler.js +67 -0
- package/dist/nodes/Accounting/handlers/AccountsReceivableResourceHandler.js +48 -0
- package/dist/nodes/Accounting/handlers/BaseResourceHandler.js +148 -0
- package/dist/nodes/Accounting/handlers/BusinessPartnersResourceHandler.js +207 -0
- package/dist/nodes/Accounting/handlers/ClientResourceHandler.js +52 -0
- package/dist/nodes/Accounting/handlers/CostCenterPropertiesResourceHandler.js +55 -0
- package/dist/nodes/Accounting/handlers/CostCentersUnitsResourceHandler.js +55 -0
- package/dist/nodes/Accounting/handlers/CostSequencesResourceHandler.js +88 -0
- package/dist/nodes/Accounting/handlers/CostSystemsResourceHandler.js +62 -0
- package/dist/nodes/Accounting/handlers/FiscalYearResourceHandler.js +49 -0
- package/dist/nodes/Accounting/handlers/GeneralLedgerAccountsResourceHandler.js +67 -0
- package/dist/nodes/Accounting/handlers/InternalCostServicesResourceHandler.js +40 -0
- package/dist/nodes/Accounting/handlers/PostingProposalsResourceHandler.js +98 -0
- package/dist/nodes/Accounting/handlers/StocktakingDataResourceHandler.js +57 -0
- package/dist/nodes/Accounting/handlers/TermsOfPaymentResourceHandler.js +69 -0
- package/dist/nodes/Accounting/handlers/VariousAddressesResourceHandler.js +56 -0
- package/dist/nodes/Accounting/handlers/index.js +45 -0
- package/dist/nodes/Accounting/types.js +5 -0
- package/dist/nodes/DocumentManagement/DocumentManagement.config.js +598 -0
- package/dist/nodes/DocumentManagement/DocumentManagement.node.js +96 -3513
- package/dist/nodes/DocumentManagement/handlers/BaseResourceHandler.js +121 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentFileResourceHandler.js +126 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentResourceHandler.js +184 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentStateResourceHandler.js +58 -0
- package/dist/nodes/DocumentManagement/handlers/DomainResourceHandler.js +32 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualPropertyResourceHandler.js +32 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualReference1ResourceHandler.js +49 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualReference2ResourceHandler.js +49 -0
- package/dist/nodes/DocumentManagement/handlers/InfoResourceHandler.js +30 -0
- package/dist/nodes/DocumentManagement/handlers/PropertyTemplateResourceHandler.js +34 -0
- package/dist/nodes/DocumentManagement/handlers/SecureAreaResourceHandler.js +32 -0
- package/dist/nodes/DocumentManagement/types.js +2 -0
- package/dist/nodes/DocumentManagement/utils.js +116 -0
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.config.js +368 -0
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.node.js +77 -2774
- package/dist/nodes/IdentityAndAccessManagement/handlers/BaseResourceHandler.js +87 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/CurrentUserResourceHandler.js +17 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/GroupResourceHandler.js +63 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/ResourceTypeResourceHandler.js +17 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/SchemaResourceHandler.js +30 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/ServiceProviderConfigResourceHandler.js +17 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/UserResourceHandler.js +73 -0
- package/dist/nodes/IdentityAndAccessManagement/types.js +2 -0
- package/dist/nodes/IdentityAndAccessManagement/utils.js +89 -0
- package/dist/nodes/MasterData/MasterData.config.js +902 -0
- package/dist/nodes/MasterData/MasterData.node.js +107 -3561
- package/dist/nodes/MasterData/handlers/AddresseeResourceHandler.js +98 -0
- package/dist/nodes/MasterData/handlers/AreaOfResponsibilityResourceHandler.js +42 -0
- package/dist/nodes/MasterData/handlers/BankResourceHandler.js +42 -0
- package/dist/nodes/MasterData/handlers/BaseResourceHandler.js +91 -0
- package/dist/nodes/MasterData/handlers/ClientCategoryTypeResourceHandler.js +78 -0
- package/dist/nodes/MasterData/handlers/ClientGroupTypeResourceHandler.js +78 -0
- package/dist/nodes/MasterData/handlers/ClientResourceHandler.js +183 -0
- package/dist/nodes/MasterData/handlers/CorporateStructureResourceHandler.js +68 -0
- package/dist/nodes/MasterData/handlers/CountryCodeResourceHandler.js +42 -0
- package/dist/nodes/MasterData/handlers/EmployeeResourceHandler.js +78 -0
- package/dist/nodes/MasterData/handlers/LegalFormResourceHandler.js +42 -0
- package/dist/nodes/MasterData/handlers/RelationshipResourceHandler.js +54 -0
- package/dist/nodes/MasterData/handlers/TaxAuthorityResourceHandler.js +42 -0
- package/dist/nodes/MasterData/types.js +2 -0
- package/dist/nodes/MasterData/utils.js +92 -0
- package/dist/src/services/accountingClient.js +766 -0
- package/dist/src/services/datevConnectClient.js +1809 -0
- package/dist/src/services/documentManagementClient.js +546 -0
- package/dist/src/services/identityAndAccessManagementClient.js +293 -0
- package/package.json +38 -39
- package/dist/nodes/Accounting/Accounting.node.json +0 -25
- package/dist/nodes/DocumentManagement/DocumentManagement.node.json +0 -25
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.node.json +0 -25
- package/dist/nodes/MasterData/MasterData.node.json +0 -25
|
@@ -0,0 +1,902 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.masterDataNodeDescription = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Configuration for the MasterData node
|
|
6
|
+
*/
|
|
7
|
+
exports.masterDataNodeDescription = {
|
|
8
|
+
displayName: "Klardaten DATEVconnect: Master Data",
|
|
9
|
+
name: "masterData",
|
|
10
|
+
icon: "file:../klardaten.svg",
|
|
11
|
+
group: ["transform"],
|
|
12
|
+
version: 1,
|
|
13
|
+
description: "Interact with master data resources",
|
|
14
|
+
defaults: {
|
|
15
|
+
name: "Master Data",
|
|
16
|
+
},
|
|
17
|
+
inputs: ["main"],
|
|
18
|
+
outputs: ["main"],
|
|
19
|
+
credentials: [
|
|
20
|
+
{
|
|
21
|
+
name: "datevConnectApi",
|
|
22
|
+
required: true,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
properties: [
|
|
26
|
+
{
|
|
27
|
+
displayName: "Resource",
|
|
28
|
+
name: "resource",
|
|
29
|
+
type: "options",
|
|
30
|
+
noDataExpression: true,
|
|
31
|
+
options: [
|
|
32
|
+
{
|
|
33
|
+
name: "Addressee",
|
|
34
|
+
value: "addressee",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "Area of Responsibility",
|
|
38
|
+
value: "areaOfResponsibility",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "Bank",
|
|
42
|
+
value: "bank",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "Client",
|
|
46
|
+
value: "client",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "Client Category Type",
|
|
50
|
+
value: "clientCategoryType",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "Client Group Type",
|
|
54
|
+
value: "clientGroupType",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "Corporate Structure",
|
|
58
|
+
value: "corporateStructure",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "Country Code",
|
|
62
|
+
value: "countryCode",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "Employee",
|
|
66
|
+
value: "employee",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "Legal Form",
|
|
70
|
+
value: "legalForm",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "Relationship",
|
|
74
|
+
value: "relationship",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "Tax Authority",
|
|
78
|
+
value: "taxAuthority",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
default: "client",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
displayName: "Operation",
|
|
85
|
+
name: "operation",
|
|
86
|
+
type: "options",
|
|
87
|
+
noDataExpression: true,
|
|
88
|
+
displayOptions: {
|
|
89
|
+
show: {
|
|
90
|
+
resource: ["client"],
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
options: [
|
|
94
|
+
{
|
|
95
|
+
name: "Create",
|
|
96
|
+
value: "create",
|
|
97
|
+
description: "Create a new client",
|
|
98
|
+
action: "Create a client",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: "Get",
|
|
102
|
+
value: "get",
|
|
103
|
+
description: "Retrieve a specific client",
|
|
104
|
+
action: "Get a client",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "Get Categories",
|
|
108
|
+
value: "getClientCategories",
|
|
109
|
+
description: "Retrieve client categories",
|
|
110
|
+
action: "Get client categories",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "Get Deletion Log",
|
|
114
|
+
value: "getDeletionLog",
|
|
115
|
+
description: "Retrieve deleted clients",
|
|
116
|
+
action: "Get client deletion log",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: "Get Groups",
|
|
120
|
+
value: "getClientGroups",
|
|
121
|
+
description: "Retrieve client groups",
|
|
122
|
+
action: "Get client groups",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: "Get Many",
|
|
126
|
+
value: "getAll",
|
|
127
|
+
description: "Retrieve a list of clients",
|
|
128
|
+
action: "Get many clients",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "Get Next Free Number",
|
|
132
|
+
value: "getNextFreeNumber",
|
|
133
|
+
description: "Retrieve the next available client number",
|
|
134
|
+
action: "Get next free client number",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "Get Responsibilities",
|
|
138
|
+
value: "getResponsibilities",
|
|
139
|
+
description: "Retrieve responsibilities for a client",
|
|
140
|
+
action: "Get client responsibilities",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "Update",
|
|
144
|
+
value: "update",
|
|
145
|
+
description: "Update a specific client",
|
|
146
|
+
action: "Update a client",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: "Update Categories",
|
|
150
|
+
value: "updateClientCategories",
|
|
151
|
+
description: "Replace a client's category assignments",
|
|
152
|
+
action: "Update client categories",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: "Update Groups",
|
|
156
|
+
value: "updateClientGroups",
|
|
157
|
+
description: "Replace a client's group assignments",
|
|
158
|
+
action: "Update client groups",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: "Update Responsibilities",
|
|
162
|
+
value: "updateResponsibilities",
|
|
163
|
+
description: "Replace a client's responsibilities",
|
|
164
|
+
action: "Update client responsibilities",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
default: "getAll",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
displayName: "Operation",
|
|
171
|
+
name: "operation",
|
|
172
|
+
type: "options",
|
|
173
|
+
noDataExpression: true,
|
|
174
|
+
displayOptions: {
|
|
175
|
+
show: {
|
|
176
|
+
resource: ["taxAuthority"],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
options: [
|
|
180
|
+
{
|
|
181
|
+
name: "Get Many",
|
|
182
|
+
value: "getAll",
|
|
183
|
+
description: "Retrieve a list of tax authorities",
|
|
184
|
+
action: "Get many tax authorities",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
default: "getAll",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
displayName: "Operation",
|
|
191
|
+
name: "operation",
|
|
192
|
+
type: "options",
|
|
193
|
+
noDataExpression: true,
|
|
194
|
+
displayOptions: {
|
|
195
|
+
show: {
|
|
196
|
+
resource: ["relationship"],
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
options: [
|
|
200
|
+
{
|
|
201
|
+
name: "Get Many",
|
|
202
|
+
value: "getAll",
|
|
203
|
+
description: "Retrieve a list of relationships",
|
|
204
|
+
action: "Get many relationships",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: "Get Types",
|
|
208
|
+
value: "getTypes",
|
|
209
|
+
description: "Retrieve a list of relationship types",
|
|
210
|
+
action: "Get relationship types",
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
default: "getAll",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
displayName: "Operation",
|
|
217
|
+
name: "operation",
|
|
218
|
+
type: "options",
|
|
219
|
+
noDataExpression: true,
|
|
220
|
+
displayOptions: {
|
|
221
|
+
show: {
|
|
222
|
+
resource: ["legalForm"],
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
options: [
|
|
226
|
+
{
|
|
227
|
+
name: "Get Many",
|
|
228
|
+
value: "getAll",
|
|
229
|
+
description: "Retrieve a list of legal forms",
|
|
230
|
+
action: "Get many legal forms",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
default: "getAll",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
displayName: "Operation",
|
|
237
|
+
name: "operation",
|
|
238
|
+
type: "options",
|
|
239
|
+
noDataExpression: true,
|
|
240
|
+
displayOptions: {
|
|
241
|
+
show: {
|
|
242
|
+
resource: ["corporateStructure"],
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
options: [
|
|
246
|
+
{
|
|
247
|
+
name: "Get Many",
|
|
248
|
+
value: "getAll",
|
|
249
|
+
description: "Retrieve a list of corporate structures",
|
|
250
|
+
action: "Get many corporate structures",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: "Get Organization",
|
|
254
|
+
value: "get",
|
|
255
|
+
description: "Retrieve a specific organization",
|
|
256
|
+
action: "Get an organization",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: "Get Establishment",
|
|
260
|
+
value: "getEstablishment",
|
|
261
|
+
description: "Retrieve a specific establishment",
|
|
262
|
+
action: "Get an establishment",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
default: "getAll",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
displayName: "Operation",
|
|
269
|
+
name: "operation",
|
|
270
|
+
type: "options",
|
|
271
|
+
noDataExpression: true,
|
|
272
|
+
displayOptions: {
|
|
273
|
+
show: {
|
|
274
|
+
resource: ["employee"],
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
options: [
|
|
278
|
+
{
|
|
279
|
+
name: "Get Many",
|
|
280
|
+
value: "getAll",
|
|
281
|
+
description: "Retrieve a list of employees",
|
|
282
|
+
action: "Get many employees",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: "Get",
|
|
286
|
+
value: "get",
|
|
287
|
+
description: "Retrieve a specific employee",
|
|
288
|
+
action: "Get an employee",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: "Create",
|
|
292
|
+
value: "create",
|
|
293
|
+
description: "Create a new employee",
|
|
294
|
+
action: "Create an employee",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
name: "Update",
|
|
298
|
+
value: "update",
|
|
299
|
+
description: "Update a specific employee",
|
|
300
|
+
action: "Update an employee",
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
default: "getAll",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
displayName: "Operation",
|
|
307
|
+
name: "operation",
|
|
308
|
+
type: "options",
|
|
309
|
+
noDataExpression: true,
|
|
310
|
+
displayOptions: {
|
|
311
|
+
show: {
|
|
312
|
+
resource: ["countryCode"],
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
options: [
|
|
316
|
+
{
|
|
317
|
+
name: "Get Many",
|
|
318
|
+
value: "getAll",
|
|
319
|
+
description: "Retrieve a list of countries",
|
|
320
|
+
action: "Get many countries",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
default: "getAll",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
displayName: "Operation",
|
|
327
|
+
name: "operation",
|
|
328
|
+
type: "options",
|
|
329
|
+
noDataExpression: true,
|
|
330
|
+
displayOptions: {
|
|
331
|
+
show: {
|
|
332
|
+
resource: ["clientGroupType"],
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
|
+
options: [
|
|
336
|
+
{
|
|
337
|
+
name: "Get Many",
|
|
338
|
+
value: "getAll",
|
|
339
|
+
description: "Retrieve a list of client group types",
|
|
340
|
+
action: "Get many client group types",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
name: "Get",
|
|
344
|
+
value: "get",
|
|
345
|
+
description: "Retrieve a specific client group type",
|
|
346
|
+
action: "Get a client group type",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
name: "Create",
|
|
350
|
+
value: "create",
|
|
351
|
+
description: "Create a new client group type",
|
|
352
|
+
action: "Create a client group type",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
name: "Update",
|
|
356
|
+
value: "update",
|
|
357
|
+
description: "Update a specific client group type",
|
|
358
|
+
action: "Update a client group type",
|
|
359
|
+
},
|
|
360
|
+
],
|
|
361
|
+
default: "getAll",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
displayName: "Operation",
|
|
365
|
+
name: "operation",
|
|
366
|
+
type: "options",
|
|
367
|
+
noDataExpression: true,
|
|
368
|
+
displayOptions: {
|
|
369
|
+
show: {
|
|
370
|
+
resource: ["clientCategoryType"],
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
options: [
|
|
374
|
+
{
|
|
375
|
+
name: "Get Many",
|
|
376
|
+
value: "getAll",
|
|
377
|
+
description: "Retrieve a list of client category types",
|
|
378
|
+
action: "Get many client category types",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: "Get",
|
|
382
|
+
value: "get",
|
|
383
|
+
description: "Retrieve a specific client category type",
|
|
384
|
+
action: "Get a client category type",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
name: "Create",
|
|
388
|
+
value: "create",
|
|
389
|
+
description: "Create a new client category type",
|
|
390
|
+
action: "Create a client category type",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
name: "Update",
|
|
394
|
+
value: "update",
|
|
395
|
+
description: "Update a specific client category type",
|
|
396
|
+
action: "Update a client category type",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
default: "getAll",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
displayName: "Operation",
|
|
403
|
+
name: "operation",
|
|
404
|
+
type: "options",
|
|
405
|
+
noDataExpression: true,
|
|
406
|
+
displayOptions: {
|
|
407
|
+
show: {
|
|
408
|
+
resource: ["bank"],
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
options: [
|
|
412
|
+
{
|
|
413
|
+
name: "Get Many",
|
|
414
|
+
value: "getAll",
|
|
415
|
+
description: "Retrieve a list of banks",
|
|
416
|
+
action: "Get many banks",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
default: "getAll",
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
displayName: "Operation",
|
|
423
|
+
name: "operation",
|
|
424
|
+
type: "options",
|
|
425
|
+
noDataExpression: true,
|
|
426
|
+
displayOptions: {
|
|
427
|
+
show: {
|
|
428
|
+
resource: ["areaOfResponsibility"],
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
options: [
|
|
432
|
+
{
|
|
433
|
+
name: "Get Many",
|
|
434
|
+
value: "getAll",
|
|
435
|
+
description: "Retrieve a list of areas of responsibility",
|
|
436
|
+
action: "Get many areas of responsibility",
|
|
437
|
+
},
|
|
438
|
+
],
|
|
439
|
+
default: "getAll",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
displayName: "Operation",
|
|
443
|
+
name: "operation",
|
|
444
|
+
type: "options",
|
|
445
|
+
noDataExpression: true,
|
|
446
|
+
displayOptions: {
|
|
447
|
+
show: {
|
|
448
|
+
resource: ["addressee"],
|
|
449
|
+
},
|
|
450
|
+
},
|
|
451
|
+
options: [
|
|
452
|
+
{
|
|
453
|
+
name: "Create",
|
|
454
|
+
value: "create",
|
|
455
|
+
description: "Create a new addressee",
|
|
456
|
+
action: "Create an addressee",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: "Get",
|
|
460
|
+
value: "get",
|
|
461
|
+
description: "Retrieve a specific addressee",
|
|
462
|
+
action: "Get an addressee",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
name: "Get Deletion Log",
|
|
466
|
+
value: "getDeletionLog",
|
|
467
|
+
description: "Retrieve a list of deleted addressees",
|
|
468
|
+
action: "Get addressee deletion log",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: "Get Many",
|
|
472
|
+
value: "getAll",
|
|
473
|
+
description: "Retrieve a list of addressees",
|
|
474
|
+
action: "Get many addressees",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
name: "Update",
|
|
478
|
+
value: "update",
|
|
479
|
+
description: "Update a specific addressee",
|
|
480
|
+
action: "Update an addressee",
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
default: "getAll",
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
displayName: "Limit",
|
|
487
|
+
name: "top",
|
|
488
|
+
type: "number",
|
|
489
|
+
displayOptions: {
|
|
490
|
+
show: {
|
|
491
|
+
resource: ["client"],
|
|
492
|
+
operation: ["getAll", "getDeletionLog"],
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
typeOptions: {
|
|
496
|
+
minValue: 1,
|
|
497
|
+
},
|
|
498
|
+
default: 100,
|
|
499
|
+
description: "Maximum number of records to return",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
displayName: "Skip",
|
|
503
|
+
name: "skip",
|
|
504
|
+
type: "number",
|
|
505
|
+
displayOptions: {
|
|
506
|
+
show: {
|
|
507
|
+
resource: ["client"],
|
|
508
|
+
operation: ["getAll", "getDeletionLog"],
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
typeOptions: {
|
|
512
|
+
minValue: 0,
|
|
513
|
+
},
|
|
514
|
+
default: 0,
|
|
515
|
+
description: "Number of records to skip from the start",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
displayName: "Limit",
|
|
519
|
+
name: "top",
|
|
520
|
+
type: "number",
|
|
521
|
+
displayOptions: {
|
|
522
|
+
show: {
|
|
523
|
+
resource: ["taxAuthority", "relationship", "legalForm", "corporateStructure", "employee", "countryCode", "clientGroupType", "clientCategoryType", "bank", "areaOfResponsibility", "addressee"],
|
|
524
|
+
operation: ["getAll", "getDeletionLog"],
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
typeOptions: {
|
|
528
|
+
minValue: 1,
|
|
529
|
+
},
|
|
530
|
+
default: 100,
|
|
531
|
+
description: "Maximum number of records to return",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
displayName: "Skip",
|
|
535
|
+
name: "skip",
|
|
536
|
+
type: "number",
|
|
537
|
+
displayOptions: {
|
|
538
|
+
show: {
|
|
539
|
+
resource: ["taxAuthority", "relationship", "legalForm", "corporateStructure", "employee", "countryCode", "clientGroupType", "clientCategoryType", "bank", "areaOfResponsibility", "addressee"],
|
|
540
|
+
operation: ["getAll", "getDeletionLog"],
|
|
541
|
+
},
|
|
542
|
+
},
|
|
543
|
+
typeOptions: {
|
|
544
|
+
minValue: 0,
|
|
545
|
+
},
|
|
546
|
+
default: 0,
|
|
547
|
+
description: "Number of records to skip from the start",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
displayName: "Select Fields",
|
|
551
|
+
name: "select",
|
|
552
|
+
type: "string",
|
|
553
|
+
displayOptions: {
|
|
554
|
+
show: {
|
|
555
|
+
resource: ["client", "taxAuthority", "relationship", "legalForm", "corporateStructure", "employee", "countryCode", "clientGroupType", "clientCategoryType", "bank", "areaOfResponsibility", "addressee"],
|
|
556
|
+
operation: [
|
|
557
|
+
"getAll",
|
|
558
|
+
"get",
|
|
559
|
+
"getResponsibilities",
|
|
560
|
+
"getClientCategories",
|
|
561
|
+
"getClientGroups",
|
|
562
|
+
"getDeletionLog",
|
|
563
|
+
"getEstablishment",
|
|
564
|
+
"getTypes",
|
|
565
|
+
],
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
default: "",
|
|
569
|
+
description: "Comma-separated list of fields to include in the response",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
displayName: "Filter",
|
|
573
|
+
name: "filter",
|
|
574
|
+
type: "string",
|
|
575
|
+
displayOptions: {
|
|
576
|
+
show: {
|
|
577
|
+
resource: ["client", "taxAuthority", "relationship", "corporateStructure", "employee", "countryCode", "clientGroupType", "clientCategoryType", "bank", "areaOfResponsibility", "addressee"],
|
|
578
|
+
operation: ["getAll", "getDeletionLog", "getTypes"],
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
default: "",
|
|
582
|
+
description: "Filter expression as defined by the DATEV API",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
displayName: "Client ID",
|
|
586
|
+
name: "clientId",
|
|
587
|
+
type: "string",
|
|
588
|
+
required: true,
|
|
589
|
+
displayOptions: {
|
|
590
|
+
show: {
|
|
591
|
+
resource: ["client"],
|
|
592
|
+
operation: [
|
|
593
|
+
"get",
|
|
594
|
+
"update",
|
|
595
|
+
"getResponsibilities",
|
|
596
|
+
"updateResponsibilities",
|
|
597
|
+
"getClientCategories",
|
|
598
|
+
"updateClientCategories",
|
|
599
|
+
"getClientGroups",
|
|
600
|
+
"updateClientGroups",
|
|
601
|
+
],
|
|
602
|
+
},
|
|
603
|
+
},
|
|
604
|
+
default: "",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
displayName: "Client Data",
|
|
608
|
+
name: "clientData",
|
|
609
|
+
type: "json",
|
|
610
|
+
displayOptions: {
|
|
611
|
+
show: {
|
|
612
|
+
resource: ["client"],
|
|
613
|
+
operation: ["create", "update"],
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
default: "{}",
|
|
617
|
+
description: "Client payload to send to the API",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
displayName: "Max Number",
|
|
621
|
+
name: "maxNumber",
|
|
622
|
+
type: "number",
|
|
623
|
+
displayOptions: {
|
|
624
|
+
show: {
|
|
625
|
+
resource: ["client"],
|
|
626
|
+
operation: ["create"],
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
typeOptions: {
|
|
630
|
+
minValue: 1,
|
|
631
|
+
},
|
|
632
|
+
default: 0,
|
|
633
|
+
description: "Optional max-number parameter when letting the API allocate a number",
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
displayName: "Responsibilities",
|
|
637
|
+
name: "responsibilitiesData",
|
|
638
|
+
type: "json",
|
|
639
|
+
displayOptions: {
|
|
640
|
+
show: {
|
|
641
|
+
resource: ["client"],
|
|
642
|
+
operation: ["updateResponsibilities"],
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
default: "[]",
|
|
646
|
+
description: "Array of responsibilities to set for the client",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
displayName: "Client Categories",
|
|
650
|
+
name: "categoriesData",
|
|
651
|
+
type: "json",
|
|
652
|
+
displayOptions: {
|
|
653
|
+
show: {
|
|
654
|
+
resource: ["client"],
|
|
655
|
+
operation: ["updateClientCategories"],
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
default: "[]",
|
|
659
|
+
description: "Array of client categories to set for the client",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
displayName: "Client Groups",
|
|
663
|
+
name: "groupsData",
|
|
664
|
+
type: "json",
|
|
665
|
+
displayOptions: {
|
|
666
|
+
show: {
|
|
667
|
+
resource: ["client"],
|
|
668
|
+
operation: ["updateClientGroups"],
|
|
669
|
+
},
|
|
670
|
+
},
|
|
671
|
+
default: "[]",
|
|
672
|
+
description: "Array of client groups to set for the client",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
displayName: "Start Number",
|
|
676
|
+
name: "start",
|
|
677
|
+
type: "number",
|
|
678
|
+
displayOptions: {
|
|
679
|
+
show: {
|
|
680
|
+
resource: ["client"],
|
|
681
|
+
operation: ["getNextFreeNumber"],
|
|
682
|
+
},
|
|
683
|
+
},
|
|
684
|
+
typeOptions: {
|
|
685
|
+
minValue: 1,
|
|
686
|
+
},
|
|
687
|
+
default: 1,
|
|
688
|
+
description: "Starting number for the search",
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
displayName: "Range",
|
|
692
|
+
name: "range",
|
|
693
|
+
type: "number",
|
|
694
|
+
displayOptions: {
|
|
695
|
+
show: {
|
|
696
|
+
resource: ["client"],
|
|
697
|
+
operation: ["getNextFreeNumber"],
|
|
698
|
+
},
|
|
699
|
+
},
|
|
700
|
+
typeOptions: {
|
|
701
|
+
minValue: 0,
|
|
702
|
+
},
|
|
703
|
+
default: 0,
|
|
704
|
+
description: "Optional range for the next free number search",
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
displayName: "National Right",
|
|
708
|
+
name: "nationalRight",
|
|
709
|
+
type: "options",
|
|
710
|
+
displayOptions: {
|
|
711
|
+
show: {
|
|
712
|
+
resource: ["legalForm"],
|
|
713
|
+
operation: ["getAll"],
|
|
714
|
+
},
|
|
715
|
+
},
|
|
716
|
+
options: [
|
|
717
|
+
{
|
|
718
|
+
name: "German",
|
|
719
|
+
value: "german",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
name: "Austrian",
|
|
723
|
+
value: "austrian",
|
|
724
|
+
},
|
|
725
|
+
],
|
|
726
|
+
default: 'german',
|
|
727
|
+
description: "Filter legal forms by national law (German or Austrian)",
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
displayName: "Organization ID",
|
|
731
|
+
name: "organizationId",
|
|
732
|
+
type: "string",
|
|
733
|
+
required: true,
|
|
734
|
+
displayOptions: {
|
|
735
|
+
show: {
|
|
736
|
+
resource: ["corporateStructure"],
|
|
737
|
+
operation: ["get", "getEstablishment"],
|
|
738
|
+
},
|
|
739
|
+
},
|
|
740
|
+
default: "",
|
|
741
|
+
description: "The GUID of the organization",
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
displayName: "Establishment ID",
|
|
745
|
+
name: "establishmentId",
|
|
746
|
+
type: "string",
|
|
747
|
+
required: true,
|
|
748
|
+
displayOptions: {
|
|
749
|
+
show: {
|
|
750
|
+
resource: ["corporateStructure"],
|
|
751
|
+
operation: ["getEstablishment"],
|
|
752
|
+
},
|
|
753
|
+
},
|
|
754
|
+
default: "",
|
|
755
|
+
description: "The GUID of the establishment",
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
displayName: "Employee ID",
|
|
759
|
+
name: "employeeId",
|
|
760
|
+
type: "string",
|
|
761
|
+
required: true,
|
|
762
|
+
displayOptions: {
|
|
763
|
+
show: {
|
|
764
|
+
resource: ["employee"],
|
|
765
|
+
operation: ["get", "update"],
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
default: "",
|
|
769
|
+
description: "The GUID of the employee",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
displayName: "Employee Data",
|
|
773
|
+
name: "employeeData",
|
|
774
|
+
type: "json",
|
|
775
|
+
displayOptions: {
|
|
776
|
+
show: {
|
|
777
|
+
resource: ["employee"],
|
|
778
|
+
operation: ["create", "update"],
|
|
779
|
+
},
|
|
780
|
+
},
|
|
781
|
+
default: "{}",
|
|
782
|
+
description: "Employee payload to send to the API",
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
displayName: "Addressee ID",
|
|
786
|
+
name: "addresseeId",
|
|
787
|
+
type: "string",
|
|
788
|
+
required: true,
|
|
789
|
+
displayOptions: {
|
|
790
|
+
show: {
|
|
791
|
+
resource: ["addressee"],
|
|
792
|
+
operation: ["get", "update"],
|
|
793
|
+
},
|
|
794
|
+
},
|
|
795
|
+
default: "",
|
|
796
|
+
description: "The GUID of the addressee",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
displayName: "Addressee Data",
|
|
800
|
+
name: "addresseeData",
|
|
801
|
+
type: "json",
|
|
802
|
+
displayOptions: {
|
|
803
|
+
show: {
|
|
804
|
+
resource: ["addressee"],
|
|
805
|
+
operation: ["create", "update"],
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
default: "{}",
|
|
809
|
+
description: "Addressee payload to send to the API",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
displayName: "National Right",
|
|
813
|
+
name: "nationalRight",
|
|
814
|
+
type: "options",
|
|
815
|
+
options: [
|
|
816
|
+
{
|
|
817
|
+
name: "German",
|
|
818
|
+
value: "german",
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
name: "Austrian",
|
|
822
|
+
value: "austrian",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
displayOptions: {
|
|
826
|
+
show: {
|
|
827
|
+
resource: ["addressee"],
|
|
828
|
+
operation: ["create"],
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
default: 'german',
|
|
832
|
+
description: "Parameter defines the national law that will be saved with the addressee",
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
displayName: "Expand",
|
|
836
|
+
name: "expand",
|
|
837
|
+
type: "string",
|
|
838
|
+
displayOptions: {
|
|
839
|
+
show: {
|
|
840
|
+
resource: ["addressee"],
|
|
841
|
+
operation: ["get"],
|
|
842
|
+
},
|
|
843
|
+
},
|
|
844
|
+
default: "",
|
|
845
|
+
description: "Parameter to include subordinate objects (e.g., 'detail,addresses' or '*' for all)",
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
displayName: "Client Group Type ID",
|
|
849
|
+
name: "clientGroupTypeId",
|
|
850
|
+
type: "string",
|
|
851
|
+
required: true,
|
|
852
|
+
displayOptions: {
|
|
853
|
+
show: {
|
|
854
|
+
resource: ["clientGroupType"],
|
|
855
|
+
operation: ["get", "update"],
|
|
856
|
+
},
|
|
857
|
+
},
|
|
858
|
+
default: "",
|
|
859
|
+
description: "The GUID of the client group type",
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
displayName: "Client Group Type Data",
|
|
863
|
+
name: "clientGroupTypeData",
|
|
864
|
+
type: "json",
|
|
865
|
+
displayOptions: {
|
|
866
|
+
show: {
|
|
867
|
+
resource: ["clientGroupType"],
|
|
868
|
+
operation: ["create", "update"],
|
|
869
|
+
},
|
|
870
|
+
},
|
|
871
|
+
default: "{}",
|
|
872
|
+
description: "Client group type payload to send to the API",
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
displayName: "Client Category Type ID",
|
|
876
|
+
name: "clientCategoryTypeId",
|
|
877
|
+
type: "string",
|
|
878
|
+
required: true,
|
|
879
|
+
displayOptions: {
|
|
880
|
+
show: {
|
|
881
|
+
resource: ["clientCategoryType"],
|
|
882
|
+
operation: ["get", "update"],
|
|
883
|
+
},
|
|
884
|
+
},
|
|
885
|
+
default: "",
|
|
886
|
+
description: "The GUID of the client category type",
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
displayName: "Client Category Type Data",
|
|
890
|
+
name: "clientCategoryTypeData",
|
|
891
|
+
type: "json",
|
|
892
|
+
displayOptions: {
|
|
893
|
+
show: {
|
|
894
|
+
resource: ["clientCategoryType"],
|
|
895
|
+
operation: ["create", "update"],
|
|
896
|
+
},
|
|
897
|
+
},
|
|
898
|
+
default: "{}",
|
|
899
|
+
description: "Client category type payload to send to the API",
|
|
900
|
+
},
|
|
901
|
+
],
|
|
902
|
+
};
|