@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,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineCategorizeDescription = void 0;
4
+ exports.applyLedgerEntryLineCategorizePreSend = applyLedgerEntryLineCategorizePreSend;
5
+ const showForLedgerEntryLineCategorize = {
6
+ operation: ['categorize'],
7
+ resource: ['ledgerEntryLine'],
8
+ };
9
+ async function applyLedgerEntryLineCategorizePreSend(requestOptions) {
10
+ const categories = this.getNodeParameter('lineCategories.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.ledgerEntryLineCategorizeDescription = [
18
+ {
19
+ displayName: 'Ledger Entry Line ID',
20
+ name: 'ledgerEntryLineIdToCategorize',
21
+ type: 'string',
22
+ required: true,
23
+ default: '',
24
+ displayOptions: { show: showForLedgerEntryLineCategorize },
25
+ description: 'The ID of the ledger entry line to link categories to',
26
+ },
27
+ {
28
+ displayName: 'Categories',
29
+ name: 'lineCategories',
30
+ type: 'fixedCollection',
31
+ default: {},
32
+ required: true,
33
+ placeholder: 'Add Category',
34
+ description: 'Categories to link to this ledger entry line, 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. An empty list removes all categories from the line.',
35
+ typeOptions: { multipleValues: true },
36
+ displayOptions: { show: showForLedgerEntryLineCategorize },
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/ledger-entry-line/categorize.ts"],"names":[],"mappings":";;;AAWA,sFAeC;AAxBD,MAAM,gCAAgC,GAAG;IACxC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,QAAQ,EAAE,CAAC,iBAAiB,CAAC;CAC7B,CAAC;AAMK,KAAK,UAAU,qCAAqC,CAE1D,cAAmC;IAEnC,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,EAAE,EAAE,CAGpE,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,oCAAoC,GAAsB;IACtE;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE;QAC1D,WAAW,EAAE,uDAAuD;KACpE;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,cAAc;QAC3B,WAAW,EACV,0PAA0P;QAC3P,WAAW,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;QACrC,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE;QAC1D,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 ledgerEntryLineGetDescription: INodeProperties[];
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineGetDescription = void 0;
4
+ exports.ledgerEntryLineGetDescription = [
5
+ {
6
+ displayName: 'Ledger Entry Line ID',
7
+ name: 'ledgerEntryLineId',
8
+ type: 'string',
9
+ required: true,
10
+ displayOptions: { show: { operation: ['get'], resource: ['ledgerEntryLine'] } },
11
+ default: '',
12
+ description: 'The ID of the ledger entry line to retrieve',
13
+ },
14
+ ];
15
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry-line/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6CAA6C;KAC1D;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ledgerEntryLineGetAllDescription: INodeProperties[];
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineGetAllDescription = void 0;
4
+ const showForLedgerEntryLineGetAll = {
5
+ operation: ['getAll'],
6
+ resource: ['ledgerEntryLine'],
7
+ };
8
+ const LEDGER_ENTRY_LINE_FILTER_FIELDS = [
9
+ { name: 'ID', value: 'id' },
10
+ { name: 'Journal ID', value: 'journal_id' },
11
+ { name: 'Ledger Account ID', value: 'ledger_account_id' },
12
+ { name: 'Date', value: 'date' },
13
+ ];
14
+ const LEDGER_ENTRY_LINE_FILTER_OPERATORS = [
15
+ { name: 'Equals', value: 'eq' },
16
+ { name: 'Not Equals', value: 'not_eq' },
17
+ { name: 'Greater Than', value: 'gt' },
18
+ { name: 'Greater Than or Equal', value: 'gteq' },
19
+ { name: 'Less Than', value: 'lt' },
20
+ { name: 'Less Than or Equal', value: 'lteq' },
21
+ { name: 'In', value: 'in' },
22
+ { name: 'Not In', value: 'not_in' },
23
+ ];
24
+ async function applyLedgerEntryLineFilterPreSend(requestOptions) {
25
+ var _a;
26
+ const filters = this.getNodeParameter('filters.filter', []);
27
+ if (!Array.isArray(filters) || filters.length === 0) {
28
+ return requestOptions;
29
+ }
30
+ const payload = filters.map(({ field, operator, value }) => ({
31
+ field,
32
+ operator,
33
+ value: operator === 'in' || operator === 'not_in'
34
+ ? value
35
+ .split(',')
36
+ .map((v) => v.trim())
37
+ .filter((v) => v.length > 0)
38
+ : value,
39
+ }));
40
+ requestOptions.qs = (_a = requestOptions.qs) !== null && _a !== void 0 ? _a : {};
41
+ requestOptions.qs.filter = JSON.stringify(payload);
42
+ return requestOptions;
43
+ }
44
+ exports.ledgerEntryLineGetAllDescription = [
45
+ {
46
+ displayName: 'Filters',
47
+ name: 'filters',
48
+ type: 'fixedCollection',
49
+ default: {},
50
+ placeholder: 'Add Filter',
51
+ description: 'Filter results by field, operator, and value. For the "In" / "Not In" operators, separate multiple values with a comma.',
52
+ typeOptions: { multipleValues: true },
53
+ displayOptions: { show: showForLedgerEntryLineGetAll },
54
+ options: [
55
+ {
56
+ name: 'filter',
57
+ displayName: 'Filter Condition',
58
+ values: [
59
+ {
60
+ displayName: 'Field',
61
+ name: 'field',
62
+ type: 'options',
63
+ options: LEDGER_ENTRY_LINE_FILTER_FIELDS,
64
+ default: 'id',
65
+ description: 'The field to filter on',
66
+ },
67
+ {
68
+ displayName: 'Operator',
69
+ name: 'operator',
70
+ type: 'options',
71
+ options: LEDGER_ENTRY_LINE_FILTER_OPERATORS,
72
+ default: 'eq',
73
+ description: 'Filter operator to apply',
74
+ },
75
+ {
76
+ displayName: 'Value',
77
+ name: 'value',
78
+ type: 'string',
79
+ default: '',
80
+ description: 'The filter value. For "In" / "Not In", separate multiple values with a comma.',
81
+ },
82
+ ],
83
+ },
84
+ ],
85
+ routing: {
86
+ send: {
87
+ preSend: [applyLedgerEntryLineFilterPreSend],
88
+ },
89
+ },
90
+ },
91
+ {
92
+ displayName: 'Sort',
93
+ name: 'sort',
94
+ type: 'options',
95
+ default: '-id',
96
+ displayOptions: { show: showForLedgerEntryLineGetAll },
97
+ description: 'Sort order for the results',
98
+ options: [
99
+ { name: 'ID Ascending', value: 'id' },
100
+ { name: 'ID Descending', value: '-id' },
101
+ { name: 'Date Ascending', value: 'date' },
102
+ { name: 'Date Descending', value: '-date' },
103
+ ],
104
+ routing: {
105
+ send: {
106
+ type: 'query',
107
+ property: 'sort',
108
+ },
109
+ },
110
+ },
111
+ {
112
+ displayName: 'Return All',
113
+ name: 'returnAll',
114
+ type: 'boolean',
115
+ default: false,
116
+ displayOptions: { show: showForLedgerEntryLineGetAll },
117
+ description: 'Whether to return all results or only up to a given limit',
118
+ routing: {
119
+ send: {
120
+ paginate: '={{ $value }}',
121
+ },
122
+ operations: {
123
+ pagination: {
124
+ type: 'generic',
125
+ properties: {
126
+ continue: '={{ $response.body.has_more }}',
127
+ request: {
128
+ qs: {
129
+ cursor: '={{ $response.body.next_cursor }}',
130
+ },
131
+ },
132
+ },
133
+ },
134
+ },
135
+ },
136
+ },
137
+ {
138
+ displayName: 'Limit',
139
+ name: 'limit',
140
+ type: 'number',
141
+ typeOptions: { minValue: 1, maxValue: 100 },
142
+ default: 50,
143
+ displayOptions: { show: { ...showForLedgerEntryLineGetAll, returnAll: [false] } },
144
+ description: 'Max number of results to return',
145
+ routing: {
146
+ send: {
147
+ type: 'query',
148
+ property: 'limit',
149
+ },
150
+ output: {
151
+ maxResults: '={{$value}}',
152
+ },
153
+ },
154
+ },
155
+ ];
156
+ //# sourceMappingURL=getAll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry-line/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG;IACpC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,iBAAiB,CAAC;CAC7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D;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,4BAA4B,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QACjF,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ledgerEntryLineGetCategoriesDescription: INodeProperties[];
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineGetCategoriesDescription = void 0;
4
+ const showForLedgerEntryLineGetCategories = { operation: ['getCategories'], resource: ['ledgerEntryLine'] };
5
+ exports.ledgerEntryLineGetCategoriesDescription = [
6
+ { displayName: 'Ledger Entry Line ID', name: 'ledgerEntryLineIdForCategories', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryLineGetCategories }, description: 'The ID of the ledger entry line whose categories should be retrieved' },
7
+ {
8
+ displayName: 'Sort', name: 'sortCategories', type: 'options', default: '-id',
9
+ displayOptions: { show: showForLedgerEntryLineGetCategories }, description: 'Sort order for the results. Only ID sorting is currently supported by the API.',
10
+ options: [
11
+ { name: 'ID Ascending', value: 'id' },
12
+ { name: 'ID Descending', value: '-id' },
13
+ ],
14
+ routing: { send: { type: 'query', property: 'sort' } },
15
+ },
16
+ {
17
+ displayName: 'Return All', name: 'returnAllCategories', type: 'boolean', default: false,
18
+ displayOptions: { show: showForLedgerEntryLineGetCategories }, description: 'Whether to return all results or only up to a given limit',
19
+ routing: {
20
+ send: { paginate: '={{ $value }}' },
21
+ operations: {
22
+ pagination: {
23
+ type: 'generic',
24
+ properties: {
25
+ continue: '={{ $response.body.has_more }}',
26
+ request: { qs: { cursor: '={{ $response.body.next_cursor }}' } },
27
+ },
28
+ },
29
+ },
30
+ },
31
+ },
32
+ {
33
+ displayName: 'Limit', name: 'limitCategories', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
34
+ displayOptions: { show: { ...showForLedgerEntryLineGetCategories, returnAllCategories: [false] } }, description: 'Max number of results to return',
35
+ routing: {
36
+ send: { type: 'query', property: 'limit' },
37
+ output: { maxResults: '={{$value}}' },
38
+ },
39
+ },
40
+ ];
41
+ //# sourceMappingURL=getCategories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCategories.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry-line/getCategories.ts"],"names":[],"mappings":";;;AAEA,MAAM,mCAAmC,GAAG,EAAE,SAAS,EAAE,CAAC,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAE/F,QAAA,uCAAuC,GAAsB;IACzE,EAAE,WAAW,EAAE,sBAAsB,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,EAAE,WAAW,EAAE,sEAAsE,EAAE;IAChR;QACC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QAC5E,cAAc,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,EAAE,WAAW,EAAE,gFAAgF;QAC5J,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE;YACrC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE;SACvC;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE;KACtD;IACD;QACC,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QACvF,cAAc,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,EAAE,WAAW,EAAE,2DAA2D;QACvI,OAAO,EAAE;YACR,IAAI,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE;YACnC,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,mCAAmC,EAAE,EAAE;qBAChE;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE;QACvH,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,mCAAmC,EAAE,mBAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QAClJ,OAAO,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE;YAC1C,MAAM,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE;SACrC;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ledgerEntryLineGetLetteredDescription: INodeProperties[];
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineGetLetteredDescription = void 0;
4
+ const showForLedgerEntryLineGetLettered = { operation: ['getLettered'], resource: ['ledgerEntryLine'] };
5
+ exports.ledgerEntryLineGetLetteredDescription = [
6
+ { displayName: 'Ledger Entry Line ID', name: 'ledgerEntryLineIdForLettered', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryLineGetLettered }, description: 'The ID of the ledger entry line whose lettered lines should be retrieved' },
7
+ {
8
+ displayName: 'Sort', name: 'sortLettered', type: 'options', default: '-id',
9
+ displayOptions: { show: showForLedgerEntryLineGetLettered }, description: 'Sort order for the results',
10
+ options: [
11
+ { name: 'ID Ascending', value: 'id' },
12
+ { name: 'ID Descending', value: '-id' },
13
+ { name: 'Date Ascending', value: 'date' },
14
+ { name: 'Date Descending', value: '-date' },
15
+ ],
16
+ routing: { send: { type: 'query', property: 'sort' } },
17
+ },
18
+ {
19
+ displayName: 'Return All', name: 'returnAllLettered', type: 'boolean', default: false,
20
+ displayOptions: { show: showForLedgerEntryLineGetLettered }, description: 'Whether to return all results or only up to a given limit',
21
+ routing: {
22
+ send: { paginate: '={{ $value }}' },
23
+ operations: {
24
+ pagination: {
25
+ type: 'generic',
26
+ properties: {
27
+ continue: '={{ $response.body.has_more }}',
28
+ request: { qs: { cursor: '={{ $response.body.next_cursor }}' } },
29
+ },
30
+ },
31
+ },
32
+ },
33
+ },
34
+ {
35
+ displayName: 'Limit', name: 'limitLettered', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
36
+ displayOptions: { show: { ...showForLedgerEntryLineGetLettered, returnAllLettered: [false] } }, description: 'Max number of results to return',
37
+ routing: {
38
+ send: { type: 'query', property: 'limit' },
39
+ output: { maxResults: '={{$value}}' },
40
+ },
41
+ },
42
+ ];
43
+ //# sourceMappingURL=getLettered.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLettered.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/led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,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,mCAAmC,EAAE,EAAE;qBAChE;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE;QACrH,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,iCAAiC,EAAE,iBAAiB,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QAC9I,OAAO,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE;YAC1C,MAAM,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE;SACrC;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ledgerEntryLineDescription: INodeProperties[];
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineDescription = void 0;
4
+ const get_1 = require("./get");
5
+ const getAll_1 = require("./getAll");
6
+ const getLettered_1 = require("./getLettered");
7
+ const getCategories_1 = require("./getCategories");
8
+ const categorize_1 = require("./categorize");
9
+ const letter_1 = require("./letter");
10
+ const unletter_1 = require("./unletter");
11
+ const showOnlyForLedgerEntryLines = { resource: ['ledgerEntryLine'] };
12
+ exports.ledgerEntryLineDescription = [
13
+ {
14
+ displayName: 'Operation',
15
+ name: 'operation',
16
+ type: 'options',
17
+ noDataExpression: true,
18
+ displayOptions: { show: showOnlyForLedgerEntryLines },
19
+ options: [
20
+ {
21
+ name: 'Get',
22
+ value: 'get',
23
+ action: 'Get a ledger entry line',
24
+ description: 'Retrieve a single ledger entry line by ID',
25
+ routing: { request: { method: 'GET', url: '=/ledger_entry_lines/{{$parameter.ledgerEntryLineId}}' } },
26
+ },
27
+ {
28
+ name: 'Get Many',
29
+ value: 'getAll',
30
+ action: 'Get ledger entry lines',
31
+ description: 'Retrieve a list of ledger entry lines with optional filters',
32
+ routing: { request: { method: 'GET', url: '/ledger_entry_lines' } },
33
+ },
34
+ {
35
+ name: 'List Lettered Lines',
36
+ value: 'getLettered',
37
+ action: 'List lettered lines',
38
+ description: 'Retrieve the ledger entry lines lettered (reconciled) together with the given line',
39
+ routing: { request: { method: 'GET', url: '=/ledger_entry_lines/{{$parameter.ledgerEntryLineIdForLettered}}/lettered_ledger_entry_lines' } },
40
+ },
41
+ {
42
+ name: 'List Categories',
43
+ value: 'getCategories',
44
+ action: 'List categories',
45
+ description: 'Retrieve the categories linked to a ledger entry line',
46
+ routing: { request: { method: 'GET', url: '=/ledger_entry_lines/{{$parameter.ledgerEntryLineIdForCategories}}/categories' } },
47
+ },
48
+ {
49
+ name: 'Categorize',
50
+ value: 'categorize',
51
+ action: 'Categorize a ledger entry line',
52
+ description: 'Link one or more categories (with weights) to a ledger entry line',
53
+ routing: {
54
+ request: { method: 'PUT', url: '=/ledger_entry_lines/{{$parameter.ledgerEntryLineIdToCategorize}}/categories' },
55
+ send: { preSend: [categorize_1.applyLedgerEntryLineCategorizePreSend] },
56
+ },
57
+ },
58
+ {
59
+ name: 'Letter',
60
+ value: 'letter',
61
+ action: 'Letter ledger entry lines',
62
+ description: 'Letter (reconcile) two or more ledger entry lines together',
63
+ routing: {
64
+ request: {
65
+ method: 'POST',
66
+ url: '/ledger_entry_lines/lettering',
67
+ body: {
68
+ unbalanced_lettering_strategy: '={{ $parameter.unbalancedLetteringStrategy }}',
69
+ ledger_entry_lines: '={{ ($parameter.letterLineIds || "").split(",").map(v => v.trim()).filter(v => v).map(v => ({ id: parseInt(v, 10) })) }}',
70
+ },
71
+ },
72
+ },
73
+ },
74
+ {
75
+ name: 'Unletter',
76
+ value: 'unletter',
77
+ action: 'Unletter ledger entry lines',
78
+ description: 'Remove one or more ledger entry lines from their lettering',
79
+ routing: {
80
+ request: {
81
+ method: 'DELETE',
82
+ url: '/ledger_entry_lines/lettering',
83
+ body: {
84
+ unbalanced_lettering_strategy: '={{ $parameter.unbalancedUnletteringStrategy }}',
85
+ ledger_entry_lines: '={{ ($parameter.unletterLineIds || "").split(",").map(v => v.trim()).filter(v => v).map(v => ({ id: parseInt(v, 10) })) }}',
86
+ },
87
+ },
88
+ },
89
+ },
90
+ ],
91
+ default: 'getAll',
92
+ },
93
+ ...get_1.ledgerEntryLineGetDescription,
94
+ ...getAll_1.ledgerEntryLineGetAllDescription,
95
+ ...getLettered_1.ledgerEntryLineGetLetteredDescription,
96
+ ...getCategories_1.ledgerEntryLineGetCategoriesDescription,
97
+ ...categorize_1.ledgerEntryLineCategorizeDescription,
98
+ ...letter_1.ledgerEntryLineLetterDescription,
99
+ ...unletter_1.ledgerEntryLineUnletterDescription,
100
+ ];
101
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry-line/index.ts"],"names":[],"mappings":";;;AACA,+BAAsD;AACtD,qCAA4D;AAC5D,+CAAsE;AACtE,mDAA0E;AAC1E,6CAA2G;AAC3G,qCAA4D;AAC5D,yCAAgE;AAEhE,MAAM,2BAA2B,GAAG,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEzD,QAAA,0BAA0B,GAAsB;IAC5D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE;QACrD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,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,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,+BAA+B;wBACpC,IAAI,EAAE;4BACL,6BAA6B,EAAE,+CAA+C;4BAC9E,kBAAkB,EAAE,0HAA0H;yBAC9I;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,MAAM,EAAE,6BAA6B;gBACrC,WAAW,EAAE,4DAA4D;gBACzE,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,+BAA+B;wBACpC,IAAI,EAAE;4BACL,6BAA6B,EAAE,iDAAiD;4BAChF,kBAAkB,EAAE,4HAA4H;yBAChJ;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,mCAA6B;IAChC,GAAG,yCAAgC;IACnC,GAAG,mDAAqC;IACxC,GAAG,uDAAuC;IAC1C,GAAG,iDAAoC;IACvC,GAAG,yCAAgC;IACnC,GAAG,6CAAkC;CACrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ledgerEntryLineLetterDescription: INodeProperties[];
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineLetterDescription = void 0;
4
+ const showForLedgerEntryLineLetter = { operation: ['letter'], resource: ['ledgerEntryLine'] };
5
+ exports.ledgerEntryLineLetterDescription = [
6
+ {
7
+ displayName: 'Line IDs to Letter',
8
+ name: 'letterLineIds',
9
+ type: 'string',
10
+ required: true,
11
+ default: '',
12
+ displayOptions: { show: showForLedgerEntryLineLetter },
13
+ description: 'Comma-separated list of ledger entry line IDs to letter (reconcile) together. At least 2 required.',
14
+ placeholder: '111, 222',
15
+ },
16
+ {
17
+ displayName: 'Unbalanced Lettering Strategy',
18
+ name: 'unbalancedLetteringStrategy',
19
+ type: 'options',
20
+ default: 'none',
21
+ required: true,
22
+ displayOptions: { show: showForLedgerEntryLineLetter },
23
+ description: 'How to handle a lettering whose lines do not balance to zero',
24
+ options: [
25
+ { name: 'None (Reject Unbalanced)', value: 'none' },
26
+ { name: 'Partial (Allow Unbalanced)', value: 'partial' },
27
+ ],
28
+ },
29
+ ];
30
+ //# sourceMappingURL=letter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"letter.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry-line/letter.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEjF,QAAA,gCAAgC,GAAsB;IAClE;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;QACtD,WAAW,EAAE,oGAAoG;QACjH,WAAW,EAAE,UAAU;KACvB;IACD;QACC,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;QACtD,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,0BAA0B,EAAE,KAAK,EAAE,MAAM,EAAE;YACnD,EAAE,IAAI,EAAE,4BAA4B,EAAE,KAAK,EAAE,SAAS,EAAE;SACxD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ledgerEntryLineUnletterDescription: INodeProperties[];
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ledgerEntryLineUnletterDescription = void 0;
4
+ const showForLedgerEntryLineUnletter = { operation: ['unletter'], resource: ['ledgerEntryLine'] };
5
+ exports.ledgerEntryLineUnletterDescription = [
6
+ {
7
+ displayName: 'Line IDs to Unletter',
8
+ name: 'unletterLineIds',
9
+ type: 'string',
10
+ required: true,
11
+ default: '',
12
+ displayOptions: { show: showForLedgerEntryLineUnletter },
13
+ description: 'Comma-separated list of ledger entry line IDs to remove from their lettering',
14
+ placeholder: '111, 222',
15
+ },
16
+ {
17
+ displayName: 'Unbalanced Lettering Strategy',
18
+ name: 'unbalancedUnletteringStrategy',
19
+ type: 'options',
20
+ default: 'none',
21
+ required: true,
22
+ displayOptions: { show: showForLedgerEntryLineUnletter },
23
+ description: 'How to handle an unlettering that would leave the remaining lettering unbalanced',
24
+ options: [
25
+ { name: 'None (Reject Unbalanced)', value: 'none' },
26
+ { name: 'Partial (Allow Unbalanced)', value: 'partial' },
27
+ ],
28
+ },
29
+ ];
30
+ //# sourceMappingURL=unletter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unletter.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry-line/unletter.ts"],"names":[],"mappings":";;;AAEA,MAAM,8BAA8B,GAAG,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAErF,QAAA,kCAAkC,GAAsB;IACpE;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;QACxD,WAAW,EAAE,8EAA8E;QAC3F,WAAW,EAAE,UAAU;KACvB;IACD;QACC,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;QACxD,WAAW,EAAE,kFAAkF;QAC/F,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,0BAA0B,EAAE,KAAK,EAAE,MAAM,EAAE;YACnD,EAAE,IAAI,EAAE,4BAA4B,EAAE,KAAK,EAAE,SAAS,EAAE;SACxD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const meDescription: INodeProperties[];
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.meDescription = void 0;
4
+ exports.meDescription = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: { resource: ['me'] },
12
+ },
13
+ options: [
14
+ {
15
+ name: 'Get',
16
+ value: 'get',
17
+ action: 'Get current user and company',
18
+ description: "Retrieve the authenticated user and company's information",
19
+ routing: {
20
+ request: {
21
+ method: 'GET',
22
+ url: '/me',
23
+ },
24
+ },
25
+ },
26
+ ],
27
+ default: 'get',
28
+ },
29
+ ];
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/me/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAsB;IAC/C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE;SAC1B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,8BAA8B;gBACtC,WAAW,EAAE,2DAA2D;gBACxE,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,KAAK;qBACV;iBACD;aACD;SACD;QACD,OAAO,EAAE,KAAK;KACd;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const paRegistrationGetAllDescription: INodeProperties[];