@actaport/n8n-nodes-actaport 0.1.1

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 (102) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +87 -0
  3. package/dist/assets/add_credentials.png +0 -0
  4. package/dist/assets/login_prompt.png +0 -0
  5. package/dist/assets/successful_login.png +0 -0
  6. package/dist/credentials/ActaportOAuth2Api.credentials.d.ts +10 -0
  7. package/dist/credentials/ActaportOAuth2Api.credentials.js +87 -0
  8. package/dist/credentials/ActaportOAuth2Api.credentials.js.map +1 -0
  9. package/dist/nodes/Actaport/Actaport.node.d.ts +18 -0
  10. package/dist/nodes/Actaport/Actaport.node.js +134 -0
  11. package/dist/nodes/Actaport/Actaport.node.js.map +1 -0
  12. package/dist/nodes/Actaport/Actaport.node.json +21 -0
  13. package/dist/nodes/Actaport/ActaportTrigger.node.d.ts +16 -0
  14. package/dist/nodes/Actaport/ActaportTrigger.node.js +135 -0
  15. package/dist/nodes/Actaport/ActaportTrigger.node.js.map +1 -0
  16. package/dist/nodes/Actaport/ActaportTypes.d.ts +31 -0
  17. package/dist/nodes/Actaport/ActaportTypes.js +18 -0
  18. package/dist/nodes/Actaport/ActaportTypes.js.map +1 -0
  19. package/dist/nodes/Actaport/GenericFunctions.d.ts +6 -0
  20. package/dist/nodes/Actaport/GenericFunctions.js +110 -0
  21. package/dist/nodes/Actaport/GenericFunctions.js.map +1 -0
  22. package/dist/nodes/Actaport/actaport.dark.svg +30 -0
  23. package/dist/nodes/Actaport/actaport.light.svg +22 -0
  24. package/dist/nodes/Actaport/actaport.svg +30 -0
  25. package/dist/nodes/Actaport/descriptions/AdditionalInfoDescription.d.ts +2 -0
  26. package/dist/nodes/Actaport/descriptions/AdditionalInfoDescription.js +56 -0
  27. package/dist/nodes/Actaport/descriptions/AdditionalInfoDescription.js.map +1 -0
  28. package/dist/nodes/Actaport/descriptions/CaseFileDescription.d.ts +2 -0
  29. package/dist/nodes/Actaport/descriptions/CaseFileDescription.js +842 -0
  30. package/dist/nodes/Actaport/descriptions/CaseFileDescription.js.map +1 -0
  31. package/dist/nodes/Actaport/descriptions/CollisionCheckDescription.d.ts +2 -0
  32. package/dist/nodes/Actaport/descriptions/CollisionCheckDescription.js +171 -0
  33. package/dist/nodes/Actaport/descriptions/CollisionCheckDescription.js.map +1 -0
  34. package/dist/nodes/Actaport/descriptions/ContactDescription.d.ts +2 -0
  35. package/dist/nodes/Actaport/descriptions/ContactDescription.js +1378 -0
  36. package/dist/nodes/Actaport/descriptions/ContactDescription.js.map +1 -0
  37. package/dist/nodes/Actaport/descriptions/DeadlineDescription.d.ts +2 -0
  38. package/dist/nodes/Actaport/descriptions/DeadlineDescription.js +409 -0
  39. package/dist/nodes/Actaport/descriptions/DeadlineDescription.js.map +1 -0
  40. package/dist/nodes/Actaport/descriptions/DocumentDescription.d.ts +2 -0
  41. package/dist/nodes/Actaport/descriptions/DocumentDescription.js +414 -0
  42. package/dist/nodes/Actaport/descriptions/DocumentDescription.js.map +1 -0
  43. package/dist/nodes/Actaport/descriptions/ExpenseDescription.d.ts +2 -0
  44. package/dist/nodes/Actaport/descriptions/ExpenseDescription.js +824 -0
  45. package/dist/nodes/Actaport/descriptions/ExpenseDescription.js.map +1 -0
  46. package/dist/nodes/Actaport/descriptions/FolderDescription.d.ts +2 -0
  47. package/dist/nodes/Actaport/descriptions/FolderDescription.js +135 -0
  48. package/dist/nodes/Actaport/descriptions/FolderDescription.js.map +1 -0
  49. package/dist/nodes/Actaport/descriptions/InvoiceDescription.d.ts +2 -0
  50. package/dist/nodes/Actaport/descriptions/InvoiceDescription.js +194 -0
  51. package/dist/nodes/Actaport/descriptions/InvoiceDescription.js.map +1 -0
  52. package/dist/nodes/Actaport/descriptions/NoteDescription.d.ts +2 -0
  53. package/dist/nodes/Actaport/descriptions/NoteDescription.js +308 -0
  54. package/dist/nodes/Actaport/descriptions/NoteDescription.js.map +1 -0
  55. package/dist/nodes/Actaport/descriptions/ResubmissionDescription.d.ts +2 -0
  56. package/dist/nodes/Actaport/descriptions/ResubmissionDescription.js +371 -0
  57. package/dist/nodes/Actaport/descriptions/ResubmissionDescription.js.map +1 -0
  58. package/dist/nodes/Actaport/descriptions/RvgFeeDescription.d.ts +2 -0
  59. package/dist/nodes/Actaport/descriptions/RvgFeeDescription.js +531 -0
  60. package/dist/nodes/Actaport/descriptions/RvgFeeDescription.js.map +1 -0
  61. package/dist/nodes/Actaport/descriptions/TaskDescription.d.ts +2 -0
  62. package/dist/nodes/Actaport/descriptions/TaskDescription.js +619 -0
  63. package/dist/nodes/Actaport/descriptions/TaskDescription.js.map +1 -0
  64. package/dist/nodes/Actaport/descriptions/ThirdPartyCostDescription.d.ts +2 -0
  65. package/dist/nodes/Actaport/descriptions/ThirdPartyCostDescription.js +697 -0
  66. package/dist/nodes/Actaport/descriptions/ThirdPartyCostDescription.js.map +1 -0
  67. package/dist/nodes/Actaport/descriptions/UserDescription.d.ts +2 -0
  68. package/dist/nodes/Actaport/descriptions/UserDescription.js +211 -0
  69. package/dist/nodes/Actaport/descriptions/UserDescription.js.map +1 -0
  70. package/dist/nodes/Actaport/descriptions/index.d.ts +15 -0
  71. package/dist/nodes/Actaport/descriptions/index.js +32 -0
  72. package/dist/nodes/Actaport/descriptions/index.js.map +1 -0
  73. package/dist/nodes/Actaport/helpers/DocumentUploadHelper.d.ts +2 -0
  74. package/dist/nodes/Actaport/helpers/DocumentUploadHelper.js +52 -0
  75. package/dist/nodes/Actaport/helpers/DocumentUploadHelper.js.map +1 -0
  76. package/dist/nodes/Actaport/listSearch/ClientsListSearch.d.ts +2 -0
  77. package/dist/nodes/Actaport/listSearch/ClientsListSearch.js +32 -0
  78. package/dist/nodes/Actaport/listSearch/ClientsListSearch.js.map +1 -0
  79. package/dist/nodes/Actaport/listSearch/ContactsListSearch.d.ts +2 -0
  80. package/dist/nodes/Actaport/listSearch/ContactsListSearch.js +31 -0
  81. package/dist/nodes/Actaport/listSearch/ContactsListSearch.js.map +1 -0
  82. package/dist/nodes/Actaport/listSearch/UsersListSearch.d.ts +2 -0
  83. package/dist/nodes/Actaport/listSearch/UsersListSearch.js +30 -0
  84. package/dist/nodes/Actaport/listSearch/UsersListSearch.js.map +1 -0
  85. package/dist/nodes/Actaport/listSearch/index.d.ts +3 -0
  86. package/dist/nodes/Actaport/listSearch/index.js +20 -0
  87. package/dist/nodes/Actaport/listSearch/index.js.map +1 -0
  88. package/dist/nodes/Actaport/loadOptions/AllocatableDocumentsLoadOptions.d.ts +2 -0
  89. package/dist/nodes/Actaport/loadOptions/AllocatableDocumentsLoadOptions.js +31 -0
  90. package/dist/nodes/Actaport/loadOptions/AllocatableDocumentsLoadOptions.js.map +1 -0
  91. package/dist/nodes/Actaport/loadOptions/AssistantsLoadOptions.d.ts +2 -0
  92. package/dist/nodes/Actaport/loadOptions/AssistantsLoadOptions.js +19 -0
  93. package/dist/nodes/Actaport/loadOptions/AssistantsLoadOptions.js.map +1 -0
  94. package/dist/nodes/Actaport/loadOptions/ClerksLoadOptions.d.ts +2 -0
  95. package/dist/nodes/Actaport/loadOptions/ClerksLoadOptions.js +19 -0
  96. package/dist/nodes/Actaport/loadOptions/ClerksLoadOptions.js.map +1 -0
  97. package/dist/nodes/Actaport/loadOptions/index.d.ts +3 -0
  98. package/dist/nodes/Actaport/loadOptions/index.js +20 -0
  99. package/dist/nodes/Actaport/loadOptions/index.js.map +1 -0
  100. package/dist/package.json +53 -0
  101. package/dist/tsconfig.tsbuildinfo +1 -0
  102. package/package.json +53 -0
