@thegraphitelab/n8n-nodes-toolbox 1.1.4 → 1.2.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.
Files changed (59) hide show
  1. package/dist/nodes/Miscellaneous/Miscellaneous.node.d.ts +4 -0
  2. package/dist/nodes/Miscellaneous/Miscellaneous.node.js +24 -0
  3. package/dist/nodes/Miscellaneous/Miscellaneous.node.js.map +1 -0
  4. package/dist/nodes/Miscellaneous/Miscellaneous.node.json +18 -0
  5. package/dist/nodes/Miscellaneous/eli.svg +106 -0
  6. package/dist/nodes/Miscellaneous/v1/MiscellaneousV1.node.d.ts +6 -0
  7. package/dist/nodes/Miscellaneous/v1/MiscellaneousV1.node.js +68 -0
  8. package/dist/nodes/Miscellaneous/v1/MiscellaneousV1.node.js.map +1 -0
  9. package/dist/nodes/Miscellaneous/v1/actions/index.d.ts +18 -0
  10. package/dist/nodes/Miscellaneous/v1/actions/index.js +45 -0
  11. package/dist/nodes/Miscellaneous/v1/actions/index.js.map +1 -0
  12. package/dist/nodes/Miscellaneous/v1/actions/pdf/const.d.ts +2 -0
  13. package/dist/nodes/Miscellaneous/v1/actions/pdf/const.js +6 -0
  14. package/dist/nodes/Miscellaneous/v1/actions/pdf/const.js.map +1 -0
  15. package/dist/nodes/Miscellaneous/v1/actions/pdf/create/description.d.ts +29 -0
  16. package/dist/nodes/Miscellaneous/v1/actions/pdf/create/description.js +25 -0
  17. package/dist/nodes/Miscellaneous/v1/actions/pdf/create/description.js.map +1 -0
  18. package/dist/nodes/Miscellaneous/v1/actions/pdf/create/execution.d.ts +6 -0
  19. package/dist/nodes/Miscellaneous/v1/actions/pdf/create/execution.js +62 -0
  20. package/dist/nodes/Miscellaneous/v1/actions/pdf/create/execution.js.map +1 -0
  21. package/dist/nodes/Miscellaneous/v1/actions/pdf/index.d.ts +11 -0
  22. package/dist/nodes/Miscellaneous/v1/actions/pdf/index.js +27 -0
  23. package/dist/nodes/Miscellaneous/v1/actions/pdf/index.js.map +1 -0
  24. package/dist/nodes/Miscellaneous/v1/actions/routing/const.d.ts +2 -0
  25. package/dist/nodes/Miscellaneous/v1/actions/routing/const.js +6 -0
  26. package/dist/nodes/Miscellaneous/v1/actions/routing/const.js.map +1 -0
  27. package/dist/nodes/Miscellaneous/v1/actions/routing/create/description.d.ts +29 -0
  28. package/dist/nodes/Miscellaneous/v1/actions/routing/create/description.js +29 -0
  29. package/dist/nodes/Miscellaneous/v1/actions/routing/create/description.js.map +1 -0
  30. package/dist/nodes/Miscellaneous/v1/actions/routing/create/execution.d.ts +6 -0
  31. package/dist/nodes/Miscellaneous/v1/actions/routing/create/execution.js +55 -0
  32. package/dist/nodes/Miscellaneous/v1/actions/routing/create/execution.js.map +1 -0
  33. package/dist/nodes/Miscellaneous/v1/actions/routing/index.d.ts +11 -0
  34. package/dist/nodes/Miscellaneous/v1/actions/routing/index.js +27 -0
  35. package/dist/nodes/Miscellaneous/v1/actions/routing/index.js.map +1 -0
  36. package/dist/nodes/Miscellaneous/v1/parameters/pdf/index.d.ts +4 -0
  37. package/dist/nodes/Miscellaneous/v1/parameters/pdf/index.js +75 -0
  38. package/dist/nodes/Miscellaneous/v1/parameters/pdf/index.js.map +1 -0
  39. package/dist/nodes/Miscellaneous/v1/parameters/routing/index.d.ts +4 -0
  40. package/dist/nodes/Miscellaneous/v1/parameters/routing/index.js +74 -0
  41. package/dist/nodes/Miscellaneous/v1/parameters/routing/index.js.map +1 -0
  42. package/dist/nodes/PurchasingAssistant/v1/triggers/index.js +12 -0
  43. package/dist/nodes/PurchasingAssistant/v1/triggers/index.js.map +1 -1
  44. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/index.js +6 -0
  45. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/index.js.map +1 -1
  46. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/description.d.ts +3 -0
  47. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/description.js +15 -0
  48. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/description.js.map +1 -0
  49. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/webhookMethods.d.ts +1 -0
  50. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/webhookMethods.js +10 -0
  51. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/webhookMethods.js.map +1 -0
  52. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/description.d.ts +3 -0
  53. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/description.js +15 -0
  54. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/description.js.map +1 -0
  55. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/webhookMethods.d.ts +1 -0
  56. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/webhookMethods.js +3 -0
  57. package/dist/nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/webhookMethods.js.map +1 -0
  58. package/dist/package.json +3 -2
  59. package/package.json +3 -2
