n8n-nodes-perfexcrm 0.1.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.
@@ -0,0 +1,421 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerFields = exports.customerOperations = void 0;
4
+ exports.customerOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['customer'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Create',
18
+ value: 'create',
19
+ description: 'Create a new customer',
20
+ action: 'Create a customer',
21
+ },
22
+ {
23
+ name: 'Delete',
24
+ value: 'delete',
25
+ description: 'Delete a customer',
26
+ action: 'Delete a customer',
27
+ },
28
+ {
29
+ name: 'Get',
30
+ value: 'get',
31
+ description: 'Get a customer',
32
+ action: 'Get a customer',
33
+ },
34
+ {
35
+ name: 'Get Many',
36
+ value: 'getAll',
37
+ description: 'Get many customers',
38
+ action: 'Get many customers',
39
+ },
40
+ {
41
+ name: 'Update',
42
+ value: 'update',
43
+ description: 'Update a customer',
44
+ action: 'Update a customer',
45
+ },
46
+ ],
47
+ default: 'create',
48
+ },
49
+ ];
50
+ exports.customerFields = [
51
+ /* -------------------------------------------------------------------------- */
52
+ /* customer:create */
53
+ /* -------------------------------------------------------------------------- */
54
+ {
55
+ displayName: 'Company',
56
+ name: 'company',
57
+ type: 'string',
58
+ required: true,
59
+ default: '',
60
+ displayOptions: {
61
+ show: {
62
+ resource: ['customer'],
63
+ operation: ['create'],
64
+ },
65
+ },
66
+ description: 'Company name',
67
+ },
68
+ {
69
+ displayName: 'Additional Fields',
70
+ name: 'additionalFields',
71
+ type: 'collection',
72
+ placeholder: 'Add Field',
73
+ default: {},
74
+ displayOptions: {
75
+ show: {
76
+ resource: ['customer'],
77
+ operation: ['create'],
78
+ },
79
+ },
80
+ options: [
81
+ {
82
+ displayName: 'VAT',
83
+ name: 'vat',
84
+ type: 'string',
85
+ default: '',
86
+ description: 'VAT number',
87
+ },
88
+ {
89
+ displayName: 'Phone',
90
+ name: 'phonenumber',
91
+ type: 'string',
92
+ default: '',
93
+ description: 'Phone number',
94
+ },
95
+ {
96
+ displayName: 'Country',
97
+ name: 'country',
98
+ type: 'string',
99
+ default: '',
100
+ description: 'Country',
101
+ },
102
+ {
103
+ displayName: 'City',
104
+ name: 'city',
105
+ type: 'string',
106
+ default: '',
107
+ description: 'City',
108
+ },
109
+ {
110
+ displayName: 'Zip',
111
+ name: 'zip',
112
+ type: 'string',
113
+ default: '',
114
+ description: 'Zip code',
115
+ },
116
+ {
117
+ displayName: 'State',
118
+ name: 'state',
119
+ type: 'string',
120
+ default: '',
121
+ description: 'State',
122
+ },
123
+ {
124
+ displayName: 'Address',
125
+ name: 'address',
126
+ type: 'string',
127
+ default: '',
128
+ description: 'Address',
129
+ },
130
+ {
131
+ displayName: 'Website',
132
+ name: 'website',
133
+ type: 'string',
134
+ default: '',
135
+ description: 'Website URL',
136
+ },
137
+ {
138
+ displayName: 'Billing Street',
139
+ name: 'billing_street',
140
+ type: 'string',
141
+ default: '',
142
+ description: 'Billing street address',
143
+ },
144
+ {
145
+ displayName: 'Billing City',
146
+ name: 'billing_city',
147
+ type: 'string',
148
+ default: '',
149
+ description: 'Billing city',
150
+ },
151
+ {
152
+ displayName: 'Billing State',
153
+ name: 'billing_state',
154
+ type: 'string',
155
+ default: '',
156
+ description: 'Billing state',
157
+ },
158
+ {
159
+ displayName: 'Billing Zip',
160
+ name: 'billing_zip',
161
+ type: 'string',
162
+ default: '',
163
+ description: 'Billing zip code',
164
+ },
165
+ {
166
+ displayName: 'Billing Country',
167
+ name: 'billing_country',
168
+ type: 'string',
169
+ default: '',
170
+ description: 'Billing country',
171
+ },
172
+ {
173
+ displayName: 'Shipping Street',
174
+ name: 'shipping_street',
175
+ type: 'string',
176
+ default: '',
177
+ description: 'Shipping street address',
178
+ },
179
+ {
180
+ displayName: 'Shipping City',
181
+ name: 'shipping_city',
182
+ type: 'string',
183
+ default: '',
184
+ description: 'Shipping city',
185
+ },
186
+ {
187
+ displayName: 'Shipping State',
188
+ name: 'shipping_state',
189
+ type: 'string',
190
+ default: '',
191
+ description: 'Shipping state',
192
+ },
193
+ {
194
+ displayName: 'Shipping Zip',
195
+ name: 'shipping_zip',
196
+ type: 'string',
197
+ default: '',
198
+ description: 'Shipping zip code',
199
+ },
200
+ {
201
+ displayName: 'Shipping Country',
202
+ name: 'shipping_country',
203
+ type: 'string',
204
+ default: '',
205
+ description: 'Shipping country',
206
+ },
207
+ ],
208
+ },
209
+ /* -------------------------------------------------------------------------- */
210
+ /* customer:get */
211
+ /* -------------------------------------------------------------------------- */
212
+ {
213
+ displayName: 'Customer ID',
214
+ name: 'customerId',
215
+ type: 'string',
216
+ required: true,
217
+ default: '',
218
+ displayOptions: {
219
+ show: {
220
+ resource: ['customer'],
221
+ operation: ['get'],
222
+ },
223
+ },
224
+ description: 'The ID of the customer',
225
+ },
226
+ /* -------------------------------------------------------------------------- */
227
+ /* customer:getAll */
228
+ /* -------------------------------------------------------------------------- */
229
+ {
230
+ displayName: 'Return All',
231
+ name: 'returnAll',
232
+ type: 'boolean',
233
+ displayOptions: {
234
+ show: {
235
+ resource: ['customer'],
236
+ operation: ['getAll'],
237
+ },
238
+ },
239
+ default: false,
240
+ description: 'Whether to return all results or only up to a given limit',
241
+ },
242
+ {
243
+ displayName: 'Limit',
244
+ name: 'limit',
245
+ type: 'number',
246
+ displayOptions: {
247
+ show: {
248
+ resource: ['customer'],
249
+ operation: ['getAll'],
250
+ returnAll: [false],
251
+ },
252
+ },
253
+ typeOptions: {
254
+ minValue: 1,
255
+ },
256
+ default: 50,
257
+ description: 'Max number of results to return',
258
+ },
259
+ {
260
+ displayName: 'Filters',
261
+ name: 'filters',
262
+ type: 'collection',
263
+ placeholder: 'Add Filter',
264
+ default: {},
265
+ displayOptions: {
266
+ show: {
267
+ resource: ['customer'],
268
+ operation: ['getAll'],
269
+ },
270
+ },
271
+ options: [
272
+ {
273
+ displayName: 'Active',
274
+ name: 'active',
275
+ type: 'options',
276
+ options: [
277
+ {
278
+ name: 'All',
279
+ value: '',
280
+ },
281
+ {
282
+ name: 'Active',
283
+ value: '1',
284
+ },
285
+ {
286
+ name: 'Inactive',
287
+ value: '0',
288
+ },
289
+ ],
290
+ default: '',
291
+ description: 'Filter by active status',
292
+ },
293
+ {
294
+ displayName: 'Search',
295
+ name: 'search',
296
+ type: 'string',
297
+ default: '',
298
+ description: 'Search term',
299
+ },
300
+ ],
301
+ },
302
+ /* -------------------------------------------------------------------------- */
303
+ /* customer:update */
304
+ /* -------------------------------------------------------------------------- */
305
+ {
306
+ displayName: 'Customer ID',
307
+ name: 'customerId',
308
+ type: 'string',
309
+ required: true,
310
+ default: '',
311
+ displayOptions: {
312
+ show: {
313
+ resource: ['customer'],
314
+ operation: ['update'],
315
+ },
316
+ },
317
+ description: 'The ID of the customer',
318
+ },
319
+ {
320
+ displayName: 'Update Fields',
321
+ name: 'updateFields',
322
+ type: 'collection',
323
+ placeholder: 'Add Field',
324
+ default: {},
325
+ displayOptions: {
326
+ show: {
327
+ resource: ['customer'],
328
+ operation: ['update'],
329
+ },
330
+ },
331
+ options: [
332
+ {
333
+ displayName: 'Company',
334
+ name: 'company',
335
+ type: 'string',
336
+ default: '',
337
+ description: 'Company name',
338
+ },
339
+ {
340
+ displayName: 'VAT',
341
+ name: 'vat',
342
+ type: 'string',
343
+ default: '',
344
+ description: 'VAT number',
345
+ },
346
+ {
347
+ displayName: 'Phone',
348
+ name: 'phonenumber',
349
+ type: 'string',
350
+ default: '',
351
+ description: 'Phone number',
352
+ },
353
+ {
354
+ displayName: 'Country',
355
+ name: 'country',
356
+ type: 'string',
357
+ default: '',
358
+ description: 'Country',
359
+ },
360
+ {
361
+ displayName: 'City',
362
+ name: 'city',
363
+ type: 'string',
364
+ default: '',
365
+ description: 'City',
366
+ },
367
+ {
368
+ displayName: 'Zip',
369
+ name: 'zip',
370
+ type: 'string',
371
+ default: '',
372
+ description: 'Zip code',
373
+ },
374
+ {
375
+ displayName: 'State',
376
+ name: 'state',
377
+ type: 'string',
378
+ default: '',
379
+ description: 'State',
380
+ },
381
+ {
382
+ displayName: 'Address',
383
+ name: 'address',
384
+ type: 'string',
385
+ default: '',
386
+ description: 'Address',
387
+ },
388
+ {
389
+ displayName: 'Website',
390
+ name: 'website',
391
+ type: 'string',
392
+ default: '',
393
+ description: 'Website URL',
394
+ },
395
+ {
396
+ displayName: 'Active',
397
+ name: 'active',
398
+ type: 'boolean',
399
+ default: true,
400
+ description: 'Whether the customer is active',
401
+ },
402
+ ],
403
+ },
404
+ /* -------------------------------------------------------------------------- */
405
+ /* customer:delete */
406
+ /* -------------------------------------------------------------------------- */
407
+ {
408
+ displayName: 'Customer ID',
409
+ name: 'customerId',
410
+ type: 'string',
411
+ required: true,
412
+ default: '',
413
+ displayOptions: {
414
+ show: {
415
+ resource: ['customer'],
416
+ operation: ['delete'],
417
+ },
418
+ },
419
+ description: 'The ID of the customer',
420
+ },
421
+ ];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const invoiceOperations: INodeProperties[];
3
+ export declare const invoiceFields: INodeProperties[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.invoiceFields = exports.invoiceOperations = void 0;
4
+ exports.invoiceOperations = [];
5
+ exports.invoiceFields = [];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const leadOperations: INodeProperties[];
3
+ export declare const leadFields: INodeProperties[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.leadFields = exports.leadOperations = void 0;
4
+ exports.leadOperations = [];
5
+ exports.leadFields = [];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const projectOperations: INodeProperties[];
3
+ export declare const projectFields: INodeProperties[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.projectFields = exports.projectOperations = void 0;
4
+ exports.projectOperations = [];
5
+ exports.projectFields = [];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const ticketOperations: INodeProperties[];
3
+ export declare const ticketFields: INodeProperties[];