n8n-nodes-8kit 1.0.17 → 1.0.18

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 (71) hide show
  1. package/dist/nodes/EightKit/EightKit.node.js +253 -351
  2. package/dist/nodes/EightKit/EightKit.node.js.map +1 -1
  3. package/dist/nodes/EightKit/operations/acquireLock.js +5 -17
  4. package/dist/nodes/EightKit/operations/acquireLock.js.map +1 -1
  5. package/dist/nodes/EightKit/operations/addToLookup.js +18 -36
  6. package/dist/nodes/EightKit/operations/addToLookup.js.map +1 -1
  7. package/dist/nodes/EightKit/operations/addToUniq.js +20 -37
  8. package/dist/nodes/EightKit/operations/addToUniq.js.map +1 -1
  9. package/dist/nodes/EightKit/operations/checkLock.js +4 -14
  10. package/dist/nodes/EightKit/operations/checkLock.js.map +1 -1
  11. package/dist/nodes/EightKit/operations/checkUniq.js +11 -27
  12. package/dist/nodes/EightKit/operations/checkUniq.js.map +1 -1
  13. package/dist/nodes/EightKit/operations/completeLookupUniq.js +38 -54
  14. package/dist/nodes/EightKit/operations/completeLookupUniq.js.map +1 -1
  15. package/dist/nodes/EightKit/operations/createLastUpdated.js +8 -8
  16. package/dist/nodes/EightKit/operations/createLastUpdated.js.map +1 -1
  17. package/dist/nodes/EightKit/operations/createLookup.js +18 -29
  18. package/dist/nodes/EightKit/operations/createLookup.js.map +1 -1
  19. package/dist/nodes/EightKit/operations/createUniqCollection.js +6 -14
  20. package/dist/nodes/EightKit/operations/createUniqCollection.js.map +1 -1
  21. package/dist/nodes/EightKit/operations/deleteLookup.js +6 -15
  22. package/dist/nodes/EightKit/operations/deleteLookup.js.map +1 -1
  23. package/dist/nodes/EightKit/operations/deleteUniqCollection.js +6 -15
  24. package/dist/nodes/EightKit/operations/deleteUniqCollection.js.map +1 -1
  25. package/dist/nodes/EightKit/operations/getAppHealth.js +1 -7
  26. package/dist/nodes/EightKit/operations/getAppHealth.js.map +1 -1
  27. package/dist/nodes/EightKit/operations/getAppInfo.js +1 -7
  28. package/dist/nodes/EightKit/operations/getAppInfo.js.map +1 -1
  29. package/dist/nodes/EightKit/operations/getLastUpdated.js +6 -7
  30. package/dist/nodes/EightKit/operations/getLastUpdated.js.map +1 -1
  31. package/dist/nodes/EightKit/operations/getLookupValues.js +5 -15
  32. package/dist/nodes/EightKit/operations/getLookupValues.js.map +1 -1
  33. package/dist/nodes/EightKit/operations/getUniqCollectionInfo.js +4 -13
  34. package/dist/nodes/EightKit/operations/getUniqCollectionInfo.js.map +1 -1
  35. package/dist/nodes/EightKit/operations/getUniqs.js +5 -19
  36. package/dist/nodes/EightKit/operations/getUniqs.js.map +1 -1
  37. package/dist/nodes/EightKit/operations/listLookups.js +4 -13
  38. package/dist/nodes/EightKit/operations/listLookups.js.map +1 -1
  39. package/dist/nodes/EightKit/operations/listUniqCollections.js +4 -13
  40. package/dist/nodes/EightKit/operations/listUniqCollections.js.map +1 -1
  41. package/dist/nodes/EightKit/operations/releaseLock.js +4 -14
  42. package/dist/nodes/EightKit/operations/releaseLock.js.map +1 -1
  43. package/dist/nodes/EightKit/operations/removeFromLookup.js +9 -17
  44. package/dist/nodes/EightKit/operations/removeFromLookup.js.map +1 -1
  45. package/dist/nodes/EightKit/operations/removeFromUniq.js +9 -17
  46. package/dist/nodes/EightKit/operations/removeFromUniq.js.map +1 -1
  47. package/dist/nodes/EightKit/operations/searchLookupValues.js +8 -10
  48. package/dist/nodes/EightKit/operations/searchLookupValues.js.map +1 -1
  49. package/dist/nodes/EightKit/utils/common.js +9 -14
  50. package/dist/nodes/EightKit/utils/common.js.map +1 -1
  51. package/dist/nodes/EightKit/utils/dateFormat.js +2 -4
  52. package/dist/nodes/EightKit/utils/dateFormat.js.map +1 -1
  53. package/dist/nodes/EightKit/utils/httpClient.js +32 -65
  54. package/dist/nodes/EightKit/utils/httpClient.js.map +1 -1
  55. package/package.json +26 -19
  56. package/dist/nodes/EightKit/operations/addToSet.js +0 -99
  57. package/dist/nodes/EightKit/operations/addToSet.js.map +0 -1
  58. package/dist/nodes/EightKit/operations/checkSetValues.js +0 -82
  59. package/dist/nodes/EightKit/operations/checkSetValues.js.map +0 -1
  60. package/dist/nodes/EightKit/operations/completeLookupSet.js +0 -149
  61. package/dist/nodes/EightKit/operations/completeLookupSet.js.map +0 -1
  62. package/dist/nodes/EightKit/operations/createSet.js +0 -51
  63. package/dist/nodes/EightKit/operations/createSet.js.map +0 -1
  64. package/dist/nodes/EightKit/operations/getSetInfo.js +0 -46
  65. package/dist/nodes/EightKit/operations/getSetInfo.js.map +0 -1
  66. package/dist/nodes/EightKit/operations/getSetValues.js +0 -64
  67. package/dist/nodes/EightKit/operations/getSetValues.js.map +0 -1
  68. package/dist/nodes/EightKit/operations/listSets.js +0 -57
  69. package/dist/nodes/EightKit/operations/listSets.js.map +0 -1
  70. package/dist/nodes/EightKit/operations/removeFromSet.js +0 -68
  71. package/dist/nodes/EightKit/operations/removeFromSet.js.map +0 -1
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EightKit = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
4
5
  const operations_1 = require("./operations");