@@ -0,0 +1,4 @@
1
+ import { VersionedNodeType } from "n8n-workflow";
2
+ export declare class Miscellaneous extends VersionedNodeType {
3
+ constructor();
4
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Miscellaneous = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const MiscellaneousV1_node_1 = require("./v1/MiscellaneousV1.node");
6
+ const baseDescription = {
7
+ displayName: "TGL Miscellaneous",
8
+ defaultVersion: 1,
9
+ name: "miscellaneous",
10
+ group: ["transform"],
11
+ icon: "file:eli.svg",
12
+ subtitle: '={{$parameter["operation"] || $parameter["event"]}}: {{$parameter["resource"]}}',
13
+ description: "Interact with TGL's miscellaneous tools",
14
+ };
15
+ class Miscellaneous extends n8n_workflow_1.VersionedNodeType {
16
+ constructor() {
17
+ const nodeVersions = {
18
+ 1: new MiscellaneousV1_node_1.MiscellaneousV1(baseDescription),
19
+ };
20
+ super(nodeVersions, baseDescription);
21
+ }
22
+ }
23
+ exports.Miscellaneous = Miscellaneous;
24
+ //# sourceMappingURL=Miscellaneous.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Miscellaneous.node.js","sourceRoot":"","sources":["../../../nodes/Miscellaneous/Miscellaneous.node.ts"],"names":[],"mappings":";;;AAIA,+CAAiD;AAEjD,oEAA4D;AAC5D,MAAM,eAAe,GAA6B;IAC9C,WAAW,EAAE,mBAAmB;IAChC,cAAc,EAAE,CAAC;IACjB,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,IAAI,EAAE,cAAc;IACpB,QAAQ,EACJ,iFAAiF;IACrF,WAAW,EAAE,yCAAyC;CACzD,CAAC;AAEF,MAAa,aAAc,SAAQ,gCAAiB;IAChD;QACI,MAAM,YAAY,GAAuC;YACrD,CAAC,EAAE,IAAI,sCAAe,CAAC,eAAe,CAAC;SAC1C,CAAC;QAEF,KAAK,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;IACzC,CAAC;CACJ;AARD,sCAQC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "@thegraphitelab/n8n-nodes-toolbox",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Development", "Developer Tools"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "https://github.com/thegraphitelab/tgl-custom-n8n-nodes/tree/main/packages/n8n-nodes-toolbox#credentials"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "https://tgl-wiki.vercel.app/n8n/user-guide/toolbox/miscellaneous/miscellaneous"
15
+ }
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,106 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 123.83 155.99">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #ef8b58;
7
+ }
8
+
9
+ .cls-2 {
10
+ fill: #c96114;
11
+ }
12
+
13
+ .cls-3 {
14
+ fill: #006994;
15
+ }
16
+
17
+ .cls-4 {
18
+ fill: #82bee8;
19
+ }
20
+
21
+ .cls-5 {
22
+ fill: #f35158;
23
+ }
24
+
25
+ .cls-6 {
26
+ fill: #fff;
27
+ }
28
+
29
+ .cls-7 {
30
+ fill: #fcb500;
31
+ }
32
+
33
+ .cls-8 {
34
+ fill: #aa4d92;
35
+ }
36
+
37
+ .cls-9 {
38
+ fill: #3a3938;
39
+ }
40
+
41
+ .cls-10 {
42
+ fill: #b9b9b9;
43
+ }
44
+
45
+ .cls-11 {
46
+ fill: #944115;
47
+ }
48
+ </style>
49
+ </defs>
50
+ <g id="Layer_1-2" data-name="Layer 1">
51
+ <g>
52
+ <path class="cls-9" d="M61.66,16.89c3.38.02,9.4.79,10.73,4.49s-1.43,6.2-4.33,7.75c-.38.2-1.76.57-1.78.95l1.4,7.2c2.62,2.42,4.33,5.45,5.02,8.97l7.42-3.26c1.08-3.93,7.17-4.31,10.49-3.79,2.57.4,6.86,1.85,6.67,5.06l5.9,2.26c2.71-.65,5.66-.5,8.33.29,2.04.61,4.56,2.03,4.46,4.48l7.44,2.93c.72.78.35,1.52.32,2.34-.26,8.32-.68,17.23-1.37,25.51-.07.82-.1,1.68-.81,2.19-10.41,5.87-20.56,12.63-31.02,18.37-.87.48-1.77,1.18-2.83.87l-7.17-3.34c-2.45.73-4.99,1.15-7.56,1.09.31,1.14.37,2.57.28,3.76-.03.43-.47,1.91-.35,2.11,5.63,3.67,10.54,8.47,11.7,15.4,1.39.22,2.51.8,3.21,2.06,5.9-1.6,13.16,1.42,14.22,7.87.19,1.17.48,2.93.57,4.07.49,6.14-4.76,10.52-10.03,12.36-.44.15-1.09.19-1.43.35-.23.11-1.56,1.72-1.99,2.1-4.22,3.71-13.67,7.42-17.8,1.85-.53-.72-1.28-1.9-1.8-2.7-.97-1.48-1.53-3.38-1.77-5.12-2.09-.53-3.83-2.27-4.05-4.47-.09-.89.22-1.78.09-2.54s-.96-2.57-1.31-3.33c-2.41-5.17-6.46-8.86-11.48-11.44-1.15-.12-2.34.13-3.49.21-.59.04-1.37-.09-1.91,0s-1.66,2.06-2.06,2.58c-4.2,5.42-9.43,10.49-16.7,10.93.12.75-.24,1.51-.13,2.24.07.43.48,1.05.61,1.57,1.29,5.22-5.25,10.91-10.1,11.33-11.75,1.01-17.39-9.45-15.44-19.95.18-.95.86-2.58.91-3.33.04-.54-.31-.99-.25-1.74.34-4.4,3.9-10.05,8.79-10.05.77,0,1.93.4,2.59.28.28-.05,1.13-.92,1.71-1.16.65-.26,1.35-.39,2.04-.34-.1-.72.45-1.74.4-2.38-.02-.3-.63-1.43-.77-1.96-.49-1.76-.59-4.14-.45-5.96.05-.64.38-1.53.4-2.06.06-1.89-.07-2.5.46-4.45.17-.62.7-1.6.76-2.12.04-.35-.14-.62-.12-.92.14-1.9.97-3.09,1.52-4.77.65-1.99.81-4.09,1.09-6.15-2.33-6.1-1.44-12.47,3.61-16.85.13-.26,1.41-.78,1.3-1.02-.06-.12-1.8-1.29-2.12-1.57-.76-.66-1.65-1.57-2.11-2.46h-.2c-6.5,5-14.62-2.43-14.47-9.42-2.13-.97-3.54-2.51-3.35-4.98.05-.71.72-2.13.69-2.44-.02-.19-1.06-1.87-1.25-2.3C-3.13,31.06.24,16.03,12.75,8.2c.38-.24,1.05-.43,1.34-.71.24-.22.3-.57.54-.83,2.81-3.04,7.36-5.08,11.37-5.96,13.85-3.03,28.89,3.82,35.66,16.17ZM52.22,17.59c-2.02-4.61-4.77-9.16-8.75-12.33-2.23-1.78-3.98-2.53-6.8-3.02-6.35-1.09-13.1.35-18.56,3.69.94.03,1.85-.29,2.79-.35,9.1-.53,15.64,7.61,18.91,15.15l12.41-3.14ZM59.59,16.91c.07-.1-.53-1.01-.65-1.19-.54-.84-1.3-1.79-1.94-2.56-3.06-3.63-7.1-6.64-11.46-8.53,3.64,3.47,6.63,7.93,8.34,12.67l5.71-.39ZM38.17,21.41c-3.7-8.87-11.67-17.21-22.1-12.89C3.92,13.56-.89,28.11,3.1,40.17c.4,1.21,1.27,3.57,1.99,4.56.09.12.1.2.2.07.41-.54.75-1.26,1.18-1.82,7.55-10.15,19.94-17.38,31.71-21.57ZM65.73,28.23c4.41-1.36,8.22-6.28,2.08-8.7-5.02-1.98-13.52-.58-18.75.56-12.36,2.69-24.2,8.03-33.88,16.2-2.73,2.31-9.59,9.1-9.9,12.61-.13,1.46.36,2.66,1.78,3.21-.02-.5.12-.97.27-1.43.57-1.76,2.89-4.62,4.16-6.07,9.2-10.5,25.93-18.26,39.48-20.97,3.63-.73,13.3-1.97,16.36-.07.54.34,1.51,1.44.38,1.54-.68.06-2.95-.98-3.34-.69l1.37,3.82ZM60.24,24.18c-5.44.22-11.01,1.47-16.21,3.03-7.83,2.35-15.52,5.88-22.07,10.77,1.04,3.12,1.49,6.68,1.04,9.95-.1.75-.3,1.82-.64,2.5-.96,1.93-1.56.12-2.34-.71-5.86-6.21-13.94-.32-10.63,7.76,1.54,3.76,6.98,7.9,10.69,4.59.63-.56,1-1.75,1.88-1.48.31.1.85,1.46,1.13,1.87,5.41,8.05,23.17,8.26,31.5,5.87,13.33-3.83,22.72-18.64,11.47-30.14-.8-4.11-1.58-8.27-3.32-12.1-.81-1.78-.42-2-2.51-1.91ZM86.57,40.69c-1.63.16-6.19,1.45-4.34,3.85,1.97,2.55,10.65,2.65,12.81.39,1.52-1.58-1.02-3.02-2.31-3.53-1.9-.75-4.14-.91-6.17-.71ZM80.05,48.77c-.21-1.05.16-2.76,0-3.89l-7.07,3.16c.27,5.33-1.7,10.36-5.21,14.3l22.07,9.39.4-.08c10.26-5.66,20.61-11.16,31.01-16.54l-5.46-2.18v2.8c0,2.3-4.54,3.71-6.36,3.87-2.93.26-9.63-.34-10.76-3.67-.28-.82-.07-.9-.07-1.57,0-2.31-.54-5.62,1.96-6.74l.09-.28-3.21-1.22c-.27-.04-.17,0-.2.2-.3,2.3.48,3.47-1.97,4.85-3.55,2.01-10.18,1.8-13.57-.49-.52-.35-1.52-1.28-1.65-1.9ZM95.47,46.52c-3.35,1.95-8.55,2.02-12.1.57-.58-.24-1.09-.63-1.68-.84-.62,3.26,2.59,4.23,5.15,4.6s6.65.18,8.46-1.97l.16-2.36ZM104.99,47.78c-1.79.18-6.47,1.65-3.86,4.05,2.35,2.17,9.92,2.41,12.42.41,1.68-1.35-.08-2.82-1.43-3.48-2-.97-4.93-1.21-7.12-.99ZM114.16,53.61c-4.1,2.19-10.06,2.11-13.92-.55-.1,1.75-.43,2.48,1.18,3.52,2.66,1.71,7.53,1.9,10.45.81.59-.22,2.28-1.11,2.28-1.81v-1.98ZM122.21,56.48l-21.15,11.12-10.3,5.66-1.7,28.24,31.59-18.69,1.57-26.33ZM89.18,73.14l-22.68-9.54c-2.26,2.32-5.02,4.04-7.93,5.43l-.21,1.7-.27,9.22c1.45-.16,2.77.41,4.1.89.93-1.05,2.25-1.78,3.11-2.89,1.86-2.41,2.05-8.02,6.78-6.46,3.55,1.17,2.88,5.83,1.56,8.47,1.19-.13,2.43-.04,3.61-.14,2.3-.19,6.03-1.42,7.97-.06,1.11.78,1.46,1.8,1.37,3.13-.02.29-.24.69-.23.82.01.1.53.57.67.78.83,1.29,1.09,2.34.5,3.83-.15.38-.73,1.06-.78,1.28-.06.29.2.62.24.93.15,1.28-.48,2.77-1.28,3.74-.38.47-1.25,1.02-1.5,1.36-.27.39-.37,1.28-.64,1.82-.32.66-.89,1.17-1.34,1.73l5.32,2.32,1.62-28.36ZM39.3,80.68c1.22-1.19,2.63-2.05,4.04-2.98-3.02-3.18-6.76-5.95-10.88-7.54-1.57-.6-3.25-.91-4.77-1.65-2.36.9-4.53,3.46-5.46,5.81-3.27,8.26,2.01,14.33,8.57,18.38.68.42,2.41,1.52,3.06,1.71.2.06.23-.02.2-.2-.07-.4-.34-.86-.39-1.38-.38-3.89,2.91-9.49,5.62-12.15ZM56.72,69.71l-.48.14c-.39,3.03-2.9,4.72-5.75,5.17-1.34.21-2.53.08-3.87.02l1.7,4.1c1.94.88,4.62,2.06,6.73,2.29.33.04,1.09-.47,1.27-.72.27-.37.1-2.51.12-3.15.01-.32.13-.62.15-.94.09-2.29.08-4.6.13-6.9ZM54.27,70.4c-3.25.87-6.6,1.24-9.96,1.43.92,1.29,1.66,1.47,3.21,1.57,2.58.17,5.66-.35,6.75-3ZM45.8,77.35c-.32-1.46-2.96-5.35-4.31-5.72-.86-.23-2.14-.15-3.06-.28l3.34,2.46,4.03,3.54ZM85.37,90.72c-2.69,1.55-6.25,2.18-9.34,1.91-.51-.04-1.93-.24-1.93-.88l.32-.46c3.13-.16,8.98-.14,11.15-2.76.84-1,.96-2.67-.26-3.4-2.55,1.7-6.39,2.43-9.42,2.19-.74-.06-2.46-.37-1.33-1.34,2.46-.29,8.56-.26,10.06-2.49.56-.83.47-1.88-.4-2.45-1.22-.79-5.44.32-7.09.42-1.06.06-2.5.06-3.55,0-.53-.03-2.33-.1-2.19-.83.1-.54.98-1.83,1.23-2.59.41-1.26.77-2.89,0-4.08-.56-.87-1.61-1.22-2.6-.84-1.27.5-1.87,3.23-2.44,4.38-1.27,2.57-3.77,3.54-5.23,5.96s-1.45,4.32-1.81,6.92c-.13.94-.71,1.12-.91.12-.48-2.39-.06-4.98.94-7.18.22-.49.85-.85.22-1.21-2.12-1.19-3.77-.37-4.93,1.54-2.1,3.49-2.24,9.17.08,12.58,1.46,2.14,3.82,2.85,6.05,1.33.16-.24-.75-1.22-.92-1.55-.28-.53-.73-1.37.09-1.6.23,0,1.3,1.34,1.64,1.64,3.79,3.32,13.8,4.9,17.98,2.03.19-.13,1.48-1.32,1.32-1.48-2.35.71-5.13,1.21-7.53.51-.67-.2-1.38-.34-1.2-1.19,4.06.06,11.55.27,12.01-5.18ZM54.26,82.95c-3.34-.54-6.67-1.88-9.37-3.93-3.82,1.6-6.72,4.89-8.35,8.65-.68,1.57-1.25,3.33-1.08,5.07,5.59,3.22,12.26,4.28,18.66,3.85-1.81-3.41-2.08-7.43-.95-11.11.27-.88.7-1.7,1.08-2.53ZM29.7,94c-2.89-1.63-5.41-3.86-7.5-6.42-.06.78-.2,1.56-.34,2.32-.08.42-.52,1.76-.36,1.98.26.35,2.03,1.25,2.51,1.45,1.76.74,3.72,1.17,5.62.93l.07-.27ZM68.05,100.55c-1.59-.33-3.07-1-4.43-1.86-2.33.78-4.1,1.9-6.53.75-.44-.21-1.53-1.15-1.68-1.19-.26-.07-.61.12-.92.12-5.49.09-9.92-.2-15.15-1.91-.49-.16-2.15-.95-2.45-.95-.34,0-1.4.64-2.18.68-1.29.06-2.26-.8-2.87-.81-.47,0-1.84.6-2.6.67-2.8.24-6.27-1.05-8.46-2.73-.44,1.05-1.13,2.53-.64,3.64.52,1.18,3.94,2.8,5.18,3.28.35.14,1.79.72,2.02.71.29-.01.56-.48.83-.65.82-.52,1.74-.44,2.64-.23,1.35.31,1.67.79,2.07,2.09,3.59.9,7.31,1.23,11.02,1.12-.06-.76.33-1.56.96-1.97,1.47-.95,4.97-.52,6.75-.61,1.97-.1,4.06-.47,6-.55,1.82-.08,3.14.14,3.49,2.16.3.2,3.89-.67,4.52-.84.78-.21,1.82-.42,2.43-.91ZM26.02,107.1l.76-4.65-3.81-1.51-3.63-2.16c-.17,1.31-1.33,3.56-.41,4.71.4.5,1.98,1.43,2.59,1.77.52.29,4.26,2.05,4.5,1.84ZM71.45,101.1l-1.63-.14c.29,2.16.17,4.41-.27,6.55,2.9-.38,2.21-4.34,1.9-6.4ZM30.23,109.81l1.12-7.55c-.09-.6-1.88-.94-2.4-.63-.83.5-1.36,4.39-1.42,5.4-.03.44-.07,1.38,0,1.77.14.73,2.04,1.08,2.71,1.01ZM56.97,101.82c-1.5.08-3.03.3-4.54.37-1.84.1-3.9-.05-5.73.13-.54.05-1.02.13-1.23.68-.39,1.03-.3,6.22-.21,7.58s.22,2.22,1.71,2.38c2.79.3,7.56-.12,10.33-.73,1.52-.33,2.26-.61,2.43-2.35.13-1.3.17-6.27-.15-7.35-.34-1.16-1.55-.78-2.61-.72ZM61.22,103.82v5.32l6.68-1.85c.41-.34.74-5.1.48-5.12-2.35.68-4.7,1.56-7.16,1.64ZM43.76,104.91c-3.75,0-7.59-.28-11.19-1.36l-.69,5.11c.02.19.06.25.24.32.88.33,3.43.57,4.49.69,2.36.28,4.77.43,7.15.43v-5.18ZM31.64,110.39c-.58,1.32-2.22.92-3.33.62-1.45-.39-2.07-.83-2.43-2.35-2.68-.77-5.28-1.94-7.51-3.61-.22,2.09-.3,4.48.4,6.49.15.43.53.92.62,1.29.27,1.04-.59,5.23-1.06,6.32-.19.43-.33,1.02-.92.72-.65-.33.01-1.97-.14-2.12-3.29.04-3.88,5.51-3.67,7.96.67,7.57,7.69,10.85,14.61,9.73,6-.97,10.54-5.61,14.08-10.21.52-.68,1.68-2.75,2.32-3,3.84-.34,7.75-.42,11.52-1.31.5-.12,2.13-.76,2.41-.73.25.02.47.31.42.56-.15.67-1.97,1.4-2.6,1.63l-2.66.81c3.67,1.91,6.77,5.07,8.98,8.56l2.07,4.27c3.38-6.95,10.36-12.53,18.15-13.51-1.05-4.78-3.75-8.39-7.44-11.46-.55-.46-3.37-2.64-3.85-2.71-.34-.05-1.27.58-1.89.64-.73.07-1.11-.23-1.46-.22-.8.02-3.77,1.15-4.84,1.43-.77.2-1.54.41-2.34.46-.26,3.06-3.7,3.2-6.1,3.52s-8.13,1-10-.33c-.67-.48-1.08-1.28-1.11-2.1-4.12-.07-8.21-.6-12.25-1.35ZM10.47,119.11c-2.82.5-4.94,3.31-5.77,5.9-.6,1.88-.17,2.66-.38,4.26-.09.69-.56,1.63-.74,2.4-2.6,11.04,3.42,21.18,15.63,18.76l1.5-.61c-7.31,1.75-13.94-2.28-15.79-9.52-1.5-5.88-.19-14.73,3.79-19.47l1.77-1.71ZM12.79,119.65c-1.36.38-2.38,1.51-3.19,2.61-5.37,7.19-6.02,23.22,4.59,26.08,3.89,1.05,10.4.05,11.5-4.54,1.31-5.45-5.56-6.87-9.55-7.11-.95-.06-2.11.13-3.01.01-.8-.1-.87-.99-.12-1.22,1.25-.39,3.52-.11,4.83-.01-.43-.51-1.06-.78-1.57-1.22-4.28-3.71-5.21-9.33-3.48-14.6ZM86.19,124.97c-1.56-1.25-3.68-.81-5.48-.37-5,1.21-10.22,5.37-13.04,9.61-1.72,2.57-4.15,7.96.11,9.32.94-4.1,4.23-7.8,7.52-10.29,1.4-1.06,3.51-1.95,4.7-2.94.46-.38.7-.96,1.09-1.37,1.45-1.53,3.07-2.86,5.03-3.67l.08-.28ZM100.25,132.07c-1.44-5.14-7.07-7.18-11.98-5.9-3.02.79-6.1,3.2-7.56,5.95-.22.41-.85,2.21-1.06,2.35-.81.49-.84-.4-.83-.96,0-.23.31-.86-.06-.74s-2.22,1.52-2.65,1.85c-3.05,2.36-7.21,6.75-6.83,10.9.13,1.39.83,2.76,1.36,4.03l1.17-2.31c1.29-2.44,4.16-3.72,5.91-5.41.67-.65,1.43-2,2.13-2.79,4.87-5.51,13.01-10.22,20.4-6.96ZM101.06,136.02c-.74-4.14-6.04-3.91-9.23-3.16-4.15.98-8.11,3.98-10.9,7.11-.71.8-1.54,2.25-2.18,2.87s-1.94,1.24-2.72,1.91c-2.05,1.77-6,5.68-2.94,8.18.01-2.5,2.1-4.86,3.89-6.42.99-.86,2.44-1.53,3.28-2.32.56-.53,1.19-1.66,1.77-2.32,2.49-2.82,6.57-5.8,10.2-6.86,2.87-.84,6.46-1.18,8.84.99ZM81.42,145.03c1.7.58,3.36,1.3,5.08,1.81,2.7.81,3.57,1.25,6.31.24,3.16-1.16,7.03-4.1,7.91-7.5s-3.19-3.86-5.58-3.67c-5.41.43-10.7,4.88-13.73,9.12ZM89.06,148.99c-3.12-.68-6.09-1.79-9.04-2.98-1.58,1.04-3.13,2.27-4.25,3.81-.8,1.1-2.24,3.28-.49,4.15,3.83,1.9,11.29-1.82,13.78-4.98Z"/>
53
+ <path class="cls-1" d="M60.24,24.18c2.09-.08,1.7.13,2.51,1.91,1.73,3.83,2.52,7.99,3.32,12.1,11.25,11.5,1.86,26.32-11.47,30.14-8.33,2.39-26.09,2.18-31.5-5.87-.28-.42-.82-1.78-1.13-1.87-.88-.27-1.25.92-1.88,1.48-3.72,3.31-9.15-.83-10.69-4.59-3.31-8.08,4.77-13.98,10.63-7.76.79.83,1.38,2.64,2.34.71.34-.68.54-1.74.64-2.5.45-3.27,0-6.83-1.04-9.95,6.55-4.89,14.24-8.42,22.07-10.77,5.19-1.56,10.77-2.81,16.21-3.03ZM55.87,26.09c-1.31.15-3.43,1.04-2.91,2.7.39,1.25,1.82-.18,2.59-.42.98-.31,1.74-.29,2.71.04.45.16,3.18,2.02,2.77.38-.47-1.88-3.42-2.89-5.16-2.69ZM36.09,31.14c-2.01.24-4.82,2.08-5.02,4.26-.07.71.07,2.06,1.02,1.98.51-.07.94-1.63,1.38-2.18.64-.79,2.05-1.56,3.05-1.72s2.72.19,2.85-1.19c-.76-1.13-2.01-1.3-3.29-1.15ZM54.54,39.15c0-7.17,7.36-5.97,7.89.5.05.61-.23,2.51-.05,2.78.24.38.44-.08.56-.27,2.32-4.05-1.64-10.9-6.62-8.94-4.19,1.65-2.81,9.3.92,10.54,2.79.93,3.32-1.66,3-3.82-.33-2.28-3.14-4.25-4.87-2.08-.34.43-.46.92-.82,1.29ZM34.62,44.88v-2.11c0-1.39,1.71-3.35,3.1-3.58,3.92-.66,6.58,3.12,6.72,6.65.19.04.18-.26.21-.4.82-4.58-3.74-9.71-8.4-7.31-5.79,2.99-2.2,13.47,3.21,11.26,3.86-1.58,1.13-9.63-3.09-7.19-.94.54-1.21,1.37-1.48,2.35-.06.22.15.4-.27.33ZM51,50.08c-.14,1.35,2.33.79,3.12.46,3.8-1.55,3.66-6.63-.27-7.91-1.46-.47-3.5.08-4.63,1.1-.46.42-.93,1.57-.08,1.56.27,0,2.03-1.15,3.01-1.23,2.05-.16,3.53,1.69,2.68,3.64-.62,1.44-2.43,2.04-3.83,2.37ZM38.3,54.29c1.37,5.69,5.97,11.83,12.56,10.44,4.99-1.06,7.16-6.38,7.26-11.03.84-.91,3-2.74,3.32-3.91.45-1.65-2.06-2.61-2.53-.89l.95.41c-3.35,5.18-9.85,6.39-15.58,5.08-1.41-.32-2.76-.95-4.2-1.19-.04-.53.92-.42.79-1-.23-1.06-2.42-.2-3.02.21-.65.44-1.5,1.54-1.45,2.36.11,1.71,1.8-.55,1.9-.47ZM19.21,57.42c1.09.25.61-1.35.44-2-.76-2.83-3.59-5.35-6.63-4.23-1.02.37-1.94,1.66-1.73,2.77.22,1.18,1.48-.77,1.84-1.02,1.02-.71,2.31-.39,3.21.34-1.68.81-2.18,2.46-1.43,4.16.18.4,1.3,1.91,1.56,1.01.1-.36-1.1-1.87-.32-3.18,1.13-1.9,2.94.99,3.07,2.16Z"/>
54
+ <path class="cls-3" d="M31.64,110.39c4.04.75,8.13,1.29,12.25,1.35.03.82.44,1.62,1.11,2.1,1.87,1.33,7.66.64,10,.33s5.84-.46,6.1-3.52c.8-.05,1.57-.26,2.34-.46,1.07-.28,4.04-1.41,4.84-1.43.35,0,.74.3,1.46.22.62-.06,1.55-.69,1.89-.64.48.07,3.3,2.25,3.85,2.71,3.69,3.07,6.39,6.68,7.44,11.46-7.79.97-14.76,6.56-18.15,13.51l-2.07-4.27c-2.21-3.49-5.3-6.64-8.98-8.56l2.66-.81c.63-.22,2.45-.95,2.6-1.63.05-.25-.16-.54-.42-.56-.28-.03-1.91.61-2.41.73-3.76.89-7.67.97-11.52,1.31-.64.25-1.8,2.32-2.32,3-3.54,4.6-8.07,9.24-14.08,10.21-6.92,1.12-13.94-2.16-14.61-9.73-.22-2.46.38-7.92,3.67-7.96.15.15-.51,1.79.14,2.12.6.3.74-.29.92-.72.47-1.08,1.33-5.28,1.06-6.32-.09-.36-.47-.86-.62-1.29-.7-2.01-.62-4.4-.4-6.49,2.23,1.67,4.83,2.84,7.51,3.61.36,1.52.97,1.96,2.43,2.35,1.11.3,2.74.69,3.33-.62Z"/>
55
+ <polygon class="cls-8" points="122.21 56.48 120.65 82.81 89.06 101.5 90.76 73.26 101.06 67.59 122.21 56.48"/>
56
+ <path class="cls-7" d="M38.17,21.41c-11.77,4.19-24.16,11.43-31.71,21.57-.42.57-.77,1.28-1.18,1.82-.1.13-.11.05-.2-.07-.72-1-1.59-3.35-1.99-4.56-3.98-12.07.82-26.62,12.97-31.65,10.43-4.32,18.4,4.02,22.1,12.89Z"/>
57
+ <path class="cls-2" d="M85.37,90.72c-.46,5.45-7.95,5.25-12.01,5.18-.18.85.53.99,1.2,1.19,2.4.71,5.19.2,7.53-.51.17.16-1.12,1.34-1.32,1.48-4.18,2.87-14.2,1.29-17.98-2.03-.34-.3-1.41-1.64-1.64-1.64-.82.23-.37,1.07-.09,1.6.17.33,1.08,1.31.92,1.55-2.23,1.52-4.59.82-6.05-1.33-2.33-3.41-2.19-9.1-.08-12.58,1.15-1.91,2.8-2.73,4.93-1.54.63.35,0,.72-.22,1.21-1,2.2-1.42,4.79-.94,7.18.2,1,.78.82.91-.12.37-2.6.39-4.55,1.81-6.92s3.96-3.38,5.23-5.96c.57-1.15,1.18-3.88,2.44-4.38.98-.39,2.04-.03,2.6.84.77,1.19.41,2.83,0,4.08-.25.75-1.12,2.04-1.23,2.59-.14.73,1.66.79,2.19.83,1.06.07,2.49.07,3.55,0,1.65-.09,5.87-1.2,7.09-.42.87.56.96,1.62.4,2.45-1.5,2.23-7.6,2.21-10.06,2.49-1.13.97.59,1.28,1.33,1.34,3.03.24,6.88-.5,9.42-2.19,1.22.73,1.09,2.4.26,3.4-2.18,2.62-8.03,2.6-11.15,2.76l-.32.46c0,.65,1.42.84,1.93.88,3.1.27,6.65-.35,9.34-1.91Z"/>
58
+ <path class="cls-8" d="M80.05,48.77c.12.61,1.13,1.55,1.65,1.9,3.38,2.3,10.01,2.5,13.57.49,2.45-1.38,1.68-2.55,1.97-4.85.02-.19-.07-.24.2-.2l3.21,1.22-.09.28c-2.51,1.12-1.96,4.43-1.96,6.74,0,.67-.21.75.07,1.57,1.13,3.33,7.83,3.93,10.76,3.67,1.82-.16,6.36-1.57,6.36-3.87v-2.8l5.46,2.18c-10.41,5.38-20.76,10.89-31.01,16.54l-.4.08-22.07-9.39c3.51-3.94,5.48-8.97,5.21-14.3l7.07-3.16c.16,1.13-.21,2.84,0,3.89ZM81.39,52.29c-2.05.17-5.66,1.02-6.72,2.97-.58,1.06-.29,2.06-.34,3.2-.07,1.4-.51,3.17.34,4.42,2.57,3.74,13.45,4.18,16.08.41.55-.79.58-2.08.63-3.06.05-1.05.14-3.57-.21-4.44-1.15-2.86-7.11-3.73-9.78-3.51Z"/>
59
+ <path class="cls-8" d="M89.18,73.14l-1.62,28.36-5.32-2.32c.45-.56,1.02-1.07,1.34-1.73.27-.54.36-1.43.64-1.82.25-.35,1.12-.9,1.5-1.36.8-.98,1.44-2.46,1.28-3.74-.04-.31-.3-.64-.24-.93.05-.21.62-.89.78-1.28.6-1.49.33-2.54-.5-3.83-.14-.22-.66-.68-.67-.78-.01-.13.21-.53.23-.82.08-1.33-.26-2.35-1.37-3.13-1.94-1.36-5.68-.13-7.97.06-1.19.1-2.42.01-3.61.14,1.32-2.64,1.98-7.3-1.56-8.47-4.73-1.56-4.92,4.06-6.78,6.46-.86,1.11-2.18,1.84-3.11,2.89-1.32-.48-2.65-1.05-4.1-.89l.27-9.22.21-1.7c2.91-1.39,5.67-3.1,7.93-5.43l22.68,9.54Z"/>
60
+ <path class="cls-10" d="M39.3,80.68c-2.72,2.65-6,8.25-5.62,12.15.05.53.33.98.39,1.38.03.19,0,.26-.2.2-.65-.19-2.38-1.3-3.06-1.71-6.57-4.04-11.84-10.12-8.57-18.38.93-2.35,3.1-4.91,5.46-5.81,1.52.74,3.2,1.04,4.77,1.65,4.12,1.58,7.86,4.36,10.88,7.54-1.41.94-2.82,1.79-4.04,2.98Z"/>
61
+ <path class="cls-7" d="M65.73,28.23l-1.37-3.82c.4-.29,2.66.75,3.34.69,1.13-.1.16-1.2-.38-1.54-3.06-1.9-12.73-.66-16.36.07-13.55,2.71-30.28,10.46-39.48,20.97-1.27,1.45-3.59,4.31-4.16,6.07-.15.46-.29.94-.27,1.43-1.41-.55-1.91-1.75-1.78-3.21.31-3.52,7.17-10.31,9.9-12.61,9.68-8.17,21.52-13.51,33.88-16.2,5.23-1.14,13.73-2.53,18.75-.56,6.14,2.42,2.33,7.34-2.08,8.7Z"/>
62
+ <path class="cls-2" d="M12.79,119.65c-1.74,5.27-.8,10.9,3.48,14.6.51.44,1.15.72,1.57,1.22-1.32-.1-3.59-.37-4.83.01-.75.23-.68,1.12.12,1.22.9.12,2.07-.07,3.01-.01,3.99.24,10.86,1.65,9.55,7.11-1.1,4.59-7.61,5.59-11.5,4.54-10.6-2.86-9.95-18.89-4.59-26.08.81-1.09,1.83-2.22,3.19-2.61Z"/>
63
+ <path class="cls-7" d="M52.22,17.59l-12.41,3.14c-3.27-7.54-9.81-15.68-18.91-15.15-.94.05-1.85.37-2.79.35,5.46-3.34,12.21-4.78,18.56-3.69,2.83.49,4.57,1.24,6.8,3.02,3.98,3.17,6.73,7.72,8.75,12.33Z"/>
64
+ <path class="cls-1" d="M54.26,82.95c-.38.83-.81,1.65-1.08,2.53-1.13,3.68-.86,7.7.95,11.11-6.4.43-13.08-.63-18.66-3.85-.16-1.73.4-3.5,1.08-5.07,1.63-3.76,4.53-7.05,8.35-8.65,2.7,2.05,6.03,3.39,9.37,3.93Z"/>
65
+ <path class="cls-2" d="M100.25,132.07c-7.39-3.26-15.53,1.45-20.4,6.96-.69.78-1.46,2.14-2.13,2.79-1.75,1.69-4.62,2.97-5.91,5.41l-1.17,2.31c-.54-1.26-1.24-2.64-1.36-4.03-.38-4.15,3.79-8.54,6.83-10.9.43-.33,2.29-1.73,2.65-1.85s.06.52.06.74c-.02.57.02,1.46.83.96.22-.13.85-1.94,1.06-2.35,1.46-2.75,4.54-5.16,7.56-5.95,4.91-1.28,10.54.76,11.98,5.9Z"/>
66
+ <path class="cls-3" d="M68.05,100.55c-.6.5-1.65.7-2.43.91-.62.17-4.21,1.04-4.52.84-.35-2.03-1.68-2.24-3.49-2.16-1.94.08-4.03.45-6,.55-1.79.09-5.28-.33-6.75.61-.63.41-1.02,1.22-.96,1.97-3.71.11-7.43-.21-11.02-1.12-.4-1.31-.72-1.78-2.07-2.09-.91-.21-1.82-.28-2.64.23-.28.17-.55.64-.83.65-.23.01-1.67-.57-2.02-.71-1.24-.49-4.66-2.11-5.18-3.28-.49-1.11.2-2.6.64-3.64,2.19,1.68,5.66,2.96,8.46,2.73.76-.06,2.13-.68,2.6-.67.61.01,1.58.87,2.87.81.77-.04,1.84-.68,2.18-.68.31,0,1.96.79,2.45.95,5.23,1.72,9.66,2.01,15.15,1.91.31,0,.66-.19.92-.12.15.04,1.24.99,1.68,1.19,2.43,1.14,4.21.03,6.53-.75,1.36.87,2.84,1.54,4.43,1.86Z"/>
67
+ <path class="cls-11" d="M81.42,145.03c3.03-4.25,8.32-8.69,13.73-9.12,2.39-.19,6.44.36,5.58,3.67s-4.75,6.34-7.91,7.5c-2.75,1.01-3.61.57-6.31-.24-1.73-.52-3.38-1.23-5.08-1.81Z"/>
68
+ <path class="cls-4" d="M86.19,124.97l-.08.28c-1.96.82-3.58,2.15-5.03,3.67-.39.41-.63.98-1.09,1.37-1.19.99-3.29,1.88-4.7,2.94-3.28,2.49-6.58,6.19-7.52,10.29-4.26-1.36-1.83-6.75-.11-9.32,2.82-4.23,8.05-8.39,13.04-9.61,1.8-.44,3.92-.88,5.48.37Z"/>
69
+ <path class="cls-2" d="M56.97,101.82c1.06-.06,2.26-.44,2.61.72.32,1.08.28,6.05.15,7.35-.17,1.73-.91,2.01-2.43,2.35-2.77.6-7.54,1.02-10.33.73-1.5-.16-1.63-1.08-1.71-2.38-.09-1.36-.18-6.55.21-7.58.21-.55.69-.62,1.23-.68,1.83-.18,3.89-.04,5.73-.13,1.51-.08,3.03-.3,4.54-.37ZM54.78,103.45c-.66.03-1.44.19-2.09.23-1.15.07-2.72-.03-3.81.15-.55.09-1.04.64-1.14,1.18-.21,1.14-.28,3.32-.17,4.47.15,1.45.95,1.6,2.25,1.71,1.41.11,5.61.02,6.76-.61,1.33-.73,1.18-3.41,1.08-4.78-.18-2.56-.48-2.47-2.89-2.35Z"/>
70
+ <path class="cls-11" d="M89.06,148.99c-2.5,3.16-9.95,6.88-13.78,4.98-1.75-.87-.31-3.05.49-4.15,1.12-1.54,2.67-2.77,4.25-3.81,2.95,1.19,5.92,2.3,9.04,2.98Z"/>
71
+ <path class="cls-11" d="M101.06,136.02c-2.37-2.17-5.97-1.83-8.84-.99-3.63,1.06-7.71,4.03-10.2,6.86-.58.66-1.21,1.79-1.77,2.32-.83.78-2.29,1.46-3.28,2.32-1.78,1.55-3.87,3.92-3.89,6.42-3.06-2.5.89-6.41,2.94-8.18.79-.68,2.11-1.32,2.72-1.91s1.47-2.07,2.18-2.87c2.79-3.13,6.75-6.13,10.9-7.11,3.18-.75,8.49-.99,9.23,3.16Z"/>
72
+ <path class="cls-8" d="M104.99,47.78c2.19-.22,5.13.02,7.12.99,1.35.66,3.12,2.12,1.43,3.48-2.49,2-10.06,1.76-12.42-.41-2.61-2.41,2.07-3.87,3.86-4.05Z"/>
73
+ <path class="cls-8" d="M86.57,40.69c2.02-.2,4.26-.04,6.17.71,1.28.51,3.82,1.95,2.31,3.53-2.16,2.25-10.84,2.16-12.81-.39-1.86-2.4,2.71-3.69,4.34-3.85Z"/>
74
+ <path class="cls-11" d="M43.76,104.91v5.18c-2.38,0-4.78-.15-7.15-.43-1.06-.13-3.61-.36-4.49-.69-.18-.07-.22-.13-.24-.32l.69-5.11c3.6,1.08,7.43,1.37,11.19,1.36Z"/>
75
+ <path class="cls-10" d="M56.72,69.71c-.05,2.29-.04,4.6-.13,6.9-.01.32-.13.62-.15.94-.03.64.15,2.79-.12,3.15-.18.25-.94.75-1.27.72-2.12-.23-4.79-1.41-6.73-2.29l-1.7-4.1c1.34.06,2.53.19,3.87-.02,2.85-.45,5.35-2.14,5.75-5.17l.48-.14Z"/>
76
+ <path class="cls-11" d="M10.47,119.11l-1.77,1.71c-3.97,4.74-5.28,13.59-3.79,19.47,1.85,7.24,8.48,11.27,15.79,9.52l-1.5.61c-12.21,2.42-18.23-7.72-15.63-18.76.18-.76.65-1.7.74-2.4.21-1.6-.22-2.37.38-4.26.83-2.59,2.95-5.39,5.77-5.9Z"/>
77
+ <path class="cls-7" d="M59.59,16.91l-5.71.39c-1.71-4.74-4.7-9.2-8.34-12.67,4.36,1.89,8.4,4.9,11.46,8.53.65.77,1.4,1.72,1.94,2.56.12.18.72,1.09.65,1.19Z"/>
78
+ <path class="cls-8" d="M114.16,53.61v1.98c0,.7-1.69,1.59-2.28,1.81-2.92,1.09-7.79.9-10.45-.81-1.61-1.04-1.29-1.78-1.18-3.52,3.86,2.66,9.81,2.73,13.92.55Z"/>
79
+ <path class="cls-8" d="M95.47,46.52l-.16,2.36c-1.81,2.15-5.85,2.35-8.46,1.97s-5.77-1.34-5.15-4.6c.59.21,1.1.61,1.68.84,3.55,1.45,8.75,1.38,12.1-.57Z"/>
80
+ <path class="cls-11" d="M26.02,107.1c-.24.21-3.98-1.55-4.5-1.84-.62-.34-2.2-1.27-2.59-1.77-.92-1.16.24-3.4.41-4.71l3.63,2.16,3.81,1.51-.76,4.65Z"/>
81
+ <path class="cls-11" d="M61.22,103.82c2.46-.08,4.82-.96,7.16-1.64.26.02-.07,4.78-.48,5.12l-6.68,1.85v-5.32Z"/>
82
+ <path class="cls-3" d="M30.23,109.81c-.67.07-2.57-.27-2.71-1.01-.08-.39-.03-1.33,0-1.77.06-1.01.59-4.9,1.42-5.4.53-.31,2.31.02,2.4.63l-1.12,7.55Z"/>
83
+ <path class="cls-10" d="M29.7,94l-.07.27c-1.9.24-3.86-.19-5.62-.93-.49-.2-2.25-1.11-2.51-1.45-.17-.22.28-1.56.36-1.98.14-.77.28-1.54.34-2.32,2.09,2.55,4.62,4.79,7.5,6.42Z"/>
84
+ <path class="cls-10" d="M54.27,70.4c-1.1,2.65-4.18,3.17-6.75,3-1.55-.1-2.29-.27-3.21-1.57,3.36-.19,6.7-.56,9.96-1.43Z"/>
85
+ <path class="cls-3" d="M71.45,101.1c.31,2.06,1,6.02-1.9,6.4.44-2.14.57-4.39.27-6.55l1.63.14Z"/>
86
+ <path class="cls-3" d="M45.8,77.35l-4.03-3.54-3.34-2.46c.91.14,2.2.05,3.06.28,1.34.37,3.99,4.26,4.31,5.72Z"/>
87
+ <path class="cls-9" d="M38.3,54.29c-.11-.08-1.79,2.18-1.9.47-.05-.82.8-1.92,1.45-2.36.6-.41,2.79-1.27,3.02-.21.13.58-.83.47-.79,1,1.44.24,2.79.86,4.2,1.19,5.73,1.31,12.23.1,15.58-5.08l-.95-.41c.47-1.71,2.98-.76,2.53.89-.32,1.17-2.47,3-3.32,3.91-.09,4.64-2.27,9.97-7.26,11.03-6.58,1.39-11.19-4.75-12.56-10.44ZM42.26,59.07c-.09.12.49.81.61.96,2.43,2.86,6.39,4.36,9.76,2.1-2.11-3.54-6.65-4.29-10.37-3.06Z"/>
88
+ <path class="cls-9" d="M51,50.08c1.4-.33,3.21-.94,3.83-2.37.85-1.95-.63-3.8-2.68-3.64-.97.08-2.73,1.22-3.01,1.23-.85.01-.39-1.14.08-1.56,1.12-1.02,3.17-1.57,4.63-1.1,3.94,1.28,4.07,6.36.27,7.91-.79.32-3.26.88-3.12-.46Z"/>
89
+ <path class="cls-9" d="M19.21,57.42c-.13-1.16-1.94-4.06-3.07-2.16-.78,1.31.43,2.82.32,3.18-.26.9-1.39-.61-1.56-1.01-.75-1.7-.25-3.35,1.43-4.16-.9-.73-2.19-1.05-3.21-.34-.36.25-1.62,2.2-1.84,1.02-.21-1.1.72-2.39,1.73-2.77,3.04-1.12,5.87,1.4,6.63,4.23.18.65.66,2.25-.44,2Z"/>
90
+ <path class="cls-9" d="M36.09,31.14c1.27-.15,2.52.02,3.29,1.15-.13,1.39-1.87,1.04-2.85,1.19s-2.41.94-3.05,1.72c-.44.54-.87,2.1-1.38,2.18-.94.07-1.08-1.27-1.02-1.98.2-2.18,3.01-4.02,5.02-4.26Z"/>
91
+ <path class="cls-9" d="M55.87,26.09c1.74-.2,4.69.81,5.16,2.69.4,1.64-2.32-.22-2.77-.38-.96-.33-1.73-.35-2.71-.04-.77.25-2.2,1.67-2.59.42-.52-1.66,1.6-2.55,2.91-2.7Z"/>
92
+ <path class="cls-9" d="M81.39,52.29c2.67-.22,8.63.65,9.78,3.51.35.87.26,3.39.21,4.44-.05.98-.08,2.27-.63,3.06-2.63,3.77-13.52,3.33-16.08-.41-.85-1.25-.41-3.02-.34-4.42.06-1.15-.23-2.14.34-3.2,1.06-1.95,4.67-2.8,6.72-2.97ZM81.12,53.92c-1.81.17-7.22,1.68-4.4,4.19,2.44,2.17,9.55,2.37,12.14.41,2.06-1.55.21-3.06-1.43-3.75-1.89-.79-4.27-1.04-6.3-.85ZM75.82,59.48v1.98c0,.33.69,1,.97,1.22,2.54,1.99,9.09,2.29,11.77.47,1.2-.82,1.32-2.03,1.11-3.39-3.39,2.06-8.44,2.09-12.07.61-.61-.25-1.16-.65-1.78-.88Z"/>
93
+ <path class="cls-9" d="M54.78,103.45c2.41-.12,2.71-.21,2.89,2.35.1,1.37.24,4.05-1.08,4.78-1.15.63-5.35.72-6.76.61-1.3-.1-2.1-.26-2.25-1.71-.12-1.15-.04-3.33.17-4.47.1-.54.59-1.1,1.14-1.18,1.09-.17,2.67-.07,3.81-.15.65-.04,1.42-.2,2.09-.23ZM56.04,104.91l-6.8.57c.16.63-.37,3.75-.02,4.01.15.11.79.19,1.02.21,1.15.1,3.07,0,4.23-.14.52-.07,1.2-.11,1.57-.48v-4.16Z"/>
94
+ <path class="cls-5" d="M42.26,59.07c3.72-1.23,8.26-.48,10.37,3.06-3.37,2.26-7.33.76-9.76-2.1-.12-.14-.7-.84-.61-.96Z"/>
95
+ <path class="cls-8" d="M81.12,53.92c2.03-.2,4.42.06,6.3.85,1.65.69,3.49,2.2,1.43,3.75-2.59,1.95-9.7,1.76-12.14-.41-2.81-2.51,2.6-4.01,4.4-4.19Z"/>
96
+ <path class="cls-8" d="M75.82,59.48c.62.23,1.16.64,1.78.88,3.64,1.48,8.68,1.45,12.07-.61.21,1.36.09,2.57-1.11,3.39-2.68,1.82-9.23,1.53-11.77-.47-.28-.22-.97-.88-.97-1.22v-1.98Z"/>
97
+ <path class="cls-11" d="M56.04,104.91v4.16c-.37.37-1.05.41-1.57.48-1.16.15-3.08.24-4.23.14-.23-.02-.88-.1-1.02-.21-.34-.26.18-3.38.02-4.01l6.8-.57Z"/>
98
+ <ellipse class="cls-6" cx="58.5" cy="39.17" rx="4.3" ry="5.28" transform="translate(-9.72 21.76) rotate(-19.49)"/>
99
+ <ellipse class="cls-6" cx="39.17" cy="44.04" rx="5.12" ry="5.67" transform="translate(-12.45 15.59) rotate(-19.49)"/>
100
+ <path class="cls-9" d="M34.62,44.88c.42.07.21-.11.27-.33.27-.98.54-1.81,1.48-2.35,4.23-2.44,6.96,5.61,3.09,7.19-5.41,2.21-9-8.27-3.21-11.26,4.66-2.41,9.22,2.73,8.4,7.31-.03.14-.01.44-.21.4-.14-3.53-2.8-7.31-6.72-6.65-1.39.24-3.1,2.2-3.1,3.58v2.11ZM38.4,43.27c-.96.28-.47,1.97.76,1.72s.51-2.1-.76-1.72Z"/>
101
+ <path class="cls-9" d="M54.54,39.15c.36-.37.48-.86.82-1.29,1.73-2.17,4.54-.21,4.87,2.08.31,2.16-.22,4.75-3,3.82-3.73-1.24-5.11-8.9-.92-10.54,4.99-1.96,8.95,4.89,6.62,8.94-.11.2-.32.65-.56.27-.18-.28.11-2.18.05-2.78-.53-6.47-7.9-7.66-7.89-.5ZM57.63,38.49c-.83.29.13,1.91.86,1.55.89-.43.15-1.91-.86-1.55Z"/>
102
+ <path class="cls-6" d="M38.4,43.27c1.27-.37,2.02,1.47.76,1.72s-1.72-1.44-.76-1.72Z"/>
103
+ <path class="cls-6" d="M57.63,38.49c1.01-.36,1.75,1.13.86,1.55-.73.35-1.69-1.26-.86-1.55Z"/>
104
+ </g>
105
+ </g>
106
+ </svg>
@@ -0,0 +1,6 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeBaseDescription, INodeTypeDescription } from "n8n-workflow";
2
+ export declare class MiscellaneousV1 implements INodeType {
3
+ description: INodeTypeDescription;
4
+ constructor(baseDescription: INodeTypeBaseDescription);
5
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
6
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MiscellaneousV1 = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const actions_1 = require("./actions");
6
+ const execHandler_1 = require("../../../core/handlers/execHandler");
7
+ const miscellaneousV1Description = {
8
+ displayName: "TGL Miscellaneous",
9
+ name: "miscellaneous",
10
+ group: ["transform"],
11
+ // Icon is inherited from the base wrapper's description (merged in via the
12
+ // constructor). Do NOT set a `file:` icon here: when installed from npm, n8n
13
+ // resolves it relative to the registered base node file's directory, so a
14
+ // `../` path would 404. See Miscellaneous.node.ts.
15
+ version: 1,
16
+ // TODO: improve subtitle to change depending on inputs
17
+ subtitle: '={{$parameter["operation"] || $parameter["event"]}}: {{$parameter["resource"]}}',
18
+ description: "Interact with TGL's miscellaneous tools",
19
+ defaults: {
20
+ name: "TGL Miscellaneous",
21
+ },
22
+ usableAsTool: true,
23
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
24
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
25
+ credentials: [
26
+ {
27
+ name: "toolboxApi",
28
+ required: true,
29
+ },
30
+ ],
31
+ requestDefaults: {
32
+ baseURL: "=https://api.thegraphitelab.com",
33
+ headers: {
34
+ "Content-Type": "application/json",
35
+ Accept: "application/json",
36
+ },
37
+ },
38
+ properties: actions_1.properties,
39
+ };
40
+ /* eslint-disable @n8n/community-nodes/icon-validation --
41
+ Icon lives on the versioned wrapper's description/baseDescription and is merged
42
+ in via the constructor; this static rule can't see spreads, so it false-positives. */
43
+ class MiscellaneousV1 {
44
+ description;
45
+ constructor(baseDescription) {
46
+ this.description = {
47
+ ...baseDescription,
48
+ ...miscellaneousV1Description,
49
+ };
50
+ }
51
+ // continue-on-fail is handled in the router
52
+ async execute() {
53
+ return await (0, execHandler_1.execHandler)(this, (resource) => {
54
+ if (!actions_1.ResourceList.includes(resource)) {
55
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Invalid resource ${resource}`);
56
+ }
57
+ }, (resource, operation) => {
58
+ const operations = (0, actions_1.getOperationList)(resource);
59
+ if (!operations.includes(operation)) {
60
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Invalid operation ${operation}`);
61
+ }
62
+ }, (resource, operation) => {
63
+ return actions_1.executionMap[resource][operation];
64
+ });
65
+ }
66
+ }
67
+ exports.MiscellaneousV1 = MiscellaneousV1;
68
+ //# sourceMappingURL=MiscellaneousV1.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiscellaneousV1.node.js","sourceRoot":"","sources":["../../../../nodes/Miscellaneous/v1/MiscellaneousV1.node.ts"],"names":[],"mappings":";;;AAOA,+CAAuE;AAEvE,uCAOmB;AACnB,oEAAiE;AAEjE,MAAM,0BAA0B,GAAyB;IACrD,WAAW,EAAE,mBAAmB;IAChC,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,2EAA2E;IAC3E,6EAA6E;IAC7E,0EAA0E;IAC1E,mDAAmD;IACnD,OAAO,EAAE,CAAC;IACV,uDAAuD;IACvD,QAAQ,EACJ,iFAAiF;IACrF,WAAW,EAAE,yCAAyC;IACtD,QAAQ,EAAE;QACN,IAAI,EAAE,mBAAmB;KAC5B;IACD,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IACnC,WAAW,EAAE;QACT;YACI,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,eAAe,EAAE;QACb,OAAO,EAAE,iCAAiC;QAC1C,OAAO,EAAE;YACL,cAAc,EAAE,kBAAkB;YAClC,MAAM,EAAE,kBAAkB;SAC7B;KACJ;IACD,UAAU,EAAV,oBAAU;CACb,CAAC;AAEF;;0FAE0F;AAC1F,MAAa,eAAe;IACxB,WAAW,CAAuB;IAElC,YAAY,eAAyC;QACjD,IAAI,CAAC,WAAW,GAAG;YACf,GAAG,eAAe;YAClB,GAAG,0BAA0B;SAChC,CAAC;IACN,CAAC;IAED,4CAA4C;IAC5C,KAAK,CAAC,OAAO;QACT,OAAO,MAAM,IAAA,yBAAW,EACpB,IAAI,EACJ,CAAC,QAAgB,EAAgC,EAAE;YAC/C,IAAI,CAAC,sBAAY,CAAC,QAAQ,CAAC,QAAoB,CAAC,EAAE,CAAC;gBAC/C,MAAM,IAAI,iCAAkB,CACxB,IAAI,CAAC,OAAO,EAAE,EACd,oBAAoB,QAAQ,EAAE,CACjC,CAAC;YACN,CAAC;QACL,CAAC,EACD,CACI,QAAkB,EAClB,SAAiB,EACa,EAAE;YAChC,MAAM,UAAU,GAAG,IAAA,0BAAgB,EAAC,QAAQ,CAAC,CAAC;YAC9C,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAsB,CAAC,EAAE,CAAC;gBAC/C,MAAM,IAAI,iCAAkB,CACxB,IAAI,CAAC,OAAO,EAAE,EACd,qBAAqB,SAAS,EAAE,CACnC,CAAC;YACN,CAAC;QACL,CAAC,EACD,CAAC,QAAkB,EAAE,SAAoB,EAAE,EAAE;YACzC,OAAO,sBAAY,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;QAC7C,CAAC,CACJ,CAAC;IACN,CAAC;CACJ;AAvCD,0CAuCC"}
@@ -0,0 +1,18 @@
1
+ import { INodeProperties } from "n8n-workflow";
2
+ export declare const executionMap: {
3
+ routing: {
4
+ create: (this: import("n8n-workflow").IExecuteFunctions, index: number) => Promise<import("n8n-workflow").NodeExecutionWithMetadata[]>;
5
+ };
6
+ pdf: {
7
+ create: (this: import("n8n-workflow").IExecuteFunctions, index: number) => Promise<import("n8n-workflow").NodeExecutionWithMetadata[]>;
8
+ };
9
+ };
10
+ type ExecMap = typeof executionMap;
11
+ export type Resource = keyof ExecMap & string;
12
+ export type Operation = {
13
+ [R in Resource]: keyof ExecMap[R] & string;
14
+ }[Resource];
15
+ export declare const ResourceList: Resource[];
16
+ export declare function getOperationList(resource: Resource): Operation[];
17
+ declare const properties: INodeProperties[];
18
+ export { properties };
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.properties = exports.ResourceList = exports.executionMap = void 0;
4
+ exports.getOperationList = getOperationList;
5
+ const pdf_1 = require("./pdf");
6
+ const routing_1 = require("./routing");
7
+ // To add another action, mirror nodes/CallIQ/v1/actions. A new operation on an
8
+ // existing resource only needs its own <operation>/ folder and an entry in that
9
+ // resource's index.ts. A new resource needs:
10
+ //
11
+ // 1. Create actions/<resource>/ with:
12
+ // const.ts RESOURCE_DISPLAY_NAME and RESOURCE_VALUE
13
+ // <operation>/description.ts the operation's inputs and its option
14
+ // <operation>/execution.ts the operation's execution function
15
+ // index.ts the resource's `<resource>Description`,
16
+ // `<resource>Operations` and `<resource>Options`
17
+ // 2. Spread `<resource>Operations` into `executionMap` below.
18
+ // 3. Add `<resource>Options` to `options` and spread `<resource>Description`
19
+ // into `properties` below.
20
+ //
21
+ // Resource and Operation below are derived from `executionMap`, so the node's
22
+ // validation and routing pick the new action up automatically.
23
+ exports.executionMap = {
24
+ ...pdf_1.pdfOperations,
25
+ ...routing_1.routingOperations,
26
+ };
27
+ exports.ResourceList = Object.keys(exports.executionMap);
28
+ function getOperationList(resource) {
29
+ return Object.keys(exports.executionMap[resource]);
30
+ }
31
+ const options = [pdf_1.pdfOptions, routing_1.routingOptions];
32
+ const properties = [
33
+ {
34
+ displayName: "Resource",
35
+ name: "resource",
36
+ type: "options",
37
+ noDataExpression: true,
38
+ default: "pdf",
39
+ options,
40
+ },
41
+ ...pdf_1.pdfDescription,
42
+ ...routing_1.routingDescription,
43
+ ];
44
+ exports.properties = properties;
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Miscellaneous/v1/actions/index.ts"],"names":[],"mappings":";;;AAwCA,4CAEC;AAtCD,+BAAkE;AAClE,uCAImB;AAEnB,+EAA+E;AAC/E,gFAAgF;AAChF,6CAA6C;AAC7C,EAAE;AACF,wCAAwC;AACxC,0EAA0E;AAC1E,4EAA4E;AAC5E,yEAAyE;AACzE,yEAAyE;AACzE,gFAAgF;AAChF,gEAAgE;AAChE,+EAA+E;AAC/E,gCAAgC;AAChC,EAAE;AACF,8EAA8E;AAC9E,+DAA+D;AAClD,QAAA,YAAY,GAAG;IACxB,GAAG,mBAAa;IAChB,GAAG,2BAAiB;CACqC,CAAC;AASjD,QAAA,YAAY,GAAe,MAAM,CAAC,IAAI,CAAC,oBAAY,CAAe,CAAC;AAChF,SAAgB,gBAAgB,CAAC,QAAkB;IAC/C,OAAO,MAAM,CAAC,IAAI,CAAC,oBAAY,CAAC,QAAQ,CAAC,CAAgB,CAAC;AAC9D,CAAC;AAED,MAAM,OAAO,GAAG,CAAC,gBAAU,EAAE,wBAAc,CAAC,CAAC;AAE7C,MAAM,UAAU,GAAsB;IAClC;QACI,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,KAAK;QACd,OAAO;KACV;IACD,GAAG,oBAAc;IACjB,GAAG,4BAAkB;CACxB,CAAC;AAEO,gCAAU"}
@@ -0,0 +1,2 @@
1
+ export declare const RESOURCE_DISPLAY_NAME = "PDF";
2
+ export declare const RESOURCE_VALUE = "pdf";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RESOURCE_VALUE = exports.RESOURCE_DISPLAY_NAME = void 0;
4
+ exports.RESOURCE_DISPLAY_NAME = "PDF";
5
+ exports.RESOURCE_VALUE = "pdf";
6
+ //# sourceMappingURL=const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["../../../../../../nodes/Miscellaneous/v1/actions/pdf/const.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG,KAAK,CAAC;AAC9B,QAAA,cAAc,GAAG,KAAK,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { INodePropertyOptions } from "n8n-workflow";
2
+ export declare const descriptionCreate: {
3
+ displayOptions: import("n8n-workflow").IDisplayOptions;
4
+ displayName: string;
5
+ name: string;
6
+ type: import("n8n-workflow").NodePropertyTypes;
7
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
8
+ default: import("n8n-workflow").NodeParameterValueType;
9
+ description?: string;
10
+ hint?: string;
11
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
+ options?: Array<import("n8n-workflow/dist/esm/interfaces").INodePropertyOptions | import("n8n-workflow").INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: "single" | "multiple";
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ }[];
29
+ export declare const optionsCreate: INodePropertyOptions;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.optionsCreate = exports.descriptionCreate = void 0;
4
+ const utils_1 = require("../../../../../../core/parameters/utils");
5
+ const const_1 = require("../const");
6
+ const pdf_1 = require("../../../parameters/pdf");
7
+ exports.descriptionCreate = (0, utils_1.getDescription)({
8
+ mainParameters: [
9
+ pdf_1.params.pdfFileName,
10
+ pdf_1.params.pdfHtmlContent,
11
+ pdf_1.params.pdfPageSize,
12
+ pdf_1.params.pdfMargins,
13
+ ],
14
+ displayOptions: {
15
+ show: { resource: [const_1.RESOURCE_VALUE], operation: ["create"] },
16
+ },
17
+ advancedParameters: [pdf_1.params.pdfLandscape, pdf_1.params.pdfPrintBackground],
18
+ });
19
+ exports.optionsCreate = {
20
+ name: "Create",
21
+ value: "create",
22
+ description: "Create a PDF from HTML",
23
+ action: "Create PDF from HTML",
24
+ };
25
+ //# sourceMappingURL=description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../../../../nodes/Miscellaneous/v1/actions/pdf/create/description.ts"],"names":[],"mappings":";;;AACA,mEAAyE;AACzE,oCAA0C;AAC1C,iDAAiD;AAEpC,QAAA,iBAAiB,GAAG,IAAA,sBAAc,EAAC;IAC5C,cAAc,EAAE;QACZ,YAAM,CAAC,WAAW;QAClB,YAAM,CAAC,cAAc;QACrB,YAAM,CAAC,WAAW;QAClB,YAAM,CAAC,UAAU;KACpB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,sBAAc,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE;KAC9D;IACD,kBAAkB,EAAE,CAAC,YAAM,CAAC,YAAY,EAAE,YAAM,CAAC,kBAAkB,CAAC;CACvE,CAAC,CAAC;AAEU,QAAA,aAAa,GAAyB;IAC/C,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,sBAAsB;CACjC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { IExecuteFunctions } from "n8n-workflow";
2
+ declare function createExec(this: IExecuteFunctions, index: number): Promise<import("n8n-workflow").NodeExecutionWithMetadata[]>;
3
+ export declare const operationCreate: {
4
+ create: typeof createExec;
5
+ };
6
+ export {};
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.operationCreate = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const transport_1 = require("../../../../../../core/transport");
6
+ // The binary property the PDF is written to on the output item.
7
+ const BINARY_PROPERTY = "data";
8
+ const MARGIN_SIDES = ["top", "bottom", "left", "right"];
9
+ // The legacy Zapier action sent every margin with an "in" (inches) suffix.
10
+ const MARGIN_UNIT = "in";
11
+ function getRequiredString(ctx, parameter, label, index) {
12
+ const value = ctx.getNodeParameter(parameter, index);
13
+ if (typeof value !== "string" || value.trim() === "") {
14
+ throw new n8n_workflow_1.NodeOperationError(ctx.getNode(), `Please enter a value for ${label}`, { itemIndex: index });
15
+ }
16
+ return value;
17
+ }
18
+ // Sides the user didn't add to the Margins collection are 0. Numbers can arrive
19
+ // as strings when set through an expression, so coerce first.
20
+ function getMargin(ctx, index) {
21
+ const margins = ctx.getNodeParameter("pdfMargins", index, {});
22
+ return Object.fromEntries(MARGIN_SIDES.map((side) => {
23
+ const n = Number(margins[side] ?? 0);
24
+ if (!Number.isFinite(n) || n < 0) {
25
+ throw new n8n_workflow_1.NodeOperationError(ctx.getNode(), `Margin ${side} must be a number that is 0 or greater`, { itemIndex: index });
26
+ }
27
+ return [side, `${n}${MARGIN_UNIT}`];
28
+ }));
29
+ }
30
+ // Zapier stashed the file under the name the user gave; here the name becomes
31
+ // the binary file name, so make sure it carries the extension.
32
+ function withPdfExtension(name) {
33
+ return /\.pdf$/i.test(name) ? name : `${name}.pdf`;
34
+ }
35
+ async function createExec(index) {
36
+ const name = getRequiredString(this, "pdfFileName", "File Name", index);
37
+ const content = getRequiredString(this, "pdfHtmlContent", "HTML Content", index);
38
+ const format = this.getNodeParameter("pdfPageSize", index);
39
+ // Booleans live under Additional Fields, so unset means false.
40
+ const { pdfLandscape = false, pdfPrintBackground = false } = this.getNodeParameter("additionalFields", index, {});
41
+ const response = (await (0, transport_1.toolboxApiRequest)(this, {
42
+ method: "POST",
43
+ endpoint: "zapiertools_htmltopdf",
44
+ body: {
45
+ content,
46
+ name,
47
+ format,
48
+ margin: getMargin(this, index),
49
+ landscape: pdfLandscape,
50
+ printBackground: pdfPrintBackground,
51
+ },
52
+ }));
53
+ const bytes = response?.file?.data;
54
+ if (!Array.isArray(bytes)) {
55
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), "The PDF service did not return a file", { itemIndex: index });
56
+ }
57
+ const fileName = withPdfExtension(name);
58
+ const binaryData = await this.helpers.prepareBinaryData(Buffer.from(bytes), fileName, "application/pdf");
59
+ return this.helpers.constructExecutionMetaData([{ json: { fileName }, binary: { [BINARY_PROPERTY]: binaryData } }], { itemData: { item: index } });
60
+ }
61
+ exports.operationCreate = { create: createExec };
62
+ //# sourceMappingURL=execution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution.js","sourceRoot":"","sources":["../../../../../../../nodes/Miscellaneous/v1/actions/pdf/create/execution.ts"],"names":[],"mappings":";;;AAAA,+CAAqE;AACrE,gEAAqE;AAErE,gEAAgE;AAChE,MAAM,eAAe,GAAG,MAAM,CAAC;AAE/B,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAU,CAAC;AAGjE,2EAA2E;AAC3E,MAAM,WAAW,GAAG,IAAI,CAAC;AAUzB,SAAS,iBAAiB,CACtB,GAAsB,EACtB,SAAiB,EACjB,KAAa,EACb,KAAa;IAEb,MAAM,KAAK,GAAG,GAAG,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,CAAW,CAAC;IAC/D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;QACnD,MAAM,IAAI,iCAAkB,CACxB,GAAG,CAAC,OAAO,EAAE,EACb,4BAA4B,KAAK,EAAE,EACnC,EAAE,SAAS,EAAE,KAAK,EAAE,CACvB,CAAC;IACN,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,gFAAgF;AAChF,8DAA8D;AAC9D,SAAS,SAAS,CACd,GAAsB,EACtB,KAAa;IAEb,MAAM,OAAO,GAAG,GAAG,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,EAAE,EAAE,CAE3D,CAAC;IAEF,OAAO,MAAM,CAAC,WAAW,CACrB,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACtB,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC/B,MAAM,IAAI,iCAAkB,CACxB,GAAG,CAAC,OAAO,EAAE,EACb,UAAU,IAAI,wCAAwC,EACtD,EAAE,SAAS,EAAE,KAAK,EAAE,CACvB,CAAC;QACN,CAAC;QACD,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,WAAW,EAAE,CAAC,CAAC;IACxC,CAAC,CAAC,CACyB,CAAC;AACpC,CAAC;AAED,8EAA8E;AAC9E,+DAA+D;AAC/D,SAAS,gBAAgB,CAAC,IAAY;IAClC,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,MAAM,CAAC;AACvD,CAAC;AAED,KAAK,UAAU,UAAU,CAA0B,KAAa;IAC5D,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,iBAAiB,CAC7B,IAAI,EACJ,gBAAgB,EAChB,cAAc,EACd,KAAK,CACR,CAAC;IACF,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,KAAK,CAAW,CAAC;IACrE,+DAA+D;IAC/D,MAAM,EAAE,YAAY,GAAG,KAAK,EAAE,kBAAkB,GAAG,KAAK,EAAE,GACtD,IAAI,CAAC,gBAAgB,CACjB,kBAAkB,EAClB,KAAK,EACL,EAAE,CACe,CAAC;IAE1B,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAA,6BAAiB,EAAC,IAAI,EAAE;QAC5C,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,uBAAuB;QACjC,IAAI,EAAE;YACF,OAAO;YACP,IAAI;YACJ,MAAM;YACN,MAAM,EAAE,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC;YAC9B,SAAS,EAAE,YAAY;YACvB,eAAe,EAAE,kBAAkB;SACtC;KACJ,CAAC,CAAsB,CAAC;IAEzB,MAAM,KAAK,GAAG,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC;IACnC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxB,MAAM,IAAI,iCAAkB,CACxB,IAAI,CAAC,OAAO,EAAE,EACd,uCAAuC,EACvC,EAAE,SAAS,EAAE,KAAK,EAAE,CACvB,CAAC;IACN,CAAC;IAED,MAAM,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CACnD,MAAM,CAAC,IAAI,CAAC,KAAiB,CAAC,EAC9B,QAAQ,EACR,iBAAiB,CACpB,CAAC;IAEF,OAAO,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAC1C,CAAC,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC,EACnE,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAChC,CAAC;AACN,CAAC;AAEY,QAAA,eAAe,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { INodeProperties } from "n8n-workflow";
2
+ export declare const pdfDescription: INodeProperties[];
3
+ export declare const pdfOperations: {
4
+ pdf: {
5
+ create: (this: import("n8n-workflow").IExecuteFunctions, index: number) => Promise<import("n8n-workflow").NodeExecutionWithMetadata[]>;
6
+ };
7
+ };
8
+ export declare const pdfOptions: {
9
+ name: string;
10
+ value: string;
11
+ };
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pdfOptions = exports.pdfOperations = exports.pdfDescription = void 0;
4
+ const const_1 = require("./const");
5
+ const execution_1 = require("./create/execution");
6
+ const description_1 = require("./create/description");
7
+ const options = [description_1.optionsCreate];
8
+ const operation = {
9
+ displayName: "Operation",
10
+ name: "operation",
11
+ type: "options",
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: {
15
+ resource: [const_1.RESOURCE_VALUE],
16
+ },
17
+ },
18
+ options,
19
+ default: "create",
20
+ };
21
+ exports.pdfDescription = [operation, ...description_1.descriptionCreate];
22
+ exports.pdfOperations = { pdf: { ...execution_1.operationCreate } };
23
+ exports.pdfOptions = {
24
+ name: const_1.RESOURCE_DISPLAY_NAME,
25
+ value: const_1.RESOURCE_VALUE,
26
+ };
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Miscellaneous/v1/actions/pdf/index.ts"],"names":[],"mappings":";;;AACA,mCAAgE;AAEhE,kDAAqD;AAErD,sDAAwE;AAExE,MAAM,OAAO,GAAG,CAAC,2BAAa,CAAC,CAAC;AAEhC,MAAM,SAAS,GAAoB;IAC/B,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACZ,IAAI,EAAE;YACF,QAAQ,EAAE,CAAC,sBAAc,CAAC;SAC7B;KACJ;IACD,OAAO;IACP,OAAO,EAAE,QAAQ;CACpB,CAAC;AAEW,QAAA,cAAc,GAAG,CAAC,SAAS,EAAE,GAAG,+BAAiB,CAAC,CAAC;AAEnD,QAAA,aAAa,GAAG,EAAE,GAAG,EAAE,EAAE,GAAG,2BAAe,EAAE,EAAE,CAAC;AAEhD,QAAA,UAAU,GAAG;IACtB,IAAI,EAAE,6BAAqB;IAC3B,KAAK,EAAE,sBAAc;CACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const RESOURCE_DISPLAY_NAME = "Routing";
2
+ export declare const RESOURCE_VALUE = "routing";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RESOURCE_VALUE = exports.RESOURCE_DISPLAY_NAME = void 0;
4
+ exports.RESOURCE_DISPLAY_NAME = "Routing";
5
+ exports.RESOURCE_VALUE = "routing";
6
+ //# sourceMappingURL=const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["../../../../../../nodes/Miscellaneous/v1/actions/routing/const.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG,SAAS,CAAC;AAClC,QAAA,cAAc,GAAG,SAAS,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { INodePropertyOptions } from "n8n-workflow";
2
+ export declare const descriptionCreate: {
3
+ displayOptions: import("n8n-workflow").IDisplayOptions;
4
+ displayName: string;
5
+ name: string;
6
+ type: import("n8n-workflow").NodePropertyTypes;
7
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
8
+ default: import("n8n-workflow").NodeParameterValueType;
9
+ description?: string;
10
+ hint?: string;
11
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
+ options?: Array<import("n8n-workflow/dist/esm/interfaces").INodePropertyOptions | import("n8n-workflow").INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: "single" | "multiple";
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ }[];
29
+ export declare const optionsCreate: INodePropertyOptions;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.optionsCreate = exports.descriptionCreate = void 0;
4
+ const utils_1 = require("../../../../../../core/parameters/utils");
5
+ const const_1 = require("../const");
6
+ const routing_1 = require("../../../parameters/routing");
7
+ exports.descriptionCreate = (0, utils_1.getDescription)({
8
+ mainParameters: [
9
+ routing_1.params.routingOriginLatitude,
10
+ routing_1.params.routingOriginLongitude,
11
+ routing_1.params.routingDestinationLatitude,
12
+ routing_1.params.routingDestinationLongitude,
13
+ ],
14
+ displayOptions: {
15
+ show: { resource: [const_1.RESOURCE_VALUE], operation: ["create"] },
16
+ },
17
+ advancedParameters: [
18
+ routing_1.params.routingType,
19
+ routing_1.params.routingUnits,
20
+ routing_1.params.routingAvoid,
21
+ ],
22
+ });
23
+ exports.optionsCreate = {
24
+ name: "Create",
25
+ value: "create",
26
+ description: "Generate a routing between an origin and a destination",
27
+ action: "Create a routing",
28
+ };
29
+ //# sourceMappingURL=description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../../../../nodes/Miscellaneous/v1/actions/routing/create/description.ts"],"names":[],"mappings":";;;AACA,mEAAyE;AACzE,oCAA0C;AAC1C,yDAAqD;AAExC,QAAA,iBAAiB,GAAG,IAAA,sBAAc,EAAC;IAC5C,cAAc,EAAE;QACZ,gBAAM,CAAC,qBAAqB;QAC5B,gBAAM,CAAC,sBAAsB;QAC7B,gBAAM,CAAC,0BAA0B;QACjC,gBAAM,CAAC,2BAA2B;KACrC;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,sBAAc,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE;KAC9D;IACD,kBAAkB,EAAE;QAChB,gBAAM,CAAC,WAAW;QAClB,gBAAM,CAAC,YAAY;QACnB,gBAAM,CAAC,YAAY;KACtB;CACJ,CAAC,CAAC;AAEU,QAAA,aAAa,GAAyB;IAC/C,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,kBAAkB;CAC7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { IExecuteFunctions } from "n8n-workflow";
2
+ declare function createExec(this: IExecuteFunctions, index: number): Promise<import("n8n-workflow").NodeExecutionWithMetadata[]>;
3
+ export declare const operationCreate: {
4
+ create: typeof createExec;
5
+ };
6
+ export {};
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.operationCreate = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const utils_1 = require("../../../../../../core/handlers/utils");
6
+ const transport_1 = require("../../../../../../core/transport");
7
+ // Coordinates are entered as strings (as in the legacy Zapier action, which sent
8
+ // them to the API as given). Check each is a number in range, then send the
9
+ // trimmed text unchanged. Keep them as strings: the lambda rejects a falsy
10
+ // coordinate (`!location.latitude`), so a numeric 0 would be refused but the
11
+ // string "0" passes.
12
+ function getCoordinate(ctx, parameter, label, limit, index) {
13
+ const value = ctx.getNodeParameter(parameter, index, "");
14
+ const text = typeof value === "string" ? value.trim() : String(value ?? "");
15
+ const n = Number(text);
16
+ if (text === "" || !Number.isFinite(n) || Math.abs(n) > limit) {
17
+ throw new n8n_workflow_1.NodeOperationError(ctx.getNode(), `${label} must be a number between -${limit} and ${limit}`, { itemIndex: index });
18
+ }
19
+ return text;
20
+ }
21
+ // The routing lambda requires exactly two locations, in this order: the origin,
22
+ // then the destination.
23
+ function getLocations(ctx, index) {
24
+ return [
25
+ {
26
+ latitude: getCoordinate(ctx, "routingOriginLatitude", "Origin Latitude", 90, index),
27
+ longitude: getCoordinate(ctx, "routingOriginLongitude", "Origin Longitude", 180, index),
28
+ },
29
+ {
30
+ latitude: getCoordinate(ctx, "routingDestinationLatitude", "Destination Latitude", 90, index),
31
+ longitude: getCoordinate(ctx, "routingDestinationLongitude", "Destination Longitude", 180, index),
32
+ },
33
+ ];
34
+ }
35
+ async function createExec(index) {
36
+ const locations = getLocations(this, index);
37
+ // Type, units and avoid are optional (under Additional Fields) and the legacy
38
+ // action left them out when unset, so they're only sent when chosen.
39
+ const { routingType, routingUnits, routingAvoid } = this.getNodeParameter("additionalFields", index, {});
40
+ const body = { locations };
41
+ if (routingType)
42
+ body.type = routingType;
43
+ if (routingUnits)
44
+ body.units = routingUnits;
45
+ if (routingAvoid && routingAvoid.length > 0)
46
+ body.avoid = routingAvoid;
47
+ const responseData = await (0, transport_1.toolboxApiRequest)(this, {
48
+ method: "POST",
49
+ endpoint: "routing",
50
+ body,
51
+ });
52
+ return (0, utils_1.constructExecutionMetaData)(this, index, responseData);
53
+ }
54
+ exports.operationCreate = { create: createExec };
55
+ //# sourceMappingURL=execution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution.js","sourceRoot":"","sources":["../../../../../../../nodes/Miscellaneous/v1/actions/routing/create/execution.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,iEAAmF;AACnF,gEAAqE;AAUrE,iFAAiF;AACjF,4EAA4E;AAC5E,2EAA2E;AAC3E,6EAA6E;AAC7E,qBAAqB;AACrB,SAAS,aAAa,CAClB,GAAsB,EACtB,SAAiB,EACjB,KAAa,EACb,KAAa,EACb,KAAa;IAEb,MAAM,KAAK,GAAG,GAAG,CAAC,gBAAgB,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;IACzD,MAAM,IAAI,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAC5E,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IACvB,IAAI,IAAI,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC;QAC5D,MAAM,IAAI,iCAAkB,CACxB,GAAG,CAAC,OAAO,EAAE,EACb,GAAG,KAAK,8BAA8B,KAAK,QAAQ,KAAK,EAAE,EAC1D,EAAE,SAAS,EAAE,KAAK,EAAE,CACvB,CAAC;IACN,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,gFAAgF;AAChF,wBAAwB;AACxB,SAAS,YAAY,CAAC,GAAsB,EAAE,KAAa;IACvD,OAAO;QACH;YACI,QAAQ,EAAE,aAAa,CACnB,GAAG,EACH,uBAAuB,EACvB,iBAAiB,EACjB,EAAE,EACF,KAAK,CACR;YACD,SAAS,EAAE,aAAa,CACpB,GAAG,EACH,wBAAwB,EACxB,kBAAkB,EAClB,GAAG,EACH,KAAK,CACR;SACJ;QACD;YACI,QAAQ,EAAE,aAAa,CACnB,GAAG,EACH,4BAA4B,EAC5B,sBAAsB,EACtB,EAAE,EACF,KAAK,CACR;YACD,SAAS,EAAE,aAAa,CACpB,GAAG,EACH,6BAA6B,EAC7B,uBAAuB,EACvB,GAAG,EACH,KAAK,CACR;SACJ;KACJ,CAAC;AACN,CAAC;AAED,KAAK,UAAU,UAAU,CAA0B,KAAa;IAC5D,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAE5C,8EAA8E;IAC9E,qEAAqE;IACrE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,gBAAgB,CACrE,kBAAkB,EAClB,KAAK,EACL,EAAE,CACe,CAAC;IAEtB,MAAM,IAAI,GAAgB,EAAE,SAAS,EAAE,CAAC;IACxC,IAAI,WAAW;QAAE,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;IACzC,IAAI,YAAY;QAAE,IAAI,CAAC,KAAK,GAAG,YAAY,CAAC;IAC5C,IAAI,YAAY,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC;QAAE,IAAI,CAAC,KAAK,GAAG,YAAY,CAAC;IAEvE,MAAM,YAAY,GAAG,MAAM,IAAA,6BAAiB,EAAC,IAAI,EAAE;QAC/C,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,SAAS;QACnB,IAAI;KACP,CAAC,CAAC;IAEH,OAAO,IAAA,kCAA0B,EAAC,IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC;AACjE,CAAC;AAEY,QAAA,eAAe,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { INodeProperties } from "n8n-workflow";
2
+ export declare const routingDescription: INodeProperties[];
3
+ export declare const routingOperations: {
4
+ routing: {
5
+ create: (this: import("n8n-workflow").IExecuteFunctions, index: number) => Promise<import("n8n-workflow").NodeExecutionWithMetadata[]>;
6
+ };
7
+ };
8
+ export declare const routingOptions: {
9
+ name: string;
10
+ value: string;
11
+ };
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.routingOptions = exports.routingOperations = exports.routingDescription = void 0;
4
+ const const_1 = require("./const");
5
+ const execution_1 = require("./create/execution");
6
+ const description_1 = require("./create/description");
7
+ const options = [description_1.optionsCreate];
8
+ const operation = {
9
+ displayName: "Operation",
10
+ name: "operation",
11
+ type: "options",
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: {
15
+ resource: [const_1.RESOURCE_VALUE],
16
+ },
17
+ },
18
+ options,
19
+ default: "create",
20
+ };
21
+ exports.routingDescription = [operation, ...description_1.descriptionCreate];
22
+ exports.routingOperations = { routing: { ...execution_1.operationCreate } };
23
+ exports.routingOptions = {
24
+ name: const_1.RESOURCE_DISPLAY_NAME,
25
+ value: const_1.RESOURCE_VALUE,
26
+ };
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Miscellaneous/v1/actions/routing/index.ts"],"names":[],"mappings":";;;AACA,mCAAgE;AAEhE,kDAAqD;AAErD,sDAAwE;AAExE,MAAM,OAAO,GAAG,CAAC,2BAAa,CAAC,CAAC;AAEhC,MAAM,SAAS,GAAoB;IAC/B,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACZ,IAAI,EAAE;YACF,QAAQ,EAAE,CAAC,sBAAc,CAAC;SAC7B;KACJ;IACD,OAAO;IACP,OAAO,EAAE,QAAQ;CACpB,CAAC;AAEW,QAAA,kBAAkB,GAAG,CAAC,SAAS,EAAE,GAAG,+BAAiB,CAAC,CAAC;AAEvD,QAAA,iBAAiB,GAAG,EAAE,OAAO,EAAE,EAAE,GAAG,2BAAe,EAAE,EAAE,CAAC;AAExD,QAAA,cAAc,GAAG;IAC1B,IAAI,EAAE,6BAAqB;IAC3B,KAAK,EAAE,sBAAc;CACxB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { INodeProperties } from "n8n-workflow";
2
+ type ParamKeys = "pdfFileName" | "pdfHtmlContent" | "pdfPageSize" | "pdfMargins" | "pdfLandscape" | "pdfPrintBackground";
3
+ export declare const params: Record<ParamKeys, INodeProperties>;
4
+ export {};
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.params = void 0;
4
+ // The four margins differ only in their side.
5
+ const marginOption = (side) => ({
6
+ displayName: side,
7
+ name: side.toLowerCase(),
8
+ type: "number",
9
+ default: 0,
10
+ typeOptions: { minValue: 0 },
11
+ description: `The ${side.toLowerCase()} margin for the PDF`,
12
+ });
13
+ exports.params = {
14
+ pdfFileName: {
15
+ displayName: "File Name",
16
+ name: "pdfFileName",
17
+ type: "string",
18
+ default: "",
19
+ placeholder: "my-document",
20
+ required: true,
21
+ description: "The name for your file",
22
+ },
23
+ pdfHtmlContent: {
24
+ displayName: "HTML Content",
25
+ name: "pdfHtmlContent",
26
+ type: "string",
27
+ default: "",
28
+ required: true,
29
+ typeOptions: { editor: "htmlEditor" },
30
+ description: "The HTML that you would like to convert to a PDF",
31
+ },
32
+ pdfPageSize: {
33
+ displayName: "Page Size",
34
+ name: "pdfPageSize",
35
+ type: "options",
36
+ default: "A4",
37
+ required: true,
38
+ options: [
39
+ { name: "A4", value: "A4" },
40
+ { name: "Letter", value: "Letter" },
41
+ ],
42
+ description: "The format that you would like to use for your PDF",
43
+ },
44
+ // Sides the user doesn't add are absent from the collection, so the
45
+ // execution must treat a missing side as 0.
46
+ pdfMargins: {
47
+ displayName: "Margins",
48
+ name: "pdfMargins",
49
+ type: "collection",
50
+ placeholder: "Add Margin",
51
+ default: {},
52
+ description: "The margins for the PDF in inches. Sides you don't add are 0.",
53
+ options: [
54
+ marginOption("Top"),
55
+ marginOption("Bottom"),
56
+ marginOption("Left"),
57
+ marginOption("Right"),
58
+ ],
59
+ },
60
+ pdfLandscape: {
61
+ displayName: "Landscape",
62
+ name: "pdfLandscape",
63
+ type: "boolean",
64
+ default: false,
65
+ description: "Whether the PDF should be in landscape mode",
66
+ },
67
+ pdfPrintBackground: {
68
+ displayName: "Print Background",
69
+ name: "pdfPrintBackground",
70
+ type: "boolean",
71
+ default: false,
72
+ description: "Whether the PDF should include any background elements",
73
+ },
74
+ };
75
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Miscellaneous/v1/parameters/pdf/index.ts"],"names":[],"mappings":";;;AAkBA,8CAA8C;AAC9C,MAAM,YAAY,GAAG,CACjB,IAAyC,EAC1B,EAAE,CAAC,CAAC;IACnB,WAAW,EAAE,IAAI;IACjB,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE;IACxB,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,CAAC;IACV,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;IAC5B,WAAW,EAAE,OAAO,IAAI,CAAC,WAAW,EAAE,qBAAqB;CAC9D,CAAC,CAAC;AAEU,QAAA,MAAM,GAAuC;IACtD,WAAW,EAAE;QACT,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,wBAAwB;KACxC;IACD,cAAc,EAAE;QACZ,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE;QACrC,WAAW,EAAE,kDAAkD;KAClE;IACD,WAAW,EAAE;QACT,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACL,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;YAC3B,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;SACtC;QACD,WAAW,EAAE,oDAAoD;KACpE;IACD,oEAAoE;IACpE,4CAA4C;IAC5C,UAAU,EAAE;QACR,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,WAAW,EACP,+DAA+D;QACnE,OAAO,EAAE;YACL,YAAY,CAAC,KAAK,CAAC;YACnB,YAAY,CAAC,QAAQ,CAAC;YACtB,YAAY,CAAC,MAAM,CAAC;YACpB,YAAY,CAAC,OAAO,CAAC;SACxB;KACJ;IACD,YAAY,EAAE;QACV,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,6CAA6C;KAC7D;IACD,kBAAkB,EAAE;QAChB,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,wDAAwD;KACxE;CACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { INodeProperties } from "n8n-workflow";
2
+ type ParamKeys = "routingOriginLatitude" | "routingOriginLongitude" | "routingDestinationLatitude" | "routingDestinationLongitude" | "routingType" | "routingUnits" | "routingAvoid";
3
+ export declare const params: Record<ParamKeys, INodeProperties>;
4
+ export {};
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.params = void 0;
4
+ const coordinateParam = (point, axis, name, placeholder) => ({
5
+ displayName: `${point} ${axis}`,
6
+ name,
7
+ type: "string",
8
+ default: "",
9
+ required: true,
10
+ placeholder,
11
+ description: `The ${axis.toLowerCase()} of the ${point.toLowerCase()}`,
12
+ });
13
+ exports.params = {
14
+ routingOriginLatitude: coordinateParam("Origin", "Latitude", "routingOriginLatitude", "e.g. 41.8781"),
15
+ routingOriginLongitude: coordinateParam("Origin", "Longitude", "routingOriginLongitude", "e.g. -87.6298"),
16
+ routingDestinationLatitude: coordinateParam("Destination", "Latitude", "routingDestinationLatitude", "e.g. 40.7128"),
17
+ routingDestinationLongitude: coordinateParam("Destination", "Longitude", "routingDestinationLongitude", "e.g. -74.006"),
18
+ routingType: {
19
+ displayName: "Type",
20
+ name: "routingType",
21
+ type: "options",
22
+ default: "balanced",
23
+ description: "The type of routing to perform",
24
+ options: [
25
+ {
26
+ name: "Balanced",
27
+ value: "balanced",
28
+ description: "Optimizes for a balance of time and distance",
29
+ },
30
+ {
31
+ name: "Shortest",
32
+ value: "short",
33
+ description: "Optimizes for the shortest distance",
34
+ },
35
+ {
36
+ name: "Less Maneuvers",
37
+ value: "less_maneuvers",
38
+ description: "Optimizes for fewer turns",
39
+ },
40
+ ],
41
+ },
42
+ routingUnits: {
43
+ displayName: "Units",
44
+ name: "routingUnits",
45
+ type: "options",
46
+ default: "imperial",
47
+ description: "The units to return the results in",
48
+ options: [
49
+ {
50
+ name: "Imperial",
51
+ value: "imperial",
52
+ description: "Miles and feet",
53
+ },
54
+ {
55
+ name: "Metric",
56
+ value: "metric",
57
+ description: "Kilometers and meters",
58
+ },
59
+ ],
60
+ },
61
+ routingAvoid: {
62
+ displayName: "Avoid",
63
+ name: "routingAvoid",
64
+ type: "multiOptions",
65
+ default: [],
66
+ description: "The features to avoid",
67
+ options: [
68
+ { name: "Tolls", value: "tolls" },
69
+ { name: "Ferries", value: "ferries" },
70
+ { name: "Highways", value: "highways" },
71
+ ],
72
+ },
73
+ };
74
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Miscellaneous/v1/parameters/routing/index.ts"],"names":[],"mappings":";;;AAwBA,MAAM,eAAe,GAAG,CACpB,KAA+B,EAC/B,IAA8B,EAC9B,IAAe,EACf,WAAmB,EACJ,EAAE,CAAC,CAAC;IACnB,WAAW,EAAE,GAAG,KAAK,IAAI,IAAI,EAAE;IAC/B,IAAI;IACJ,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,IAAI;IACd,WAAW;IACX,WAAW,EAAE,OAAO,IAAI,CAAC,WAAW,EAAE,WAAW,KAAK,CAAC,WAAW,EAAE,EAAE;CACzE,CAAC,CAAC;AAEU,QAAA,MAAM,GAAuC;IACtD,qBAAqB,EAAE,eAAe,CAClC,QAAQ,EACR,UAAU,EACV,uBAAuB,EACvB,cAAc,CACjB;IACD,sBAAsB,EAAE,eAAe,CACnC,QAAQ,EACR,WAAW,EACX,wBAAwB,EACxB,eAAe,CAClB;IACD,0BAA0B,EAAE,eAAe,CACvC,aAAa,EACb,UAAU,EACV,4BAA4B,EAC5B,cAAc,CACjB;IACD,2BAA2B,EAAE,eAAe,CACxC,aAAa,EACb,WAAW,EACX,6BAA6B,EAC7B,cAAc,CACjB;IACD,WAAW,EAAE;QACT,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,UAAU;QACnB,WAAW,EAAE,gCAAgC;QAC7C,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,8CAA8C;aAC9D;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,OAAO;gBACd,WAAW,EAAE,qCAAqC;aACrD;YACD;gBACI,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,2BAA2B;aAC3C;SACJ;KACJ;IACD,YAAY,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,UAAU;QACnB,WAAW,EAAE,oCAAoC;QACjD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,gBAAgB;aAChC;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,uBAAuB;aACvC;SACJ;KACJ;IACD,YAAY,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uBAAuB;QACpC,OAAO,EAAE;YACL,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;YACjC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACrC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;SAC1C;KACJ;CACJ,CAAC"}
@@ -13,6 +13,12 @@ exports.webhookMethods = (0, n8n_utils_1.webhookHandler)({
13
13
  return Object.fromEntries(clientSettings.map(({ clientID }) => [clientID, {}]));
14
14
  },
15
15
  },
