@delmalih/n8n-nodes-pennylane 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/README.md +96 -0
  2. package/dist/credentials/PennylaneApi.credentials.d.ts +10 -0
  3. package/dist/credentials/PennylaneApi.credentials.js +39 -0
  4. package/dist/credentials/PennylaneApi.credentials.js.map +1 -0
  5. package/dist/credentials/pennylane.dark.png +0 -0
  6. package/dist/credentials/pennylane.png +0 -0
  7. package/dist/nodes/Pennylane/Pennylane.node.d.ts +4 -0
  8. package/dist/nodes/Pennylane/Pennylane.node.js +126 -0
  9. package/dist/nodes/Pennylane/Pennylane.node.js.map +1 -0
  10. package/dist/nodes/Pennylane/Pennylane.node.json +10 -0
  11. package/dist/nodes/Pennylane/pennylane.dark.png +0 -0
  12. package/dist/nodes/Pennylane/pennylane.png +0 -0
  13. package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.d.ts +2 -0
  14. package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.js +27 -0
  15. package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.js.map +1 -0
  16. package/dist/nodes/Pennylane/resources/bank-account/create.d.ts +2 -0
  17. package/dist/nodes/Pennylane/resources/bank-account/create.js +70 -0
  18. package/dist/nodes/Pennylane/resources/bank-account/create.js.map +1 -0
  19. package/dist/nodes/Pennylane/resources/bank-account/get.d.ts +2 -0
  20. package/dist/nodes/Pennylane/resources/bank-account/get.js +15 -0
  21. package/dist/nodes/Pennylane/resources/bank-account/get.js.map +1 -0
  22. package/dist/nodes/Pennylane/resources/bank-account/getAll.d.ts +2 -0
  23. package/dist/nodes/Pennylane/resources/bank-account/getAll.js +54 -0
  24. package/dist/nodes/Pennylane/resources/bank-account/getAll.js.map +1 -0
  25. package/dist/nodes/Pennylane/resources/bank-account/index.d.ts +2 -0
  26. package/dist/nodes/Pennylane/resources/bank-account/index.js +59 -0
  27. package/dist/nodes/Pennylane/resources/bank-account/index.js.map +1 -0
  28. package/dist/nodes/Pennylane/resources/bank-establishment/getAll.d.ts +2 -0
  29. package/dist/nodes/Pennylane/resources/bank-establishment/getAll.js +121 -0
  30. package/dist/nodes/Pennylane/resources/bank-establishment/getAll.js.map +1 -0
  31. package/dist/nodes/Pennylane/resources/bank-establishment/index.d.ts +2 -0
  32. package/dist/nodes/Pennylane/resources/bank-establishment/index.js +26 -0
  33. package/dist/nodes/Pennylane/resources/bank-establishment/index.js.map +1 -0
  34. package/dist/nodes/Pennylane/resources/bank-transaction/index.d.ts +2 -0
  35. package/dist/nodes/Pennylane/resources/bank-transaction/index.js +95 -0
  36. package/dist/nodes/Pennylane/resources/bank-transaction/index.js.map +1 -0
  37. package/dist/nodes/Pennylane/resources/billing-subscription/create.d.ts +2 -0
  38. package/dist/nodes/Pennylane/resources/billing-subscription/create.js +69 -0
  39. package/dist/nodes/Pennylane/resources/billing-subscription/create.js.map +1 -0
  40. package/dist/nodes/Pennylane/resources/billing-subscription/get.d.ts +2 -0
  41. package/dist/nodes/Pennylane/resources/billing-subscription/get.js +15 -0
  42. package/dist/nodes/Pennylane/resources/billing-subscription/get.js.map +1 -0
  43. package/dist/nodes/Pennylane/resources/billing-subscription/index.d.ts +2 -0
  44. package/dist/nodes/Pennylane/resources/billing-subscription/index.js +51 -0
  45. package/dist/nodes/Pennylane/resources/billing-subscription/index.js.map +1 -0
  46. package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.d.ts +2 -0
  47. package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.js +41 -0
  48. package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.js.map +1 -0
  49. package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.d.ts +2 -0
  50. package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.js +41 -0
  51. package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.js.map +1 -0
  52. package/dist/nodes/Pennylane/resources/billing-subscription/update.d.ts +2 -0
  53. package/dist/nodes/Pennylane/resources/billing-subscription/update.js +79 -0
  54. package/dist/nodes/Pennylane/resources/billing-subscription/update.js.map +1 -0
  55. package/dist/nodes/Pennylane/resources/category/create.d.ts +2 -0
  56. package/dist/nodes/Pennylane/resources/category/create.js +49 -0
  57. package/dist/nodes/Pennylane/resources/category/create.js.map +1 -0
  58. package/dist/nodes/Pennylane/resources/category/get.d.ts +2 -0
  59. package/dist/nodes/Pennylane/resources/category/get.js +15 -0
  60. package/dist/nodes/Pennylane/resources/category/get.js.map +1 -0
  61. package/dist/nodes/Pennylane/resources/category/getAll.d.ts +2 -0
  62. package/dist/nodes/Pennylane/resources/category/getAll.js +155 -0
  63. package/dist/nodes/Pennylane/resources/category/getAll.js.map +1 -0
  64. package/dist/nodes/Pennylane/resources/category/index.d.ts +2 -0
  65. package/dist/nodes/Pennylane/resources/category/index.js +76 -0
  66. package/dist/nodes/Pennylane/resources/category/index.js.map +1 -0
  67. package/dist/nodes/Pennylane/resources/category/update.d.ts +2 -0
  68. package/dist/nodes/Pennylane/resources/category/update.js +48 -0
  69. package/dist/nodes/Pennylane/resources/category/update.js.map +1 -0
  70. package/dist/nodes/Pennylane/resources/category-group/get.d.ts +2 -0
  71. package/dist/nodes/Pennylane/resources/category-group/get.js +15 -0
  72. package/dist/nodes/Pennylane/resources/category-group/get.js.map +1 -0
  73. package/dist/nodes/Pennylane/resources/category-group/getAll.d.ts +2 -0
  74. package/dist/nodes/Pennylane/resources/category-group/getAll.js +54 -0
  75. package/dist/nodes/Pennylane/resources/category-group/getAll.js.map +1 -0
  76. package/dist/nodes/Pennylane/resources/category-group/getCategories.d.ts +2 -0
  77. package/dist/nodes/Pennylane/resources/category-group/getCategories.js +63 -0
  78. package/dist/nodes/Pennylane/resources/category-group/getCategories.js.map +1 -0
  79. package/dist/nodes/Pennylane/resources/category-group/index.d.ts +2 -0
  80. package/dist/nodes/Pennylane/resources/category-group/index.js +51 -0
  81. package/dist/nodes/Pennylane/resources/category-group/index.js.map +1 -0
  82. package/dist/nodes/Pennylane/resources/changelog/index.d.ts +2 -0
  83. package/dist/nodes/Pennylane/resources/changelog/index.js +18 -0
  84. package/dist/nodes/Pennylane/resources/changelog/index.js.map +1 -0
  85. package/dist/nodes/Pennylane/resources/commercial-document/appendices.d.ts +2 -0
  86. package/dist/nodes/Pennylane/resources/commercial-document/appendices.js +52 -0
  87. package/dist/nodes/Pennylane/resources/commercial-document/appendices.js.map +1 -0
  88. package/dist/nodes/Pennylane/resources/commercial-document/get.d.ts +2 -0
  89. package/dist/nodes/Pennylane/resources/commercial-document/get.js +15 -0
  90. package/dist/nodes/Pennylane/resources/commercial-document/get.js.map +1 -0
  91. package/dist/nodes/Pennylane/resources/commercial-document/getAll.d.ts +2 -0
  92. package/dist/nodes/Pennylane/resources/commercial-document/getAll.js +153 -0
  93. package/dist/nodes/Pennylane/resources/commercial-document/getAll.js.map +1 -0
  94. package/dist/nodes/Pennylane/resources/commercial-document/index.d.ts +2 -0
  95. package/dist/nodes/Pennylane/resources/commercial-document/index.js +94 -0
  96. package/dist/nodes/Pennylane/resources/commercial-document/index.js.map +1 -0
  97. package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.d.ts +2 -0
  98. package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.js +65 -0
  99. package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.js.map +1 -0
  100. package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.d.ts +2 -0
  101. package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.js +65 -0
  102. package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.js.map +1 -0
  103. package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.d.ts +3 -0
  104. package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.js +50 -0
  105. package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.js.map +1 -0
  106. package/dist/nodes/Pennylane/resources/customer/categorize.d.ts +3 -0
  107. package/dist/nodes/Pennylane/resources/customer/categorize.js +63 -0
  108. package/dist/nodes/Pennylane/resources/customer/categorize.js.map +1 -0
  109. package/dist/nodes/Pennylane/resources/customer/create.d.ts +2 -0
  110. package/dist/nodes/Pennylane/resources/customer/create.js +155 -0
  111. package/dist/nodes/Pennylane/resources/customer/create.js.map +1 -0
  112. package/dist/nodes/Pennylane/resources/customer/createIndividual.d.ts +2 -0
  113. package/dist/nodes/Pennylane/resources/customer/createIndividual.js +193 -0
  114. package/dist/nodes/Pennylane/resources/customer/createIndividual.js.map +1 -0
  115. package/dist/nodes/Pennylane/resources/customer/get.d.ts +2 -0
  116. package/dist/nodes/Pennylane/resources/customer/get.js +15 -0
  117. package/dist/nodes/Pennylane/resources/customer/get.js.map +1 -0
  118. package/dist/nodes/Pennylane/resources/customer/getAll.d.ts +1 -0
  119. package/dist/nodes/Pennylane/resources/customer/getAll.js +6 -0
  120. package/dist/nodes/Pennylane/resources/customer/getAll.js.map +1 -0
  121. package/dist/nodes/Pennylane/resources/customer/getCategories.d.ts +2 -0
  122. package/dist/nodes/Pennylane/resources/customer/getCategories.js +63 -0
  123. package/dist/nodes/Pennylane/resources/customer/getCategories.js.map +1 -0
  124. package/dist/nodes/Pennylane/resources/customer/getContacts.d.ts +2 -0
  125. package/dist/nodes/Pennylane/resources/customer/getContacts.js +63 -0
  126. package/dist/nodes/Pennylane/resources/customer/getContacts.js.map +1 -0
  127. package/dist/nodes/Pennylane/resources/customer/index.d.ts +2 -0
  128. package/dist/nodes/Pennylane/resources/customer/index.js +166 -0
  129. package/dist/nodes/Pennylane/resources/customer/index.js.map +1 -0
  130. package/dist/nodes/Pennylane/resources/customer/update.d.ts +2 -0
  131. package/dist/nodes/Pennylane/resources/customer/update.js +235 -0
  132. package/dist/nodes/Pennylane/resources/customer/update.js.map +1 -0
  133. package/dist/nodes/Pennylane/resources/customer-invoice/categorize.d.ts +3 -0
  134. package/dist/nodes/Pennylane/resources/customer-invoice/categorize.js +63 -0
  135. package/dist/nodes/Pennylane/resources/customer-invoice/categorize.js.map +1 -0
  136. package/dist/nodes/Pennylane/resources/customer-invoice/create.d.ts +2 -0
  137. package/dist/nodes/Pennylane/resources/customer-invoice/create.js +93 -0
  138. package/dist/nodes/Pennylane/resources/customer-invoice/create.js.map +1 -0
  139. package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.d.ts +2 -0
  140. package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.js +16 -0
  141. package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.js.map +1 -0
  142. package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.d.ts +3 -0
  143. package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.js +80 -0
  144. package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.js.map +1 -0
  145. package/dist/nodes/Pennylane/resources/customer-invoice/finalize.d.ts +2 -0
  146. package/dist/nodes/Pennylane/resources/customer-invoice/finalize.js +16 -0
  147. package/dist/nodes/Pennylane/resources/customer-invoice/finalize.js.map +1 -0
  148. package/dist/nodes/Pennylane/resources/customer-invoice/get.d.ts +2 -0
  149. package/dist/nodes/Pennylane/resources/customer-invoice/get.js +15 -0
  150. package/dist/nodes/Pennylane/resources/customer-invoice/get.js.map +1 -0
  151. package/dist/nodes/Pennylane/resources/customer-invoice/getAll.d.ts +1 -0
  152. package/dist/nodes/Pennylane/resources/customer-invoice/getAll.js +6 -0
  153. package/dist/nodes/Pennylane/resources/customer-invoice/getAll.js.map +1 -0
  154. package/dist/nodes/Pennylane/resources/customer-invoice/import.d.ts +2 -0
  155. package/dist/nodes/Pennylane/resources/customer-invoice/import.js +100 -0
  156. package/dist/nodes/Pennylane/resources/customer-invoice/import.js.map +1 -0
  157. package/dist/nodes/Pennylane/resources/customer-invoice/index.d.ts +2 -0
  158. package/dist/nodes/Pennylane/resources/customer-invoice/index.js +71 -0
  159. package/dist/nodes/Pennylane/resources/customer-invoice/index.js.map +1 -0
  160. package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.d.ts +2 -0
  161. package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.js +25 -0
  162. package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.js.map +1 -0
  163. package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.d.ts +2 -0
  164. package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.js +16 -0
  165. package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.js.map +1 -0
  166. package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.d.ts +2 -0
  167. package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.js +25 -0
  168. package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.js.map +1 -0
  169. package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.d.ts +2 -0
  170. package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.js +16 -0
  171. package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.js.map +1 -0
  172. package/dist/nodes/Pennylane/resources/customer-invoice/subLists.d.ts +2 -0
  173. package/dist/nodes/Pennylane/resources/customer-invoice/subLists.js +72 -0
  174. package/dist/nodes/Pennylane/resources/customer-invoice/subLists.js.map +1 -0
  175. package/dist/nodes/Pennylane/resources/customer-invoice/update.d.ts +3 -0
  176. package/dist/nodes/Pennylane/resources/customer-invoice/update.js +450 -0
  177. package/dist/nodes/Pennylane/resources/customer-invoice/update.js.map +1 -0
  178. package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.d.ts +3 -0
  179. package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.js +308 -0
  180. package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.js.map +1 -0
  181. package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.d.ts +3 -0
  182. package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.js +47 -0
  183. package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.js.map +1 -0
  184. package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.d.ts +2 -0
  185. package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.js +66 -0
  186. package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.js.map +1 -0
  187. package/dist/nodes/Pennylane/resources/customer-invoice-template/index.d.ts +2 -0
  188. package/dist/nodes/Pennylane/resources/customer-invoice-template/index.js +34 -0
  189. package/dist/nodes/Pennylane/resources/customer-invoice-template/index.js.map +1 -0
  190. package/dist/nodes/Pennylane/resources/fec-export/index.d.ts +2 -0
  191. package/dist/nodes/Pennylane/resources/fec-export/index.js +18 -0
  192. package/dist/nodes/Pennylane/resources/fec-export/index.js.map +1 -0
  193. package/dist/nodes/Pennylane/resources/file-attachment/index.d.ts +2 -0
  194. package/dist/nodes/Pennylane/resources/file-attachment/index.js +40 -0
  195. package/dist/nodes/Pennylane/resources/file-attachment/index.js.map +1 -0
  196. package/dist/nodes/Pennylane/resources/fiscal-year/getAll.d.ts +2 -0
  197. package/dist/nodes/Pennylane/resources/fiscal-year/getAll.js +68 -0
  198. package/dist/nodes/Pennylane/resources/fiscal-year/getAll.js.map +1 -0
  199. package/dist/nodes/Pennylane/resources/fiscal-year/index.d.ts +2 -0
  200. package/dist/nodes/Pennylane/resources/fiscal-year/index.js +34 -0
  201. package/dist/nodes/Pennylane/resources/fiscal-year/index.js.map +1 -0
  202. package/dist/nodes/Pennylane/resources/general-ledger-export/index.d.ts +2 -0
  203. package/dist/nodes/Pennylane/resources/general-ledger-export/index.js +18 -0
  204. package/dist/nodes/Pennylane/resources/general-ledger-export/index.js.map +1 -0
  205. package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.d.ts +2 -0
  206. package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.js +28 -0
  207. package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.js.map +1 -0
  208. package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.d.ts +2 -0
  209. package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.js +19 -0
  210. package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.js.map +1 -0
  211. package/dist/nodes/Pennylane/resources/gocardless-mandate/get.d.ts +2 -0
  212. package/dist/nodes/Pennylane/resources/gocardless-mandate/get.js +15 -0
  213. package/dist/nodes/Pennylane/resources/gocardless-mandate/get.js.map +1 -0
  214. package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.d.ts +2 -0
  215. package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.js +153 -0
  216. package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.js.map +1 -0
  217. package/dist/nodes/Pennylane/resources/gocardless-mandate/index.d.ts +2 -0
  218. package/dist/nodes/Pennylane/resources/gocardless-mandate/index.js +90 -0
  219. package/dist/nodes/Pennylane/resources/gocardless-mandate/index.js.map +1 -0
  220. package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.d.ts +2 -0
  221. package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.js +46 -0
  222. package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.js.map +1 -0
  223. package/dist/nodes/Pennylane/resources/journal/create.d.ts +2 -0
  224. package/dist/nodes/Pennylane/resources/journal/create.js +28 -0
  225. package/dist/nodes/Pennylane/resources/journal/create.js.map +1 -0
  226. package/dist/nodes/Pennylane/resources/journal/get.d.ts +2 -0
  227. package/dist/nodes/Pennylane/resources/journal/get.js +15 -0
  228. package/dist/nodes/Pennylane/resources/journal/get.js.map +1 -0
  229. package/dist/nodes/Pennylane/resources/journal/getAll.d.ts +1 -0
  230. package/dist/nodes/Pennylane/resources/journal/getAll.js +6 -0
  231. package/dist/nodes/Pennylane/resources/journal/getAll.js.map +1 -0
  232. package/dist/nodes/Pennylane/resources/journal/index.d.ts +2 -0
  233. package/dist/nodes/Pennylane/resources/journal/index.js +55 -0
  234. package/dist/nodes/Pennylane/resources/journal/index.js.map +1 -0
  235. package/dist/nodes/Pennylane/resources/ledger-account/create.d.ts +2 -0
  236. package/dist/nodes/Pennylane/resources/ledger-account/create.js +44 -0
  237. package/dist/nodes/Pennylane/resources/ledger-account/create.js.map +1 -0
  238. package/dist/nodes/Pennylane/resources/ledger-account/get.d.ts +2 -0
  239. package/dist/nodes/Pennylane/resources/ledger-account/get.js +15 -0
  240. package/dist/nodes/Pennylane/resources/ledger-account/get.js.map +1 -0
  241. package/dist/nodes/Pennylane/resources/ledger-account/getAll.d.ts +1 -0
  242. package/dist/nodes/Pennylane/resources/ledger-account/getAll.js +6 -0
  243. package/dist/nodes/Pennylane/resources/ledger-account/getAll.js.map +1 -0
  244. package/dist/nodes/Pennylane/resources/ledger-account/index.d.ts +2 -0
  245. package/dist/nodes/Pennylane/resources/ledger-account/index.js +75 -0
  246. package/dist/nodes/Pennylane/resources/ledger-account/index.js.map +1 -0
  247. package/dist/nodes/Pennylane/resources/ledger-account/update.d.ts +2 -0
  248. package/dist/nodes/Pennylane/resources/ledger-account/update.js +35 -0
  249. package/dist/nodes/Pennylane/resources/ledger-account/update.js.map +1 -0
  250. package/dist/nodes/Pennylane/resources/ledger-entry/create.d.ts +2 -0
  251. package/dist/nodes/Pennylane/resources/ledger-entry/create.js +19 -0
  252. package/dist/nodes/Pennylane/resources/ledger-entry/create.js.map +1 -0
  253. package/dist/nodes/Pennylane/resources/ledger-entry/get.d.ts +2 -0
  254. package/dist/nodes/Pennylane/resources/ledger-entry/get.js +15 -0
  255. package/dist/nodes/Pennylane/resources/ledger-entry/get.js.map +1 -0
  256. package/dist/nodes/Pennylane/resources/ledger-entry/getLines.d.ts +2 -0
  257. package/dist/nodes/Pennylane/resources/ledger-entry/getLines.js +41 -0
  258. package/dist/nodes/Pennylane/resources/ledger-entry/getLines.js.map +1 -0
  259. package/dist/nodes/Pennylane/resources/ledger-entry/index.d.ts +2 -0
  260. package/dist/nodes/Pennylane/resources/ledger-entry/index.js +28 -0
  261. package/dist/nodes/Pennylane/resources/ledger-entry/index.js.map +1 -0
  262. package/dist/nodes/Pennylane/resources/ledger-entry/update.d.ts +3 -0
  263. package/dist/nodes/Pennylane/resources/ledger-entry/update.js +132 -0
  264. package/dist/nodes/Pennylane/resources/ledger-entry/update.js.map +1 -0
  265. package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.d.ts +3 -0
  266. package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.js +63 -0
  267. package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.js.map +1 -0
  268. package/dist/nodes/Pennylane/resources/ledger-entry-line/get.d.ts +2 -0
  269. package/dist/nodes/Pennylane/resources/ledger-entry-line/get.js +15 -0
  270. package/dist/nodes/Pennylane/resources/ledger-entry-line/get.js.map +1 -0
  271. package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.d.ts +2 -0
  272. package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.js +156 -0
  273. package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.js.map +1 -0
  274. package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.d.ts +2 -0
  275. package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.js +41 -0
  276. package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.js.map +1 -0
  277. package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.d.ts +2 -0
  278. package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.js +43 -0
  279. package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.js.map +1 -0
  280. package/dist/nodes/Pennylane/resources/ledger-entry-line/index.d.ts +2 -0
  281. package/dist/nodes/Pennylane/resources/ledger-entry-line/index.js +101 -0
  282. package/dist/nodes/Pennylane/resources/ledger-entry-line/index.js.map +1 -0
  283. package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.d.ts +2 -0
  284. package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.js +30 -0
  285. package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.js.map +1 -0
  286. package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.d.ts +2 -0
  287. package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.js +30 -0
  288. package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.js.map +1 -0
  289. package/dist/nodes/Pennylane/resources/me/index.d.ts +2 -0
  290. package/dist/nodes/Pennylane/resources/me/index.js +30 -0
  291. package/dist/nodes/Pennylane/resources/me/index.js.map +1 -0
  292. package/dist/nodes/Pennylane/resources/pa-registration/getAll.d.ts +2 -0
  293. package/dist/nodes/Pennylane/resources/pa-registration/getAll.js +54 -0
  294. package/dist/nodes/Pennylane/resources/pa-registration/getAll.js.map +1 -0
  295. package/dist/nodes/Pennylane/resources/pa-registration/index.d.ts +2 -0
  296. package/dist/nodes/Pennylane/resources/pa-registration/index.js +31 -0
  297. package/dist/nodes/Pennylane/resources/pa-registration/index.js.map +1 -0
  298. package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.d.ts +2 -0
  299. package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.js +148 -0
  300. package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.js.map +1 -0
  301. package/dist/nodes/Pennylane/resources/pro-account-mandate/index.d.ts +2 -0
  302. package/dist/nodes/Pennylane/resources/pro-account-mandate/index.js +71 -0
  303. package/dist/nodes/Pennylane/resources/pro-account-mandate/index.js.map +1 -0
  304. package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.d.ts +2 -0
  305. package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.js +15 -0
  306. package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.js.map +1 -0
  307. package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.d.ts +2 -0
  308. package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.js +17 -0
  309. package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.js.map +1 -0
  310. package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.d.ts +2 -0
  311. package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.js +152 -0
  312. package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.js.map +1 -0
  313. package/dist/nodes/Pennylane/resources/product/create.d.ts +2 -0
  314. package/dist/nodes/Pennylane/resources/product/create.js +85 -0
  315. package/dist/nodes/Pennylane/resources/product/create.js.map +1 -0
  316. package/dist/nodes/Pennylane/resources/product/get.d.ts +2 -0
  317. package/dist/nodes/Pennylane/resources/product/get.js +15 -0
  318. package/dist/nodes/Pennylane/resources/product/get.js.map +1 -0
  319. package/dist/nodes/Pennylane/resources/product/getAll.d.ts +1 -0
  320. package/dist/nodes/Pennylane/resources/product/getAll.js +6 -0
  321. package/dist/nodes/Pennylane/resources/product/getAll.js.map +1 -0
  322. package/dist/nodes/Pennylane/resources/product/index.d.ts +2 -0
  323. package/dist/nodes/Pennylane/resources/product/index.js +84 -0
  324. package/dist/nodes/Pennylane/resources/product/index.js.map +1 -0
  325. package/dist/nodes/Pennylane/resources/product/update.d.ts +2 -0
  326. package/dist/nodes/Pennylane/resources/product/update.js +91 -0
  327. package/dist/nodes/Pennylane/resources/product/update.js.map +1 -0
  328. package/dist/nodes/Pennylane/resources/purchase-request/get.d.ts +2 -0
  329. package/dist/nodes/Pennylane/resources/purchase-request/get.js +15 -0
  330. package/dist/nodes/Pennylane/resources/purchase-request/get.js.map +1 -0
  331. package/dist/nodes/Pennylane/resources/purchase-request/getAll.d.ts +1 -0
  332. package/dist/nodes/Pennylane/resources/purchase-request/getAll.js +6 -0
  333. package/dist/nodes/Pennylane/resources/purchase-request/getAll.js.map +1 -0
  334. package/dist/nodes/Pennylane/resources/purchase-request/import.d.ts +2 -0
  335. package/dist/nodes/Pennylane/resources/purchase-request/import.js +139 -0
  336. package/dist/nodes/Pennylane/resources/purchase-request/import.js.map +1 -0
  337. package/dist/nodes/Pennylane/resources/purchase-request/index.d.ts +2 -0
  338. package/dist/nodes/Pennylane/resources/purchase-request/index.js +71 -0
  339. package/dist/nodes/Pennylane/resources/purchase-request/index.js.map +1 -0
  340. package/dist/nodes/Pennylane/resources/quote/appendices.d.ts +2 -0
  341. package/dist/nodes/Pennylane/resources/quote/appendices.js +32 -0
  342. package/dist/nodes/Pennylane/resources/quote/appendices.js.map +1 -0
  343. package/dist/nodes/Pennylane/resources/quote/create.d.ts +2 -0
  344. package/dist/nodes/Pennylane/resources/quote/create.js +24 -0
  345. package/dist/nodes/Pennylane/resources/quote/create.js.map +1 -0
  346. package/dist/nodes/Pennylane/resources/quote/get.d.ts +2 -0
  347. package/dist/nodes/Pennylane/resources/quote/get.js +15 -0
  348. package/dist/nodes/Pennylane/resources/quote/get.js.map +1 -0
  349. package/dist/nodes/Pennylane/resources/quote/index.d.ts +2 -0
  350. package/dist/nodes/Pennylane/resources/quote/index.js +60 -0
  351. package/dist/nodes/Pennylane/resources/quote/index.js.map +1 -0
  352. package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.d.ts +2 -0
  353. package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.js +41 -0
  354. package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.js.map +1 -0
  355. package/dist/nodes/Pennylane/resources/quote/invoice-lines.d.ts +2 -0
  356. package/dist/nodes/Pennylane/resources/quote/invoice-lines.js +41 -0
  357. package/dist/nodes/Pennylane/resources/quote/invoice-lines.js.map +1 -0
  358. package/dist/nodes/Pennylane/resources/quote/send-by-email.d.ts +2 -0
  359. package/dist/nodes/Pennylane/resources/quote/send-by-email.js +13 -0
  360. package/dist/nodes/Pennylane/resources/quote/send-by-email.js.map +1 -0
  361. package/dist/nodes/Pennylane/resources/quote/update-status.d.ts +2 -0
  362. package/dist/nodes/Pennylane/resources/quote/update-status.js +19 -0
  363. package/dist/nodes/Pennylane/resources/quote/update-status.js.map +1 -0
  364. package/dist/nodes/Pennylane/resources/quote/update.d.ts +2 -0
  365. package/dist/nodes/Pennylane/resources/quote/update.js +66 -0
  366. package/dist/nodes/Pennylane/resources/quote/update.js.map +1 -0
  367. package/dist/nodes/Pennylane/resources/quote/upload-appendix.d.ts +3 -0
  368. package/dist/nodes/Pennylane/resources/quote/upload-appendix.js +35 -0
  369. package/dist/nodes/Pennylane/resources/quote/upload-appendix.js.map +1 -0
  370. package/dist/nodes/Pennylane/resources/sepa-mandate/create.d.ts +2 -0
  371. package/dist/nodes/Pennylane/resources/sepa-mandate/create.js +23 -0
  372. package/dist/nodes/Pennylane/resources/sepa-mandate/create.js.map +1 -0
  373. package/dist/nodes/Pennylane/resources/sepa-mandate/delete.d.ts +2 -0
  374. package/dist/nodes/Pennylane/resources/sepa-mandate/delete.js +15 -0
  375. package/dist/nodes/Pennylane/resources/sepa-mandate/delete.js.map +1 -0
  376. package/dist/nodes/Pennylane/resources/sepa-mandate/get.d.ts +2 -0
  377. package/dist/nodes/Pennylane/resources/sepa-mandate/get.js +15 -0
  378. package/dist/nodes/Pennylane/resources/sepa-mandate/get.js.map +1 -0
  379. package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.d.ts +2 -0
  380. package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.js +152 -0
  381. package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.js.map +1 -0
  382. package/dist/nodes/Pennylane/resources/sepa-mandate/index.d.ts +2 -0
  383. package/dist/nodes/Pennylane/resources/sepa-mandate/index.js +90 -0
  384. package/dist/nodes/Pennylane/resources/sepa-mandate/index.js.map +1 -0
  385. package/dist/nodes/Pennylane/resources/sepa-mandate/update.d.ts +2 -0
  386. package/dist/nodes/Pennylane/resources/sepa-mandate/update.js +25 -0
  387. package/dist/nodes/Pennylane/resources/sepa-mandate/update.js.map +1 -0
  388. package/dist/nodes/Pennylane/resources/shared/operations.d.ts +2 -0
  389. package/dist/nodes/Pennylane/resources/shared/operations.js +241 -0
  390. package/dist/nodes/Pennylane/resources/shared/operations.js.map +1 -0
  391. package/dist/nodes/Pennylane/resources/supplier/categorize.d.ts +2 -0
  392. package/dist/nodes/Pennylane/resources/supplier/categorize.js +18 -0
  393. package/dist/nodes/Pennylane/resources/supplier/categorize.js.map +1 -0
  394. package/dist/nodes/Pennylane/resources/supplier/create.d.ts +2 -0
  395. package/dist/nodes/Pennylane/resources/supplier/create.js +33 -0
  396. package/dist/nodes/Pennylane/resources/supplier/create.js.map +1 -0
  397. package/dist/nodes/Pennylane/resources/supplier/get.d.ts +2 -0
  398. package/dist/nodes/Pennylane/resources/supplier/get.js +15 -0
  399. package/dist/nodes/Pennylane/resources/supplier/get.js.map +1 -0
  400. package/dist/nodes/Pennylane/resources/supplier/index.d.ts +2 -0
  401. package/dist/nodes/Pennylane/resources/supplier/index.js +64 -0
  402. package/dist/nodes/Pennylane/resources/supplier/index.js.map +1 -0
  403. package/dist/nodes/Pennylane/resources/supplier/list-categories.d.ts +2 -0
  404. package/dist/nodes/Pennylane/resources/supplier/list-categories.js +20 -0
  405. package/dist/nodes/Pennylane/resources/supplier/list-categories.js.map +1 -0
  406. package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.d.ts +2 -0
  407. package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.js +18 -0
  408. package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.js.map +1 -0
  409. package/dist/nodes/Pennylane/resources/supplier-invoice/get.d.ts +2 -0
  410. package/dist/nodes/Pennylane/resources/supplier-invoice/get.js +15 -0
  411. package/dist/nodes/Pennylane/resources/supplier-invoice/get.js.map +1 -0
  412. package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.d.ts +3 -0
  413. package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.js +55 -0
  414. package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.js.map +1 -0
  415. package/dist/nodes/Pennylane/resources/supplier-invoice/import.d.ts +2 -0
  416. package/dist/nodes/Pennylane/resources/supplier-invoice/import.js +20 -0
  417. package/dist/nodes/Pennylane/resources/supplier-invoice/import.js.map +1 -0
  418. package/dist/nodes/Pennylane/resources/supplier-invoice/index.d.ts +2 -0
  419. package/dist/nodes/Pennylane/resources/supplier-invoice/index.js +73 -0
  420. package/dist/nodes/Pennylane/resources/supplier-invoice/index.js.map +1 -0
  421. package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.d.ts +2 -0
  422. package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.js +9 -0
  423. package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.js.map +1 -0
  424. package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.d.ts +2 -0
  425. package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.js +32 -0
  426. package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.js.map +1 -0
  427. package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.d.ts +2 -0
  428. package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.js +41 -0
  429. package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.js.map +1 -0
  430. package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.d.ts +2 -0
  431. package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.js +41 -0
  432. package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.js.map +1 -0
  433. package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.d.ts +2 -0
  434. package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.js +41 -0
  435. package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.js.map +1 -0
  436. package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.d.ts +2 -0
  437. package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.js +48 -0
  438. package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.js.map +1 -0
  439. package/dist/nodes/Pennylane/resources/supplier-invoice/update.d.ts +2 -0
  440. package/dist/nodes/Pennylane/resources/supplier-invoice/update.js +153 -0
  441. package/dist/nodes/Pennylane/resources/supplier-invoice/update.js.map +1 -0
  442. package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.d.ts +2 -0
  443. package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.js +8 -0
  444. package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.js.map +1 -0
  445. package/dist/nodes/Pennylane/resources/trial-balance/get.d.ts +2 -0
  446. package/dist/nodes/Pennylane/resources/trial-balance/get.js +82 -0
  447. package/dist/nodes/Pennylane/resources/trial-balance/get.js.map +1 -0
  448. package/dist/nodes/Pennylane/resources/trial-balance/index.d.ts +2 -0
  449. package/dist/nodes/Pennylane/resources/trial-balance/index.js +36 -0
  450. package/dist/nodes/Pennylane/resources/trial-balance/index.js.map +1 -0
  451. package/dist/package.json +53 -0
  452. package/dist/tsconfig.tsbuildinfo +1 -0
  453. package/package.json +53 -0
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commercialDocumentUploadAppendixDescription = void 0;
4
+ exports.uploadCommercialDocumentAppendixPreSend = uploadCommercialDocumentAppendixPreSend;
5
+ const showForCommercialDocumentUploadAppendix = {
6
+ operation: ['uploadAppendix'],
7
+ resource: ['commercialDocument'],
8
+ };
9
+ async function uploadCommercialDocumentAppendixPreSend(requestOptions) {
10
+ var _a;
11
+ const propertyName = this.getNodeParameter('appendixBinaryPropertyName');
12
+ const binaryData = this.helpers.assertBinaryData(propertyName);
13
+ const buffer = await this.helpers.getBinaryDataBuffer(propertyName);
14
+ const boundary = `----n8nFormBoundary${Date.now().toString(16)}${Math.random().toString(16).slice(2)}`;
15
+ const filename = ((_a = binaryData.fileName) !== null && _a !== void 0 ? _a : 'file').replace(/"/g, '');
16
+ const contentType = binaryData.mimeType || 'application/octet-stream';
17
+ const preamble = `--${boundary}\r\nContent-Disposition: form-data; name="file"; filename="${filename}"\r\nContent-Type: ${contentType}\r\n\r\n`;
18
+ const epilogue = `\r\n--${boundary}--\r\n`;
19
+ requestOptions.body = Buffer.concat([
20
+ Buffer.from(preamble, 'utf-8'),
21
+ buffer,
22
+ Buffer.from(epilogue, 'utf-8'),
23
+ ]);
24
+ requestOptions.headers = {
25
+ ...requestOptions.headers,
26
+ 'Content-Type': `multipart/form-data; boundary=${boundary}`,
27
+ };
28
+ return requestOptions;
29
+ }
30
+ exports.commercialDocumentUploadAppendixDescription = [
31
+ {
32
+ displayName: 'Commercial Document ID',
33
+ name: 'commercialDocumentId',
34
+ type: 'string',
35
+ required: true,
36
+ default: '',
37
+ displayOptions: { show: showForCommercialDocumentUploadAppendix },
38
+ description: 'The ID of the commercial document to upload the appendix to',
39
+ },
40
+ {
41
+ displayName: 'Input Binary Field',
42
+ name: 'appendixBinaryPropertyName',
43
+ type: 'string',
44
+ default: 'data',
45
+ required: true,
46
+ displayOptions: { show: showForCommercialDocumentUploadAppendix },
47
+ description: 'Name of the binary property containing the file to upload. Allowed content types: PNG, JPEG, TIFF, BMP, GIF, PDF.',
48
+ },
49
+ ];
50
+ //# sourceMappingURL=upload-appendix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-appendix.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/upload-appendix.ts"],"names":[],"mappings":";;;AAUA,0FAyBC;AAjCD,MAAM,uCAAuC,GAAG;IAC/C,SAAS,EAAE,CAAC,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC;AAKK,KAAK,UAAU,uCAAuC,CAE5D,cAAmC;;IAEnC,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,4BAA4B,CAAW,CAAC;IACnF,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAEpE,MAAM,QAAQ,GAAG,sBAAsB,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,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INodeProperties } from 'n8n-workflow';
2
+ export declare function applyCustomerCategorizePreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
3
+ export declare const customerCategorizeDescription: INodeProperties[];
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerCategorizeDescription = void 0;
4
+ exports.applyCustomerCategorizePreSend = applyCustomerCategorizePreSend;
5
+ const showForCustomerCategorize = {
6
+ operation: ['categorize'],
7
+ resource: ['customer'],
8
+ };
9
+ async function applyCustomerCategorizePreSend(requestOptions) {
10
+ const categories = this.getNodeParameter('categories.category', []);
11
+ requestOptions.body = (Array.isArray(categories) ? categories : []).map(({ categoryId, weight }) => ({
12
+ id: parseInt(categoryId, 10),
13
+ weight,
14
+ }));
15
+ return requestOptions;
16
+ }
17
+ exports.customerCategorizeDescription = [
18
+ {
19
+ displayName: 'Customer ID',
20
+ name: 'customerId',
21
+ type: 'string',
22
+ required: true,
23
+ default: '',
24
+ displayOptions: { show: showForCustomerCategorize },
25
+ description: 'The ID of the customer to link categories to',
26
+ },
27
+ {
28
+ displayName: 'Categories',
29
+ name: 'categories',
30
+ type: 'fixedCollection',
31
+ default: {},
32
+ required: true,
33
+ placeholder: 'Add Category',
34
+ description: 'Categories to link to this customer, with their weight (a value between 0 and 1, up to 7 decimals). Categories belonging to the same category group must have weights summing to exactly 1.',
35
+ typeOptions: { multipleValues: true },
36
+ displayOptions: { show: showForCustomerCategorize },
37
+ options: [
38
+ {
39
+ name: 'category',
40
+ displayName: 'Category',
41
+ values: [
42
+ {
43
+ displayName: 'Category ID',
44
+ name: 'categoryId',
45
+ type: 'string',
46
+ required: true,
47
+ default: '',
48
+ description: 'The ID of the category to link',
49
+ },
50
+ {
51
+ displayName: 'Weight',
52
+ name: 'weight',
53
+ type: 'string',
54
+ required: true,
55
+ default: '1',
56
+ description: 'Weight allocated to this category, e.g. "0.5". Weights within the same category group must sum to 1.',
57
+ },
58
+ ],
59
+ },
60
+ ],
61
+ },
62
+ ];
63
+ //# sourceMappingURL=categorize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"categorize.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer/categorize.ts"],"names":[],"mappings":";;;AAUA,wEAeC;AAvBD,MAAM,yBAAyB,GAAG;IACjC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACtB,CAAC;AAKK,KAAK,UAAU,8BAA8B,CAEnD,cAAmC;IAEnC,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,qBAAqB,EAAE,EAAE,CAGhE,CAAC;IAEH,cAAc,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;QACpG,EAAE,EAAE,QAAQ,CAAC,UAAU,EAAE,EAAE,CAAC;QAC5B,MAAM;KACN,CAAC,CAAC,CAAC;IAEJ,OAAO,cAAc,CAAC;AACvB,CAAC;AAEY,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;QACnD,WAAW,EAAE,8CAA8C;KAC3D;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,cAAc;QAC3B,WAAW,EACV,6LAA6L;QAC9L,WAAW,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;QACrC,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;QACnD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,UAAU;gBACvB,MAAM,EAAE;oBACP;wBACC,WAAW,EAAE,aAAa;wBAC1B,IAAI,EAAE,YAAY;wBAClB,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,gCAAgC;qBAC7C;oBACD;wBACC,WAAW,EAAE,QAAQ;wBACrB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,GAAG;wBACZ,WAAW,EAAE,sGAAsG;qBACnH;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const customerCreateDescription: INodeProperties[];
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerCreateDescription = void 0;
4
+ const showForCustomerCreate = {
5
+ operation: ['create'],
6
+ resource: ['customer'],
7
+ };
8
+ exports.customerCreateDescription = [
9
+ {
10
+ displayName: 'Name',
11
+ name: 'name',
12
+ type: 'string',
13
+ required: true,
14
+ default: '',
15
+ displayOptions: { show: showForCustomerCreate },
16
+ description: 'Company name',
17
+ },
18
+ {
19
+ displayName: 'Reg No (SIRET/SIREN)',
20
+ name: 'regNo',
21
+ type: 'string',
22
+ default: '',
23
+ displayOptions: { show: showForCustomerCreate },
24
+ description: 'Company registration number (SIRET or SIREN)',
25
+ },
26
+ {
27
+ displayName: 'VAT Number',
28
+ name: 'vatNumber',
29
+ type: 'string',
30
+ default: '',
31
+ displayOptions: { show: showForCustomerCreate },
32
+ description: 'EU VAT number (e.g. FR32123456789)',
33
+ },
34
+ {
35
+ displayName: 'Phone',
36
+ name: 'phone',
37
+ type: 'string',
38
+ default: '',
39
+ displayOptions: { show: showForCustomerCreate },
40
+ description: 'Customer phone number',
41
+ },
42
+ {
43
+ displayName: 'Emails',
44
+ name: 'emails',
45
+ type: 'string',
46
+ placeholder: 'name@email.com, other@email.com',
47
+ default: '',
48
+ displayOptions: { show: showForCustomerCreate },
49
+ description: 'Customer email addresses, comma-separated',
50
+ },
51
+ {
52
+ displayName: 'Recipient',
53
+ name: 'recipient',
54
+ type: 'string',
55
+ default: '',
56
+ displayOptions: { show: showForCustomerCreate },
57
+ description: 'Name of the person to whom the invoice is addressed',
58
+ },
59
+ {
60
+ displayName: 'Billing Address Line 1',
61
+ name: 'billingAddressLine1',
62
+ type: 'string',
63
+ default: '',
64
+ displayOptions: { show: showForCustomerCreate },
65
+ description: 'Street address',
66
+ },
67
+ {
68
+ displayName: 'Billing Address Postal Code',
69
+ name: 'billingAddressPostalCode',
70
+ type: 'string',
71
+ default: '',
72
+ displayOptions: { show: showForCustomerCreate },
73
+ description: 'Postal / ZIP code',
74
+ },
75
+ {
76
+ displayName: 'Billing Address City',
77
+ name: 'billingAddressCity',
78
+ type: 'string',
79
+ default: '',
80
+ displayOptions: { show: showForCustomerCreate },
81
+ description: 'City name',
82
+ },
83
+ {
84
+ displayName: 'Billing Address Country',
85
+ name: 'billingAddressCountry',
86
+ type: 'string',
87
+ default: 'FR',
88
+ displayOptions: { show: showForCustomerCreate },
89
+ description: 'Country code (ISO 3166-1 alpha-2, e.g. FR)',
90
+ },
91
+ {
92
+ displayName: 'Payment Conditions',
93
+ name: 'paymentConditions',
94
+ type: 'options',
95
+ default: '30_days',
96
+ displayOptions: { show: showForCustomerCreate },
97
+ description: 'Default payment conditions for this customer',
98
+ options: [
99
+ { name: '15 Days', value: '15_days' },
100
+ { name: '30 Days', value: '30_days' },
101
+ { name: '30 Days End of Month', value: '30_days_end_of_month' },
102
+ { name: '45 Days', value: '45_days' },
103
+ { name: '45 Days End of Month', value: '45_days_end_of_month' },
104
+ { name: '60 Days', value: '60_days' },
105
+ { name: '7 Days', value: '7_days' },
106
+ { name: 'Upon Receipt', value: 'upon_receipt' },
107
+ ],
108
+ },
109
+ {
110
+ displayName: 'Billing Language',
111
+ name: 'billingLanguage',
112
+ type: 'options',
113
+ default: 'fr_FR',
114
+ displayOptions: { show: showForCustomerCreate },
115
+ description: 'The language in which the customer will receive invoices',
116
+ options: [
117
+ { name: 'French (FR)', value: 'fr_FR' },
118
+ { name: 'English (GB)', value: 'en_GB' },
119
+ { name: 'German (DE)', value: 'de_DE' },
120
+ ],
121
+ },
122
+ {
123
+ displayName: 'IBAN',
124
+ name: 'billingIban',
125
+ type: 'string',
126
+ default: '',
127
+ displayOptions: { show: showForCustomerCreate },
128
+ description: 'Billing IBAN (for SEPA mandates)',
129
+ },
130
+ {
131
+ displayName: 'Reference',
132
+ name: 'reference',
133
+ type: 'string',
134
+ default: '',
135
+ displayOptions: { show: showForCustomerCreate },
136
+ description: 'Internal reference for this customer',
137
+ },
138
+ {
139
+ displayName: 'Notes',
140
+ name: 'notes',
141
+ type: 'string',
142
+ default: '',
143
+ displayOptions: { show: showForCustomerCreate },
144
+ description: 'Notes about this customer',
145
+ },
146
+ {
147
+ displayName: 'External Reference',
148
+ name: 'externalReference',
149
+ type: 'string',
150
+ default: '',
151
+ displayOptions: { show: showForCustomerCreate },
152
+ description: 'Your external reference (e.g. CRM/e-commerce ID). Must be unique.',
153
+ },
154
+ ];
155
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer/create.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACtB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI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-workflow';
2
+ export declare const customerCreateIndividualDescription: INodeProperties[];
@@ -0,0 +1,193 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerCreateIndividualDescription = void 0;
4
+ const showForCustomerCreateIndividual = {
5
+ operation: ['createIndividual'],
6
+ resource: ['customer'],
7
+ };
8
+ exports.customerCreateIndividualDescription = [
9
+ {
10
+ displayName: 'First Name',
11
+ name: 'firstName',
12
+ type: 'string',
13
+ required: true,
14
+ default: '',
15
+ displayOptions: { show: showForCustomerCreateIndividual },
16
+ description: 'First name of the individual customer',
17
+ },
18
+ {
19
+ displayName: 'Last Name',
20
+ name: 'lastName',
21
+ type: 'string',
22
+ required: true,
23
+ default: '',
24
+ displayOptions: { show: showForCustomerCreateIndividual },
25
+ description: 'Last name of the individual customer',
26
+ },
27
+ {
28
+ displayName: 'Phone',
29
+ name: 'phone',
30
+ type: 'string',
31
+ default: '',
32
+ displayOptions: { show: showForCustomerCreateIndividual },
33
+ description: 'Customer phone number',
34
+ },
35
+ {
36
+ displayName: 'Emails',
37
+ name: 'emails',
38
+ type: 'string',
39
+ placeholder: 'name@email.com, other@email.com',
40
+ default: '',
41
+ displayOptions: { show: showForCustomerCreateIndividual },
42
+ description: 'Customer email addresses, comma-separated',
43
+ },
44
+ {
45
+ displayName: 'Recipient',
46
+ name: 'recipient',
47
+ type: 'string',
48
+ default: '',
49
+ displayOptions: { show: showForCustomerCreateIndividual },
50
+ description: 'Name of the person to whom the invoice is addressed',
51
+ },
52
+ {
53
+ displayName: 'Billing Address Line 1',
54
+ name: 'billingAddressLine1',
55
+ type: 'string',
56
+ required: true,
57
+ default: '',
58
+ displayOptions: { show: showForCustomerCreateIndividual },
59
+ description: 'Street address',
60
+ },
61
+ {
62
+ displayName: 'Billing Address Postal Code',
63
+ name: 'billingAddressPostalCode',
64
+ type: 'string',
65
+ required: true,
66
+ default: '',
67
+ displayOptions: { show: showForCustomerCreateIndividual },
68
+ description: 'Postal / ZIP code',
69
+ },
70
+ {
71
+ displayName: 'Billing Address City',
72
+ name: 'billingAddressCity',
73
+ type: 'string',
74
+ required: true,
75
+ default: '',
76
+ displayOptions: { show: showForCustomerCreateIndividual },
77
+ description: 'City name',
78
+ },
79
+ {
80
+ displayName: 'Billing Address Country',
81
+ name: 'billingAddressCountry',
82
+ type: 'string',
83
+ required: true,
84
+ default: 'FR',
85
+ displayOptions: { show: showForCustomerCreateIndividual },
86
+ description: 'Country code (ISO 3166-1 alpha-2, e.g. FR)',
87
+ },
88
+ {
89
+ displayName: 'Delivery Address Line 1',
90
+ name: 'deliveryAddressLine1',
91
+ type: 'string',
92
+ default: '',
93
+ displayOptions: { show: showForCustomerCreateIndividual },
94
+ description: 'Street address for delivery (optional; leave blank to omit)',
95
+ },
96
+ {
97
+ displayName: 'Delivery Address Postal Code',
98
+ name: 'deliveryAddressPostalCode',
99
+ type: 'string',
100
+ default: '',
101
+ displayOptions: { show: showForCustomerCreateIndividual },
102
+ description: 'Postal / ZIP code for delivery',
103
+ },
104
+ {
105
+ displayName: 'Delivery Address City',
106
+ name: 'deliveryAddressCity',
107
+ type: 'string',
108
+ default: '',
109
+ displayOptions: { show: showForCustomerCreateIndividual },
110
+ description: 'City name for delivery',
111
+ },
112
+ {
113
+ displayName: 'Delivery Address Country',
114
+ name: 'deliveryAddressCountry',
115
+ type: 'string',
116
+ default: 'FR',
117
+ displayOptions: { show: showForCustomerCreateIndividual },
118
+ description: 'Country code (ISO 3166-1 alpha-2, e.g. FR) for delivery',
119
+ },
120
+ {
121
+ displayName: 'Payment Conditions',
122
+ name: 'paymentConditions',
123
+ type: 'options',
124
+ default: '30_days',
125
+ displayOptions: { show: showForCustomerCreateIndividual },
126
+ description: 'Default payment conditions for this customer',
127
+ options: [
128
+ { name: '15 Days', value: '15_days' },
129
+ { name: '30 Days', value: '30_days' },
130
+ { name: '30 Days End of Month', value: '30_days_end_of_month' },
131
+ { name: '45 Days', value: '45_days' },
132
+ { name: '45 Days End of Month', value: '45_days_end_of_month' },
133
+ { name: '60 Days', value: '60_days' },
134
+ { name: '7 Days', value: '7_days' },
135
+ { name: 'Custom', value: 'custom' },
136
+ { name: 'Upon Receipt', value: 'upon_receipt' },
137
+ ],
138
+ },
139
+ {
140
+ displayName: 'Billing Language',
141
+ name: 'billingLanguage',
142
+ type: 'options',
143
+ default: 'fr_FR',
144
+ displayOptions: { show: showForCustomerCreateIndividual },
145
+ description: 'The language in which the customer will receive invoices',
146
+ options: [
147
+ { name: 'French (FR)', value: 'fr_FR' },
148
+ { name: 'English (GB)', value: 'en_GB' },
149
+ { name: 'German (DE)', value: 'de_DE' },
150
+ ],
151
+ },
152
+ {
153
+ displayName: 'IBAN',
154
+ name: 'billingIban',
155
+ type: 'string',
156
+ default: '',
157
+ displayOptions: { show: showForCustomerCreateIndividual },
158
+ description: 'Billing IBAN (for SEPA mandates)',
159
+ },
160
+ {
161
+ displayName: 'Reference',
162
+ name: 'reference',
163
+ type: 'string',
164
+ default: '',
165
+ displayOptions: { show: showForCustomerCreateIndividual },
166
+ description: 'Internal reference for this customer',
167
+ },
168
+ {
169
+ displayName: 'Notes',
170
+ name: 'notes',
171
+ type: 'string',
172
+ default: '',
173
+ displayOptions: { show: showForCustomerCreateIndividual },
174
+ description: 'Notes about this customer',
175
+ },
176
+ {
177
+ displayName: 'External Reference',
178
+ name: 'externalReference',
179
+ type: 'string',
180
+ default: '',
181
+ displayOptions: { show: showForCustomerCreateIndividual },
182
+ description: 'Your external reference (e.g. CRM/e-commerce ID). Must be unique.',
183
+ },
184
+ {
185
+ displayName: 'Ledger Account Number',
186
+ name: 'ledgerAccountNumber',
187
+ type: 'string',
188
+ default: '',
189
+ displayOptions: { show: showForCustomerCreateIndividual },
190
+ description: 'Number of the ledger account to associate with this customer (optional)',
191
+ },
192
+ ];
193
+ //# sourceMappingURL=createIndividual.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createIndividual.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer/createInd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AA0D;QACvE,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAE;YACvC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE;YACxC,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAE;SACvC;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE;QACzD,WAAW,EAAE,kCAAkC;KAC/C;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE;QACzD,WAAW,EAAE,sCAAsC;KACnD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE;QACzD,WAAW,EAAE,2BAA2B;KACxC;IACD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE;QACzD,WAAW,EAAE,mEAAmE;KAChF;IACD;QACC,WAAW,EAAE,uBAAuB;QACpC,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE;QACzD,WAAW,EAAE,yEAAyE;KACtF;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const customerGetDescription: INodeProperties[];
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerGetDescription = void 0;
4
+ exports.customerGetDescription = [
5
+ {
6
+ displayName: 'Customer ID',
7
+ name: 'customerId',
8
+ type: 'string',
9
+ required: true,
10
+ displayOptions: { show: { operation: ['get'], resource: ['customer'] } },
11
+ default: '',
12
+ description: 'The ID of the customer to retrieve',
13
+ },
14
+ ];
15
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE;QACxE,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oCAAoC;KACjD;CACD,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const customerGetAllDescription: import("n8n-workflow").INodeProperties[];
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerGetAllDescription = void 0;
4
+ const operations_1 = require("../shared/operations");
5
+ exports.customerGetAllDescription = (0, operations_1.buildGetAllDescription)('customer');
6
+ //# sourceMappingURL=getAll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer/getAll.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AAEjD,QAAA,yBAAyB,GAAG,IAAA,mCAAsB,EAAC,UAAU,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const customerGetCategoriesDescription: INodeProperties[];
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customerGetCategoriesDescription = void 0;
4
+ const showForCustomerGetCategories = {
5
+ operation: ['getCategories'],
6
+ resource: ['customer'],
7
+ };
8
+ exports.customerGetCategoriesDescription = [
9
+ {
10
+ displayName: 'Customer ID',
11
+ name: 'customerId',
12
+ type: 'string',
13
+ required: true,
14
+ default: '',
15
+ displayOptions: { show: showForCustomerGetCategories },
16
+ description: 'The ID of the customer whose categories should be retrieved',
17
+ },
18
+ {
19
+ displayName: 'Return All',
20
+ name: 'returnAll',
21
+ type: 'boolean',
22
+ default: false,
23
+ displayOptions: { show: showForCustomerGetCategories },
24
+ description: 'Whether to return all results or only up to a given limit',
25
+ routing: {
26
+ send: {
27
+ paginate: '={{ $value }}',
28
+ },
29
+ operations: {
30
+ pagination: {
31
+ type: 'generic',
32
+ properties: {
33
+ continue: '={{ $response.body.has_more }}',
34
+ request: {
35
+ qs: {
36
+ cursor: '={{ $response.body.next_cursor }}',
37
+ },
38
+ },
39
+ },
40
+ },
41
+ },
42
+ },
43
+ },
44
+ {
45
+ displayName: 'Limit',
46
+ name: 'limit',
47
+ type: 'number',
48
+ typeOptions: { minValue: 1, maxValue: 100 },
49
+ default: 50,
50
+ displayOptions: { show: { ...showForCustomerGetCategories, returnAll: [false] } },
51
+ description: 'Max number of results to return',
52
+ routing: {
53
+ send: {
54
+ type: 'query',
55
+ property: 'limit',
56
+ },
57
+ output: {
58
+ maxResults: '={{$value}}',
59
+ },
60
+ },
61
+ },
62
+ ];
63
+ //# sourceMappingURL=getCategories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCategories.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer/getCategories.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG;IACpC,SAAS,EAAE,CAAC,eAAe,CAAC;IAC5B,QAAQ,EAAE,CAAC,UAAU,CAAC;CACt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escription: INodeProperties[];