@@ -0,0 +1,1378 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.contactDescription = void 0;
4
+ const showOnlyForContact = {
5
+ resource: ['contact'],
6
+ };
7
+ const showOnlyForContactCreate = { operation: ['create'], resource: ['contact'] };
8
+ const showOnlyForContactUpdate = { operation: ['update'], resource: ['contact'] };
9
+ const showOnlyForContactGet = { operation: ['get'], resource: ['contact'] };
10
+ exports.contactDescription = [
11
+ {
12
+ displayName: 'Operation',
13
+ name: 'operation',
14
+ type: 'options',
15
+ noDataExpression: true,
16
+ displayOptions: { show: showOnlyForContact },
17
+ options: [
18
+ {
19
+ name: 'Get',
20
+ value: 'get',
21
+ action: 'Get a contact',
22
+ description: 'Retrieves the metadata of a contact',
23
+ routing: {
24
+ request: {
25
+ method: 'GET',
26
+ url: '=/v1/kontakte/{{$parameter.id}}',
27
+ },
28
+ },
29
+ },
30
+ {
31
+ name: 'Get Many',
32
+ value: 'getAll',
33
+ action: 'Get many contacts',
34
+ description: 'Retrieves multiple contacts',
35
+ routing: {
36
+ request: {
37
+ method: 'GET',
38
+ url: '=/v1/kontakte',
39
+ arrayFormat: 'repeat',
40
+ },
41
+ },
42
+ },
43
+ {
44
+ name: 'Create',
45
+ value: 'create',
46
+ action: 'Create a contact',
47
+ description: 'Creates a new contact with the given data',
48
+ routing: {
49
+ request: {
50
+ method: 'POST',
51
+ url: '=/v1/kontakte',
52
+ },
53
+ },
54
+ },
55
+ {
56
+ name: 'Update',
57
+ value: 'update',
58
+ action: 'Update a contact',
59
+ description: 'Updates the data of a contact',
60
+ routing: {
61
+ request: {
62
+ method: 'PUT',
63
+ url: '=/v1/kontakte/{{$parameter.id}}',
64
+ },
65
+ },
66
+ },
67
+ ],
68
+ default: 'get',
69
+ },
70
+ {
71
+ displayName: 'Page',
72
+ name: 'page',
73
+ description: 'Page index starting from 0 (0..N)',
74
+ default: 0,
75
+ type: 'number',
76
+ routing: {
77
+ send: {
78
+ type: 'query',
79
+ property: 'page',
80
+ },
81
+ },
82
+ displayOptions: {
83
+ show: {
84
+ operation: ['getAll'],
85
+ resource: ['contact'],
86
+ },
87
+ },
88
+ },
89
+ {
90
+ displayName: 'Size',
91
+ name: 'size',
92
+ description: 'The size of the page to return',
93
+ default: 20,
94
+ type: 'number',
95
+ routing: {
96
+ send: {
97
+ type: 'query',
98
+ property: 'size',
99
+ },
100
+ },
101
+ displayOptions: {
102
+ show: {
103
+ operation: ['getAll'],
104
+ resource: ['contact'],
105
+ },
106
+ },
107
+ },
108
+ {
109
+ displayName: 'Filters',
110
+ name: 'filters',
111
+ type: 'fixedCollection',
112
+ default: {},
113
+ typeOptions: {
114
+ multipleValues: true,
115
+ },
116
+ displayOptions: {
117
+ show: {
118
+ operation: ['getAll'],
119
+ resource: ['contact'],
120
+ },
121
+ },
122
+ placeholder: 'Add Filter',
123
+ options: [
124
+ {
125
+ name: 'filter',
126
+ displayName: 'Filter',
127
+ values: [
128
+ {
129
+ displayName: 'Field',
130
+ name: 'field',
131
+ type: 'string',
132
+ default: '',
133
+ },
134
+ {
135
+ displayName: 'Operator',
136
+ name: 'operator',
137
+ type: 'string',
138
+ default: '',
139
+ },
140
+ {
141
+ displayName: 'Value',
142
+ name: 'value',
143
+ type: 'string',
144
+ default: '',
145
+ },
146
+ ],
147
+ },
148
+ ],
149
+ routing: {
150
+ send: {
151
+ type: 'query',
152
+ property: 'filter',
153
+ value: '={{ Array.isArray($value?.filter) ' +
154
+ '? $value.filter' +
155
+ " .filter(f => f.field && f.operator && f.value !== '')" +
156
+ " .map(f => `${f.operator}(${f.field},'${f.value}')`)" +
157
+ ' : undefined }}',
158
+ },
159
+ },
160
+ },
161
+ {
162
+ displayName: 'Sort',
163
+ name: 'sort',
164
+ type: 'fixedCollection',
165
+ default: {},
166
+ typeOptions: {
167
+ multipleValues: true,
168
+ },
169
+ displayOptions: {
170
+ show: {
171
+ operation: ['getAll'],
172
+ resource: ['contact'],
173
+ },
174
+ },
175
+ placeholder: 'Add Sort Field',
176
+ options: [
177
+ {
178
+ name: 'criterion',
179
+ displayName: 'Sort Criterion',
180
+ values: [
181
+ {
182
+ displayName: 'Field',
183
+ name: 'field',
184
+ type: 'string',
185
+ default: '',
186
+ },
187
+ {
188
+ displayName: 'Direction',
189
+ description: 'Sort direction: asc or desc',
190
+ name: 'direction',
191
+ type: 'string',
192
+ default: '',
193
+ },
194
+ ],
195
+ },
196
+ ],
197
+ routing: {
198
+ send: {
199
+ type: 'query',
200
+ property: 'sort',
201
+ value: '={{ Array.isArray($value?.criterion) ' +
202
+ '? $value.criterion' +
203
+ ' .filter(s => s.field && s.direction)' +
204
+ ' .map(s => `${s.field},${s.direction}`)' +
205
+ ' : undefined }}',
206
+ },
207
+ },
208
+ },
209
+ {
210
+ displayName: 'ID',
211
+ name: 'id',
212
+ required: true,
213
+ description: 'ID of the contact to retrieve',
214
+ default: '',
215
+ type: 'string',
216
+ displayOptions: {
217
+ show: {
218
+ ...showOnlyForContactGet,
219
+ },
220
+ },
221
+ },
222
+ {
223
+ displayName: 'First Name',
224
+ name: 'vorname',
225
+ type: 'string',
226
+ default: '',
227
+ routing: {
228
+ send: {
229
+ property: 'vorname',
230
+ type: 'body',
231
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
232
+ },
233
+ },
234
+ displayOptions: { show: { ...showOnlyForContactCreate } },
235
+ },
236
+ {
237
+ displayName: 'Last Name',
238
+ required: true,
239
+ name: 'name',
240
+ type: 'string',
241
+ default: '',
242
+ routing: { send: { property: 'name', type: 'body' } },
243
+ displayOptions: { show: { ...showOnlyForContactCreate } },
244
+ },
245
+ {
246
+ displayName: 'Type',
247
+ required: true,
248
+ name: 'typ',
249
+ type: 'options',
250
+ default: 'NATUERLICHE_PERSON',
251
+ options: [
252
+ { name: 'Natural Person', value: 'NATUERLICHE_PERSON' },
253
+ { name: 'Legal Entity', value: 'JURISTISCHE_PERSON' },
254
+ ],
255
+ routing: { send: { property: 'typ', type: 'body' } },
256
+ displayOptions: { show: { ...showOnlyForContactCreate } },
257
+ },
258
+ {
259
+ displayName: 'Additional Fields',
260
+ name: 'additionalFields',
261
+ type: 'collection',
262
+ placeholder: 'Add field',
263
+ displayOptions: { show: { ...showOnlyForContactCreate } },
264
+ default: {},
265
+ options: [
266
+ {
267
+ displayName: 'Academic Title',
268
+ name: 'akademischerTitel',
269
+ type: 'fixedCollection',
270
+ default: [],
271
+ typeOptions: {
272
+ multipleValues: true,
273
+ multipleValueButtonText: 'Add Title',
274
+ },
275
+ options: [
276
+ {
277
+ displayName: 'Title',
278
+ name: 'titel',
279
+ values: [
280
+ {
281
+ displayName: 'Title',
282
+ name: 'value',
283
+ type: 'string',
284
+ default: '',
285
+ },
286
+ ],
287
+ },
288
+ ],
289
+ routing: {
290
+ send: {
291
+ property: 'akademischerTitel',
292
+ type: 'body',
293
+ value: '={{ Array.isArray($value.titel) && $value.titel.length > 0 ? $value.titel.map(t => t.value) : undefined }}',
294
+ },
295
+ },
296
+ },
297
+ {
298
+ displayName: 'Addresses',
299
+ name: 'adressen',
300
+ type: 'fixedCollection',
301
+ default: [],
302
+ typeOptions: {
303
+ multipleValues: true,
304
+ multipleValueButtonText: 'Add new address',
305
+ },
306
+ options: [
307
+ {
308
+ displayName: 'Address',
309
+ name: 'adresse',
310
+ values: [
311
+ {
312
+ displayName: 'Additional Adress Information',
313
+ name: 'adresszusatz',
314
+ type: 'string',
315
+ default: '',
316
+ },
317
+ {
318
+ displayName: 'Recipient',
319
+ name: 'empfaenger',
320
+ type: 'string',
321
+ default: '',
322
+ },
323
+ {
324
+ displayName: 'House Number',
325
+ name: 'hausnummer',
326
+ type: 'string',
327
+ default: '',
328
+ },
329
+ {
330
+ displayName: 'Country',
331
+ name: 'land',
332
+ type: 'string',
333
+ default: 'Deutschland',
334
+ },
335
+ {
336
+ displayName: 'Place',
337
+ name: 'ort',
338
+ type: 'string',
339
+ default: '',
340
+ },
341
+ {
342
+ displayName: 'Postal Address',
343
+ description: 'Whether this is a postal address',
344
+ name: 'postalischeAdresse',
345
+ type: 'boolean',
346
+ default: false,
347
+ },
348
+ {
349
+ displayName: 'Postcode',
350
+ name: 'postleitzahl',
351
+ type: 'string',
352
+ default: '',
353
+ },
354
+ {
355
+ displayName: 'Street / P.O. Box',
356
+ name: 'strassePostfach',
357
+ type: 'string',
358
+ default: '',
359
+ },
360
+ {
361
+ displayName: 'Type',
362
+ name: 'typ',
363
+ type: 'options',
364
+ default: 'PRIVAT',
365
+ options: [
366
+ { name: 'Private', value: 'PRIVAT' },
367
+ { name: 'Business', value: 'GESCHAEFTLICH' },
368
+ { name: 'Other', value: 'ANDERE' },
369
+ ],
370
+ },
371
+ ],
372
+ },
373
+ ],
374
+ routing: {
375
+ send: {
376
+ property: 'adressen',
377
+ type: 'body',
378
+ value: '={{ Array.isArray($value.adresse) && $value.adresse.length > 0 ? $value.adresse : undefined }}',
379
+ },
380
+ },
381
+ },
382
+ {
383
+ displayName: 'Bank Accounts',
384
+ name: 'kontoverbindungen',
385
+ type: 'fixedCollection',
386
+ default: [],
387
+ typeOptions: {
388
+ multipleValues: true,
389
+ multipleValueButtonText: 'Add Bank Account',
390
+ },
391
+ options: [
392
+ {
393
+ displayName: 'Bank Account',
394
+ name: 'konto',
395
+ values: [
396
+ {
397
+ displayName: 'IBAN',
398
+ name: 'iban',
399
+ type: 'string',
400
+ default: '',
401
+ },
402
+ {
403
+ displayName: 'BIC',
404
+ name: 'bic',
405
+ type: 'string',
406
+ default: '',
407
+ },
408
+ {
409
+ displayName: 'Account Holder',
410
+ name: 'kontoinhaber',
411
+ type: 'string',
412
+ default: '',
413
+ },
414
+ {
415
+ displayName: 'Bank Name',
416
+ name: 'kreditinstitut',
417
+ type: 'string',
418
+ default: '',
419
+ },
420
+ ],
421
+ },
422
+ ],
423
+ routing: {
424
+ send: {
425
+ property: 'kontoverbindungen',
426
+ type: 'body',
427
+ value: '={{ Array.isArray($value.konto) && $value.konto.length > 0 ? $value.konto : undefined }}',
428
+ },
429
+ },
430
+ },
431
+ {
432
+ displayName: 'Comment',
433
+ name: 'bemerkung',
434
+ type: 'string',
435
+ default: '',
436
+ routing: {
437
+ send: {
438
+ property: 'bemerkung',
439
+ type: 'body',
440
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
441
+ },
442
+ },
443
+ },
444
+ {
445
+ displayName: 'Contact Persons',
446
+ name: 'ansprechpartner',
447
+ type: 'fixedCollection',
448
+ default: [],
449
+ typeOptions: {
450
+ multipleValues: true,
451
+ multipleValueButtonText: 'Add Contact Person',
452
+ },
453
+ options: [
454
+ {
455
+ displayName: 'Contact Person',
456
+ name: 'person',
457
+ values: [
458
+ {
459
+ displayName: 'Contact ID',
460
+ name: 'id',
461
+ type: 'number',
462
+ default: 0,
463
+ },
464
+ {
465
+ displayName: 'Display Name',
466
+ name: 'anzeigename',
467
+ type: 'string',
468
+ default: '',
469
+ },
470
+ ],
471
+ },
472
+ ],
473
+ routing: {
474
+ send: {
475
+ property: 'ansprechpartner',
476
+ type: 'body',
477
+ value: '={{ Array.isArray($value.person) && $value.person.length > 0 ? $value.person : undefined }}',
478
+ },
479
+ },
480
+ },
481
+ {
482
+ displayName: 'Date of Birth',
483
+ name: 'geburtsdatum',
484
+ type: 'dateTime',
485
+ default: '',
486
+ routing: {
487
+ send: {
488
+ property: 'geburtsdatum',
489
+ type: 'body',
490
+ value: '={{ $value ? $value.split("T")[0] : undefined }}',
491
+ },
492
+ },
493
+ },
494
+ {
495
+ displayName: 'E-Mail Addresses',
496
+ name: 'emailAdressen',
497
+ type: 'fixedCollection',
498
+ default: [],
499
+ typeOptions: {
500
+ multipleValues: true,
501
+ multipleValueButtonText: 'Add E-Mail Address',
502
+ },
503
+ options: [
504
+ {
505
+ displayName: 'E-Mail Address',
506
+ name: 'email',
507
+ values: [
508
+ {
509
+ displayName: 'Address',
510
+ name: 'wert',
511
+ type: 'string',
512
+ default: '',
513
+ },
514
+ ],
515
+ },
516
+ ],
517
+ routing: {
518
+ send: {
519
+ property: 'emailAdressen',
520
+ type: 'body',
521
+ value: '={{ Array.isArray($value.email) && $value.email.length > 0 ? $value.email.map(e => e.wert) : undefined }}',
522
+ },
523
+ },
524
+ },
525
+ {
526
+ displayName: 'Favorite',
527
+ description: 'Whether this contact is a favorite',
528
+ name: 'favorit',
529
+ type: 'boolean',
530
+ default: false,
531
+ routing: { send: { property: 'favorit', type: 'body' } },
532
+ },
533
+ {
534
+ displayName: 'Fax Numbers',
535
+ name: 'faxnummern',
536
+ type: 'fixedCollection',
537
+ default: [],
538
+ typeOptions: {
539
+ multipleValues: true,
540
+ multipleValueButtonText: 'Add Fax Number',
541
+ },
542
+ options: [
543
+ {
544
+ displayName: 'Fax Number',
545
+ name: 'faxnummer',
546
+ values: [
547
+ {
548
+ displayName: 'Number',
549
+ name: 'wert',
550
+ type: 'string',
551
+ default: '',
552
+ },
553
+ {
554
+ displayName: 'Type',
555
+ name: 'typ',
556
+ type: 'options',
557
+ default: 'GESCHAEFTLICH',
558
+ options: [
559
+ { name: 'Private', value: 'PRIVAT' },
560
+ { name: 'Business', value: 'GESCHAEFTLICH' },
561
+ ],
562
+ },
563
+ ],
564
+ },
565
+ ],
566
+ routing: {
567
+ send: {
568
+ property: 'faxnummern',
569
+ type: 'body',
570
+ value: '={{ Array.isArray($value.faxnummer) && $value.faxnummer.length > 0 ? $value.faxnummer : undefined }}',
571
+ },
572
+ },
573
+ },
574
+ {
575
+ displayName: 'Insurance Number',
576
+ name: 'versicherungsnummer',
577
+ type: 'string',
578
+ default: '',
579
+ routing: {
580
+ send: {
581
+ property: 'versicherungsnummer',
582
+ type: 'body',
583
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
584
+ },
585
+ },
586
+ },
587
+ {
588
+ displayName: 'Legal Form',
589
+ name: 'rechtsform',
590
+ type: 'string',
591
+ default: '',
592
+ routing: {
593
+ send: {
594
+ property: 'rechtsform',
595
+ type: 'body',
596
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
597
+ },
598
+ },
599
+ },
600
+ {
601
+ displayName: 'Legal Protection Insurance',
602
+ name: 'rechtsschutzversicherung',
603
+ description: 'Whether the contact has legal protection insurance',
604
+ type: 'boolean',
605
+ default: false,
606
+ routing: { send: { property: 'rechtsschutzversicherung', type: 'body' } },
607
+ },
608
+ {
609
+ displayName: 'Legal Representatives',
610
+ name: 'gesetzlicheVertreter',
611
+ type: 'fixedCollection',
612
+ default: [],
613
+ typeOptions: {
614
+ multipleValues: true,
615
+ multipleValueButtonText: 'Add Legal Representative',
616
+ },
617
+ options: [
618
+ {
619
+ displayName: 'Representative',
620
+ name: 'vertreter',
621
+ values: [
622
+ {
623
+ displayName: 'Type',
624
+ name: 'typ',
625
+ type: 'string',
626
+ default: '',
627
+ description: 'Type of legal representative (e.g., guardian, custodian)',
628
+ required: true,
629
+ },
630
+ {
631
+ displayName: 'Contact',
632
+ name: 'kontakt',
633
+ type: 'collection',
634
+ required: true,
635
+ default: {},
636
+ options: [
637
+ {
638
+ displayName: 'Contact ID',
639
+ name: 'id',
640
+ type: 'number',
641
+ default: 0,
642
+ },
643
+ {
644
+ displayName: 'Display Name',
645
+ name: 'anzeigename',
646
+ type: 'string',
647
+ default: '',
648
+ },
649
+ ],
650
+ },
651
+ ],
652
+ },
653
+ ],
654
+ routing: {
655
+ send: {
656
+ property: 'gesetzlicheVertreter',
657
+ type: 'body',
658
+ value: '={{ Array.isArray($value.vertreter) && $value.vertreter.length > 0 ? $value.vertreter : undefined }}',
659
+ },
660
+ },
661
+ },
662
+ {
663
+ displayName: 'Letter Salutation',
664
+ name: 'briefanrede',
665
+ description: 'Letter salutation for the contact. If not set, the salutation will be automatically generated from the system.',
666
+ type: 'string',
667
+ default: '',
668
+ routing: {
669
+ send: {
670
+ property: 'briefanrede',
671
+ type: 'body',
672
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
673
+ },
674
+ },
675
+ },
676
+ {
677
+ displayName: 'Name Prefix',
678
+ name: 'namensvorsatz',
679
+ type: 'string',
680
+ default: '',
681
+ routing: {
682
+ send: {
683
+ property: 'namensvorsatz',
684
+ type: 'body',
685
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
686
+ },
687
+ },
688
+ },
689
+ {
690
+ displayName: 'Nationality',
691
+ name: 'staatsangehoerigkeit',
692
+ type: 'string',
693
+ default: '',
694
+ routing: {
695
+ send: {
696
+ property: 'staatsangehoerigkeit',
697
+ type: 'body',
698
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
699
+ },
700
+ },
701
+ },
702
+ {
703
+ displayName: 'Occupation',
704
+ name: 'beruf',
705
+ type: 'string',
706
+ default: '',
707
+ routing: {
708
+ send: {
709
+ property: 'beruf',
710
+ type: 'body',
711
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
712
+ },
713
+ },
714
+ },
715
+ {
716
+ displayName: 'Salutation',
717
+ name: 'anrede',
718
+ type: 'string',
719
+ default: '',
720
+ routing: { send: { property: 'anrede', type: 'body' } },
721
+ },
722
+ {
723
+ displayName: 'Tax Number',
724
+ name: 'steuernummer',
725
+ type: 'string',
726
+ default: '',
727
+ routing: { send: { property: 'steuernummer', type: 'body' } },
728
+ },
729
+ {
730
+ displayName: 'Telephone Numbers',
731
+ name: 'telefonnummern',
732
+ type: 'fixedCollection',
733
+ default: [],
734
+ typeOptions: {
735
+ multipleValues: true,
736
+ multipleValueButtonText: 'Add Telephone Number',
737
+ },
738
+ options: [
739
+ {
740
+ displayName: 'Telephone Number',
741
+ name: 'telefonnummer',
742
+ values: [
743
+ {
744
+ displayName: 'Number',
745
+ required: true,
746
+ name: 'wert',
747
+ type: 'string',
748
+ default: '',
749
+ },
750
+ {
751
+ displayName: 'Type',
752
+ required: true,
753
+ name: 'typ',
754
+ type: 'options',
755
+ default: 'GESCHAEFTLICH',
756
+ options: [
757
+ { name: 'Private', value: 'PRIVAT' },
758
+ { name: 'Business', value: 'GESCHAEFTLICH' },
759
+ { name: 'Mobile', value: 'MOBIL' },
760
+ { name: 'Other', value: 'ANDERE' },
761
+ ],
762
+ },
763
+ ],
764
+ },
765
+ ],
766
+ routing: {
767
+ send: {
768
+ property: 'telefonnummern',
769
+ type: 'body',
770
+ value: '={{ Array.isArray($value.telefonnummer) && $value.telefonnummer.length > 0 ? $value.telefonnummer : undefined }}',
771
+ },
772
+ },
773
+ },
774
+ {
775
+ displayName: 'VAT Identification Number',
776
+ name: 'ustIDNr',
777
+ type: 'string',
778
+ default: '',
779
+ routing: { send: { property: 'ustIdNr', type: 'body' } },
780
+ },
781
+ ],
782
+ },
783
+ {
784
+ displayName: 'ID',
785
+ name: 'id',
786
+ required: true,
787
+ default: '',
788
+ type: 'string',
789
+ displayOptions: {
790
+ show: {
791
+ ...showOnlyForContactUpdate,
792
+ },
793
+ },
794
+ },
795
+ {
796
+ displayName: 'First Name',
797
+ name: 'vorname',
798
+ type: 'string',
799
+ default: '',
800
+ routing: {
801
+ send: {
802
+ property: 'vorname',
803
+ type: 'body',
804
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
805
+ },
806
+ },
807
+ displayOptions: { show: { ...showOnlyForContactUpdate } },
808
+ },
809
+ {
810
+ displayName: 'Last Name',
811
+ required: true,
812
+ name: 'name',
813
+ type: 'string',
814
+ default: '',
815
+ routing: { send: { property: 'name', type: 'body' } },
816
+ displayOptions: { show: { ...showOnlyForContactUpdate } },
817
+ },
818
+ {
819
+ displayName: 'Type',
820
+ required: true,
821
+ name: 'typ',
822
+ type: 'options',
823
+ default: 'NATUERLICHE_PERSON',
824
+ options: [
825
+ { name: 'Natural Person', value: 'NATUERLICHE_PERSON' },
826
+ { name: 'Legal Entity', value: 'JURISTISCHE_PERSON' },
827
+ ],
828
+ routing: { send: { property: 'typ', type: 'body' } },
829
+ displayOptions: { show: { ...showOnlyForContactUpdate } },
830
+ },
831
+ {
832
+ displayName: 'Additional Fields',
833
+ name: 'additionalFields',
834
+ type: 'collection',
835
+ placeholder: 'Add Field',
836
+ displayOptions: { show: { ...showOnlyForContactUpdate } },
837
+ default: {},
838
+ options: [
839
+ {
840
+ displayName: 'Academic Title',
841
+ name: 'akademischerTitel',
842
+ type: 'fixedCollection',
843
+ default: [],
844
+ typeOptions: {
845
+ multipleValues: true,
846
+ multipleValueButtonText: 'Add Title',
847
+ },
848
+ options: [
849
+ {
850
+ displayName: 'Title',
851
+ name: 'titel',
852
+ values: [
853
+ {
854
+ displayName: 'Title',
855
+ name: 'value',
856
+ type: 'string',
857
+ default: '',
858
+ },
859
+ ],
860
+ },
861
+ ],
862
+ routing: {
863
+ send: {
864
+ property: 'akademischerTitel',
865
+ type: 'body',
866
+ value: '={{ Array.isArray($value.titel) && $value.titel.length > 0 ? $value.titel.map(t => t.value) : undefined }}',
867
+ },
868
+ },
869
+ },
870
+ {
871
+ displayName: 'Addresses',
872
+ name: 'adressen',
873
+ type: 'fixedCollection',
874
+ default: [],
875
+ typeOptions: {
876
+ multipleValues: true,
877
+ multipleValueButtonText: 'Add new address',
878
+ },
879
+ options: [
880
+ {
881
+ displayName: 'Address',
882
+ name: 'adresse',
883
+ values: [
884
+ {
885
+ displayName: 'Additional Adress Information',
886
+ name: 'adresszusatz',
887
+ type: 'string',
888
+ default: '',
889
+ },
890
+ {
891
+ displayName: 'Recipient',
892
+ name: 'empfaenger',
893
+ type: 'string',
894
+ default: '',
895
+ },
896
+ {
897
+ displayName: 'House Number',
898
+ name: 'hausnummer',
899
+ type: 'string',
900
+ default: '',
901
+ },
902
+ {
903
+ displayName: 'Country',
904
+ name: 'land',
905
+ type: 'string',
906
+ default: 'Deutschland',
907
+ },
908
+ {
909
+ displayName: 'Place',
910
+ name: 'ort',
911
+ type: 'string',
912
+ default: '',
913
+ },
914
+ {
915
+ displayName: 'Postal Address',
916
+ description: 'Whether this is a postal address',
917
+ name: 'postalischeAdresse',
918
+ type: 'boolean',
919
+ default: false,
920
+ },
921
+ {
922
+ displayName: 'Postcode',
923
+ name: 'postleitzahl',
924
+ type: 'string',
925
+ default: '',
926
+ },
927
+ {
928
+ displayName: 'Street / P.O. Box',
929
+ name: 'strassePostfach',
930
+ type: 'string',
931
+ default: '',
932
+ },
933
+ {
934
+ displayName: 'Type',
935
+ name: 'typ',
936
+ type: 'options',
937
+ default: 'PRIVAT',
938
+ options: [
939
+ { name: 'Private', value: 'PRIVAT' },
940
+ { name: 'Business', value: 'GESCHAEFTLICH' },
941
+ { name: 'Other', value: 'ANDERE' },
942
+ ],
943
+ },
944
+ ],
945
+ },
946
+ ],
947
+ routing: {
948
+ send: {
949
+ property: 'adressen',
950
+ type: 'body',
951
+ value: '={{ Array.isArray($value.adresse) && $value.adresse.length > 0 ? $value.adresse : undefined }}',
952
+ },
953
+ },
954
+ },
955
+ {
956
+ displayName: 'Bank Accounts',
957
+ name: 'kontoverbindungen',
958
+ type: 'fixedCollection',
959
+ default: [],
960
+ typeOptions: {
961
+ multipleValues: true,
962
+ multipleValueButtonText: 'Add Bank Account',
963
+ },
964
+ options: [
965
+ {
966
+ displayName: 'Bank Account',
967
+ name: 'konto',
968
+ values: [
969
+ {
970
+ displayName: 'IBAN',
971
+ name: 'iban',
972
+ type: 'string',
973
+ default: '',
974
+ },
975
+ {
976
+ displayName: 'BIC',
977
+ name: 'bic',
978
+ type: 'string',
979
+ default: '',
980
+ },
981
+ {
982
+ displayName: 'Account Holder',
983
+ name: 'kontoinhaber',
984
+ type: 'string',
985
+ default: '',
986
+ },
987
+ {
988
+ displayName: 'Bank Name',
989
+ name: 'kreditinstitut',
990
+ type: 'string',
991
+ default: '',
992
+ },
993
+ ],
994
+ },
995
+ ],
996
+ routing: {
997
+ send: {
998
+ property: 'kontoverbindungen',
999
+ type: 'body',
1000
+ value: '={{ Array.isArray($value.konto) && $value.konto.length > 0 ? $value.konto : undefined }}',
1001
+ },
1002
+ },
1003
+ },
1004
+ {
1005
+ displayName: 'Comment',
1006
+ name: 'bemerkung',
1007
+ type: 'string',
1008
+ default: '',
1009
+ routing: {
1010
+ send: {
1011
+ property: 'bemerkung',
1012
+ type: 'body',
1013
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1014
+ },
1015
+ },
1016
+ },
1017
+ {
1018
+ displayName: 'Contact Persons',
1019
+ name: 'ansprechpartner',
1020
+ type: 'fixedCollection',
1021
+ default: [],
1022
+ typeOptions: {
1023
+ multipleValues: true,
1024
+ multipleValueButtonText: 'Add Contact Person',
1025
+ },
1026
+ options: [
1027
+ {
1028
+ displayName: 'Contact Person',
1029
+ name: 'person',
1030
+ values: [
1031
+ {
1032
+ displayName: 'Contact ID',
1033
+ name: 'id',
1034
+ type: 'number',
1035
+ default: 0,
1036
+ },
1037
+ {
1038
+ displayName: 'Display Name',
1039
+ name: 'anzeigename',
1040
+ type: 'string',
1041
+ default: '',
1042
+ },
1043
+ ],
1044
+ },
1045
+ ],
1046
+ routing: {
1047
+ send: {
1048
+ property: 'ansprechpartner',
1049
+ type: 'body',
1050
+ value: '={{ Array.isArray($value.person) && $value.person.length > 0 ? $value.person : undefined }}',
1051
+ },
1052
+ },
1053
+ },
1054
+ {
1055
+ displayName: 'Date of Birth',
1056
+ name: 'geburtsdatum',
1057
+ type: 'dateTime',
1058
+ default: '',
1059
+ routing: {
1060
+ send: {
1061
+ property: 'geburtsdatum',
1062
+ type: 'body',
1063
+ value: '={{ $value ? $value.split("T")[0] : undefined }}',
1064
+ },
1065
+ },
1066
+ },
1067
+ {
1068
+ displayName: 'E-Mail Addresses',
1069
+ name: 'emailAdressen',
1070
+ type: 'fixedCollection',
1071
+ default: [],
1072
+ typeOptions: {
1073
+ multipleValues: true,
1074
+ multipleValueButtonText: 'Add E-Mail Address',
1075
+ },
1076
+ options: [
1077
+ {
1078
+ displayName: 'E-Mail Address',
1079
+ name: 'email',
1080
+ values: [
1081
+ {
1082
+ displayName: 'Address',
1083
+ name: 'wert',
1084
+ type: 'string',
1085
+ default: '',
1086
+ },
1087
+ ],
1088
+ },
1089
+ ],
1090
+ routing: {
1091
+ send: {
1092
+ property: 'emailAdressen',
1093
+ type: 'body',
1094
+ value: '={{ Array.isArray($value.email) && $value.email.length > 0 ? $value.email.map(e => e.wert) : undefined }}',
1095
+ },
1096
+ },
1097
+ },
1098
+ {
1099
+ displayName: 'Favorite',
1100
+ description: 'Whether this contact is a favorite',
1101
+ name: 'favorit',
1102
+ type: 'options',
1103
+ default: '',
1104
+ options: [
1105
+ { name: 'Not Set', value: '' },
1106
+ { name: 'Yes', value: true },
1107
+ { name: 'No', value: false },
1108
+ ],
1109
+ routing: {
1110
+ send: {
1111
+ property: 'favorit',
1112
+ type: 'body',
1113
+ value: '={{ $value === "" ? undefined : $value }}',
1114
+ },
1115
+ },
1116
+ },
1117
+ {
1118
+ displayName: 'Fax Numbers',
1119
+ name: 'faxnummern',
1120
+ type: 'fixedCollection',
1121
+ default: [],
1122
+ typeOptions: {
1123
+ multipleValues: true,
1124
+ multipleValueButtonText: 'Add Fax Number',
1125
+ },
1126
+ options: [
1127
+ {
1128
+ displayName: 'Fax Number',
1129
+ name: 'faxnummer',
1130
+ values: [
1131
+ {
1132
+ displayName: 'Number',
1133
+ name: 'wert',
1134
+ type: 'string',
1135
+ default: '',
1136
+ },
1137
+ {
1138
+ displayName: 'Type',
1139
+ name: 'typ',
1140
+ type: 'options',
1141
+ default: 'GESCHAEFTLICH',
1142
+ options: [
1143
+ { name: 'Private', value: 'PRIVAT' },
1144
+ { name: 'Business', value: 'GESCHAEFTLICH' },
1145
+ ],
1146
+ },
1147
+ ],
1148
+ },
1149
+ ],
1150
+ routing: {
1151
+ send: {
1152
+ property: 'faxnummern',
1153
+ type: 'body',
1154
+ value: '={{ Array.isArray($value.faxnummer) && $value.faxnummer.length > 0 ? $value.faxnummer : undefined }}',
1155
+ },
1156
+ },
1157
+ },
1158
+ {
1159
+ displayName: 'Insurance Number',
1160
+ name: 'versicherungsnummer',
1161
+ type: 'string',
1162
+ default: '',
1163
+ routing: {
1164
+ send: {
1165
+ property: 'versicherungsnummer',
1166
+ type: 'body',
1167
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1168
+ },
1169
+ },
1170
+ },
1171
+ {
1172
+ displayName: 'Legal Form',
1173
+ name: 'rechtsform',
1174
+ type: 'string',
1175
+ default: '',
1176
+ routing: {
1177
+ send: {
1178
+ property: 'rechtsform',
1179
+ type: 'body',
1180
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1181
+ },
1182
+ },
1183
+ },
1184
+ {
1185
+ displayName: 'Legal Protection Insurance',
1186
+ name: 'rechtsschutzversicherung',
1187
+ description: 'Whether the contact has legal protection insurance',
1188
+ type: 'options',
1189
+ default: '',
1190
+ options: [
1191
+ { name: 'Not Set', value: '' },
1192
+ { name: 'Yes', value: true },
1193
+ { name: 'No', value: false },
1194
+ ],
1195
+ routing: {
1196
+ send: {
1197
+ property: 'rechtsschutzversicherung',
1198
+ type: 'body',
1199
+ value: '={{ $value === "" ? undefined : $value }}',
1200
+ },
1201
+ },
1202
+ },
1203
+ {
1204
+ displayName: 'Legal Representatives',
1205
+ name: 'gesetzlicheVertreter',
1206
+ type: 'fixedCollection',
1207
+ default: [],
1208
+ typeOptions: {
1209
+ multipleValues: true,
1210
+ multipleValueButtonText: 'Add Legal Representative',
1211
+ },
1212
+ options: [
1213
+ {
1214
+ displayName: 'Representative',
1215
+ name: 'vertreter',
1216
+ values: [
1217
+ {
1218
+ displayName: 'Type',
1219
+ name: 'typ',
1220
+ type: 'string',
1221
+ default: '',
1222
+ description: 'Type of legal representative (e.g., guardian, custodian)',
1223
+ required: true,
1224
+ },
1225
+ {
1226
+ displayName: 'Contact',
1227
+ name: 'kontakt',
1228
+ type: 'collection',
1229
+ required: true,
1230
+ default: {},
1231
+ options: [
1232
+ {
1233
+ displayName: 'Contact ID',
1234
+ name: 'id',
1235
+ type: 'number',
1236
+ default: 0,
1237
+ },
1238
+ {
1239
+ displayName: 'Display Name',
1240
+ name: 'anzeigename',
1241
+ type: 'string',
1242
+ default: '',
1243
+ },
1244
+ ],
1245
+ },
1246
+ ],
1247
+ },
1248
+ ],
1249
+ routing: {
1250
+ send: {
1251
+ property: 'gesetzlicheVertreter',
1252
+ type: 'body',
1253
+ value: '={{ Array.isArray($value.vertreter) && $value.vertreter.length > 0 ? $value.vertreter : undefined }}',
1254
+ },
1255
+ },
1256
+ },
1257
+ {
1258
+ displayName: 'Letter Salutation',
1259
+ name: 'briefanrede',
1260
+ type: 'string',
1261
+ default: '',
1262
+ routing: {
1263
+ send: {
1264
+ property: 'briefanrede',
1265
+ type: 'body',
1266
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1267
+ },
1268
+ },
1269
+ },
1270
+ {
1271
+ displayName: 'Name Prefix',
1272
+ name: 'namensvorsatz',
1273
+ type: 'string',
1274
+ default: '',
1275
+ routing: {
1276
+ send: {
1277
+ property: 'namensvorsatz',
1278
+ type: 'body',
1279
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1280
+ },
1281
+ },
1282
+ },
1283
+ {
1284
+ displayName: 'Nationality',
1285
+ name: 'staatsangehoerigkeit',
1286
+ type: 'string',
1287
+ default: '',
1288
+ routing: {
1289
+ send: {
1290
+ property: 'staatsangehoerigkeit',
1291
+ type: 'body',
1292
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1293
+ },
1294
+ },
1295
+ },
1296
+ {
1297
+ displayName: 'Occupation',
1298
+ name: 'beruf',
1299
+ type: 'string',
1300
+ default: '',
1301
+ routing: {
1302
+ send: {
1303
+ property: 'beruf',
1304
+ type: 'body',
1305
+ value: '={{ $value && $value.trim() !== "" ? $value : undefined }}',
1306
+ },
1307
+ },
1308
+ },
1309
+ {
1310
+ displayName: 'Salutation',
1311
+ name: 'anrede',
1312
+ type: 'string',
1313
+ default: '',
1314
+ routing: { send: { property: 'anrede', type: 'body' } },
1315
+ },
1316
+ {
1317
+ displayName: 'Tax Number',
1318
+ name: 'steuernummer',
1319
+ type: 'string',
1320
+ default: '',
1321
+ routing: { send: { property: 'steuernummer', type: 'body' } },
1322
+ },
1323
+ {
1324
+ displayName: 'Telephone Numbers',
1325
+ name: 'telefonnummern',
1326
+ type: 'fixedCollection',
1327
+ default: [],
1328
+ typeOptions: {
1329
+ multipleValues: true,
1330
+ multipleValueButtonText: 'Add Telephone Number',
1331
+ },
1332
+ options: [
1333
+ {
1334
+ displayName: 'Telephone Number',
1335
+ name: 'telefonnummer',
1336
+ values: [
1337
+ {
1338
+ displayName: 'Number',
1339
+ required: true,
1340
+ name: 'wert',
1341
+ type: 'string',
1342
+ default: '',
1343
+ },
1344
+ {
1345
+ displayName: 'Type',
1346
+ required: true,
1347
+ name: 'typ',
1348
+ type: 'options',
1349
+ default: 'GESCHAEFTLICH',
1350
+ options: [
1351
+ { name: 'Private', value: 'PRIVAT' },
1352
+ { name: 'Business', value: 'GESCHAEFTLICH' },
1353
+ { name: 'Mobile', value: 'MOBIL' },
1354
+ { name: 'Other', value: 'ANDERE' },
1355
+ ],
1356
+ },
1357
+ ],
1358
+ },
1359
+ ],
1360
+ routing: {
1361
+ send: {
1362
+ property: 'telefonnummern',
1363
+ type: 'body',
1364
+ value: '={{ Array.isArray($value.telefonnummer) && $value.telefonnummer.length > 0 ? $value.telefonnummer : undefined }}',
1365
+ },
1366
+ },
1367
+ },
1368
+ {
1369
+ displayName: 'VAT Identification Number',
1370
+ name: 'ustIDNr',
1371
+ type: 'string',
1372
+ default: '',
1373
+ routing: { send: { property: 'ustIdNr', type: 'body' } },
1374
+ },
1375
+ ],
1376
+ },
1377
+ ];
1378
+ //# sourceMappingURL=ContactDescription.js.map