16
+ onTransactionModification: {
17
+ webhookTypeName: "AIBPA:onTransactionModification",
18
+ getFilterCriteria: (clientSettings) => {
19
+ return Object.fromEntries(clientSettings.map(({ clientID }) => [clientID, {}]));
20
+ },
21
+ },
16
22
  onTransactionStatusChange: {
17
23
  webhookTypeName: "AIBPA:onTransactionStatusChange",
18
24
  getFilterCriteria: (clientSettings) => {
@@ -22,5 +28,11 @@ exports.webhookMethods = (0, n8n_utils_1.webhookHandler)({
22
28
  ]));
23
29
  },
24
30
  },
31
+ onEmailArrival: {
32
+ webhookTypeName: "AIBPA:onEmailArrival",
33
+ getFilterCriteria: (clientSettings) => {
34
+ return Object.fromEntries(clientSettings.map(({ clientID }) => [clientID, {}]));
35
+ },
36
+ },
25
37
  });
26
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/PurchasingAssistant/v1/triggers/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,yDAA2D;AAI3D,qCAAuC;AAA9B,qGAAA,UAAU,OAAA;AAEnB,4BAA4B;AACf,QAAA,cAAc,GAAG,IAAA,0BAAc,EAGzC;IACC,qBAAqB,EAAE;QACnB,eAAe,EAAE,6BAA6B;QAC9C,iBAAiB,EAAE,CAAC,cAAc,EAAE,EAAE;YAClC,OAAO,MAAM,CAAC,WAAW,CACrB,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CACvD,CAAC;QACN,CAAC;KACJ;IACD,yBAAyB,EAAE;QACvB,eAAe,EAAE,iCAAiC;QAClD,iBAAiB,EAAE,CAAC,cAAc,EAAE,EAAE;YAClC,OAAO,MAAM,CAAC,WAAW,CACrB,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC;gBACpD,QAAQ;gBACR,EAAE,MAAM,EAAE,CAAC,iBAAiB,CAAC,EAAE;aAClC,CAAC,CACL,CAAC;QACN,CAAC;KACJ;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/PurchasingAssistant/v1/triggers/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,yDAA2D;AAM3D,qCAAuC;AAA9B,qGAAA,UAAU,OAAA;AAEnB,4BAA4B;AACf,QAAA,cAAc,GAAG,IAAA,0BAAc,EAKzC;IACC,qBAAqB,EAAE;QACnB,eAAe,EAAE,6BAA6B;QAC9C,iBAAiB,EAAE,CAAC,cAAc,EAAE,EAAE;YAClC,OAAO,MAAM,CAAC,WAAW,CACrB,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CACvD,CAAC;QACN,CAAC;KACJ;IACD,yBAAyB,EAAE;QACvB,eAAe,EAAE,iCAAiC;QAClD,iBAAiB,EAAE,CAAC,cAAc,EAAE,EAAE;YAClC,OAAO,MAAM,CAAC,WAAW,CACrB,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CACvD,CAAC;QACN,CAAC;KACJ;IACD,yBAAyB,EAAE;QACvB,eAAe,EAAE,iCAAiC;QAClD,iBAAiB,EAAE,CAAC,cAAc,EAAE,EAAE;YAClC,OAAO,MAAM,CAAC,WAAW,CACrB,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC;gBACpD,QAAQ;gBACR,EAAE,MAAM,EAAE,CAAC,iBAAiB,CAAC,EAAE;aAClC,CAAC,CACL,CAAC;QACN,CAAC;KACJ;IACD,cAAc,EAAE;QACZ,eAAe,EAAE,sBAAsB;QACvC,iBAAiB,EAAE,CAAC,cAAc,EAAE,EAAE;YAClC,OAAO,MAAM,CAAC,WAAW,CACrB,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CACvD,CAAC;QACN,CAAC;KACJ;CACJ,CAAC,CAAC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.properties = void 0;
4
4
  const description_1 = require("./onTransactionStatusChange/description");
