@acrewity/n8n-nodes-acrewity 0.1.7 → 0.1.9

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.
@@ -1,55 +1,82 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <defs>
3
- <linearGradient id="grad-tl" x1="0%" y1="100%" x2="100%" y2="0%">
4
- <stop offset="0%" stop-color="#0EA5E9"/>
5
- <stop offset="100%" stop-color="#14B8A6"/>
6
- </linearGradient>
7
- <linearGradient id="grad-tr" x1="0%" y1="0%" x2="100%" y2="100%">
8
- <stop offset="0%" stop-color="#14B8A6"/>
9
- <stop offset="100%" stop-color="#F97316"/>
10
- </linearGradient>
11
- <linearGradient id="grad-br" x1="100%" y1="0%" x2="0%" y2="100%">
12
- <stop offset="0%" stop-color="#F97316"/>
13
- <stop offset="100%" stop-color="#EC4899"/>
14
- </linearGradient>
15
- <linearGradient id="grad-bl" x1="100%" y1="100%" x2="0%" y2="0%">
16
- <stop offset="0%" stop-color="#EC4899"/>
17
- <stop offset="100%" stop-color="#8B5CF6"/>
18
- </linearGradient>
19
- <linearGradient id="grad-l" x1="100%" y1="100%" x2="0%" y2="0%">
20
- <stop offset="0%" stop-color="#8B5CF6"/>
21
- <stop offset="100%" stop-color="#0EA5E9"/>
22
- </linearGradient>
23
- </defs>
24
-
25
- <!-- Outer ring made of curved body segments -->
26
-
27
- <!-- Top segment (teal to orange) -->
28
- <path d="M20 10
29
- A26 26 0 0 1 44 10
30
- A18 18 0 0 0 20 10Z" fill="url(#grad-tr)"/>
31
-
32
- <!-- Right segment (orange to pink) -->
33
- <path d="M54 20
34
- A26 26 0 0 1 54 44
35
- A18 18 0 0 0 54 20Z" fill="url(#grad-br)"/>
36
-
37
- <!-- Bottom segment (pink to purple) -->
38
- <path d="M44 54
39
- A26 26 0 0 1 20 54
40
- A18 18 0 0 0 44 54Z" fill="url(#grad-bl)"/>
41
-
42
- <!-- Left segment (purple to blue) -->
43
- <path d="M10 44
44
- A26 26 0 0 1 10 20
45
- A18 18 0 0 0 10 44Z" fill="url(#grad-l)"/>
46
-
47
- <!-- Four heads -->
48
- <circle cx="14" cy="14" r="5.5" fill="url(#grad-tl)"/>
49
- <circle cx="50" cy="14" r="5.5" fill="url(#grad-tr)"/>
50
- <circle cx="50" cy="50" r="5.5" fill="url(#grad-br)"/>
51
- <circle cx="14" cy="50" r="5.5" fill="url(#grad-bl)"/>
52
-
53
- <!-- White center -->
54
- <circle cx="32" cy="32" r="13" fill="white"/>
55
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 720 861.4">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: url(#linear-gradient-2);
7
+ }
8
+
9
+ .cls-2 {
10
+ fill: url(#linear-gradient-4);
11
+ }
12
+
13
+ .cls-3 {
14
+ fill: url(#radial-gradient);
15
+ }
16
+
17
+ .cls-4 {
18
+ fill: url(#linear-gradient-3);
19
+ }
20
+
21
+ .cls-5 {
22
+ fill: url(#linear-gradient-5);
23
+ }
24
+
25
+ .cls-6 {
26
+ fill: url(#radial-gradient-2);
27
+ }
28
+
29
+ .cls-7 {
30
+ fill: url(#linear-gradient-6);
31
+ }
32
+
33
+ .cls-8 {
34
+ fill: url(#linear-gradient);
35
+ }
36
+ </style>
37
+ <radialGradient id="radial-gradient" cx="216.09" cy="596.31" fx="216.09" fy="596.31" r="398.86" gradientUnits="userSpaceOnUse">
38
+ <stop offset="0" stop-color="#edae3f"/>
39
+ <stop offset=".46" stop-color="#f15c42"/>
40
+ <stop offset="1" stop-color="#b3357b"/>
41
+ </radialGradient>
42
+ <radialGradient id="radial-gradient-2" cx="216.09" cy="596.31" fx="216.09" fy="596.31" r="398.86" gradientTransform="translate(115.46 -52.84) rotate(9.22)" xlink:href="#radial-gradient"/>
43
+ <linearGradient id="linear-gradient" x1="160.07" y1="792.37" x2="150.76" y2="161.69" gradientUnits="userSpaceOnUse">
44
+ <stop offset="0" stop-color="#f15842"/>
45
+ <stop offset=".47" stop-color="#edae3f"/>
46
+ <stop offset=".81" stop-color="#81b475"/>
47
+ </linearGradient>
48
+ <linearGradient id="linear-gradient-2" x1="104.98" y1="793.18" x2="95.68" y2="162.51" xlink:href="#linear-gradient"/>
49
+ <linearGradient id="linear-gradient-3" x1="569.79" y1="558.04" x2="540.02" y2="177.28" gradientUnits="userSpaceOnUse">
50
+ <stop offset="0" stop-color="#b3357b"/>
51
+ <stop offset=".47" stop-color="#564092"/>
52
+ <stop offset="1" stop-color="#3a68a0"/>
53
+ </linearGradient>
54
+ <linearGradient id="linear-gradient-4" x1="631.37" y1="553.22" x2="601.6" y2="172.46" gradientTransform="translate(108.28 -131.61) rotate(13.28)" xlink:href="#linear-gradient-3"/>
55
+ <linearGradient id="linear-gradient-5" x1="87.49" y1="322.26" x2="486.86" y2="197" gradientUnits="userSpaceOnUse">
56
+ <stop offset="0" stop-color="#81b475"/>
57
+ <stop offset=".46" stop-color="#49a9bc"/>
58
+ <stop offset="1" stop-color="#3a68a0"/>
59
+ </linearGradient>
60
+ <linearGradient id="linear-gradient-6" x1="66.16" y1="254.26" x2="465.53" y2="128.99" gradientUnits="userSpaceOnUse">
61
+ <stop offset="0" stop-color="#81b475"/>
62
+ <stop offset=".44" stop-color="#49a9bc"/>
63
+ <stop offset="1" stop-color="#3a68a0"/>
64
+ </linearGradient>
65
+ </defs>
66
+ <g>
67
+ <path class="cls-3" d="M597.03,577.28c-36.49,19.63-84.05,25.05-122.54,7.81-6.97-3.12-12.94-6.7-19.92-11.42-68.71,45.94-164.18,36.06-221.45-26.95-6.24,9.79-9.58,22.51-10.94,33.99-8.71,73.14,41.28,139.01,115.5,142.51-26.98-40.83,3.4-95.43,52.47-91.9,37.44,2.69,62.98,42.62,50.18,77.68,69.61-18.68,130.87-65.7,168.37-127.05,1.3-2.13,9.01-15.04,9.67-17.98-7.44,4.46-13.88,9.3-21.34,13.31Z"/>
68
+ <circle class="cls-6" cx="385.45" cy="689.76" r="38.22" transform="translate(-105.51 70.65) rotate(-9.22)"/>
69
+ </g>
70
+ <g>
71
+ <path class="cls-8" d="M101.85,328.3c-14.28,13.63-25.74,31.39-31.28,50.93-2.74,9.67-4.23,19.09-4.33,29.83,2.73-1.72,7.92-5.02,11.66-6.47,38.33-14.83,76.93,9.93,79.71,49.66,2.97,42.57-37.06,72.06-77.23,59.04,1.41,5.46,5.83,21.16,12.34,35.85,24.25,54.71,65.97,100.59,116.7,131.83,3.84,2.36,15.04,8.95,18.45,10.2-19.79-25.29-31.01-53.86-33.37-82.29-2.4-28.93,4.38-57.71,20.64-82.7-40.97-67.39-35-151.14,17.95-209.52,2.57-2.83,6.7-6.91,7.99-8.21-47.25-25.82-102.93-12.79-139.22,21.85Z"/>
72
+ <circle class="cls-1" cx="100.01" cy="456.25" r="37.66"/>
73
+ </g>
74
+ <g>
75
+ <path class="cls-4" d="M634.42,455.55c-39.55,10.41-75.95-20.85-73.1-61.2,2.62-37.12,40.82-62.03,76.1-50.57-19.8-67.8-68.23-128.03-129.7-164.07-2.74-1.61-21.83-11.74-23.57-12.07,38.03,45.72,47.18,114.47,16.15,164.16,45.21,63.61,41.08,154.62-10.96,210.61l-12.39,13.18c16.88,10.15,40.99,14.81,62.7,12.68,62.49-6.12,117-55.23,114.09-121.59-5.89,3.52-12.39,7.05-19.32,8.87Z"/>
76
+ <circle class="cls-2" cx="619.32" cy="399.16" r="38.33" transform="translate(-75.14 152.97) rotate(-13.28)"/>
77
+ </g>
78
+ <g>
79
+ <path class="cls-5" d="M456.78,171.61c-19.91-20.76-46.28-34.11-78.51-35.04,23.23,35.34,4.91,83.21-36.87,92.09-38.41,8.17-73.38-25-68.52-63.86.41-3.3,1.5-8.16,2.55-11.94-9,1.74-22.4,6.89-31.01,10.5-53.43,22.41-98.46,61.4-129.94,109.79-3.81,5.86-11.12,18.1-14.76,25.82,46.01-36.74,112.39-44.25,163.76-10.97,40.48-26.04,87.56-35.21,134.78-24.87,3.41.75,6.78,1.61,10.12,2.58,28.23,8.21,53.49,24.14,73.59,43.75,3.92-10.15,7.97-19.83,9.43-30.77,5.31-39.86-8.34-79.69-34.61-107.08Z"/>
80
+ <circle class="cls-7" cx="330.33" cy="171.4" r="37.98"/>
81
+ </g>
82
+ </svg>
@@ -496,6 +496,7 @@ class Acrewity {
496
496
  { name: 'JPEG', value: 'jpeg' },
497
497
  { name: 'PNG', value: 'png' },
498
498
  { name: 'WebP', value: 'webp' },
499
+ { name: 'ICO', value: 'ico' },
499
500
  ],
500
501
  default: 'jpeg',
501
502
  },
@@ -503,10 +504,28 @@ class Acrewity {
503
504
  displayName: 'Quality',
504
505
  name: 'quality',
505
506
  type: 'number',
506
- displayOptions: { show: { resource: ['image_converter'] } },
507
+ displayOptions: { show: { resource: ['image_converter'], format: ['jpeg', 'png', 'webp'] } },
507
508
  default: 85,
508
509
  typeOptions: { minValue: 1, maxValue: 100 },
509
- description: 'Output quality (1-100)',
510
+ description: 'Output quality (1-100). Does not apply to ICO format.',
511
+ },
512
+ {
513
+ displayName: 'Width',
514
+ name: 'width',
515
+ type: 'number',
516
+ displayOptions: { show: { resource: ['image_converter'] } },
517
+ default: 0,
518
+ typeOptions: { minValue: 0 },
519
+ description: 'Output width in pixels (0 = keep original)',
520
+ },
521
+ {
522
+ displayName: 'Height',
523
+ name: 'height',
524
+ type: 'number',
525
+ displayOptions: { show: { resource: ['image_converter'] } },
526
+ default: 0,
527
+ typeOptions: { minValue: 0 },
528
+ description: 'Output height in pixels (0 = keep original)',
510
529
  },
511
530
  // ============ Excel to JSON ============
512
531
  {
@@ -963,7 +982,18 @@ class Acrewity {
963
982
  if (resource === 'image_converter') {
964
983
  parameters.imageUrl = this.getNodeParameter('imageUrl', i);
965
984
  parameters.format = this.getNodeParameter('format', i);
966
- parameters.quality = this.getNodeParameter('quality', i);
985
+ // Quality only applies to non-ICO formats
986
+ if (parameters.format !== 'ico') {
987
+ parameters.quality = this.getNodeParameter('quality', i);
988
+ }
989
+ const width = this.getNodeParameter('width', i);
990
+ const height = this.getNodeParameter('height', i);
991
+ if (width > 0) {
992
+ parameters.width = width;
993
+ }
994
+ if (height > 0) {
995
+ parameters.height = height;
996
+ }
967
997
  }
968
998
  // Excel to JSON
969
999
  if (resource === 'excel_to_json') {
@@ -1,55 +1,82 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <defs>
3
- <linearGradient id="grad-tl" x1="0%" y1="100%" x2="100%" y2="0%">
4
- <stop offset="0%" stop-color="#0EA5E9"/>
5
- <stop offset="100%" stop-color="#14B8A6"/>
6
- </linearGradient>
7
- <linearGradient id="grad-tr" x1="0%" y1="0%" x2="100%" y2="100%">
8
- <stop offset="0%" stop-color="#14B8A6"/>
9
- <stop offset="100%" stop-color="#F97316"/>
10
- </linearGradient>
11
- <linearGradient id="grad-br" x1="100%" y1="0%" x2="0%" y2="100%">
12
- <stop offset="0%" stop-color="#F97316"/>
13
- <stop offset="100%" stop-color="#EC4899"/>
14
- </linearGradient>
15
- <linearGradient id="grad-bl" x1="100%" y1="100%" x2="0%" y2="0%">
16
- <stop offset="0%" stop-color="#EC4899"/>
17
- <stop offset="100%" stop-color="#8B5CF6"/>
18
- </linearGradient>
19
- <linearGradient id="grad-l" x1="100%" y1="100%" x2="0%" y2="0%">
20
- <stop offset="0%" stop-color="#8B5CF6"/>
21
- <stop offset="100%" stop-color="#0EA5E9"/>
22
- </linearGradient>
23
- </defs>
24
-
25
- <!-- Outer ring made of curved body segments -->
26
-
27
- <!-- Top segment (teal to orange) -->
28
- <path d="M20 10
29
- A26 26 0 0 1 44 10
30
- A18 18 0 0 0 20 10Z" fill="url(#grad-tr)"/>
31
-
32
- <!-- Right segment (orange to pink) -->
33
- <path d="M54 20
34
- A26 26 0 0 1 54 44
35
- A18 18 0 0 0 54 20Z" fill="url(#grad-br)"/>
36
-
37
- <!-- Bottom segment (pink to purple) -->
38
- <path d="M44 54
39
- A26 26 0 0 1 20 54
40
- A18 18 0 0 0 44 54Z" fill="url(#grad-bl)"/>
41
-
42
- <!-- Left segment (purple to blue) -->
43
- <path d="M10 44
44
- A26 26 0 0 1 10 20
45
- A18 18 0 0 0 10 44Z" fill="url(#grad-l)"/>
46
-
47
- <!-- Four heads -->
48
- <circle cx="14" cy="14" r="5.5" fill="url(#grad-tl)"/>
49
- <circle cx="50" cy="14" r="5.5" fill="url(#grad-tr)"/>
50
- <circle cx="50" cy="50" r="5.5" fill="url(#grad-br)"/>
51
- <circle cx="14" cy="50" r="5.5" fill="url(#grad-bl)"/>
52
-
53
- <!-- White center -->
54
- <circle cx="32" cy="32" r="13" fill="white"/>
55
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 720 861.4">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: url(#linear-gradient-2);
7
+ }
8
+
9
+ .cls-2 {
10
+ fill: url(#linear-gradient-4);
11
+ }
12
+
13
+ .cls-3 {
14
+ fill: url(#radial-gradient);
15
+ }
16
+
17
+ .cls-4 {
18
+ fill: url(#linear-gradient-3);
19
+ }
20
+
21
+ .cls-5 {
22
+ fill: url(#linear-gradient-5);
23
+ }
24
+
25
+ .cls-6 {
26
+ fill: url(#radial-gradient-2);
27
+ }
28
+
29
+ .cls-7 {
30
+ fill: url(#linear-gradient-6);
31
+ }
32
+
33
+ .cls-8 {
34
+ fill: url(#linear-gradient);
35
+ }
36
+ </style>
37
+ <radialGradient id="radial-gradient" cx="216.09" cy="596.31" fx="216.09" fy="596.31" r="398.86" gradientUnits="userSpaceOnUse">
38
+ <stop offset="0" stop-color="#edae3f"/>
39
+ <stop offset=".46" stop-color="#f15c42"/>
40
+ <stop offset="1" stop-color="#b3357b"/>
41
+ </radialGradient>
42
+ <radialGradient id="radial-gradient-2" cx="216.09" cy="596.31" fx="216.09" fy="596.31" r="398.86" gradientTransform="translate(115.46 -52.84) rotate(9.22)" xlink:href="#radial-gradient"/>
43
+ <linearGradient id="linear-gradient" x1="160.07" y1="792.37" x2="150.76" y2="161.69" gradientUnits="userSpaceOnUse">
44
+ <stop offset="0" stop-color="#f15842"/>
45
+ <stop offset=".47" stop-color="#edae3f"/>
46
+ <stop offset=".81" stop-color="#81b475"/>
47
+ </linearGradient>
48
+ <linearGradient id="linear-gradient-2" x1="104.98" y1="793.18" x2="95.68" y2="162.51" xlink:href="#linear-gradient"/>
49
+ <linearGradient id="linear-gradient-3" x1="569.79" y1="558.04" x2="540.02" y2="177.28" gradientUnits="userSpaceOnUse">
50
+ <stop offset="0" stop-color="#b3357b"/>
51
+ <stop offset=".47" stop-color="#564092"/>
52
+ <stop offset="1" stop-color="#3a68a0"/>
53
+ </linearGradient>
54
+ <linearGradient id="linear-gradient-4" x1="631.37" y1="553.22" x2="601.6" y2="172.46" gradientTransform="translate(108.28 -131.61) rotate(13.28)" xlink:href="#linear-gradient-3"/>
55
+ <linearGradient id="linear-gradient-5" x1="87.49" y1="322.26" x2="486.86" y2="197" gradientUnits="userSpaceOnUse">
56
+ <stop offset="0" stop-color="#81b475"/>
57
+ <stop offset=".46" stop-color="#49a9bc"/>
58
+ <stop offset="1" stop-color="#3a68a0"/>
59
+ </linearGradient>
60
+ <linearGradient id="linear-gradient-6" x1="66.16" y1="254.26" x2="465.53" y2="128.99" gradientUnits="userSpaceOnUse">
61
+ <stop offset="0" stop-color="#81b475"/>
62
+ <stop offset=".44" stop-color="#49a9bc"/>
63
+ <stop offset="1" stop-color="#3a68a0"/>
64
+ </linearGradient>
65
+ </defs>
66
+ <g>
67
+ <path class="cls-3" d="M597.03,577.28c-36.49,19.63-84.05,25.05-122.54,7.81-6.97-3.12-12.94-6.7-19.92-11.42-68.71,45.94-164.18,36.06-221.45-26.95-6.24,9.79-9.58,22.51-10.94,33.99-8.71,73.14,41.28,139.01,115.5,142.51-26.98-40.83,3.4-95.43,52.47-91.9,37.44,2.69,62.98,42.62,50.18,77.68,69.61-18.68,130.87-65.7,168.37-127.05,1.3-2.13,9.01-15.04,9.67-17.98-7.44,4.46-13.88,9.3-21.34,13.31Z"/>
68
+ <circle class="cls-6" cx="385.45" cy="689.76" r="38.22" transform="translate(-105.51 70.65) rotate(-9.22)"/>
69
+ </g>
70
+ <g>
71
+ <path class="cls-8" d="M101.85,328.3c-14.28,13.63-25.74,31.39-31.28,50.93-2.74,9.67-4.23,19.09-4.33,29.83,2.73-1.72,7.92-5.02,11.66-6.47,38.33-14.83,76.93,9.93,79.71,49.66,2.97,42.57-37.06,72.06-77.23,59.04,1.41,5.46,5.83,21.16,12.34,35.85,24.25,54.71,65.97,100.59,116.7,131.83,3.84,2.36,15.04,8.95,18.45,10.2-19.79-25.29-31.01-53.86-33.37-82.29-2.4-28.93,4.38-57.71,20.64-82.7-40.97-67.39-35-151.14,17.95-209.52,2.57-2.83,6.7-6.91,7.99-8.21-47.25-25.82-102.93-12.79-139.22,21.85Z"/>
72
+ <circle class="cls-1" cx="100.01" cy="456.25" r="37.66"/>
73
+ </g>
74
+ <g>
75
+ <path class="cls-4" d="M634.42,455.55c-39.55,10.41-75.95-20.85-73.1-61.2,2.62-37.12,40.82-62.03,76.1-50.57-19.8-67.8-68.23-128.03-129.7-164.07-2.74-1.61-21.83-11.74-23.57-12.07,38.03,45.72,47.18,114.47,16.15,164.16,45.21,63.61,41.08,154.62-10.96,210.61l-12.39,13.18c16.88,10.15,40.99,14.81,62.7,12.68,62.49-6.12,117-55.23,114.09-121.59-5.89,3.52-12.39,7.05-19.32,8.87Z"/>
76
+ <circle class="cls-2" cx="619.32" cy="399.16" r="38.33" transform="translate(-75.14 152.97) rotate(-13.28)"/>
77
+ </g>
78
+ <g>
79
+ <path class="cls-5" d="M456.78,171.61c-19.91-20.76-46.28-34.11-78.51-35.04,23.23,35.34,4.91,83.21-36.87,92.09-38.41,8.17-73.38-25-68.52-63.86.41-3.3,1.5-8.16,2.55-11.94-9,1.74-22.4,6.89-31.01,10.5-53.43,22.41-98.46,61.4-129.94,109.79-3.81,5.86-11.12,18.1-14.76,25.82,46.01-36.74,112.39-44.25,163.76-10.97,40.48-26.04,87.56-35.21,134.78-24.87,3.41.75,6.78,1.61,10.12,2.58,28.23,8.21,53.49,24.14,73.59,43.75,3.92-10.15,7.97-19.83,9.43-30.77,5.31-39.86-8.34-79.69-34.61-107.08Z"/>
80
+ <circle class="cls-7" cx="330.33" cy="171.4" r="37.98"/>
81
+ </g>
82
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrewity/n8n-nodes-acrewity",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "n8n community node for Acrewity API - A unified API platform with 20+ utility services including PDF processing, data conversion, QR codes, and more",
5
5
  "license": "MIT",
6
6
  "homepage": "https://acrewity.com",