@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.
- package/README.md +96 -0
- package/dist/credentials/PennylaneApi.credentials.d.ts +10 -0
- package/dist/credentials/PennylaneApi.credentials.js +39 -0
- package/dist/credentials/PennylaneApi.credentials.js.map +1 -0
- package/dist/credentials/pennylane.dark.png +0 -0
- package/dist/credentials/pennylane.png +0 -0
- package/dist/nodes/Pennylane/Pennylane.node.d.ts +4 -0
- package/dist/nodes/Pennylane/Pennylane.node.js +126 -0
- package/dist/nodes/Pennylane/Pennylane.node.js.map +1 -0
- package/dist/nodes/Pennylane/Pennylane.node.json +10 -0
- package/dist/nodes/Pennylane/pennylane.dark.png +0 -0
- package/dist/nodes/Pennylane/pennylane.png +0 -0
- package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.js +27 -0
- package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/create.js +70 -0
- package/dist/nodes/Pennylane/resources/bank-account/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/get.js +15 -0
- package/dist/nodes/Pennylane/resources/bank-account/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/getAll.js +54 -0
- package/dist/nodes/Pennylane/resources/bank-account/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/index.js +59 -0
- package/dist/nodes/Pennylane/resources/bank-account/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/getAll.js +121 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/index.js +26 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-transaction/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-transaction/index.js +95 -0
- package/dist/nodes/Pennylane/resources/bank-transaction/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/create.js +69 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/get.js +15 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/index.js +51 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.js +41 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.js +41 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/update.js +79 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/create.js +49 -0
- package/dist/nodes/Pennylane/resources/category/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/get.js +15 -0
- package/dist/nodes/Pennylane/resources/category/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/getAll.js +155 -0
- package/dist/nodes/Pennylane/resources/category/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/index.js +76 -0
- package/dist/nodes/Pennylane/resources/category/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/update.js +48 -0
- package/dist/nodes/Pennylane/resources/category/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/get.js +15 -0
- package/dist/nodes/Pennylane/resources/category-group/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/getAll.js +54 -0
- package/dist/nodes/Pennylane/resources/category-group/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/getCategories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/getCategories.js +63 -0
- package/dist/nodes/Pennylane/resources/category-group/getCategories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/index.js +51 -0
- package/dist/nodes/Pennylane/resources/category-group/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/changelog/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/changelog/index.js +18 -0
- package/dist/nodes/Pennylane/resources/changelog/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/appendices.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/appendices.js +52 -0
- package/dist/nodes/Pennylane/resources/commercial-document/appendices.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/get.js +15 -0
- package/dist/nodes/Pennylane/resources/commercial-document/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/getAll.js +153 -0
- package/dist/nodes/Pennylane/resources/commercial-document/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/index.js +94 -0
- package/dist/nodes/Pennylane/resources/commercial-document/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.js +65 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.js +65 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.js +50 -0
- package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/categorize.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer/categorize.js +63 -0
- package/dist/nodes/Pennylane/resources/customer/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/create.js +155 -0
- package/dist/nodes/Pennylane/resources/customer/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/createIndividual.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/createIndividual.js +193 -0
- package/dist/nodes/Pennylane/resources/customer/createIndividual.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/get.js +15 -0
- package/dist/nodes/Pennylane/resources/customer/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/customer/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/customer/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/getCategories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/getCategories.js +63 -0
- package/dist/nodes/Pennylane/resources/customer/getCategories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/getContacts.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/getContacts.js +63 -0
- package/dist/nodes/Pennylane/resources/customer/getContacts.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/index.js +166 -0
- package/dist/nodes/Pennylane/resources/customer/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/update.js +235 -0
- package/dist/nodes/Pennylane/resources/customer/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/categorize.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/categorize.js +63 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/create.js +93 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.js +80 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/finalize.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/finalize.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/finalize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/get.js +15 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/import.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/import.js +100 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/import.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/index.js +71 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.js +25 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.js +25 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/subLists.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/subLists.js +72 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/subLists.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/update.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/update.js +450 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.js +308 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.js +47 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.js +66 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/index.js +34 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/fec-export/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/fec-export/index.js +18 -0
- package/dist/nodes/Pennylane/resources/fec-export/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/file-attachment/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/file-attachment/index.js +40 -0
- package/dist/nodes/Pennylane/resources/file-attachment/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/getAll.js +68 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/index.js +34 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/general-ledger-export/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/general-ledger-export/index.js +18 -0
- package/dist/nodes/Pennylane/resources/general-ledger-export/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.js +28 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.js +19 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/get.js +15 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.js +153 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/index.js +90 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.js +46 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/journal/create.js +28 -0
- package/dist/nodes/Pennylane/resources/journal/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/journal/get.js +15 -0
- package/dist/nodes/Pennylane/resources/journal/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/journal/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/journal/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/journal/index.js +55 -0
- package/dist/nodes/Pennylane/resources/journal/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/create.js +44 -0
- package/dist/nodes/Pennylane/resources/ledger-account/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/get.js +15 -0
- package/dist/nodes/Pennylane/resources/ledger-account/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/ledger-account/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/index.js +75 -0
- package/dist/nodes/Pennylane/resources/ledger-account/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/update.js +35 -0
- package/dist/nodes/Pennylane/resources/ledger-account/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/create.js +19 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/get.js +15 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/getLines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/getLines.js +41 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/getLines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/index.js +28 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/update.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/update.js +132 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.js +63 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/get.js +15 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.js +156 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.js +41 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.js +43 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/index.js +101 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.js +30 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.js +30 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.js.map +1 -0
- package/dist/nodes/Pennylane/resources/me/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/me/index.js +30 -0
- package/dist/nodes/Pennylane/resources/me/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pa-registration/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pa-registration/getAll.js +54 -0
- package/dist/nodes/Pennylane/resources/pa-registration/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pa-registration/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pa-registration/index.js +31 -0
- package/dist/nodes/Pennylane/resources/pa-registration/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.js +148 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/index.js +71 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.js +15 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.js +17 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.js +152 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/create.js +85 -0
- package/dist/nodes/Pennylane/resources/product/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/get.js +15 -0
- package/dist/nodes/Pennylane/resources/product/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/product/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/product/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/index.js +84 -0
- package/dist/nodes/Pennylane/resources/product/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/update.js +91 -0
- package/dist/nodes/Pennylane/resources/product/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/purchase-request/get.js +15 -0
- package/dist/nodes/Pennylane/resources/purchase-request/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/purchase-request/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/import.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/purchase-request/import.js +139 -0
- package/dist/nodes/Pennylane/resources/purchase-request/import.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/purchase-request/index.js +71 -0
- package/dist/nodes/Pennylane/resources/purchase-request/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/appendices.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/appendices.js +32 -0
- package/dist/nodes/Pennylane/resources/quote/appendices.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/create.js +24 -0
- package/dist/nodes/Pennylane/resources/quote/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/get.js +15 -0
- package/dist/nodes/Pennylane/resources/quote/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/index.js +60 -0
- package/dist/nodes/Pennylane/resources/quote/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.js +41 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-lines.js +41 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/send-by-email.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/send-by-email.js +13 -0
- package/dist/nodes/Pennylane/resources/quote/send-by-email.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/update-status.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/update-status.js +19 -0
- package/dist/nodes/Pennylane/resources/quote/update-status.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/update.js +66 -0
- package/dist/nodes/Pennylane/resources/quote/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/upload-appendix.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/quote/upload-appendix.js +35 -0
- package/dist/nodes/Pennylane/resources/quote/upload-appendix.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/create.js +23 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/delete.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/delete.js +15 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/delete.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/get.js +15 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.js +152 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/index.js +90 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/update.js +25 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/shared/operations.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/shared/operations.js +241 -0
- package/dist/nodes/Pennylane/resources/shared/operations.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/categorize.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/categorize.js +18 -0
- package/dist/nodes/Pennylane/resources/supplier/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/create.js +33 -0
- package/dist/nodes/Pennylane/resources/supplier/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/get.js +15 -0
- package/dist/nodes/Pennylane/resources/supplier/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/index.js +64 -0
- package/dist/nodes/Pennylane/resources/supplier/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/list-categories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/list-categories.js +20 -0
- package/dist/nodes/Pennylane/resources/supplier/list-categories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.js +18 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/get.js +15 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.js +55 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import.js +20 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/index.js +73 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.js +9 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.js +32 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.js +41 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.js +41 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.js +41 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.js +48 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update.js +153 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.js +8 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.js.map +1 -0
- package/dist/nodes/Pennylane/resources/trial-balance/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/trial-balance/get.js +82 -0
- package/dist/nodes/Pennylane/resources/trial-balance/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/trial-balance/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/trial-balance/index.js +36 -0
- package/dist/nodes/Pennylane/resources/trial-balance/index.js.map +1 -0
- package/dist/package.json +53 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +53 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.journalDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const create_1 = require("./create");
|
|
7
|
+
const showOnlyForJournals = { resource: ['journal'] };
|
|
8
|
+
exports.journalDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
noDataExpression: true,
|
|
14
|
+
displayOptions: { show: showOnlyForJournals },
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Get',
|
|
18
|
+
value: 'get',
|
|
19
|
+
action: 'Get a journal',
|
|
20
|
+
description: 'Retrieve a single journal by ID',
|
|
21
|
+
routing: {
|
|
22
|
+
request: { method: 'GET', url: '=/journals/{{$parameter.journalId}}' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'Get Many',
|
|
27
|
+
value: 'getAll',
|
|
28
|
+
action: 'Get journals',
|
|
29
|
+
description: 'Retrieve a list of journals with optional filters',
|
|
30
|
+
routing: { request: { method: 'GET', url: '/journals' } },
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'Create',
|
|
34
|
+
value: 'create',
|
|
35
|
+
action: 'Create a journal',
|
|
36
|
+
description: 'Create a new journal',
|
|
37
|
+
routing: {
|
|
38
|
+
request: {
|
|
39
|
+
method: 'POST',
|
|
40
|
+
url: '/journals',
|
|
41
|
+
body: {
|
|
42
|
+
code: '={{$parameter.code}}',
|
|
43
|
+
label: '={{$parameter.label}}',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
default: 'getAll',
|
|
50
|
+
},
|
|
51
|
+
...get_1.journalGetDescription,
|
|
52
|
+
...getAll_1.journalGetAllDescription,
|
|
53
|
+
...create_1.journalCreateDescription,
|
|
54
|
+
];
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/journal/index.ts"],"names":[],"mappings":";;;AACA,+BAA8C;AAC9C,qCAAoD;AACpD,qCAAoD;AAEpD,MAAM,mBAAmB,GAAG,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;AAEzC,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;QAC7C,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,eAAe;gBACvB,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE;oBACR,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,qCAAqC,EAAE;iBACtE;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,cAAc;gBACtB,WAAW,EAAE,mDAAmD;gBAChE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE;aACzD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,kBAAkB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,WAAW;wBAChB,IAAI,EAAE;4BACL,IAAI,EAAE,sBAAsB;4BAC5B,KAAK,EAAE,uBAAuB;yBAC9B;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,2BAAqB;IACxB,GAAG,iCAAwB;IAC3B,GAAG,iCAAwB;CAC3B,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerAccountCreateDescription = void 0;
|
|
4
|
+
const showForLedgerAccountCreate = {
|
|
5
|
+
operation: ['create'],
|
|
6
|
+
resource: ['ledgerAccount'],
|
|
7
|
+
};
|
|
8
|
+
exports.ledgerAccountCreateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Number',
|
|
11
|
+
name: 'number',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForLedgerAccountCreate },
|
|
16
|
+
description: 'Ledger account number, with no whitespace. Accounts starting with 401 (supplier) or 411 (customer) are treated as auxiliary accounts.',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Label',
|
|
20
|
+
name: 'label',
|
|
21
|
+
type: 'string',
|
|
22
|
+
required: true,
|
|
23
|
+
default: '',
|
|
24
|
+
displayOptions: { show: showForLedgerAccountCreate },
|
|
25
|
+
description: "Ledger account's label",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'VAT Rate',
|
|
29
|
+
name: 'vatRate',
|
|
30
|
+
type: 'string',
|
|
31
|
+
default: '',
|
|
32
|
+
displayOptions: { show: showForLedgerAccountCreate },
|
|
33
|
+
description: 'VAT rate code for this ledger account (e.g. FR_200, any). See the Pennylane API docs for the full list of valid codes.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Country',
|
|
37
|
+
name: 'countryAlpha2',
|
|
38
|
+
type: 'string',
|
|
39
|
+
default: '',
|
|
40
|
+
displayOptions: { show: showForLedgerAccountCreate },
|
|
41
|
+
description: 'Country code (ISO 3166-1 alpha-2, e.g. FR), or "any"',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-account/create.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG;IAClC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,eAAe,CAAC;CAC3B,CAAC;AAEW,QAAA,8BAA8B,GAAsB;IAChE;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EACV,uIAAuI;KACxI;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,wBAAwB;KACrC;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EACV,wHAAwH;KACzH;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,sDAAsD;KACnE;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerAccountGetDescription = void 0;
|
|
4
|
+
exports.ledgerAccountGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Ledger Account ID',
|
|
7
|
+
name: 'ledgerAccountId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['ledgerAccount'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the ledger account to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-account/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,2BAA2B,GAAsB;IAC7D;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;QAC7E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,0CAA0C;KACvD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ledgerAccountGetAllDescription: import("n8n-workflow").INodeProperties[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerAccountGetAllDescription = void 0;
|
|
4
|
+
const operations_1 = require("../shared/operations");
|
|
5
|
+
exports.ledgerAccountGetAllDescription = (0, operations_1.buildGetAllDescription)('ledgerAccount');
|
|
6
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-account/getAll.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AACjD,QAAA,8BAA8B,GAAG,IAAA,mCAAsB,EAAC,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerAccountDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const create_1 = require("./create");
|
|
7
|
+
const update_1 = require("./update");
|
|
8
|
+
const showOnlyForLedgerAccounts = { resource: ['ledgerAccount'] };
|
|
9
|
+
exports.ledgerAccountDescription = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Operation',
|
|
12
|
+
name: 'operation',
|
|
13
|
+
type: 'options',
|
|
14
|
+
noDataExpression: true,
|
|
15
|
+
displayOptions: { show: showOnlyForLedgerAccounts },
|
|
16
|
+
options: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Get',
|
|
19
|
+
value: 'get',
|
|
20
|
+
action: 'Get a ledger account',
|
|
21
|
+
description: 'Retrieve a single ledger account by ID',
|
|
22
|
+
routing: {
|
|
23
|
+
request: { method: 'GET', url: '=/ledger_accounts/{{$parameter.ledgerAccountId}}' },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Get Many',
|
|
28
|
+
value: 'getAll',
|
|
29
|
+
action: 'Get ledger accounts',
|
|
30
|
+
description: 'Retrieve a list of ledger accounts with optional filters',
|
|
31
|
+
routing: { request: { method: 'GET', url: '/ledger_accounts' } },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Create',
|
|
35
|
+
value: 'create',
|
|
36
|
+
action: 'Create a ledger account',
|
|
37
|
+
description: 'Create a new ledger account',
|
|
38
|
+
routing: {
|
|
39
|
+
request: {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
url: '/ledger_accounts',
|
|
42
|
+
body: {
|
|
43
|
+
number: '={{$parameter.number}}',
|
|
44
|
+
label: '={{$parameter.label}}',
|
|
45
|
+
vat_rate: '={{ $parameter.vatRate ? $parameter.vatRate : undefined }}',
|
|
46
|
+
country_alpha2: '={{ $parameter.countryAlpha2 ? $parameter.countryAlpha2 : undefined }}',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'Update',
|
|
53
|
+
value: 'update',
|
|
54
|
+
action: 'Update a ledger account',
|
|
55
|
+
description: 'Update an existing ledger account',
|
|
56
|
+
routing: {
|
|
57
|
+
request: {
|
|
58
|
+
method: 'PUT',
|
|
59
|
+
url: '=/ledger_accounts/{{$parameter.ledgerAccountIdToUpdate}}',
|
|
60
|
+
body: {
|
|
61
|
+
label: '={{ $parameter.label ? $parameter.label : undefined }}',
|
|
62
|
+
letterable: '={{$parameter.letterable}}',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
default: 'getAll',
|
|
69
|
+
},
|
|
70
|
+
...get_1.ledgerAccountGetDescription,
|
|
71
|
+
...getAll_1.ledgerAccountGetAllDescription,
|
|
72
|
+
...create_1.ledgerAccountCreateDescription,
|
|
73
|
+
...update_1.ledgerAccountUpdateDescription,
|
|
74
|
+
];
|
|
75
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-account/index.ts"],"names":[],"mappings":";;;AACA,+BAAoD;AACpD,qCAA0D;AAC1D,qCAA0D;AAC1D,qCAA0D;AAE1D,MAAM,yBAAyB,GAAG,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;AAErD,QAAA,wBAAwB,GAAsB;IAC1D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;QACnD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,sBAAsB;gBAC9B,WAAW,EAAE,wCAAwC;gBACrD,OAAO,EAAE;oBACR,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,kDAAkD,EAAE;iBACnF;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,0DAA0D;gBACvE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,EAAE;aAChE;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,yBAAyB;gBACjC,WAAW,EAAE,6BAA6B;gBAC1C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,kBAAkB;wBACvB,IAAI,EAAE;4BACL,MAAM,EAAE,wBAAwB;4BAChC,KAAK,EAAE,uBAAuB;4BAC9B,QAAQ,EAAE,4DAA4D;4BACtE,cAAc,EAAE,wEAAwE;yBACxF;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,yBAAyB;gBACjC,WAAW,EAAE,mCAAmC;gBAChD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,0DAA0D;wBAC/D,IAAI,EAAE;4BACL,KAAK,EAAE,wDAAwD;4BAC/D,UAAU,EAAE,4BAA4B;yBACxC;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,iCAA2B;IAC9B,GAAG,uCAA8B;IACjC,GAAG,uCAA8B;IACjC,GAAG,uCAA8B;CACjC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerAccountUpdateDescription = void 0;
|
|
4
|
+
const showForLedgerAccountUpdate = {
|
|
5
|
+
operation: ['update'],
|
|
6
|
+
resource: ['ledgerAccount'],
|
|
7
|
+
};
|
|
8
|
+
exports.ledgerAccountUpdateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Ledger Account ID',
|
|
11
|
+
name: 'ledgerAccountIdToUpdate',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForLedgerAccountUpdate },
|
|
16
|
+
description: 'The ID of the ledger account to update',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Label',
|
|
20
|
+
name: 'label',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
displayOptions: { show: showForLedgerAccountUpdate },
|
|
24
|
+
description: 'Label that describes the ledger account. Leave blank to keep the current label.',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Letterable',
|
|
28
|
+
name: 'letterable',
|
|
29
|
+
type: 'boolean',
|
|
30
|
+
default: false,
|
|
31
|
+
displayOptions: { show: showForLedgerAccountUpdate },
|
|
32
|
+
description: 'Whether the ledger entries of this ledger account are letterable',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-account/update.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG;IAClC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,eAAe,CAAC;CAC3B,CAAC;AAEW,QAAA,8BAA8B,GAAsB;IAChE;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,wCAAwC;KACrD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,iFAAiF;KAC9F;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,kEAAkE;KAC/E;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerEntryCreateDescription = void 0;
|
|
4
|
+
const showForLedgerEntryCreate = { operation: ['create'], resource: ['ledgerEntry'] };
|
|
5
|
+
exports.ledgerEntryCreateDescription = [
|
|
6
|
+
{ displayName: 'Date', name: 'date', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Entry date (ISO 8601)', placeholder: '2026-07-07' },
|
|
7
|
+
{ displayName: 'Label', name: 'label', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Description label for the journal entry' },
|
|
8
|
+
{ displayName: '', name: 'balanceWarning', type: 'notice', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Total debit MUST equal total credit across all entry lines. The API will reject unbalanced entries.' },
|
|
9
|
+
{ displayName: 'Journal ID', name: 'journalId', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'The ID of the journal to post to' },
|
|
10
|
+
{ displayName: 'File Attachment ID', name: 'fileAttachmentId', type: 'string', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Optional: attach a supporting document by its file_attachment_id' },
|
|
11
|
+
{ displayName: 'Currency', name: 'currency', type: 'string', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Optional: ISO 4217 currency code' },
|
|
12
|
+
{ displayName: 'Entry Lines', name: 'entryLines', type: 'fixedCollection', default: {}, required: true, displayOptions: { show: showForLedgerEntryCreate }, description: 'Ledger entry lines. Each line: ledger_account_id + debit OR credit. All amounts as strings.', options: [{ name: 'line', displayName: 'Entry Line', values: [
|
|
13
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'The ledger account ID for this line' },
|
|
14
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Description for this line' },
|
|
15
|
+
{ displayName: 'Debit', name: 'debit', type: 'string', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Debit amount (mutually exclusive with credit)' },
|
|
16
|
+
{ displayName: 'Credit', name: 'credit', type: 'string', default: '', displayOptions: { show: showForLedgerEntryCreate }, description: 'Credit amount (mutually exclusive with debit)' },
|
|
17
|
+
] }] },
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry/create.ts"],"names":[],"mappings":";;;AAEA,MAAM,wBAAwB,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;AAEzE,QAAA,4BAA4B,GAAsB;IAC9D,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE;IACvM,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,yCAAyC,EAAE;IAChM,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,qGAAqG,EAAE;IAChP,EAAE,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAA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E,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,+CAA+C,EAAE;oBACtL,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,+CAA+C,EAAE;iBACxL,EAAC,CAAC,EAAE;CACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerEntryGetDescription = void 0;
|
|
4
|
+
exports.ledgerEntryGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Entry ID',
|
|
7
|
+
name: 'entryId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['ledgerEntry'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the ledger entry 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/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;QAC3E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wCAAwC;KACrD;CACD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerEntryGetLinesDescription = void 0;
|
|
4
|
+
const showForLedgerEntryGetLines = { operation: ['getLines'], resource: ['ledgerEntry'] };
|
|
5
|
+
exports.ledgerEntryGetLinesDescription = [
|
|
6
|
+
{ displayName: 'Entry ID', name: 'entryIdForLines', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryGetLines }, description: 'The ID of the ledger entry whose entry lines should be retrieved' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Sort', name: 'sortLines', type: 'options', default: '-id',
|
|
9
|
+
displayOptions: { show: showForLedgerEntryGetLines }, description: 'Sort order for the results',
|
|
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: 'returnAllLines', type: 'boolean', default: false,
|
|
18
|
+
displayOptions: { show: showForLedgerEntryGetLines }, 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: 'limitLines', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
|
|
34
|
+
displayOptions: { show: { ...showForLedgerEntryGetLines, returnAllLines: [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=getLines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLines.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry/getLines.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;AAE7E,QAAA,8BAA8B,GAAsB;IAChE,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAAE,WAAW,EAAE,kEAAkE,EAAE;IACxO;QACC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QACvE,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAAE,WAAW,EAAE,4BAA4B;QAC/F,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,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QAClF,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAAE,WAAW,EAAE,2DAA2D;QAC9H,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,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE;QAClH,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,0BAA0B,EAAE,cAAc,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QACpI,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,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerEntryDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const create_1 = require("./create");
|
|
6
|
+
const update_1 = require("./update");
|
|
7
|
+
const getLines_1 = require("./getLines");
|
|
8
|
+
const operations_1 = require("../shared/operations");
|
|
9
|
+
exports.ledgerEntryDescription = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true,
|
|
12
|
+
displayOptions: { show: { resource: ['ledgerEntry'] } },
|
|
13
|
+
options: [
|
|
14
|
+
{ name: 'Get', value: 'get', action: 'Get an entry', description: 'Retrieve a single ledger entry by ID', routing: { request: { method: 'GET', url: '=/ledger_entries/{{$parameter.entryId}}' } } },
|
|
15
|
+
{ name: 'Get Many', value: 'getAll', action: 'Get entries', description: 'Retrieve a list of ledger entries', routing: { request: { method: 'GET', url: '/ledger_entries' } } },
|
|
16
|
+
{ name: 'Create', value: 'create', action: 'Create an entry', description: 'Create a manual ledger entry. Total debit must equal total credit. All amounts as strings.', routing: { request: { method: 'POST', url: '/ledger_entries', body: { date: '={{ $parameter.date }}', label: '={{ $parameter.label }}', journal_id: '={{ $parameter.journalId }}', file_attachment_id: '={{ $parameter.fileAttachmentId }}', currency: '={{ $parameter.currency }}', ledger_entry_lines: '={{ ($parameter.entryLines?.line ?? []).map(l => ({ ledger_account_id: l.ledgerAccountId ? parseInt(l.ledgerAccountId, 10) : undefined, label: l.label, debit: l.debit || "0", credit: l.credit || "0" })) }}' } } } },
|
|
17
|
+
{ name: 'Update', value: 'update', action: 'Update an entry', description: 'Update an existing ledger entry (fields and/or entry lines). Total debit must equal total credit across resulting lines.', routing: { request: { method: 'PUT', url: '=/ledger_entries/{{$parameter.entryIdToUpdate}}' }, send: { preSend: [update_1.applyLedgerEntryUpdatePreSend] } } },
|
|
18
|
+
{ name: 'List Entry Lines', value: 'getLines', action: 'List entry lines', description: 'Retrieve the ledger entry lines of a ledger entry', routing: { request: { method: 'GET', url: '=/ledger_entries/{{$parameter.entryIdForLines}}/ledger_entry_lines' } } },
|
|
19
|
+
],
|
|
20
|
+
default: 'getAll',
|
|
21
|
+
},
|
|
22
|
+
...get_1.ledgerEntryGetDescription,
|
|
23
|
+
...(0, operations_1.buildGetAllDescription)('ledgerEntry'),
|
|
24
|
+
...create_1.ledgerEntryCreateDescription,
|
|
25
|
+
...update_1.ledgerEntryUpdateDescription,
|
|
26
|
+
...getLines_1.ledgerEntryGetLinesDescription,
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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E,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,EAAE,0HAA0H,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,iDAAiD,EAAE,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,sCAA6B,CAAC,EAAE,EAAE,EAAE;YAC5V,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,mDAAmD,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,oEAAoE,EAAE,EAAE,EAAE;SACjQ;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,+BAAyB;IAC5B,GAAG,IAAA,mCAAsB,EAAC,aAAa,CAAC;IACxC,GAAG,qCAA4B;IAC/B,GAAG,qCAA4B;IAC/B,GAAG,yCAA8B;CACjC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare function applyLedgerEntryUpdatePreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
3
|
+
export declare const ledgerEntryUpdateDescription: INodeProperties[];
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ledgerEntryUpdateDescription = void 0;
|
|
4
|
+
exports.applyLedgerEntryUpdatePreSend = applyLedgerEntryUpdatePreSend;
|
|
5
|
+
const showForLedgerEntryUpdate = { operation: ['update'], resource: ['ledgerEntry'] };
|
|
6
|
+
async function applyLedgerEntryUpdatePreSend(requestOptions) {
|
|
7
|
+
const date = this.getNodeParameter('date', '');
|
|
8
|
+
const label = this.getNodeParameter('label', '');
|
|
9
|
+
const journalId = this.getNodeParameter('journalId', '');
|
|
10
|
+
const fileAttachmentId = this.getNodeParameter('fileAttachmentId', '');
|
|
11
|
+
const currency = this.getNodeParameter('currency', '');
|
|
12
|
+
const pieceNumber = this.getNodeParameter('pieceNumber', '');
|
|
13
|
+
const linesToCreate = this.getNodeParameter('linesToCreate.line', []);
|
|
14
|
+
const linesToUpdate = this.getNodeParameter('linesToUpdate.line', []);
|
|
15
|
+
const lineIdsToDelete = this.getNodeParameter('lineIdsToDelete', '');
|
|
16
|
+
const body = {};
|
|
17
|
+
if (date)
|
|
18
|
+
body.date = date;
|
|
19
|
+
if (label)
|
|
20
|
+
body.label = label;
|
|
21
|
+
if (journalId)
|
|
22
|
+
body.journal_id = journalId;
|
|
23
|
+
if (fileAttachmentId)
|
|
24
|
+
body.file_attachment_id = fileAttachmentId;
|
|
25
|
+
if (currency)
|
|
26
|
+
body.currency = currency;
|
|
27
|
+
if (pieceNumber)
|
|
28
|
+
body.piece_number = pieceNumber;
|
|
29
|
+
const create = (Array.isArray(linesToCreate) ? linesToCreate : []).map((l) => {
|
|
30
|
+
const line = { debit: l.debit || '0', credit: l.credit || '0' };
|
|
31
|
+
if (l.ledgerAccountId)
|
|
32
|
+
line.ledger_account_id = parseInt(l.ledgerAccountId, 10);
|
|
33
|
+
if (l.label)
|
|
34
|
+
line.label = l.label;
|
|
35
|
+
return line;
|
|
36
|
+
});
|
|
37
|
+
const update = (Array.isArray(linesToUpdate) ? linesToUpdate : [])
|
|
38
|
+
.filter((l) => l.lineId)
|
|
39
|
+
.map((l) => {
|
|
40
|
+
const line = { id: parseInt(l.lineId, 10) };
|
|
41
|
+
if (l.ledgerAccountId)
|
|
42
|
+
line.ledger_account_id = parseInt(l.ledgerAccountId, 10);
|
|
43
|
+
if (l.label)
|
|
44
|
+
line.label = l.label;
|
|
45
|
+
if (l.debit || l.credit) {
|
|
46
|
+
line.debit = l.debit || '0';
|
|
47
|
+
line.credit = l.credit || '0';
|
|
48
|
+
}
|
|
49
|
+
return line;
|
|
50
|
+
});
|
|
51
|
+
const del = (lineIdsToDelete || '')
|
|
52
|
+
.split(',')
|
|
53
|
+
.map((v) => v.trim())
|
|
54
|
+
.filter((v) => v.length > 0)
|
|
55
|
+
.map((v) => ({ id: parseInt(v, 10) }));
|
|
56
|
+
if (create.length || update.length || del.length) {
|
|
57
|
+
const ledgerEntryLines = {};
|
|
58
|
+
if (create.length)
|
|
59
|
+
ledgerEntryLines.create = create;
|
|
60
|
+
if (update.length)
|
|
61
|
+
ledgerEntryLines.update = update;
|
|
62
|
+
if (del.length)
|
|
63
|
+
ledgerEntryLines.delete = del;
|
|
64
|
+
body.ledger_entry_lines = ledgerEntryLines;
|
|
65
|
+
}
|
|
66
|
+
requestOptions.body = body;
|
|
67
|
+
return requestOptions;
|
|
68
|
+
}
|
|
69
|
+
exports.ledgerEntryUpdateDescription = [
|
|
70
|
+
{ displayName: 'Entry ID', name: 'entryIdToUpdate', type: 'string', required: true, default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'The ID of the ledger entry to update' },
|
|
71
|
+
{ displayName: 'Date', name: 'date', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'Entry date (ISO 8601). Leave empty to keep unchanged.', placeholder: '2026-07-07' },
|
|
72
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'Description label for the journal entry. Leave empty to keep unchanged.' },
|
|
73
|
+
{ displayName: 'Journal ID', name: 'journalId', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'The ID of the journal to move this entry to. Leave empty to keep unchanged.' },
|
|
74
|
+
{ displayName: 'File Attachment ID', name: 'fileAttachmentId', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'Attach a supporting document by its file_attachment_id. Leave empty to keep unchanged.' },
|
|
75
|
+
{ displayName: 'Currency', name: 'currency', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'ISO 4217 currency code. Leave empty to keep unchanged.' },
|
|
76
|
+
{ displayName: 'Piece Number', name: 'pieceNumber', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'Piece number assigned to this entry. Leave empty to keep unchanged.' },
|
|
77
|
+
{ displayName: '', name: 'balanceWarning', type: 'notice', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'If you add, update, or delete entry lines, total debit MUST equal total credit across all resulting lines. The API will reject unbalanced entries.' },
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Lines to Create', name: 'linesToCreate', type: 'fixedCollection', default: {}, typeOptions: { multipleValues: true }, placeholder: 'Add Line',
|
|
80
|
+
displayOptions: { show: showForLedgerEntryUpdate }, description: 'New entry lines to add to this ledger entry. All amounts as strings.',
|
|
81
|
+
options: [{ name: 'line', displayName: 'Entry Line', values: [
|
|
82
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', required: true, default: '', description: 'The ledger account ID for this line' },
|
|
83
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', description: 'Description for this line' },
|
|
84
|
+
{ displayName: 'Debit', name: 'debit', type: 'string', default: '', description: 'Debit amount (mutually exclusive with credit)' },
|
|
85
|
+
{ displayName: 'Credit', name: 'credit', type: 'string', default: '', description: 'Credit amount (mutually exclusive with debit)' },
|
|
86
|
+
] }],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Lines to Update', name: 'linesToUpdate', type: 'fixedCollection', default: {}, typeOptions: { multipleValues: true }, placeholder: 'Add Line',
|
|
90
|
+
displayOptions: { show: showForLedgerEntryUpdate }, description: 'Existing entry lines to modify. Leave a field empty to keep it unchanged. If you set Debit or Credit, both are sent together (the API requires them as a pair).',
|
|
91
|
+
options: [{ name: 'line', displayName: 'Entry Line', values: [
|
|
92
|
+
{
|
|
93
|
+
displayName: 'Credit',
|
|
94
|
+
name: 'credit',
|
|
95
|
+
type: 'string',
|
|
96
|
+
default: '',
|
|
97
|
+
description: 'New credit amount. Leave both Debit and Credit empty to keep the amount unchanged.',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
displayName: 'Debit',
|
|
101
|
+
name: 'debit',
|
|
102
|
+
type: 'string',
|
|
103
|
+
default: '',
|
|
104
|
+
description: 'New debit amount. Leave both Debit and Credit empty to keep the amount unchanged.',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: 'Label',
|
|
108
|
+
name: 'label',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: '',
|
|
111
|
+
description: 'New description for this line. Leave empty to keep unchanged.',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
displayName: 'Ledger Account ID',
|
|
115
|
+
name: 'ledgerAccountId',
|
|
116
|
+
type: 'string',
|
|
117
|
+
default: '',
|
|
118
|
+
description: 'New ledger account ID for this line. Leave empty to keep unchanged.',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
displayName: 'Line ID',
|
|
122
|
+
name: 'lineId',
|
|
123
|
+
type: 'string',
|
|
124
|
+
required: true,
|
|
125
|
+
default: '',
|
|
126
|
+
description: 'The ID of the existing entry line to update',
|
|
127
|
+
},
|
|
128
|
+
] }],
|
|
129
|
+
},
|
|
130
|
+
{ displayName: 'Line IDs to Delete', name: 'lineIdsToDelete', type: 'string', default: '', displayOptions: { show: showForLedgerEntryUpdate }, description: 'Comma-separated list of existing entry line IDs to remove from this ledger entry', placeholder: '111, 222' },
|
|
131
|
+
];
|
|
132
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/ledger-entry/update.ts"],"names":[],"mappings":";;;AAWA,sEAuEC;AAhFD,MAAM,wBAAwB,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;AAS/E,KAAK,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,wBAAwB,EAAE,EAAE,WAAW,EAAE,iKAAiK;QAClO,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE;oBACrB;wBACC,WAAW,EAAE,QAAQ;wBACrB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,oFAAoF;qBACjG;oBACD;wBACC,WAAW,EAAE,OAAO;wBACpB,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,mFAAmF;qBAChG;oBACD;wBACC,WAAW,EAAE,OAAO;wBACpB,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,+DAA+D;qBAC5E;oBACD;wBACC,WAAW,EAAE,mBAAmB;wBAChC,IAAI,EAAE,iBAAiB;wBACvB,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,qEAAqE;qBAClF;oBACD;wBACC,WAAW,EAAE,SAAS;wBACtB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,QAAQ;wBACb,QAAQ,EAAE,IAAI;wBACf,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,6CAA6C;qBAC1D;iBACC,EAAC,CAAC;KAC5C;IACD,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,kFAAkF,EAAE,WAAW,EAAE,UAAU,EAAE;CACzQ,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare function applyLedgerEntryLineCategorizePreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
3
|
+
export declare const ledgerEntryLineCategorizeDescription: INodeProperties[];
|