5
5
  const description_2 = require("./onTransactionCreation/description");
6
+ const description_3 = require("./onTransactionModification/description");
7
+ const description_4 = require("./onEmailArrival/description");
6
8
  const properties = [
7
9
  {
8
10
  displayName: "Events",
@@ -14,10 +16,14 @@ const properties = [
14
16
  options: [
15
17
  description_1.onTransactionStatusChangeEventOptions,
16
18
  description_2.onTransactionCreationEventOptions,
19
+ description_3.onTransactionModificationEventOptions,
20
+ description_4.onEmailArrivalEventOptions,
17
21
  ],
18
22
  },
19
23
  ...description_1.onTransactionStatusChangeEventDesc,
20
24
  ...description_2.onTransactionCreationEventDesc,
25
+ ...description_3.onTransactionModificationEventDesc,
26
+ ...description_4.onEmailArrivalEventDesc,
21
27
  ];
22
28
  exports.properties = properties;
23
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/PurchasingAssistant/v1/triggers/webhook/index.ts"],"names":[],"mappings":";;;AAEA,yEAGiD;AAEjD,qEAG6C;AAE7C,MAAM,UAAU,GAAsB;IAClC;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,0CAA0C;QAC1C,OAAO,EAAE,2BAA2B;QACpC,OAAO,EAAE;YACL,mDAAqC;YACrC,+CAAiC;SACpC;KACJ;IACD,GAAG,gDAAkC;IACrC,GAAG,4CAA8B;CACpC,CAAC;AAEO,gCAAU"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/PurchasingAssistant/v1/triggers/webhook/index.ts"],"names":[],"mappings":";;;AAEA,yEAGiD;AAEjD,qEAG6C;AAE7C,yEAGiD;AAEjD,8DAGsC;AAEtC,MAAM,UAAU,GAAsB;IAClC;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,0CAA0C;QAC1C,OAAO,EAAE,2BAA2B;QACpC,OAAO,EAAE;YACL,mDAAqC;YACrC,+CAAiC;YACjC,mDAAqC;YACrC,wCAA0B;SAC7B;KACJ;IACD,GAAG,gDAAkC;IACrC,GAAG,4CAA8B;IACjC,GAAG,gDAAkC;IACrC,GAAG,qCAAuB;CAC7B,CAAC;AAEO,gCAAU"}
@@ -0,0 +1,3 @@
1
+ import { INodePropertyOptions } from "n8n-workflow";
2
+ export declare const onEmailArrivalEventDesc: import("n8n-workflow").INodeProperties[];
3
+ export declare const onEmailArrivalEventOptions: INodePropertyOptions;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.onEmailArrivalEventOptions = exports.onEmailArrivalEventDesc = void 0;
4
+ /* eslint-disable @n8n/community-nodes/no-restricted-imports */
5
+ const n8n_utils_1 = require("@thegraphitelab/n8n-utils");
6
+ exports.onEmailArrivalEventDesc = (0, n8n_utils_1.getWebhookDescription)({
7
+ mainParameters: [],
8
+ displayOptions: { show: { event: ["onEmailArrival"] } },
9
+ });
10
+ exports.onEmailArrivalEventOptions = {
11
+ name: "On Email Arrival",
12
+ value: "onEmailArrival",
13
+ action: "Subscribe to new emails",
14
+ };
15
+ //# sourceMappingURL=description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../../../../nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/description.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,yDAAkE;AAGrD,QAAA,uBAAuB,GAAG,IAAA,iCAAqB,EAAC;IACzD,cAAc,EAAE,EAAE;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,gBAAgB,CAAC,EAAE,EAAE;CAC1D,CAAC,CAAC;AACU,QAAA,0BAA0B,GAAyB;IAC5D,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,yBAAyB;CACpC,CAAC"}
@@ -0,0 +1 @@
1
+ export type OnEmailArrivalFilterCriteria = Record<string, never>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // export const webhookMethods = webhookHandler<OnTransactionCreation>({
4
+ // getFilterCriteria: (clientSettings) => {
5
+ // return Object.fromEntries(
6
+ // clientSettings.map(({ clientID }) => [clientID, { status: {} }]),
7
+ // );
8
+ // },
9
+ // });
10
+ //# sourceMappingURL=webhookMethods.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhookMethods.js","sourceRoot":"","sources":["../../../../../../../nodes/PurchasingAssistant/v1/triggers/webhook/onEmailArrival/webhookMethods.ts"],"names":[],"mappings":";;AAEA,wEAAwE;AACxE,+CAA+C;AAC/C,qCAAqC;AACrC,gFAAgF;AAChF,aAAa;AACb,SAAS;AACT,MAAM"}
@@ -0,0 +1,3 @@
1
+ import { INodePropertyOptions } from "n8n-workflow";
2
+ export declare const onTransactionModificationEventDesc: import("n8n-workflow").INodeProperties[];
3
+ export declare const onTransactionModificationEventOptions: INodePropertyOptions;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.onTransactionModificationEventOptions = exports.onTransactionModificationEventDesc = void 0;
4
+ /* eslint-disable @n8n/community-nodes/no-restricted-imports */
5
+ const n8n_utils_1 = require("@thegraphitelab/n8n-utils");
6
+ exports.onTransactionModificationEventDesc = (0, n8n_utils_1.getWebhookDescription)({
7
+ mainParameters: [],
8
+ displayOptions: { show: { event: ["onTransactionModification"] } },
9
+ });
10
+ exports.onTransactionModificationEventOptions = {
11
+ name: "On Transaction Modification",
12
+ value: "onTransactionModification",
13
+ action: "Subscribe to new transaction modifications",
14
+ };
15
+ //# sourceMappingURL=description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../../../../nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/description.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,yDAAkE;AAGrD,QAAA,kCAAkC,GAAG,IAAA,iCAAqB,EAAC;IACpE,cAAc,EAAE,EAAE;IAClB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,2BAA2B,CAAC,EAAE,EAAE;CACrE,CAAC,CAAC;AACU,QAAA,qCAAqC,GAAyB;IACvE,IAAI,EAAE,6BAA6B;IACnC,KAAK,EAAE,2BAA2B;IAClC,MAAM,EAAE,4CAA4C;CACvD,CAAC"}
@@ -0,0 +1 @@
1
+ export type OnTransactionModificationFilterCriteria = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=webhookMethods.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhookMethods.js","sourceRoot":"","sources":["../../../../../../../nodes/PurchasingAssistant/v1/triggers/webhook/onTransactionModification/webhookMethods.ts"],"names":[],"mappings":""}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegraphitelab/n8n-nodes-toolbox",
3
- "version": "1.1.4",
3
+ "version": "1.2.0",
4
4
  "description": "A n8n node for TGL's toolbox",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
