@affeldt28/n8n-nodes-weclapp 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.
- package/LICENSE.md +19 -0
- package/README.md +126 -0
- package/dist/credentials/WeclappApi.credentials.d.ts +10 -0
- package/dist/credentials/WeclappApi.credentials.js +50 -0
- package/dist/credentials/WeclappApi.credentials.js.map +1 -0
- package/dist/icons/weclapp.svg +20 -0
- package/dist/nodes/Weclapp/Weclapp.node.d.ts +5 -0
- package/dist/nodes/Weclapp/Weclapp.node.js +67 -0
- package/dist/nodes/Weclapp/Weclapp.node.js.map +1 -0
- package/dist/nodes/Weclapp/Weclapp.node.json +22 -0
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.js +95 -0
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/article/count.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/article/count.operation.js +14 -0
- package/dist/nodes/Weclapp/descriptions/article/count.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/article/query.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/article/query.operation.js +21 -0
- package/dist/nodes/Weclapp/descriptions/article/query.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js +13 -0
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/index.d.ts +4 -0
- package/dist/nodes/Weclapp/descriptions/index.js +41 -0
- package/dist/nodes/Weclapp/descriptions/index.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.js +95 -0
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/party/count.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/party/count.operation.js +14 -0
- package/dist/nodes/Weclapp/descriptions/party/count.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/party/create.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/party/create.operation.js +1654 -0
- package/dist/nodes/Weclapp/descriptions/party/create.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/party/query.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/party/query.operation.js +21 -0
- package/dist/nodes/Weclapp/descriptions/party/query.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js +92 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.js +14 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.js +21 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/customAttributes.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/customAttributes.js +181 -0
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/customAttributes.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/index.d.ts +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/index.js +18 -0
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/index.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/additionalProperties.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/additionalProperties.js +52 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/additionalProperties.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/dryRun.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/dryRun.js +17 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/dryRun.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/filter.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/filter.js +302 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/filter.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/includeReferencedEntities.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/includeReferencedEntities.js +37 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/includeReferencedEntities.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/index.d.ts +8 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/index.js +25 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/index.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js +80 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/properties.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/properties.js +38 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/properties.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/serializeNulls.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/serializeNulls.js +17 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/serializeNulls.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/sort.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/sort.js +53 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/sort.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/shared/enum.d.ts +6 -0
- package/dist/nodes/Weclapp/descriptions/shared/enum.js +304 -0
- package/dist/nodes/Weclapp/descriptions/shared/enum.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/user/User.resource.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/user/User.resource.js +99 -0
- package/dist/nodes/Weclapp/descriptions/user/User.resource.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/user/count.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/user/count.operation.js +14 -0
- package/dist/nodes/Weclapp/descriptions/user/count.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/user/create.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/user/create.operation.js +243 -0
- package/dist/nodes/Weclapp/descriptions/user/create.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/user/query.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/user/query.operation.js +21 -0
- package/dist/nodes/Weclapp/descriptions/user/query.operation.js.map +1 -0
- package/dist/package.json +57 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,1654 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const enum_1 = require("../shared/enum");
|
|
6
|
+
const QueryParameter_1 = require("../shared/QueryParameter");
|
|
7
|
+
const properties = [
|
|
8
|
+
QueryParameter_1.dryRunQueryParameter,
|
|
9
|
+
{
|
|
10
|
+
name: 'attributes',
|
|
11
|
+
displayName: 'Attributes',
|
|
12
|
+
type: 'collection',
|
|
13
|
+
default: {},
|
|
14
|
+
placeholder: 'Add Attribute',
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'addresses',
|
|
18
|
+
displayName: 'Addresses',
|
|
19
|
+
type: 'fixedCollection',
|
|
20
|
+
typeOptions: {
|
|
21
|
+
multipleValues: true,
|
|
22
|
+
},
|
|
23
|
+
default: {},
|
|
24
|
+
placeholder: 'Add Address',
|
|
25
|
+
options: [
|
|
26
|
+
{
|
|
27
|
+
name: 'address',
|
|
28
|
+
displayName: 'Address',
|
|
29
|
+
values: [
|
|
30
|
+
{
|
|
31
|
+
name: 'primaryAddress',
|
|
32
|
+
displayName: 'Primary address',
|
|
33
|
+
description: 'Whether the address is the primary address',
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
default: false,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'deliveryAddress',
|
|
39
|
+
displayName: 'Delivery address',
|
|
40
|
+
description: 'Whether the address is a delivery address',
|
|
41
|
+
type: 'boolean',
|
|
42
|
+
default: false,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'invoiceAddress',
|
|
46
|
+
displayName: 'Invoice address',
|
|
47
|
+
description: 'Whether the address is an invoice address',
|
|
48
|
+
type: 'boolean',
|
|
49
|
+
default: false,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'differentCompany',
|
|
53
|
+
displayName: 'Different company',
|
|
54
|
+
description: 'Whether the address is a different company',
|
|
55
|
+
type: 'boolean',
|
|
56
|
+
default: false,
|
|
57
|
+
routing: {
|
|
58
|
+
request: {},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'company',
|
|
63
|
+
displayName: 'Company',
|
|
64
|
+
description: 'Company of the customer',
|
|
65
|
+
type: 'string',
|
|
66
|
+
typeOptions: {
|
|
67
|
+
maxLength: 1000,
|
|
68
|
+
},
|
|
69
|
+
default: '',
|
|
70
|
+
placeholder: 'Acme Inc.',
|
|
71
|
+
displayOptions: {
|
|
72
|
+
show: {
|
|
73
|
+
differentCompany: [true],
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'company2',
|
|
79
|
+
displayName: 'Company addition',
|
|
80
|
+
description: 'Company addition of the customer',
|
|
81
|
+
type: 'string',
|
|
82
|
+
typeOptions: {
|
|
83
|
+
maxLength: 1000,
|
|
84
|
+
},
|
|
85
|
+
default: '',
|
|
86
|
+
placeholder: 'Acme Inc. 2',
|
|
87
|
+
displayOptions: {
|
|
88
|
+
show: {
|
|
89
|
+
differentCompany: [true],
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'salutation',
|
|
95
|
+
displayName: 'Salutation',
|
|
96
|
+
description: 'Salutation of the customer',
|
|
97
|
+
type: 'options',
|
|
98
|
+
typeOptions: {
|
|
99
|
+
maxLength: 1000,
|
|
100
|
+
},
|
|
101
|
+
default: '',
|
|
102
|
+
placeholder: 'Mr.',
|
|
103
|
+
options: enum_1.SALUTATIONS,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'titleId',
|
|
107
|
+
displayName: 'Title id',
|
|
108
|
+
description: 'Title id of the customer',
|
|
109
|
+
type: 'string',
|
|
110
|
+
typeOptions: {
|
|
111
|
+
maxLength: 1000,
|
|
112
|
+
},
|
|
113
|
+
default: '',
|
|
114
|
+
placeholder: '12345',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'firstName',
|
|
118
|
+
displayName: 'First Name',
|
|
119
|
+
description: 'First name of the customer',
|
|
120
|
+
type: 'string',
|
|
121
|
+
typeOptions: {
|
|
122
|
+
maxLength: 1000,
|
|
123
|
+
},
|
|
124
|
+
default: '',
|
|
125
|
+
placeholder: 'John',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'lastName',
|
|
129
|
+
displayName: 'Last Name',
|
|
130
|
+
description: 'Last name of the customer',
|
|
131
|
+
type: 'string',
|
|
132
|
+
typeOptions: {
|
|
133
|
+
maxLength: 1000,
|
|
134
|
+
},
|
|
135
|
+
default: '',
|
|
136
|
+
placeholder: 'Doe',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'phone',
|
|
140
|
+
displayName: 'Phone',
|
|
141
|
+
description: 'Phone number of the customer',
|
|
142
|
+
type: 'string',
|
|
143
|
+
typeOptions: {
|
|
144
|
+
maxLength: 1000,
|
|
145
|
+
},
|
|
146
|
+
default: '',
|
|
147
|
+
placeholder: '+49 30 12345678',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'street1',
|
|
151
|
+
displayName: 'Street',
|
|
152
|
+
description: 'Street of the customer',
|
|
153
|
+
type: 'string',
|
|
154
|
+
typeOptions: {
|
|
155
|
+
maxLength: 1000,
|
|
156
|
+
},
|
|
157
|
+
default: '',
|
|
158
|
+
placeholder: 'Main Street 1',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'street2',
|
|
162
|
+
displayName: 'Street addition',
|
|
163
|
+
description: 'Second line of the street address of the customer',
|
|
164
|
+
type: 'string',
|
|
165
|
+
typeOptions: {
|
|
166
|
+
maxLength: 1000,
|
|
167
|
+
},
|
|
168
|
+
default: '',
|
|
169
|
+
placeholder: 'Main Street 2',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'state',
|
|
173
|
+
displayName: 'State',
|
|
174
|
+
description: 'State of the customer',
|
|
175
|
+
type: 'string',
|
|
176
|
+
typeOptions: {
|
|
177
|
+
maxLength: 1000,
|
|
178
|
+
},
|
|
179
|
+
default: '',
|
|
180
|
+
placeholder: 'Berlin',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
name: 'zipCode',
|
|
184
|
+
displayName: 'Zip Code',
|
|
185
|
+
description: 'Zip code of the customer',
|
|
186
|
+
type: 'string',
|
|
187
|
+
typeOptions: {
|
|
188
|
+
maxLength: 1000,
|
|
189
|
+
},
|
|
190
|
+
default: '',
|
|
191
|
+
placeholder: '12345',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'city',
|
|
195
|
+
displayName: 'City',
|
|
196
|
+
description: 'City of the customer',
|
|
197
|
+
type: 'string',
|
|
198
|
+
typeOptions: {
|
|
199
|
+
maxLength: 1000,
|
|
200
|
+
},
|
|
201
|
+
default: '',
|
|
202
|
+
placeholder: 'Berlin',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: 'countryCode',
|
|
206
|
+
displayName: 'Country Code',
|
|
207
|
+
description: 'Country code of the customer',
|
|
208
|
+
type: 'options',
|
|
209
|
+
default: '',
|
|
210
|
+
options: enum_1.COUNTRY_CODES,
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: 'globalLocationNumber',
|
|
214
|
+
displayName: 'Global location number',
|
|
215
|
+
description: 'Global location number of the customer',
|
|
216
|
+
type: 'string',
|
|
217
|
+
typeOptions: {
|
|
218
|
+
maxLength: 1000,
|
|
219
|
+
},
|
|
220
|
+
default: '',
|
|
221
|
+
placeholder: '1234567890123',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: 'postOfficeBoxNumber',
|
|
225
|
+
displayName: 'Post office box number',
|
|
226
|
+
description: 'Post office box number of the customer',
|
|
227
|
+
type: 'string',
|
|
228
|
+
typeOptions: {
|
|
229
|
+
maxLength: 1000,
|
|
230
|
+
},
|
|
231
|
+
default: '',
|
|
232
|
+
placeholder: '12345',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: 'postOfficeBoxZipCode',
|
|
236
|
+
displayName: 'Post office box zip code',
|
|
237
|
+
description: 'Post office box zip code of the customer',
|
|
238
|
+
type: 'string',
|
|
239
|
+
typeOptions: {
|
|
240
|
+
maxLength: 1000,
|
|
241
|
+
},
|
|
242
|
+
default: '',
|
|
243
|
+
placeholder: '12345',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'postOfficeBoxCity',
|
|
247
|
+
displayName: 'Post office box city',
|
|
248
|
+
description: 'Post office box city of the customer',
|
|
249
|
+
type: 'string',
|
|
250
|
+
typeOptions: {
|
|
251
|
+
maxLength: 1000,
|
|
252
|
+
},
|
|
253
|
+
default: '',
|
|
254
|
+
placeholder: 'Berlin',
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'birthDate',
|
|
262
|
+
displayName: 'Birth Date',
|
|
263
|
+
description: 'Birth date of the customer',
|
|
264
|
+
type: 'dateTime',
|
|
265
|
+
typeOptions: {
|
|
266
|
+
dateOnly: true,
|
|
267
|
+
},
|
|
268
|
+
default: '',
|
|
269
|
+
routing: {
|
|
270
|
+
send: {
|
|
271
|
+
type: 'body',
|
|
272
|
+
property: 'birthDate',
|
|
273
|
+
value: '={{ Date.parse($value) }}',
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'company',
|
|
279
|
+
displayName: 'Company',
|
|
280
|
+
description: 'Company name of the party',
|
|
281
|
+
type: 'string',
|
|
282
|
+
typeOptions: {
|
|
283
|
+
maxLength: 1000,
|
|
284
|
+
},
|
|
285
|
+
default: '',
|
|
286
|
+
placeholder: 'Weclapp GmbH',
|
|
287
|
+
routing: {
|
|
288
|
+
send: {
|
|
289
|
+
type: 'body',
|
|
290
|
+
property: 'company',
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'company2',
|
|
296
|
+
displayName: 'Company additional field 2',
|
|
297
|
+
description: 'Additional company field 2 of the party',
|
|
298
|
+
type: 'string',
|
|
299
|
+
typeOptions: {
|
|
300
|
+
maxLength: 1000,
|
|
301
|
+
},
|
|
302
|
+
default: '',
|
|
303
|
+
placeholder: 'Weclapp GmbH',
|
|
304
|
+
routing: {
|
|
305
|
+
send: {
|
|
306
|
+
type: 'body',
|
|
307
|
+
property: 'company2',
|
|
308
|
+
},
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: 'email',
|
|
313
|
+
displayName: 'Email',
|
|
314
|
+
description: 'Email address of the party',
|
|
315
|
+
type: 'string',
|
|
316
|
+
default: '',
|
|
317
|
+
placeholder: 'john.doe@weclapp.com',
|
|
318
|
+
routing: {
|
|
319
|
+
send: {
|
|
320
|
+
type: 'body',
|
|
321
|
+
property: 'email',
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: 'emailHome',
|
|
327
|
+
displayName: 'Email Home',
|
|
328
|
+
description: 'Home email address of the party',
|
|
329
|
+
type: 'string',
|
|
330
|
+
default: '',
|
|
331
|
+
placeholder: 'john.doe@weclapp.com',
|
|
332
|
+
routing: {
|
|
333
|
+
send: {
|
|
334
|
+
type: 'body',
|
|
335
|
+
property: 'emailHome',
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
name: 'fax',
|
|
341
|
+
displayName: 'Fax',
|
|
342
|
+
description: 'Fax number of the party',
|
|
343
|
+
type: 'string',
|
|
344
|
+
typeOptions: {
|
|
345
|
+
maxLength: 1000,
|
|
346
|
+
},
|
|
347
|
+
default: '',
|
|
348
|
+
placeholder: '+49 30 12345678',
|
|
349
|
+
routing: {
|
|
350
|
+
send: {
|
|
351
|
+
type: 'body',
|
|
352
|
+
property: 'fax',
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: 'firstName',
|
|
358
|
+
displayName: 'First Name',
|
|
359
|
+
description: 'First name of the party',
|
|
360
|
+
type: 'string',
|
|
361
|
+
typeOptions: {
|
|
362
|
+
maxLength: 1000,
|
|
363
|
+
},
|
|
364
|
+
default: '',
|
|
365
|
+
placeholder: 'John',
|
|
366
|
+
routing: {
|
|
367
|
+
send: {
|
|
368
|
+
type: 'body',
|
|
369
|
+
property: 'firstName',
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: 'lastName',
|
|
375
|
+
displayName: 'Last Name',
|
|
376
|
+
description: 'Last name of the party',
|
|
377
|
+
type: 'string',
|
|
378
|
+
typeOptions: {
|
|
379
|
+
maxLength: 1000,
|
|
380
|
+
},
|
|
381
|
+
default: '',
|
|
382
|
+
placeholder: 'Doe',
|
|
383
|
+
routing: {
|
|
384
|
+
send: {
|
|
385
|
+
type: 'body',
|
|
386
|
+
property: 'lastName',
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
name: 'middleName',
|
|
392
|
+
displayName: 'Middle Name',
|
|
393
|
+
description: 'Middle name of the party',
|
|
394
|
+
type: 'string',
|
|
395
|
+
typeOptions: {
|
|
396
|
+
maxLength: 1000,
|
|
397
|
+
},
|
|
398
|
+
default: '',
|
|
399
|
+
placeholder: 'Doe',
|
|
400
|
+
routing: {
|
|
401
|
+
send: {
|
|
402
|
+
type: 'body',
|
|
403
|
+
property: 'middleName',
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: 'mobilePhone1',
|
|
409
|
+
displayName: 'Mobile Phone',
|
|
410
|
+
description: 'Mobile phone number of the party',
|
|
411
|
+
type: 'string',
|
|
412
|
+
typeOptions: {
|
|
413
|
+
maxLength: 1000,
|
|
414
|
+
},
|
|
415
|
+
default: '',
|
|
416
|
+
placeholder: '+49 151 12345678',
|
|
417
|
+
routing: {
|
|
418
|
+
send: {
|
|
419
|
+
type: 'body',
|
|
420
|
+
property: 'mobilePhone',
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
name: 'Online accounts',
|
|
426
|
+
displayName: 'Online accounts',
|
|
427
|
+
type: 'fixedCollection',
|
|
428
|
+
typeOptions: {
|
|
429
|
+
multipleValues: true,
|
|
430
|
+
},
|
|
431
|
+
default: {},
|
|
432
|
+
placeholder: 'Add Online Account',
|
|
433
|
+
options: [
|
|
434
|
+
{
|
|
435
|
+
name: 'onlineAccount',
|
|
436
|
+
displayName: 'Online account',
|
|
437
|
+
values: [
|
|
438
|
+
{
|
|
439
|
+
name: 'accountType',
|
|
440
|
+
displayName: 'Account Type',
|
|
441
|
+
description: 'Type of the online account',
|
|
442
|
+
type: 'options',
|
|
443
|
+
default: '',
|
|
444
|
+
options: enum_1.SOCIAL_MEDIA_CODES,
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
name: 'accountName',
|
|
448
|
+
displayName: 'Account Name',
|
|
449
|
+
description: 'Name of the online account',
|
|
450
|
+
type: 'string',
|
|
451
|
+
typeOptions: {
|
|
452
|
+
maxLength: 1000,
|
|
453
|
+
},
|
|
454
|
+
default: '',
|
|
455
|
+
placeholder: 'john.doe',
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
name: 'url',
|
|
459
|
+
displayName: 'Account URL',
|
|
460
|
+
description: 'URL of the online account',
|
|
461
|
+
type: 'string',
|
|
462
|
+
typeOptions: {
|
|
463
|
+
maxLength: 1000,
|
|
464
|
+
},
|
|
465
|
+
default: '',
|
|
466
|
+
placeholder: 'https://www.facebook.com/john.doe',
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
name: 'partyType',
|
|
474
|
+
displayName: 'Party Type',
|
|
475
|
+
description: 'Type of the party',
|
|
476
|
+
type: 'options',
|
|
477
|
+
default: '',
|
|
478
|
+
options: enum_1.PARTY_TYPES,
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'personCompany',
|
|
482
|
+
displayName: "Person's Company",
|
|
483
|
+
description: 'Company of the person',
|
|
484
|
+
type: 'string',
|
|
485
|
+
typeOptions: {
|
|
486
|
+
maxLength: 1000,
|
|
487
|
+
},
|
|
488
|
+
default: '',
|
|
489
|
+
placeholder: 'Weclapp GmbH',
|
|
490
|
+
routing: {
|
|
491
|
+
send: {
|
|
492
|
+
type: 'body',
|
|
493
|
+
property: 'personCompany',
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
name: 'personDepartmentId',
|
|
499
|
+
displayName: "Person's Department ID",
|
|
500
|
+
description: 'Department ID of the person',
|
|
501
|
+
type: 'string',
|
|
502
|
+
default: '',
|
|
503
|
+
placeholder: '12345',
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
name: 'personRoleId',
|
|
507
|
+
displayName: "Person's Role ID",
|
|
508
|
+
description: 'Role ID of the person',
|
|
509
|
+
type: 'string',
|
|
510
|
+
default: '',
|
|
511
|
+
placeholder: '12345',
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'phone',
|
|
515
|
+
displayName: 'Phone',
|
|
516
|
+
description: 'Phone number of the party',
|
|
517
|
+
type: 'string',
|
|
518
|
+
typeOptions: {
|
|
519
|
+
maxLength: 1000,
|
|
520
|
+
},
|
|
521
|
+
default: '',
|
|
522
|
+
placeholder: '+49 30 12345678',
|
|
523
|
+
routing: {
|
|
524
|
+
send: {
|
|
525
|
+
type: 'body',
|
|
526
|
+
property: 'phone',
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
name: 'primaryAddressId',
|
|
532
|
+
displayName: 'Primary Address ID',
|
|
533
|
+
description: 'ID of the primary address of the party',
|
|
534
|
+
type: 'string',
|
|
535
|
+
default: '',
|
|
536
|
+
placeholder: '12345',
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: 'salutation',
|
|
540
|
+
displayName: 'Salutation',
|
|
541
|
+
description: 'Salutation of the party',
|
|
542
|
+
type: 'options',
|
|
543
|
+
default: '',
|
|
544
|
+
options: enum_1.SALUTATIONS,
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
name: 'tags',
|
|
548
|
+
displayName: 'Tags',
|
|
549
|
+
description: 'Tags of the party',
|
|
550
|
+
type: 'fixedCollection',
|
|
551
|
+
typeOptions: {
|
|
552
|
+
multipleValues: true,
|
|
553
|
+
},
|
|
554
|
+
default: '',
|
|
555
|
+
placeholder: 'Add Tag',
|
|
556
|
+
options: [
|
|
557
|
+
{
|
|
558
|
+
name: 'items',
|
|
559
|
+
displayName: 'Tag',
|
|
560
|
+
values: [
|
|
561
|
+
{
|
|
562
|
+
name: 'tag',
|
|
563
|
+
displayName: 'Tag',
|
|
564
|
+
description: 'Tag to add to the party',
|
|
565
|
+
type: 'string',
|
|
566
|
+
default: '',
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
routing: {
|
|
572
|
+
send: {
|
|
573
|
+
type: 'body',
|
|
574
|
+
property: 'tags',
|
|
575
|
+
value: '={{$parameter.tags.items.map(item => item.tag)}}',
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: 'titleId',
|
|
581
|
+
displayName: 'Title ID',
|
|
582
|
+
description: 'ID of the title of the party',
|
|
583
|
+
type: 'string',
|
|
584
|
+
default: '',
|
|
585
|
+
placeholder: '12345',
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
name: 'website',
|
|
589
|
+
displayName: 'Website',
|
|
590
|
+
description: 'Website of the party',
|
|
591
|
+
type: 'string',
|
|
592
|
+
typeOptions: {
|
|
593
|
+
maxLength: 1000,
|
|
594
|
+
},
|
|
595
|
+
default: '',
|
|
596
|
+
placeholder: 'https://www.weclapp.com',
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
name: 'bankAccounts',
|
|
600
|
+
displayName: 'Bank Accounts',
|
|
601
|
+
description: 'Bank accounts of the party',
|
|
602
|
+
type: 'fixedCollection',
|
|
603
|
+
typeOptions: {
|
|
604
|
+
multipleValues: true,
|
|
605
|
+
},
|
|
606
|
+
default: '',
|
|
607
|
+
placeholder: 'Add Bank Account',
|
|
608
|
+
options: [
|
|
609
|
+
{
|
|
610
|
+
name: 'bankAccount',
|
|
611
|
+
displayName: 'Bank Account',
|
|
612
|
+
values: [
|
|
613
|
+
{
|
|
614
|
+
name: 'accountHolder',
|
|
615
|
+
displayName: 'Account Holder',
|
|
616
|
+
description: 'Name of the account holder',
|
|
617
|
+
type: 'string',
|
|
618
|
+
typeOptions: {
|
|
619
|
+
maxLength: 1000,
|
|
620
|
+
},
|
|
621
|
+
default: '',
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
name: 'accountNumber',
|
|
625
|
+
displayName: 'Account Number',
|
|
626
|
+
description: 'Account number of the bank account',
|
|
627
|
+
type: 'string',
|
|
628
|
+
typeOptions: {
|
|
629
|
+
maxLength: 1000,
|
|
630
|
+
},
|
|
631
|
+
default: '',
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
name: 'bankCode',
|
|
635
|
+
displayName: 'Bank Code',
|
|
636
|
+
description: 'Bank code of the bank account',
|
|
637
|
+
type: 'string',
|
|
638
|
+
typeOptions: {
|
|
639
|
+
maxLength: 1000,
|
|
640
|
+
},
|
|
641
|
+
default: '',
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
name: 'creditInstitute',
|
|
645
|
+
displayName: 'Credit Institute',
|
|
646
|
+
description: 'Credit institute of the bank account',
|
|
647
|
+
type: 'string',
|
|
648
|
+
typeOptions: {
|
|
649
|
+
maxLength: 1000,
|
|
650
|
+
},
|
|
651
|
+
default: '',
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
name: 'partyId',
|
|
655
|
+
displayName: 'Party ID',
|
|
656
|
+
description: 'ID of the party to which the bank account belongs',
|
|
657
|
+
type: 'string',
|
|
658
|
+
default: '',
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
name: 'primary',
|
|
662
|
+
displayName: 'Primary',
|
|
663
|
+
description: 'Whether the bank account is the primary bank account of the party',
|
|
664
|
+
type: 'boolean',
|
|
665
|
+
default: false,
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
},
|
|
669
|
+
],
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
name: 'commercialLanguageId',
|
|
673
|
+
displayName: 'Commercial Language ID',
|
|
674
|
+
description: 'ID of the commercial language of the party',
|
|
675
|
+
type: 'string',
|
|
676
|
+
default: '',
|
|
677
|
+
placeholder: '12345',
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
name: 'commissionBlock',
|
|
681
|
+
displayName: 'Commission Block',
|
|
682
|
+
description: 'Whether the party is blocked for commission',
|
|
683
|
+
type: 'boolean',
|
|
684
|
+
default: false,
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
name: 'commissionSalesPartners',
|
|
688
|
+
displayName: 'Commission Sales Partners',
|
|
689
|
+
description: 'Sales partners for commission of the party',
|
|
690
|
+
type: 'fixedCollection',
|
|
691
|
+
typeOptions: {
|
|
692
|
+
multipleValues: true,
|
|
693
|
+
},
|
|
694
|
+
default: '',
|
|
695
|
+
placeholder: 'Add Sales Partner',
|
|
696
|
+
options: [
|
|
697
|
+
{
|
|
698
|
+
name: 'salesPartner',
|
|
699
|
+
displayName: 'Sales Partner',
|
|
700
|
+
values: [
|
|
701
|
+
{
|
|
702
|
+
name: 'commissionFix',
|
|
703
|
+
displayName: 'Commission Fix',
|
|
704
|
+
description: 'Fixed commission amount for the sales partner',
|
|
705
|
+
type: 'number',
|
|
706
|
+
default: 0,
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
name: 'commissionPercentage',
|
|
710
|
+
displayName: 'Commission Percentage',
|
|
711
|
+
description: 'Commission percentage for the sales partner',
|
|
712
|
+
type: 'number',
|
|
713
|
+
default: 0,
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
name: 'commissionType',
|
|
717
|
+
displayName: 'Commission Type',
|
|
718
|
+
description: 'Type of commission for the sales partner',
|
|
719
|
+
type: 'options',
|
|
720
|
+
default: '',
|
|
721
|
+
options: [
|
|
722
|
+
{
|
|
723
|
+
name: 'Fix',
|
|
724
|
+
value: 'FIX',
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: 'Fix and Margin',
|
|
728
|
+
value: 'FIX_AND_MARGIN',
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
name: 'Fix and Revenue',
|
|
732
|
+
value: 'FIX_AND_REVENUE',
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
name: 'Margin',
|
|
736
|
+
value: 'MARGIN',
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
name: 'No Commission',
|
|
740
|
+
value: 'NO_COMMISSION',
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
name: 'Revenue',
|
|
744
|
+
value: 'REVENUE',
|
|
745
|
+
},
|
|
746
|
+
],
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
name: 'salesPartnerSupplierId',
|
|
750
|
+
displayName: 'Sales Partner Supplier ID',
|
|
751
|
+
description: 'ID of the sales partner supplier',
|
|
752
|
+
type: 'string',
|
|
753
|
+
default: '',
|
|
754
|
+
},
|
|
755
|
+
],
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
name: 'companySizeId',
|
|
761
|
+
displayName: 'Company Size ID',
|
|
762
|
+
description: 'ID of the company size of the party',
|
|
763
|
+
type: 'string',
|
|
764
|
+
default: '',
|
|
765
|
+
placeholder: '12345',
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
name: 'competitor',
|
|
769
|
+
displayName: 'Competitor',
|
|
770
|
+
description: 'Whether the party is a competitor',
|
|
771
|
+
type: 'boolean',
|
|
772
|
+
default: false,
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
name: 'currencyId',
|
|
776
|
+
displayName: 'Currency ID',
|
|
777
|
+
description: 'ID of the currency of the party',
|
|
778
|
+
type: 'string',
|
|
779
|
+
default: '',
|
|
780
|
+
placeholder: '12345',
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
name: 'customer',
|
|
784
|
+
displayName: 'Customer',
|
|
785
|
+
description: 'Whether the party is a customer',
|
|
786
|
+
type: 'boolean',
|
|
787
|
+
default: false,
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
name: 'customerActive',
|
|
791
|
+
displayName: 'Customer Active',
|
|
792
|
+
description: 'Whether the customer is active',
|
|
793
|
+
type: 'boolean',
|
|
794
|
+
default: false,
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
name: 'customerAllowDropshippingOrderCreation',
|
|
798
|
+
displayName: 'Customer Allow Dropshipping Order Creation',
|
|
799
|
+
description: 'Whether the customer allows dropshipping order creation',
|
|
800
|
+
type: 'boolean',
|
|
801
|
+
default: false,
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
name: 'customerAmountInsured',
|
|
805
|
+
displayName: 'Customer Amount Insured',
|
|
806
|
+
description: 'Amount insured for the customer',
|
|
807
|
+
type: 'number',
|
|
808
|
+
default: 0,
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
name: 'customerAnnualRevenue',
|
|
812
|
+
displayName: 'Customer Annual Revenue',
|
|
813
|
+
description: 'Annual revenue of the customer',
|
|
814
|
+
type: 'number',
|
|
815
|
+
default: 0,
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
name: 'customerBlockNotice',
|
|
819
|
+
displayName: 'Customer Block Notice',
|
|
820
|
+
description: 'Block notice of the customer',
|
|
821
|
+
type: 'string',
|
|
822
|
+
typeOptions: {
|
|
823
|
+
maxLength: 1000,
|
|
824
|
+
},
|
|
825
|
+
default: '',
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
name: 'customerBlocked',
|
|
829
|
+
displayName: 'Customer Blocked',
|
|
830
|
+
description: 'Whether the customer is blocked',
|
|
831
|
+
type: 'boolean',
|
|
832
|
+
default: false,
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
name: 'customerBusinessType',
|
|
836
|
+
displayName: 'Customer Business Type',
|
|
837
|
+
description: 'Business type of the customer',
|
|
838
|
+
type: 'options',
|
|
839
|
+
default: '',
|
|
840
|
+
options: [
|
|
841
|
+
{
|
|
842
|
+
name: 'B2B',
|
|
843
|
+
value: 'B2B',
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
name: 'B2C',
|
|
847
|
+
value: 'B2C',
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
name: 'B2G',
|
|
851
|
+
value: 'B2G',
|
|
852
|
+
},
|
|
853
|
+
],
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
name: 'customerCategoryId',
|
|
857
|
+
displayName: 'Customer Category ID',
|
|
858
|
+
description: 'ID of the customer category',
|
|
859
|
+
type: 'string',
|
|
860
|
+
default: '',
|
|
861
|
+
placeholder: '12345',
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
name: 'customerCreditLimit',
|
|
865
|
+
displayName: 'Customer Credit Limit',
|
|
866
|
+
description: 'Credit limit of the customer',
|
|
867
|
+
type: 'number',
|
|
868
|
+
default: 0,
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
name: 'customerCurrentSalesStageId',
|
|
872
|
+
displayName: 'Customer Current Sales Stage ID',
|
|
873
|
+
description: 'ID of the current sales stage of the customer',
|
|
874
|
+
type: 'string',
|
|
875
|
+
default: '',
|
|
876
|
+
placeholder: '12345',
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
name: 'customerDebtorAccountId',
|
|
880
|
+
displayName: 'Customer Debtor Account ID',
|
|
881
|
+
description: 'ID of the debtor account of the customer',
|
|
882
|
+
type: 'string',
|
|
883
|
+
default: '',
|
|
884
|
+
placeholder: '12345',
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
name: 'customerDebtorAccountingCodeId',
|
|
888
|
+
displayName: 'Customer Debtor Accounting Code ID',
|
|
889
|
+
description: 'ID of the debtor accounting code of the customer',
|
|
890
|
+
type: 'string',
|
|
891
|
+
default: '',
|
|
892
|
+
placeholder: '12345',
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
name: 'customerDefaultHeaderDiscount',
|
|
896
|
+
displayName: 'Customer Default Header Discount',
|
|
897
|
+
description: 'Default header discount of the customer',
|
|
898
|
+
type: 'number',
|
|
899
|
+
default: 0,
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
name: 'customerDefaultHeaderSurcharge',
|
|
903
|
+
displayName: 'Customer Default Header Surcharge',
|
|
904
|
+
description: 'Default header surcharge of the customer',
|
|
905
|
+
type: 'number',
|
|
906
|
+
default: 0,
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
name: 'customerDefaultShippingCarrierId',
|
|
910
|
+
displayName: 'Customer Default Shipping Carrier ID',
|
|
911
|
+
description: 'ID of the default shipping carrier of the customer',
|
|
912
|
+
type: 'string',
|
|
913
|
+
default: '',
|
|
914
|
+
placeholder: '12345',
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
name: 'customerDefaultWarehouseId',
|
|
918
|
+
displayName: 'Customer Default Warehouse ID',
|
|
919
|
+
description: 'ID of the default warehouse of the customer',
|
|
920
|
+
type: 'string',
|
|
921
|
+
default: '',
|
|
922
|
+
placeholder: '12345',
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
name: 'customerDeliveryBlock',
|
|
926
|
+
displayName: 'Customer Delivery Block',
|
|
927
|
+
description: 'Whether the customer has a delivery block',
|
|
928
|
+
type: 'boolean',
|
|
929
|
+
default: false,
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
name: 'customerInsolvent',
|
|
933
|
+
displayName: 'Customer Insolvent',
|
|
934
|
+
description: 'Whether the customer is insolvent',
|
|
935
|
+
type: 'boolean',
|
|
936
|
+
default: false,
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
name: 'customerInsured',
|
|
940
|
+
displayName: 'Customer Insured',
|
|
941
|
+
description: 'Whether the customer is insured',
|
|
942
|
+
type: 'boolean',
|
|
943
|
+
default: false,
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
name: 'customerInternalNote',
|
|
947
|
+
displayName: 'Customer Internal Note',
|
|
948
|
+
description: 'Internal note of the customer',
|
|
949
|
+
type: 'string',
|
|
950
|
+
default: '',
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
name: 'customerLossDescription',
|
|
954
|
+
displayName: 'Customer Loss Description',
|
|
955
|
+
description: 'Loss description of the customer',
|
|
956
|
+
type: 'string',
|
|
957
|
+
default: '',
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
name: 'customerLossReasonId',
|
|
961
|
+
displayName: 'Customer Loss Reason ID',
|
|
962
|
+
description: 'ID of the loss reason of the customer',
|
|
963
|
+
type: 'string',
|
|
964
|
+
default: '',
|
|
965
|
+
placeholder: '12345',
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
name: 'customerNonStandardTaxId',
|
|
969
|
+
displayName: 'Customer Non Standard Tax ID',
|
|
970
|
+
description: 'ID of the non-standard tax of the customer',
|
|
971
|
+
type: 'string',
|
|
972
|
+
default: '',
|
|
973
|
+
placeholder: '12345',
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
name: 'customerNumber',
|
|
977
|
+
displayName: 'Customer Number',
|
|
978
|
+
description: 'Number of the customer',
|
|
979
|
+
type: 'string',
|
|
980
|
+
typeOptions: {
|
|
981
|
+
maxLength: 1000,
|
|
982
|
+
},
|
|
983
|
+
default: '',
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
name: 'customerNumberOld',
|
|
987
|
+
displayName: 'Customer Number Old',
|
|
988
|
+
description: 'Old number of the customer',
|
|
989
|
+
type: 'string',
|
|
990
|
+
typeOptions: {
|
|
991
|
+
maxLength: 1000,
|
|
992
|
+
},
|
|
993
|
+
default: '',
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
name: 'customerPaymentMethodId',
|
|
997
|
+
displayName: 'Customer Payment Method ID',
|
|
998
|
+
description: 'ID of the payment method of the customer',
|
|
999
|
+
type: 'string',
|
|
1000
|
+
default: '',
|
|
1001
|
+
placeholder: '12345',
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
name: 'customerSalesChannel',
|
|
1005
|
+
displayName: 'Customer Sales Channel',
|
|
1006
|
+
description: 'Sales channel of the customer',
|
|
1007
|
+
type: 'options',
|
|
1008
|
+
default: '',
|
|
1009
|
+
options: enum_1.CUSTOMER_SALES_CHANNELS,
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
name: 'customerSalesOrderPaymentType',
|
|
1013
|
+
displayName: 'Customer Sales Order Payment Type',
|
|
1014
|
+
description: 'Sales order payment type of the customer',
|
|
1015
|
+
type: 'options',
|
|
1016
|
+
default: '',
|
|
1017
|
+
options: [
|
|
1018
|
+
{
|
|
1019
|
+
name: 'Advance Payment',
|
|
1020
|
+
value: 'ADVANCE_PAYMENT',
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
name: 'Counter Sales',
|
|
1024
|
+
value: 'COUNTER_SALES',
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
name: 'Part Payment',
|
|
1028
|
+
value: 'PART_PAYMENT',
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
name: 'Prepayment',
|
|
1032
|
+
value: 'PREPAYMENT',
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
name: 'Standard',
|
|
1036
|
+
value: 'STANDARD',
|
|
1037
|
+
},
|
|
1038
|
+
],
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
name: 'customerSalesProbability',
|
|
1042
|
+
displayName: 'Customer Sales Probability',
|
|
1043
|
+
description: 'Sales probability of the customer',
|
|
1044
|
+
type: 'number',
|
|
1045
|
+
default: 0,
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
name: 'customerSatisfaction',
|
|
1049
|
+
displayName: 'Customer Satisfaction',
|
|
1050
|
+
description: 'Satisfaction of the customer',
|
|
1051
|
+
type: 'options',
|
|
1052
|
+
default: '',
|
|
1053
|
+
options: [
|
|
1054
|
+
{
|
|
1055
|
+
name: 'Neutral',
|
|
1056
|
+
value: 'NEUTRAL',
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
name: 'Satisfied',
|
|
1060
|
+
value: 'SATISFIED',
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
name: 'Unsatisfied',
|
|
1064
|
+
value: 'UNSATISFIED',
|
|
1065
|
+
},
|
|
1066
|
+
],
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
name: 'customerShipmentMethodId',
|
|
1070
|
+
displayName: 'Customer Shipment Method ID',
|
|
1071
|
+
description: 'ID of the shipment method of the customer',
|
|
1072
|
+
type: 'string',
|
|
1073
|
+
default: '',
|
|
1074
|
+
placeholder: '12345',
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
name: 'customerSupplierNumber',
|
|
1078
|
+
displayName: 'Customer Supplier Number',
|
|
1079
|
+
description: 'Supplier number of the customer',
|
|
1080
|
+
type: 'string',
|
|
1081
|
+
typeOptions: {
|
|
1082
|
+
maxLength: 1000,
|
|
1083
|
+
},
|
|
1084
|
+
default: '',
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
name: 'customerTermOfPaymentId',
|
|
1088
|
+
displayName: 'Customer Term Of Payment ID',
|
|
1089
|
+
description: 'ID of the term of payment of the customer',
|
|
1090
|
+
type: 'string',
|
|
1091
|
+
default: '',
|
|
1092
|
+
placeholder: '12345',
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
name: 'customerUseCustomsTariffNumber',
|
|
1096
|
+
displayName: 'Customer Use Customs Tariff Number',
|
|
1097
|
+
description: 'Whether the customer uses customs tariff numbers',
|
|
1098
|
+
type: 'boolean',
|
|
1099
|
+
default: false,
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: 'deliveryEmailAddressesId',
|
|
1103
|
+
displayName: 'Delivery Email Addresses ID',
|
|
1104
|
+
description: 'ID of the delivery email addresses',
|
|
1105
|
+
type: 'string',
|
|
1106
|
+
default: '',
|
|
1107
|
+
placeholder: '12345',
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
name: 'description',
|
|
1111
|
+
displayName: 'Description',
|
|
1112
|
+
description: 'Description of the party',
|
|
1113
|
+
type: 'string',
|
|
1114
|
+
default: '',
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
name: 'dunningAddressId',
|
|
1118
|
+
displayName: 'Dunning Address ID',
|
|
1119
|
+
description: 'ID of the dunning address',
|
|
1120
|
+
type: 'string',
|
|
1121
|
+
default: '',
|
|
1122
|
+
placeholder: '12345',
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
name: 'dunningEmailAddressesId',
|
|
1126
|
+
displayName: 'Dunning Email Addresses ID',
|
|
1127
|
+
description: 'ID of the dunning email addresses',
|
|
1128
|
+
type: 'string',
|
|
1129
|
+
default: '',
|
|
1130
|
+
placeholder: '12345',
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
name: 'enableDropshippingInNewSupplySources',
|
|
1134
|
+
displayName: 'Enable Dropshipping In New Supply Sources',
|
|
1135
|
+
description: 'Whether to enable dropshipping in new supply sources',
|
|
1136
|
+
type: 'boolean',
|
|
1137
|
+
default: false,
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
name: 'eoriNumber',
|
|
1141
|
+
displayName: 'EORI Number',
|
|
1142
|
+
description: 'EORI number of the party',
|
|
1143
|
+
type: 'string',
|
|
1144
|
+
typeOptions: {
|
|
1145
|
+
maxLength: 1000,
|
|
1146
|
+
},
|
|
1147
|
+
default: '',
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
name: 'factoring',
|
|
1151
|
+
displayName: 'Factoring',
|
|
1152
|
+
description: 'Whether factoring is enabled',
|
|
1153
|
+
type: 'boolean',
|
|
1154
|
+
default: false,
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
name: 'fixPhone2',
|
|
1158
|
+
displayName: 'Fixed Phone 2',
|
|
1159
|
+
description: 'Second fixed phone number of the party',
|
|
1160
|
+
type: 'string',
|
|
1161
|
+
typeOptions: {
|
|
1162
|
+
maxLength: 1000,
|
|
1163
|
+
},
|
|
1164
|
+
default: '',
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
name: 'fixedResponsibleUser',
|
|
1168
|
+
displayName: 'Fixed Responsible User',
|
|
1169
|
+
description: 'Whether the responsible user is fixed',
|
|
1170
|
+
type: 'boolean',
|
|
1171
|
+
default: false,
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
name: 'formerSalesPartner',
|
|
1175
|
+
displayName: 'Former Sales Partner',
|
|
1176
|
+
description: 'Whether the party is a former sales partner',
|
|
1177
|
+
type: 'boolean',
|
|
1178
|
+
default: false,
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
name: 'habitualExporter',
|
|
1182
|
+
displayName: 'Habitual Exporter',
|
|
1183
|
+
description: 'Whether the party is a habitual exporter',
|
|
1184
|
+
type: 'boolean',
|
|
1185
|
+
default: false,
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
name: 'imageId',
|
|
1189
|
+
displayName: 'Image ID',
|
|
1190
|
+
description: 'ID of the image of the party',
|
|
1191
|
+
type: 'string',
|
|
1192
|
+
default: '',
|
|
1193
|
+
placeholder: '12345',
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
name: 'invoiceBlock',
|
|
1197
|
+
displayName: 'Invoice Block',
|
|
1198
|
+
description: 'Whether the party has an invoice block',
|
|
1199
|
+
type: 'boolean',
|
|
1200
|
+
default: false,
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
name: 'invoiceRecipientId',
|
|
1204
|
+
displayName: 'Invoice Recipient ID',
|
|
1205
|
+
description: 'ID of the invoice recipient',
|
|
1206
|
+
type: 'string',
|
|
1207
|
+
default: '',
|
|
1208
|
+
placeholder: '12345',
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
name: 'leadRatingId',
|
|
1212
|
+
displayName: 'Lead Rating ID',
|
|
1213
|
+
description: 'ID of the lead rating',
|
|
1214
|
+
type: 'string',
|
|
1215
|
+
default: '',
|
|
1216
|
+
placeholder: '12345',
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
name: 'leadSourceId',
|
|
1220
|
+
displayName: 'Lead Source ID',
|
|
1221
|
+
description: 'ID of the lead source',
|
|
1222
|
+
type: 'string',
|
|
1223
|
+
default: '',
|
|
1224
|
+
placeholder: '12345',
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
name: 'leadStatus',
|
|
1228
|
+
displayName: 'Lead Status',
|
|
1229
|
+
description: 'Lead status of the party',
|
|
1230
|
+
type: 'options',
|
|
1231
|
+
default: '',
|
|
1232
|
+
options: [
|
|
1233
|
+
{
|
|
1234
|
+
name: 'Converted',
|
|
1235
|
+
value: 'CONVERTED',
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
name: 'Disqualified',
|
|
1239
|
+
value: 'DISQUALIFIED',
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
name: 'New',
|
|
1243
|
+
value: 'NEW',
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
name: 'Prequalified',
|
|
1247
|
+
value: 'PREQUALIFIED',
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
name: 'Qualified',
|
|
1251
|
+
value: 'QUALIFIED',
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
name: 'legalFormId',
|
|
1257
|
+
displayName: 'Legal Form ID',
|
|
1258
|
+
description: 'ID of the legal form of the party',
|
|
1259
|
+
type: 'string',
|
|
1260
|
+
default: '',
|
|
1261
|
+
placeholder: '12345',
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
name: 'mobilePhone2',
|
|
1265
|
+
displayName: 'Mobile Phone 2',
|
|
1266
|
+
description: 'Second mobile phone number of the party',
|
|
1267
|
+
type: 'string',
|
|
1268
|
+
typeOptions: {
|
|
1269
|
+
maxLength: 1000,
|
|
1270
|
+
},
|
|
1271
|
+
default: '',
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
name: 'optInEmail',
|
|
1275
|
+
displayName: 'Opt In Email',
|
|
1276
|
+
description: 'Whether the party opted in to email communication',
|
|
1277
|
+
type: 'boolean',
|
|
1278
|
+
default: false,
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
name: 'optInLetter',
|
|
1282
|
+
displayName: 'Opt In Letter',
|
|
1283
|
+
description: 'Whether the party opted in to letter communication',
|
|
1284
|
+
type: 'boolean',
|
|
1285
|
+
default: false,
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
name: 'optInPhone',
|
|
1289
|
+
displayName: 'Opt In Phone',
|
|
1290
|
+
description: 'Whether the party opted in to phone communication',
|
|
1291
|
+
type: 'boolean',
|
|
1292
|
+
default: false,
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
name: 'optInSms',
|
|
1296
|
+
displayName: 'Opt In SMS',
|
|
1297
|
+
description: 'Whether the party opted in to SMS communication',
|
|
1298
|
+
type: 'boolean',
|
|
1299
|
+
default: false,
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
name: 'parentPartyId',
|
|
1303
|
+
displayName: 'Parent Party ID',
|
|
1304
|
+
description: 'ID of the parent party',
|
|
1305
|
+
type: 'string',
|
|
1306
|
+
default: '',
|
|
1307
|
+
placeholder: '12345',
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
name: 'contacts',
|
|
1311
|
+
displayName: 'Contacts',
|
|
1312
|
+
description: 'Contacts as a JSON array',
|
|
1313
|
+
type: 'json',
|
|
1314
|
+
default: '[]',
|
|
1315
|
+
placeholder: '[{}]',
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
name: 'partyEmailAddresses',
|
|
1319
|
+
displayName: 'Party Email Addresses',
|
|
1320
|
+
description: 'Party email addresses as a JSON array',
|
|
1321
|
+
type: 'json',
|
|
1322
|
+
default: '[]',
|
|
1323
|
+
placeholder: '[{"toAddresses":"sales@example.com"}]',
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
name: 'partyHabitualExporterLettersOfIntent',
|
|
1327
|
+
displayName: 'Party Habitual Exporter Letters Of Intent',
|
|
1328
|
+
description: 'Habitual exporter letters of intent as a JSON array',
|
|
1329
|
+
type: 'json',
|
|
1330
|
+
default: '[]',
|
|
1331
|
+
placeholder: '[{"automaticallySuggestInInvoice":true,"date":1735689600000,"type":"SINGLE_ACCOUNTING_EVENT"}]',
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
name: 'phoneHome',
|
|
1335
|
+
displayName: 'Phone Home',
|
|
1336
|
+
description: 'Home phone number of the party',
|
|
1337
|
+
type: 'string',
|
|
1338
|
+
typeOptions: {
|
|
1339
|
+
maxLength: 1000,
|
|
1340
|
+
},
|
|
1341
|
+
default: '',
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
name: 'primaryContactId',
|
|
1345
|
+
displayName: 'Primary Contact ID',
|
|
1346
|
+
description: 'ID of the primary contact',
|
|
1347
|
+
type: 'string',
|
|
1348
|
+
default: '',
|
|
1349
|
+
placeholder: '12345',
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: 'purchaseEmailAddressesId',
|
|
1353
|
+
displayName: 'Purchase Email Addresses ID',
|
|
1354
|
+
description: 'ID of the purchase email addresses',
|
|
1355
|
+
type: 'string',
|
|
1356
|
+
default: '',
|
|
1357
|
+
placeholder: '12345',
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
name: 'purchaseViaPlafond',
|
|
1361
|
+
displayName: 'Purchase Via Plafond',
|
|
1362
|
+
description: 'Whether purchase via plafond is enabled',
|
|
1363
|
+
type: 'boolean',
|
|
1364
|
+
default: false,
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
name: 'quotationEmailAddressesId',
|
|
1368
|
+
displayName: 'Quotation Email Addresses ID',
|
|
1369
|
+
description: 'ID of the quotation email addresses',
|
|
1370
|
+
type: 'string',
|
|
1371
|
+
default: '',
|
|
1372
|
+
placeholder: '12345',
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
name: 'ratingId',
|
|
1376
|
+
displayName: 'Rating ID',
|
|
1377
|
+
description: 'ID of the rating',
|
|
1378
|
+
type: 'string',
|
|
1379
|
+
default: '',
|
|
1380
|
+
placeholder: '12345',
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
name: 'referenceNumber',
|
|
1384
|
+
displayName: 'Reference Number',
|
|
1385
|
+
description: 'Reference number of the party',
|
|
1386
|
+
type: 'string',
|
|
1387
|
+
typeOptions: {
|
|
1388
|
+
maxLength: 1000,
|
|
1389
|
+
},
|
|
1390
|
+
default: '',
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
name: 'responsibleUserId',
|
|
1394
|
+
displayName: 'Responsible User ID',
|
|
1395
|
+
description: 'ID of the responsible user',
|
|
1396
|
+
type: 'string',
|
|
1397
|
+
default: '',
|
|
1398
|
+
placeholder: '12345',
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
name: 'salesInvoiceEmailAddressesId',
|
|
1402
|
+
displayName: 'Sales Invoice Email Addresses ID',
|
|
1403
|
+
description: 'ID of the sales invoice email addresses',
|
|
1404
|
+
type: 'string',
|
|
1405
|
+
default: '',
|
|
1406
|
+
placeholder: '12345',
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
name: 'salesOrderEmailAddressesId',
|
|
1410
|
+
displayName: 'Sales Order Email Addresses ID',
|
|
1411
|
+
description: 'ID of the sales order email addresses',
|
|
1412
|
+
type: 'string',
|
|
1413
|
+
default: '',
|
|
1414
|
+
placeholder: '12345',
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
name: 'salesPartner',
|
|
1418
|
+
displayName: 'Sales Partner',
|
|
1419
|
+
description: 'Whether the party is a sales partner',
|
|
1420
|
+
type: 'boolean',
|
|
1421
|
+
default: false,
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
name: 'salesPartnerDefaultCommissionFix',
|
|
1425
|
+
displayName: 'Sales Partner Default Commission Fix',
|
|
1426
|
+
description: 'Default fixed commission for the sales partner',
|
|
1427
|
+
type: 'number',
|
|
1428
|
+
default: 0,
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
name: 'salesPartnerDefaultCommissionPercentage',
|
|
1432
|
+
displayName: 'Sales Partner Default Commission Percentage',
|
|
1433
|
+
description: 'Default commission percentage for the sales partner',
|
|
1434
|
+
type: 'number',
|
|
1435
|
+
default: 0,
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
name: 'salesPartnerDefaultCommissionType',
|
|
1439
|
+
displayName: 'Sales Partner Default Commission Type',
|
|
1440
|
+
description: 'Default commission type for the sales partner',
|
|
1441
|
+
type: 'options',
|
|
1442
|
+
default: '',
|
|
1443
|
+
options: [
|
|
1444
|
+
{
|
|
1445
|
+
name: 'Fix',
|
|
1446
|
+
value: 'FIX',
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
name: 'Fix and Margin',
|
|
1450
|
+
value: 'FIX_AND_MARGIN',
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
name: 'Fix and Revenue',
|
|
1454
|
+
value: 'FIX_AND_REVENUE',
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
name: 'Margin',
|
|
1458
|
+
value: 'MARGIN',
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
name: 'No Commission',
|
|
1462
|
+
value: 'NO_COMMISSION',
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
name: 'Revenue',
|
|
1466
|
+
value: 'REVENUE',
|
|
1467
|
+
},
|
|
1468
|
+
],
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
name: 'sectorId',
|
|
1472
|
+
displayName: 'Sector ID',
|
|
1473
|
+
description: 'ID of the sector of the party',
|
|
1474
|
+
type: 'string',
|
|
1475
|
+
default: '',
|
|
1476
|
+
placeholder: '12345',
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
name: 'supplier',
|
|
1480
|
+
displayName: 'Supplier',
|
|
1481
|
+
description: 'Whether the party is a supplier',
|
|
1482
|
+
type: 'boolean',
|
|
1483
|
+
default: false,
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
name: 'supplierActive',
|
|
1487
|
+
displayName: 'Supplier Active',
|
|
1488
|
+
description: 'Whether the supplier is active',
|
|
1489
|
+
type: 'boolean',
|
|
1490
|
+
default: false,
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
name: 'supplierCreditorAccountId',
|
|
1494
|
+
displayName: 'Supplier Creditor Account ID',
|
|
1495
|
+
description: 'ID of the creditor account of the supplier',
|
|
1496
|
+
type: 'string',
|
|
1497
|
+
default: '',
|
|
1498
|
+
placeholder: '12345',
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
name: 'supplierCreditorAccountingCodeId',
|
|
1502
|
+
displayName: 'Supplier Creditor Accounting Code ID',
|
|
1503
|
+
description: 'ID of the creditor accounting code of the supplier',
|
|
1504
|
+
type: 'string',
|
|
1505
|
+
default: '',
|
|
1506
|
+
placeholder: '12345',
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
name: 'supplierCustomerNumberAtSupplier',
|
|
1510
|
+
displayName: 'Supplier Customer Number At Supplier',
|
|
1511
|
+
description: 'Customer number at the supplier',
|
|
1512
|
+
type: 'string',
|
|
1513
|
+
typeOptions: {
|
|
1514
|
+
maxLength: 64,
|
|
1515
|
+
},
|
|
1516
|
+
default: '',
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
name: 'supplierDefaultShippingCarrierId',
|
|
1520
|
+
displayName: 'Supplier Default Shipping Carrier ID',
|
|
1521
|
+
description: 'ID of the default shipping carrier of the supplier',
|
|
1522
|
+
type: 'string',
|
|
1523
|
+
default: '',
|
|
1524
|
+
placeholder: '12345',
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
name: 'supplierInternalNote',
|
|
1528
|
+
displayName: 'Supplier Internal Note',
|
|
1529
|
+
description: 'Internal note of the supplier',
|
|
1530
|
+
type: 'string',
|
|
1531
|
+
default: '',
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
name: 'supplierMergeItemsForOcrInvoiceUpload',
|
|
1535
|
+
displayName: 'Supplier Merge Items For OCR Invoice Upload',
|
|
1536
|
+
description: 'Whether to merge items for OCR invoice upload',
|
|
1537
|
+
type: 'boolean',
|
|
1538
|
+
default: false,
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
name: 'supplierMinimumPurchaseOrderAmount',
|
|
1542
|
+
displayName: 'Supplier Minimum Purchase Order Amount',
|
|
1543
|
+
description: 'Minimum purchase order amount of the supplier',
|
|
1544
|
+
type: 'number',
|
|
1545
|
+
default: 0,
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
name: 'supplierNonStandardTaxId',
|
|
1549
|
+
displayName: 'Supplier Non Standard Tax ID',
|
|
1550
|
+
description: 'ID of the non-standard tax of the supplier',
|
|
1551
|
+
type: 'string',
|
|
1552
|
+
default: '',
|
|
1553
|
+
placeholder: '12345',
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
name: 'supplierNumber',
|
|
1557
|
+
displayName: 'Supplier Number',
|
|
1558
|
+
description: 'Number of the supplier',
|
|
1559
|
+
type: 'string',
|
|
1560
|
+
typeOptions: {
|
|
1561
|
+
maxLength: 1000,
|
|
1562
|
+
},
|
|
1563
|
+
default: '',
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: 'supplierNumberOld',
|
|
1567
|
+
displayName: 'Supplier Number Old',
|
|
1568
|
+
description: 'Old number of the supplier',
|
|
1569
|
+
type: 'string',
|
|
1570
|
+
typeOptions: {
|
|
1571
|
+
maxLength: 1000,
|
|
1572
|
+
},
|
|
1573
|
+
default: '',
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
name: 'supplierOrderBlock',
|
|
1577
|
+
displayName: 'Supplier Order Block',
|
|
1578
|
+
description: 'Whether the supplier has an order block',
|
|
1579
|
+
type: 'boolean',
|
|
1580
|
+
default: false,
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
name: 'supplierPaymentMethodId',
|
|
1584
|
+
displayName: 'Supplier Payment Method ID',
|
|
1585
|
+
description: 'ID of the payment method of the supplier',
|
|
1586
|
+
type: 'string',
|
|
1587
|
+
default: '',
|
|
1588
|
+
placeholder: '12345',
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
name: 'supplierShipmentMethodId',
|
|
1592
|
+
displayName: 'Supplier Shipment Method ID',
|
|
1593
|
+
description: 'ID of the shipment method of the supplier',
|
|
1594
|
+
type: 'string',
|
|
1595
|
+
default: '',
|
|
1596
|
+
placeholder: '12345',
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
name: 'supplierTermOfPaymentId',
|
|
1600
|
+
displayName: 'Supplier Term Of Payment ID',
|
|
1601
|
+
description: 'ID of the term of payment of the supplier',
|
|
1602
|
+
type: 'string',
|
|
1603
|
+
default: '',
|
|
1604
|
+
placeholder: '12345',
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
name: 'taxId',
|
|
1608
|
+
displayName: 'Tax ID',
|
|
1609
|
+
description: 'Tax ID of the party',
|
|
1610
|
+
type: 'string',
|
|
1611
|
+
typeOptions: {
|
|
1612
|
+
maxLength: 1000,
|
|
1613
|
+
},
|
|
1614
|
+
default: '',
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
name: 'topics',
|
|
1618
|
+
displayName: 'Topics',
|
|
1619
|
+
description: 'Topics as a JSON array',
|
|
1620
|
+
type: 'json',
|
|
1621
|
+
default: '[]',
|
|
1622
|
+
placeholder: '[{}]',
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
name: 'vatIdentificationNumber',
|
|
1626
|
+
displayName: 'VAT Identification Number',
|
|
1627
|
+
description: 'VAT identification number of the party',
|
|
1628
|
+
type: 'string',
|
|
1629
|
+
typeOptions: {
|
|
1630
|
+
maxLength: 1000,
|
|
1631
|
+
},
|
|
1632
|
+
default: '',
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
name: 'xRechnungLeitwegId',
|
|
1636
|
+
displayName: 'XRechnung Leitweg ID',
|
|
1637
|
+
description: 'XRechnung Leitweg ID of the party',
|
|
1638
|
+
type: 'string',
|
|
1639
|
+
typeOptions: {
|
|
1640
|
+
maxLength: 46,
|
|
1641
|
+
},
|
|
1642
|
+
default: '',
|
|
1643
|
+
},
|
|
1644
|
+
],
|
|
1645
|
+
},
|
|
1646
|
+
];
|
|
1647
|
+
const displayOptions = {
|
|
1648
|
+
show: {
|
|
1649
|
+
resource: ['party'],
|
|
1650
|
+
operation: ['create'],
|
|
1651
|
+
},
|
|
1652
|
+
};
|
|
1653
|
+
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
1654
|
+
//# sourceMappingURL=create.operation.js.map
|