5
6
  const httpClient_1 = require("./utils/httpClient");
6
7
  class EightKit {
@@ -11,6 +12,7 @@ class EightKit {
11
12
  icon: 'file:8kit.svg',
12
13
  group: ['transform'],
13
14
  version: 2,
15
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
14
16
  description: 'Integrate with 8kit Automation Tools for Uniq collections and lookup mapping',
15
17
  defaults: {
16
18
  name: '8kit',
@@ -134,18 +136,23 @@ class EightKit {
134
136
  },
135
137
  },
136
138
  {
137
- displayName: 'Description',
138
- name: 'description',
139
- type: 'string',
140
- default: '',
141
- placeholder: '',
142
- description: 'Optional human-readable description explaining the purpose of this record. Helpful for documentation and team collaboration.',
139
+ displayName: 'Additional Fields',
140
+ name: 'additionalFields',
141
+ type: 'collection',
142
+ placeholder: 'Add Field',
143
+ default: {},
143
144
  displayOptions: {
144
- show: {
145
- resource: ['uniqCollection'],
146
- operation: ['createUniqCollection'],
147
- },
145
+ show: { resource: ['uniqCollection'], operation: ['createUniqCollection'] },
148
146
  },
147
+ options: [
148
+ {
149
+ displayName: 'Description',
150
+ name: 'description',
151
+ type: 'string',
152
+ default: '',
153
+ description: 'Optional human-readable description explaining the purpose of this record.',
154
+ },
155
+ ],
149
156
  },
150
157
  {
151
158
  displayName: 'Advanced Settings',
@@ -271,29 +278,29 @@ class EightKit {
271
278
  },
272
279
  },
273
280
  {
274
- displayName: 'Include Uniq Data',
275
- name: 'getUniqValueData',
276
- type: 'boolean',
277
- default: false,
278
- description: 'Whether to include additional metadata about the Uniq value in the output.',
279
- displayOptions: {
280
- show: { resource: ['uniqs'], operation: ['checkUniqs'] },
281
- },
282
- },
283
- {
284
- displayName: 'Uniq Data Field Name',
285
- name: 'uniqValueDataFieldName',
286
- type: 'string',
287
- default: '8kit',
288
- placeholder: '8kit',
289
- description: 'The field name where Uniq metadata will be stored in the output JSON.',
290
- displayOptions: {
291
- show: {
292
- resource: ['uniqs'],
293
- operation: ['checkUniqs'],
294
- getUniqValueData: [true],
281
+ displayName: 'Additional Fields',
282
+ name: 'additionalFields',
283
+ type: 'collection',
284
+ placeholder: 'Add Field',
285
+ default: {},
286
+ displayOptions: { show: { resource: ['uniqs'], operation: ['checkUniqs'] } },
287
+ options: [
288
+ {
289
+ displayName: 'Include Uniq Data',
290
+ name: 'getUniqValueData',
291
+ type: 'boolean',
292
+ default: false,
293
+ description: 'Whether to include additional metadata about the Uniq value in the output.',
295
294
  },
296
- },
295
+ {
296
+ displayName: 'Uniq Data Field Name',
297
+ name: 'uniqValueDataFieldName',
298
+ type: 'string',
299
+ default: '8kit',
300
+ placeholder: '8kit',
301
+ description: 'The field name where Uniq metadata will be stored in the output JSON.',
302
+ },
303
+ ],
297
304
  },
298
305
  {
299
306
  displayName: 'Advanced Settings',
@@ -404,77 +411,65 @@ class EightKit {
404
411
  },
405
412
  },
406
413
  {
407
- displayName: 'Description',
408
- name: 'description',
409
- type: 'string',
410
- default: '',
411
- placeholder: '',
412
- description: 'Optional human-readable description explaining the purpose of this record.',
413
- displayOptions: {
414
- show: { resource: ['lookup'], operation: ['createLookup'] },
415
- },
416
- },
417
- {
418
- displayName: 'Left System',
419
- name: 'leftSystem',
420
- type: 'string',
421
- default: '',
422
- placeholder: 'system-a',
423
- description: 'Optional identifier for the left-side system in the mapping (e.g., "Salesforce", "internal-db").',
424
- displayOptions: {
425
- show: { resource: ['lookup'], operation: ['createLookup'] },
426
- },
427
- },
428
- {
429
- displayName: 'Right System',
430
- name: 'rightSystem',
431
- type: 'string',
432
- default: '',
433
- placeholder: 'system-b',
434
- description: 'Optional identifier for the right-side system in the mapping (e.g., "HubSpot", "external-api").',
435
- displayOptions: {
436
- show: { resource: ['lookup'], operation: ['createLookup'] },
437
- },
438
- },
439
- {
440
- displayName: 'Allow Left Duplicates',
441
- name: 'allowLeftDups',
442
- type: 'boolean',
443
- default: true,
444
- description: 'Whether to allow duplicate values on the left side. When false, each left value can only map to one right value.',
445
- displayOptions: {
446
- show: { resource: ['lookup'], operation: ['createLookup'] },
447
- },
448
- },
449
- {
450
- displayName: 'Allow Right Duplicates',
451
- name: 'allowRightDups',
452
- type: 'boolean',
453
- default: true,
454
- description: 'Whether to allow duplicate values on the right side. When false, each right value can only map to one left value.',
455
- displayOptions: {
456
- show: { resource: ['lookup'], operation: ['createLookup'] },
457
- },
458
- },
459
- {
460
- displayName: 'Allow Left-Right Duplicates',
461
- name: 'allowLeftRightDups',
462
- type: 'boolean',
463
- default: true,
464
- description: 'Whether to allow the same left-right pair to exist multiple times in the lookup.',
465
- displayOptions: {
466
- show: { resource: ['lookup'], operation: ['createLookup'] },
467
- },
468
- },
469
- {
470
- displayName: 'Strict Checking',
471
- name: 'strictChecking',
472
- type: 'boolean',
473
- default: false,
474
- description: 'Whether to enforce strict validation rules when adding mappings to this lookup collection.',
475
- displayOptions: {
476
- show: { resource: ['lookup'], operation: ['createLookup'] },
477
- },
414
+ displayName: 'Additional Fields',
415
+ name: 'additionalFields',
416
+ type: 'collection',
417
+ placeholder: 'Add Field',
418
+ default: {},
419
+ displayOptions: { show: { resource: ['lookup'], operation: ['createLookup'] } },
420
+ options: [
421
+ {
422
+ displayName: 'Description',
423
+ name: 'description',
424
+ type: 'string',
425
+ default: '',
426
+ description: 'Optional human-readable description explaining the purpose of this record.',
427
+ },
428
+ {
429
+ displayName: 'Left System',
430
+ name: 'leftSystem',
431
+ type: 'string',
432
+ default: '',
433
+ placeholder: 'system-a',
434
+ description: 'Optional identifier for the left-side system in the mapping (e.g., "Salesforce", "internal-db").',
435
+ },
436
+ {
437
+ displayName: 'Right System',
438
+ name: 'rightSystem',
439
+ type: 'string',
440
+ default: '',
441
+ placeholder: 'system-b',
442
+ description: 'Optional identifier for the right-side system in the mapping (e.g., "HubSpot", "external-api").',
443
+ },
444
+ {
445
+ displayName: 'Allow Left Duplicates',
446
+ name: 'allowLeftDups',
447
+ type: 'boolean',
448
+ default: true,
449
+ description: 'Whether to allow duplicate values on the left side.',
450
+ },
451
+ {
452
+ displayName: 'Allow Right Duplicates',
453
+ name: 'allowRightDups',
454
+ type: 'boolean',
455
+ default: true,
456
+ description: 'Whether to allow duplicate values on the right side.',
457
+ },
458
+ {
459
+ displayName: 'Allow Left-Right Duplicates',
460
+ name: 'allowLeftRightDups',
461
+ type: 'boolean',
462
+ default: true,
463
+ description: 'Whether to allow the same left-right pair to exist multiple times.',
464
+ },
465
+ {
466
+ displayName: 'Strict Checking',
467
+ name: 'strictChecking',
468
+ type: 'boolean',
469
+ default: false,
470
+ description: 'Whether to enforce strict validation rules when adding mappings.',
471
+ },
472
+ ],
478
473
  },
479
474
  {
480
475
  displayName: 'Advanced Settings',
@@ -775,40 +770,37 @@ class EightKit {
775
770
  },
776
771
  },
777
772
  {
778
- displayName: 'Timeout (Seconds)',
779
- name: 'timeout',
780
- type: 'number',
781
- typeOptions: { minValue: 1, maxValue: 3600 },
782
- default: 600,
783
- placeholder: 'No expiration',
784
- description: 'Optional timeout in seconds. If not specified, the lock will not expire automatically.',
785
- displayOptions: {
786
- show: { resource: ['lock'], operation: ['acquireLock'] },
787
- },
788
- },
789
- {
790
- displayName: 'Include Lock Data',
791
- name: 'getLockData',
792
- type: 'boolean',
793
- default: false,
794
- description: 'Whether to include lock details in the output.',
795
- displayOptions: {
796
- show: { resource: ['lock'] },
797
- },
798
- },
799
- {
800
- displayName: 'Lock Data Field Name',
801
- name: 'lockDataFieldName',
802
- type: 'string',
803
- default: '8kit',
804
- placeholder: '8kit',
805
- description: 'The field name where lock data will be stored in the output JSON.',
806
- displayOptions: {
807
- show: {
808
- resource: ['lock'],
809
- getLockData: [true],
773
+ displayName: 'Additional Fields',
774
+ name: 'additionalFields',
775
+ type: 'collection',
776
+ placeholder: 'Add Field',
777
+ default: {},
778
+ displayOptions: { show: { resource: ['lock'] } },
779
+ options: [
780
+ {
781
+ displayName: 'Include Lock Data',
782
+ name: 'getLockData',
783
+ type: 'boolean',
784
+ default: false,
785
+ description: 'Whether to include lock details in the output.',
810
786
  },
811
- },
787
+ {
788
+ displayName: 'Lock Data Field Name',
789
+ name: 'lockDataFieldName',
790
+ type: 'string',
791
+ default: '8kit',
792
+ placeholder: '8kit',
793
+ description: 'The field name where lock data will be stored in the output JSON.',
794
+ },
795
+ {
796
+ displayName: 'Timeout (Seconds)',
797
+ name: 'timeout',
798
+ type: 'number',
799
+ typeOptions: { minValue: 1, maxValue: 3600 },
800
+ default: 600,
801
+ description: 'Optional timeout in seconds for lock acquisition. If not specified, the lock will not expire automatically.',
802
+ },
803
+ ],
812
804
  },
813
805
  {
814
806
  displayName: 'Operation',
@@ -843,231 +835,150 @@ class EightKit {
843
835
  displayOptions: { show: { resource: ['lastUpdated'] } },
844
836
  },
845
837
  {
846
- displayName: 'Description',
847
- name: 'description',
848
- type: 'string',
849
- default: '',
850
- placeholder: '',
851
- description: 'Optional human-readable description explaining the purpose of this record.',
852
- displayOptions: {
853
- show: { resource: ['lastUpdated'], operation: ['createLastUpdated'] },
854
- },
855
- },
856
- {
857
- displayName: 'Date',
858
- name: 'dateString',
859
- type: 'string',
860
- default: undefined,
861
- placeholder: '',
862
- description: 'The date in the format specified below. Leave empty to use current time.',
863
- displayOptions: {
864
- show: {
865
- resource: ['lastUpdated'],
866
- operation: ['createLastUpdated'],
867
- },
868
- },
869
- },
870
- {
871
- displayName: 'Date Format',
872
- name: 'inputFormat',
873
- type: 'options',
874
- default: 'iso8601-tz',
875
- required: false,
876
- placeholder: 'Select a format',
838
+ displayName: 'Additional Fields',
839
+ name: 'additionalFields',
840
+ type: 'collection',
841
+ placeholder: 'Add Field',
842
+ default: {},
843
+ displayOptions: { show: { resource: ['lastUpdated'], operation: ['createLastUpdated'] } },
877
844
  options: [
878
845
  {
879
- name: 'ISO 8601 with Timezone',
880
- description: 'Example: 2025-10-08T09:44:21.982+01:00',
881
- value: 'iso8601-tz',
882
- },
883
- {
884
- name: 'ISO 8601 UTC',
885
- description: 'Example: 2024-01-01T00:00:00Z',
886
- value: 'iso8601-utc',
887
- },
888
- {
889
- name: 'dd-MM-yyyy',
890
- description: 'Example: 08-10-2025',
891
- value: 'dd-MM-yyyy',
892
- },
893
- {
894
- name: 'MM-dd-yyyy',
895
- description: 'Example: 10-08-2025',
896
- value: 'MM-dd-yyyy',
897
- },
898
- {
899
- name: 'yyyy-MM-dd',
900
- description: 'Example: 2025-10-08',
901
- value: 'yyyy-MM-dd',
902
- },
903
- {
904
- name: 'dd/MM/yyyy',
905
- description: 'Example: 08/10/2025',
906
- value: 'dd/MM/yyyy',
907
- },
908
- {
909
- name: 'MM/dd/yyyy',
910
- description: 'Example: 10/08/2025',
911
- value: 'MM/dd/yyyy',
912
- },
913
- {
914
- name: 'yyyy/MM/dd',
915
- description: 'Example: 2025/10/08',
916
- value: 'yyyy/MM/dd',
846
+ displayName: 'Description',
847
+ name: 'description',
848
+ type: 'string',
849
+ default: '',
850
+ description: 'Optional human-readable description explaining the purpose of this record.',
917
851
  },
918
852
  {
919
- name: 'Unix Timestamp - Milliseconds',
920
- description: 'Example: 1728378261982',
921
- value: 'unix-ms',
853
+ displayName: 'Date',
854
+ name: 'dateString',
855
+ type: 'string',
856
+ default: '',
857
+ placeholder: '',
858
+ description: 'The date in the format specified below. Leave empty to use current time.',
922
859
  },
923
860
  {
924
- name: 'Unix Timestamp - Seconds',
925
- description: 'Example: 1728378261',
926
- value: 'unix-s',
861
+ displayName: 'Date Format',
862
+ name: 'inputFormat',
863
+ type: 'options',
864
+ default: 'iso8601-tz',
865
+ options: [
866
+ {
867
+ name: 'ISO 8601 with Timezone',
868
+ description: 'Example: 2025-10-08T09:44:21.982+01:00',
869
+ value: 'iso8601-tz',
870
+ },
871
+ {
872
+ name: 'ISO 8601 UTC',
873
+ description: 'Example: 2024-01-01T00:00:00Z',
874
+ value: 'iso8601-utc',
875
+ },
876
+ { name: 'dd-MM-yyyy', description: 'Example: 08-10-2025', value: 'dd-MM-yyyy' },
877
+ { name: 'MM-dd-yyyy', description: 'Example: 10-08-2025', value: 'MM-dd-yyyy' },
878
+ { name: 'yyyy-MM-dd', description: 'Example: 2025-10-08', value: 'yyyy-MM-dd' },
879
+ { name: 'dd/MM/yyyy', description: 'Example: 08/10/2025', value: 'dd/MM/yyyy' },
880
+ { name: 'MM/dd/yyyy', description: 'Example: 10/08/2025', value: 'MM/dd/yyyy' },
881
+ { name: 'yyyy/MM/dd', description: 'Example: 2025/10/08', value: 'yyyy/MM/dd' },
882
+ {
883
+ name: 'Unix Timestamp - Milliseconds',
884
+ description: 'Example: 1728378261982',
885
+ value: 'unix-ms',
886
+ },
887
+ {
888
+ name: 'Unix Timestamp - Seconds',
889
+ description: 'Example: 1728378261',
890
+ value: 'unix-s',
891
+ },
892
+ {
893
+ name: 'Custom Format',
894
+ description: 'Define your own format using tokens like yyyy, MM, dd, HH, mm, ss',
895
+ value: 'custom',
896
+ },
897
+ ],
898
+ description: 'The format of the input date string',
927
899
  },
928
900
  {
929
- name: 'Custom Format',
930
- description: 'Define your own format using tokens like yyyy, MM, dd, HH, mm, ss',
931
- value: 'custom',
901
+ displayName: 'Custom Format',
902
+ name: 'inputCustomFormat',
903
+ type: 'string',
904
+ default: 'yyyy-MM-dd HH:mm:ss',
905
+ placeholder: 'yyyy-MM-dd HH:mm:ss',
906
+ description: 'Provide the expected format using tokens like yyyy, MM, dd, HH, mm, ss.',
932
907
  },
933
908
  ],
934
- description: 'The format of the input date string',
935
- displayOptions: {
936
- show: {
937
- resource: ['lastUpdated'],
938
- operation: ['createLastUpdated'],
939
- },
940
- },
941
909
  },
942
910
  {
943
- displayName: 'Custom Format',
944
- name: 'inputCustomFormat',
945
- type: 'string',
946
- default: 'yyyy-MM-dd HH:mm:ss',
947
- placeholder: 'yyyy-MM-dd HH:mm:ss',
948
- hint: 'List of special tokens <a target="_blank" href="https://moment.github.io/luxon/#/formatting?id=table-of-tokens">More info</a>',
949
- description: "Provide the expected format using tokens like yyyy, MM, dd, HH, mm, ss. Example: yyyy-MM-dd'T'HH:mm:ss",
950
- displayOptions: {
951
- show: {
952
- resource: ['lastUpdated'],
953
- operation: ['createLastUpdated'],
954
- inputFormat: ['custom'],
955
- },
956
- },
957
- },
958
- {
959
- displayName: 'Date Format',
960
- name: 'outputFormat',
961
- type: 'options',
962
- default: 'iso8601-tz',
963
- required: false,
964
- placeholder: 'Select a format',
965
- hint: "The default timezone is n8n's timezone",
911
+ displayName: 'Additional Fields',
912
+ name: 'additionalFields',
913
+ type: 'collection',
914
+ placeholder: 'Add Field',
915
+ default: {},
916
+ displayOptions: { show: { resource: ['lastUpdated'], operation: ['getLastUpdated'] } },
966
917
  options: [
967
918
  {
968
- name: 'ISO 8601 with Timezone',
969
- description: 'Example: 2025-10-08T09:44:21.982+01:00',
970
- value: 'iso8601-tz',
971
- },
972
- {
973
- name: 'ISO 8601 UTC',
974
- description: 'Example: 2024-01-01T00:00:00Z',
975
- value: 'iso8601-utc',
976
- },
977
- {
978
- name: 'dd-MM-yyyy',
979
- description: 'Example: 08-10-2025',
980
- value: 'dd-MM-yyyy',
981
- },
982
- {
983
- name: 'MM-dd-yyyy',
984
- description: 'Example: 10-08-2025',
985
- value: 'MM-dd-yyyy',
986
- },
987
- {
988
- name: 'yyyy-MM-dd',
989
- description: 'Example: 2025-10-08',
990
- value: 'yyyy-MM-dd',
991
- },
992
- {
993
- name: 'dd/MM/yyyy',
994
- description: 'Example: 08/10/2025',
995
- value: 'dd/MM/yyyy',
996
- },
997
- {
998
- name: 'MM/dd/yyyy',
999
- description: 'Example: 10/08/2025',
1000
- value: 'MM/dd/yyyy',
1001
- },
1002
- {
1003
- name: 'yyyy/MM/dd',
1004
- description: 'Example: 2025/10/08',
1005
- value: 'yyyy/MM/dd',
919
+ displayName: 'Date Format',
920
+ name: 'outputFormat',
921
+ type: 'options',
922
+ default: 'iso8601-tz',
923
+ hint: "The default timezone is n8n's timezone",
924
+ options: [
925
+ {
926
+ name: 'ISO 8601 with Timezone',
927
+ description: 'Example: 2025-10-08T09:44:21.982+01:00',
928
+ value: 'iso8601-tz',
929
+ },
930
+ {
931
+ name: 'ISO 8601 UTC',
932
+ description: 'Example: 2024-01-01T00:00:00Z',
933
+ value: 'iso8601-utc',
934
+ },
935
+ { name: 'dd-MM-yyyy', description: 'Example: 08-10-2025', value: 'dd-MM-yyyy' },
936
+ { name: 'MM-dd-yyyy', description: 'Example: 10-08-2025', value: 'MM-dd-yyyy' },
937
+ { name: 'yyyy-MM-dd', description: 'Example: 2025-10-08', value: 'yyyy-MM-dd' },
938
+ { name: 'dd/MM/yyyy', description: 'Example: 08/10/2025', value: 'dd/MM/yyyy' },
939
+ { name: 'MM/dd/yyyy', description: 'Example: 10/08/2025', value: 'MM/dd/yyyy' },
940
+ { name: 'yyyy/MM/dd', description: 'Example: 2025/10/08', value: 'yyyy/MM/dd' },
941
+ {
942
+ name: 'Unix Timestamp - Milliseconds',
943
+ description: 'Example: 1728378261982',
944
+ value: 'unix-ms',
945
+ },
946
+ {
947
+ name: 'Unix Timestamp - Seconds',
948
+ description: 'Example: 1728378261',
949
+ value: 'unix-s',
950
+ },
951
+ {
952
+ name: 'Custom Format',
953
+ description: 'Define your own format using tokens like yyyy, MM, dd, HH, mm, ss',
954
+ value: 'custom',
955
+ },
956
+ ],
957
+ description: 'The format to use for the date',
1006
958
  },
1007
959
  {
1008
- name: 'Unix Timestamp - Milliseconds',
1009
- description: 'Example: 1728378261982',
1010
- value: 'unix-ms',
960
+ displayName: 'Custom Format',
961
+ name: 'outputCustomFormat',
962
+ type: 'string',
963
+ default: 'yyyy-MM-dd HH:mm:ss',
964
+ placeholder: 'yyyy-MM-dd HH:mm:ss',
965
+ description: 'Provide the date format using tokens like yyyy, MM, dd, HH, mm, ss.',
1011
966
  },
1012
967
  {
1013
- name: 'Unix Timestamp - Seconds',
1014
- description: 'Example: 1728378261',
1015
- value: 'unix-s',
968
+ displayName: 'Use UTC Timezone',
969
+ name: 'useUtcTimezone',
970
+ type: 'boolean',
971
+ default: false,
972
+ description: "Whether to convert the date to UTC timezone instead of using n8n's server timezone",
1016
973
  },
1017
974
  {
1018
- name: 'Custom Format',
1019
- description: 'Define your own format using tokens like yyyy, MM, dd, HH, mm, ss',
1020
- value: 'custom',
975
+ displayName: 'Fallback Date',
976
+ name: 'defaultDateString',
977
+ type: 'string',
978
+ default: '',
979
+ description: 'The fallback date value to use when no last updated record exists. Must be in the same format as the Date Format setting above.',
1021
980
  },
1022
981
  ],
1023
- description: 'The format to use for the date',
1024
- displayOptions: {
1025
- show: {
1026
- resource: ['lastUpdated'],
1027
- operation: ['getLastUpdated'],
1028
- },
1029
- },
1030
- },
1031
- {
1032
- displayName: 'Custom Format',
1033
- name: 'outputCustomFormat',
1034
- type: 'string',
1035
- default: 'yyyy-MM-dd HH:mm:ss',
1036
- placeholder: 'yyyy-MM-dd HH:mm:ss',
1037
- hint: 'List of special tokens <a target="_blank" href="https://moment.github.io/luxon/#/formatting?id=table-of-tokens">More info</a>',
1038
- description: "Provide the date format using tokens like yyyy, MM, dd, HH, mm, ss. Example: yyyy-MM-dd'T'HH:mm:ss",
1039
- displayOptions: {
1040
- show: {
1041
- resource: ['lastUpdated'],
1042
- operation: ['getLastUpdated'],
1043
- outputFormat: ['custom'],
1044
- },
1045
- },
1046
- },
1047
- {
1048
- displayName: 'Use UTC Timezone',
1049
- name: 'useUtcTimezone',
1050
- type: 'boolean',
1051
- default: false,
1052
- description: "Whether to convert the date to UTC timezone (+00:00) instead of using n8n's server timezone",
1053
- displayOptions: {
1054
- show: {
1055
- resource: ['lastUpdated'],
1056
- operation: ['getLastUpdated'],
1057
- },
1058
- },
1059
- },
1060
- {
1061
- displayName: 'Fallback Date',
1062
- name: 'defaultDateString',
1063
- type: 'string',
1064
- default: '',
1065
- placeholder: '',
1066
- description: 'The fallback date value to use when no last updated record exists. Must be in the same format as the Date Format setting above.',
1067
- required: false,
1068
- displayOptions: {
1069
- show: { resource: ['lastUpdated'], operation: ['getLastUpdated'] },
1070
- },
1071
982
  },
1072
983
  {
1073
984
  displayName: 'Operation',
@@ -1214,7 +1125,6 @@ class EightKit {
1214
1125
  }
1215
1126
  async execute() {
1216
1127
  const items = this.getInputData();
1217
- const _resource = this.getNodeParameter('resource', 0);
1218
1128
  const operation = this.getNodeParameter('operation', 0);
1219
1129
  if (operation === 'checkUniqs' || operation === 'checkLock' || operation === 'acquireLock') {
1220
1130
  const yesData = [];
@@ -1260,12 +1170,6 @@ class EightKit {
1260
1170
  case 'getAppHealth':
1261
1171
  result = await operations_1.executeGetAppHealth.call(this, i);
1262
1172
  break;
1263
- case 'checkLock':
1264
- result = await operations_1.executeCheckLock.call(this, i);
1265
- break;
1266
- case 'acquireLock':
1267
- result = await operations_1.executeAcquireLock.call(this, i);
1268
- break;
1269
1173
  case 'releaseLock':
1270
1174
  result = await operations_1.executeReleaseLock.call(this, i);
1271
1175
  break;
@@ -1321,7 +1225,7 @@ class EightKit {
1321
1225
  result = await operations_1.executeCompleteLookupUniq.call(this, i);
1322
1226
  break;
1323
1227
  default:
1324
- throw new Error(`Unknown operation: ${operation}`);
1228
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
1325
1229
  }
1326
1230
  if (result === null || result === undefined) {
1327
1231
  continue;
@@ -1353,8 +1257,7 @@ class EightKit {
1353
1257
  }));
1354
1258
  }
1355
1259
  }
1356
- catch (error) {
1357
- console.log('Error loading Uniq collections:', error);
1260
+ catch (_error) {
1358
1261
  }
1359
1262
  return [];
1360
1263
  }
@@ -1372,8 +1275,7 @@ class EightKit {
1372
1275
  }));
1373
1276
  }
1374
1277
  }
1375
- catch (error) {
1376
- console.log('Error loading lookup collections:', error);
1278
+ catch (_error) {
1377
1279
  }
1378
1280
  return [];
1379
1281
  }