@@ -51,7 +51,8 @@
51
51
  "dist/nodes/CallIQ/CallIq.node.js",
52
52
  "dist/nodes/CallIQ/CallIqPollTrigger.node.js",
53
53
  "dist/nodes/PurchasingAssistant/PurchasingAssistant.node.js",
54
- "dist/nodes/PurchasingAssistant/PurchasingAssistantWhTrigger.node.js"
54
+ "dist/nodes/PurchasingAssistant/PurchasingAssistantWhTrigger.node.js",
55
+ "dist/nodes/Miscellaneous/Miscellaneous.node.js"
55
56
  ]
56
57
  },
57
58
  "devDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegraphitelab/n8n-nodes-toolbox",
3
- "version": "1.1.4",
3
+ "version": "1.2.0",
4
4
  "description": "A n8n node for TGL's toolbox",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
@@ -41,7 +41,8 @@
41
41
  "dist/nodes/CallIQ/CallIq.node.js",
42
42
  "dist/nodes/CallIQ/CallIqPollTrigger.node.js",
43
43
  "dist/nodes/PurchasingAssistant/PurchasingAssistant.node.js",
44
- "dist/nodes/PurchasingAssistant/PurchasingAssistantWhTrigger.node.js"
44
+ "dist/nodes/PurchasingAssistant/PurchasingAssistantWhTrigger.node.js",
45
+ "dist/nodes/Miscellaneous/Miscellaneous.node.js"
45
46
  ]
46
47
  },
47
48
  "devDependencies": {