n8n-nodes-hamkar 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,8 +131,7 @@ class Hamkar {
131
131
  },
132
132
  },
133
133
  default: '',
134
- required: true,
135
- description: 'Contact name',
134
+ description: 'Contact name (required)',
136
135
  },
137
136
  {
138
137
  displayName: 'Phone Number',
@@ -146,8 +145,7 @@ class Hamkar {
146
145
  },
147
146
  default: '',
148
147
  placeholder: '09123456789',
149
- required: true,
150
- description: 'Contact mobile phone number',
148
+ description: 'Contact mobile phone number (required)',
151
149
  },
152
150
  {
153
151
  displayName: 'Telephone Number',
@@ -207,7 +205,6 @@ class Hamkar {
207
205
  displayName: 'Contact ID',
208
206
  name: 'contactId',
209
207
  type: 'string',
210
- required: true,
211
208
  displayOptions: {
212
209
  show: {
213
210
  resource: ['contact'],
@@ -215,52 +212,35 @@ class Hamkar {
215
212
  },
216
213
  },
217
214
  default: '',
218
- description: 'ID of the contact to update or delete',
215
+ description: 'ID of the contact to update or delete (required)',
219
216
  },
220
217
  // Fields for Contact Get Many operation
221
218
  {
222
219
  displayName: 'Return All',
223
- name: 'returnAll',
220
+ name: 'contactReturnAll',
224
221
  type: 'boolean',
225
222
  displayOptions: {
226
- show: {
227
- resource: ['contact'],
228
- operation: ['getMany'],
229
- },
223
+ show: { resource: ['contact'], operation: ['getMany'] },
230
224
  },
231
225
  default: false,
232
- description: 'Whether to return all results or only up to a given limit',
233
226
  },
234
227
  {
235
228
  displayName: 'Limit',
236
- name: 'limit',
229
+ name: 'contactLimit',
237
230
  type: 'number',
238
231
  displayOptions: {
239
- show: {
240
- resource: ['contact'],
241
- operation: ['getMany'],
242
- returnAll: [false],
243
- },
244
- },
245
- typeOptions: {
246
- minValue: 1,
247
- maxValue: 100,
232
+ show: { resource: ['contact'], operation: ['getMany'], contactReturnAll: [false] },
248
233
  },
249
234
  default: 50,
250
- description: 'Max number of results to return',
251
235
  },
252
236
  {
253
237
  displayName: 'Search Query',
254
- name: 'search',
238
+ name: 'contactSearch',
255
239
  type: 'string',
256
240
  displayOptions: {
257
- show: {
258
- resource: ['contact'],
259
- operation: ['getMany'],
260
- },
241
+ show: { resource: ['contact'], operation: ['getMany'] },
261
242
  },
262
243
  default: '',
263
- description: 'Search query to filter contacts (name, phone_number, telephone_number)',
264
244
  },
265
245
  // =============================================
266
246
  // Record Fields
@@ -270,7 +250,6 @@ class Hamkar {
270
250
  displayName: 'Tag',
271
251
  name: 'tag',
272
252
  type: 'string',
273
- required: true,
274
253
  displayOptions: {
275
254
  show: {
276
255
  resource: ['record'],
@@ -278,13 +257,12 @@ class Hamkar {
278
257
  },
279
258
  },
280
259
  default: '',
281
- description: 'Status title/tag for the record',
260
+ description: 'Status title/tag for the record (required)',
282
261
  },
283
262
  {
284
263
  displayName: 'Topic',
285
264
  name: 'topic',
286
265
  type: 'string',
287
- required: true,
288
266
  displayOptions: {
289
267
  show: {
290
268
  resource: ['record'],
@@ -292,13 +270,12 @@ class Hamkar {
292
270
  },
293
271
  },
294
272
  default: '',
295
- description: 'Topic title for the record',
273
+ description: 'Topic title for the record (required)',
296
274
  },
297
275
  {
298
276
  displayName: 'Due Date',
299
277
  name: 'dueDate',
300
278
  type: 'string',
301
- required: true,
302
279
  displayOptions: {
303
280
  show: {
304
281
  resource: ['record'],
@@ -307,13 +284,12 @@ class Hamkar {
307
284
  },
308
285
  default: '',
309
286
  placeholder: '2025-03-10',
310
- description: 'Due date in YYYY-MM-DD format',
287
+ description: 'Due date in YYYY-MM-DD format (required)',
311
288
  },
312
289
  {
313
290
  displayName: 'Contact',
314
291
  name: 'contact',
315
292
  type: 'collection',
316
- required: true,
317
293
  placeholder: 'Add Contact Field',
318
294
  displayOptions: {
319
295
  show: {
@@ -322,22 +298,21 @@ class Hamkar {
322
298
  },
323
299
  },
324
300
  default: {},
301
+ description: 'Contact information (required)',
325
302
  options: [
326
303
  {
327
304
  displayName: 'Name',
328
305
  name: 'name',
329
306
  type: 'string',
330
307
  default: '',
331
- required: true,
332
- description: 'Contact name',
308
+ description: 'Contact name (required)',
333
309
  },
334
310
  {
335
311
  displayName: 'Phone Number',
336
312
  name: 'phone_number',
337
313
  type: 'string',
338
314
  default: '',
339
- required: true,
340
- description: 'Contact phone number',
315
+ description: 'Contact phone number (required)',
341
316
  },
342
317
  {
343
318
  displayName: 'Telephone Number',
@@ -382,7 +357,6 @@ class Hamkar {
382
357
  typeOptions: {
383
358
  multipleValues: true,
384
359
  },
385
- required: true,
386
360
  displayOptions: {
387
361
  show: {
388
362
  resource: ['record'],
@@ -391,6 +365,7 @@ class Hamkar {
391
365
  },
392
366
  default: {},
393
367
  placeholder: 'Add Product',
368
+ description: 'List of products (required)',
394
369
  options: [
395
370
  {
396
371
  name: 'product',
@@ -401,24 +376,21 @@ class Hamkar {
401
376
  name: 'product',
402
377
  type: 'number',
403
378
  default: 0,
404
- required: true,
405
- description: 'Product identifier',
379
+ description: 'Product identifier (required)',
406
380
  },
407
381
  {
408
382
  displayName: 'Number',
409
383
  name: 'number',
410
384
  type: 'number',
411
385
  default: 0,
412
- required: true,
413
- description: 'Quantity of product',
386
+ description: 'Quantity of product (required)',
414
387
  },
415
388
  {
416
389
  displayName: 'Purchased Price',
417
390
  name: 'purchased_price',
418
391
  type: 'number',
419
392
  default: 0,
420
- required: true,
421
- description: 'Purchase price of the product',
393
+ description: 'Purchase price of the product (required)',
422
394
  },
423
395
  ],
424
396
  },
@@ -431,7 +403,6 @@ class Hamkar {
431
403
  typeOptions: {
432
404
  multipleValues: true,
433
405
  },
434
- required: true,
435
406
  displayOptions: {
436
407
  show: {
437
408
  resource: ['record'],
@@ -440,6 +411,7 @@ class Hamkar {
440
411
  },
441
412
  default: {},
442
413
  placeholder: 'Add Answer',
414
+ description: 'Custom field answers (required)',
443
415
  options: [
444
416
  {
445
417
  name: 'answer',
@@ -450,16 +422,14 @@ class Hamkar {
450
422
  name: 'field',
451
423
  type: 'number',
452
424
  default: 0,
453
- required: true,
454
- description: 'Field identifier',
425
+ description: 'Field identifier (required)',
455
426
  },
456
427
  {
457
428
  displayName: 'Answer',
458
429
  name: 'answer',
459
430
  type: 'string',
460
431
  default: '',
461
- required: true,
462
- description: 'Answer for the field',
432
+ description: 'Answer for the field (required)',
463
433
  },
464
434
  ],
465
435
  },
@@ -470,7 +440,6 @@ class Hamkar {
470
440
  displayName: 'Record ID',
471
441
  name: 'recordId',
472
442
  type: 'string',
473
- required: true,
474
443
  displayOptions: {
475
444
  show: {
476
445
  resource: ['record'],
@@ -478,7 +447,7 @@ class Hamkar {
478
447
  },
479
448
  },
480
449
  default: '',
481
- description: 'ID of the record to update or delete',
450
+ description: 'ID of the record to update or delete (required)',
482
451
  },
483
452
  // Fields for Get Many operation
484
453
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-hamkar",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "n8n node for Hamkar.co API - Contact and Record management operations",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",