@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,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bankEstablishmentGetAllDescription = void 0;
|
|
4
|
+
const showForBankEstablishmentGetAll = {
|
|
5
|
+
operation: ['getAll'],
|
|
6
|
+
resource: ['bankEstablishment'],
|
|
7
|
+
};
|
|
8
|
+
async function applyBankEstablishmentFilterPreSend(requestOptions) {
|
|
9
|
+
var _a;
|
|
10
|
+
const filters = this.getNodeParameter('filters.filter', []);
|
|
11
|
+
if (!Array.isArray(filters) || filters.length === 0) {
|
|
12
|
+
return requestOptions;
|
|
13
|
+
}
|
|
14
|
+
const payload = filters.map(({ operator, value }) => ({
|
|
15
|
+
field: 'id',
|
|
16
|
+
operator,
|
|
17
|
+
value: operator === 'in' || operator === 'not_in'
|
|
18
|
+
? value
|
|
19
|
+
.split(',')
|
|
20
|
+
.map((v) => v.trim())
|
|
21
|
+
.filter((v) => v.length > 0)
|
|
22
|
+
: value,
|
|
23
|
+
}));
|
|
24
|
+
requestOptions.qs = (_a = requestOptions.qs) !== null && _a !== void 0 ? _a : {};
|
|
25
|
+
requestOptions.qs.filter = JSON.stringify(payload);
|
|
26
|
+
return requestOptions;
|
|
27
|
+
}
|
|
28
|
+
exports.bankEstablishmentGetAllDescription = [
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Filters',
|
|
31
|
+
name: 'filters',
|
|
32
|
+
type: 'fixedCollection',
|
|
33
|
+
default: {},
|
|
34
|
+
placeholder: 'Add Filter',
|
|
35
|
+
description: 'Filter results by ID using the given operator and value. For the "In" / "Not In" operators, separate multiple values with a comma.',
|
|
36
|
+
typeOptions: { multipleValues: true },
|
|
37
|
+
displayOptions: { show: showForBankEstablishmentGetAll },
|
|
38
|
+
options: [
|
|
39
|
+
{
|
|
40
|
+
name: 'filter',
|
|
41
|
+
displayName: 'Filter Condition',
|
|
42
|
+
values: [
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Operator',
|
|
45
|
+
name: 'operator',
|
|
46
|
+
type: 'options',
|
|
47
|
+
options: [
|
|
48
|
+
{ name: 'Equals', value: 'eq' },
|
|
49
|
+
{ name: 'Greater Than', value: 'gt' },
|
|
50
|
+
{ name: 'Greater Than or Equal', value: 'gteq' },
|
|
51
|
+
{ name: 'In', value: 'in' },
|
|
52
|
+
{ name: 'Less Than', value: 'lt' },
|
|
53
|
+
{ name: 'Less Than or Equal', value: 'lteq' },
|
|
54
|
+
{ name: 'Not Equals', value: 'not_eq' },
|
|
55
|
+
{ name: 'Not In', value: 'not_in' },
|
|
56
|
+
],
|
|
57
|
+
default: 'eq',
|
|
58
|
+
description: 'Filter operator to apply to the ID field',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Value',
|
|
62
|
+
name: 'value',
|
|
63
|
+
type: 'string',
|
|
64
|
+
default: '',
|
|
65
|
+
description: 'The ID value to filter on. For "In" / "Not In", separate multiple values with a comma.',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
routing: {
|
|
71
|
+
send: {
|
|
72
|
+
preSend: [applyBankEstablishmentFilterPreSend],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Return All',
|
|
78
|
+
name: 'returnAll',
|
|
79
|
+
type: 'boolean',
|
|
80
|
+
default: false,
|
|
81
|
+
displayOptions: { show: showForBankEstablishmentGetAll },
|
|
82
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
83
|
+
routing: {
|
|
84
|
+
send: {
|
|
85
|
+
paginate: '={{ $value }}',
|
|
86
|
+
},
|
|
87
|
+
operations: {
|
|
88
|
+
pagination: {
|
|
89
|
+
type: 'generic',
|
|
90
|
+
properties: {
|
|
91
|
+
continue: '={{ $response.body.has_more }}',
|
|
92
|
+
request: {
|
|
93
|
+
qs: {
|
|
94
|
+
cursor: '={{ $response.body.next_cursor }}',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
displayName: 'Limit',
|
|
104
|
+
name: 'limit',
|
|
105
|
+
type: 'number',
|
|
106
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
107
|
+
default: 50,
|
|
108
|
+
displayOptions: { show: { ...showForBankEstablishmentGetAll, returnAll: [false] } },
|
|
109
|
+
description: 'Max number of results to return',
|
|
110
|
+
routing: {
|
|
111
|
+
send: {
|
|
112
|
+
type: 'query',
|
|
113
|
+
property: 'limit',
|
|
114
|
+
},
|
|
115
|
+
output: {
|
|
116
|
+
maxResults: '={{$value}}',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
];
|
|
121
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/bank-establishment/getAll.ts"],"names":[],"mappings":";;;AA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,8BAA8B,EAAE;QACxD,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;YACD,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE;4BACR,EAAE,EAAE;gCACH,MAAM,EAAE,mCAAmC;6BAC3C;yBACD;qBACD;iBACD;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,8BAA8B,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QACnF,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,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bankEstablishmentDescription = void 0;
|
|
4
|
+
const getAll_1 = require("./getAll");
|
|
5
|
+
const showOnlyForBankEstablishments = { resource: ['bankEstablishment'] };
|
|
6
|
+
exports.bankEstablishmentDescription = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Operation',
|
|
9
|
+
name: 'operation',
|
|
10
|
+
type: 'options',
|
|
11
|
+
noDataExpression: true,
|
|
12
|
+
displayOptions: { show: showOnlyForBankEstablishments },
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Get Many',
|
|
16
|
+
value: 'getAll',
|
|
17
|
+
action: 'Get bank establishments',
|
|
18
|
+
description: 'Retrieve the reference list of bank establishments (e.g. to find the bank_establishment_id to use when creating a bank account)',
|
|
19
|
+
routing: { request: { method: 'GET', url: '/bank_establishments' } },
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
default: 'getAll',
|
|
23
|
+
},
|
|
24
|
+
...getAll_1.bankEstablishmentGetAllDescription,
|
|
25
|
+
];
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/bank-establishment/index.ts"],"names":[],"mappings":";;;AACA,qCAA8D;AAE9D,MAAM,6BAA6B,GAAG,EAAE,QAAQ,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAC;AAE7D,QAAA,4BAA4B,GAAsB;IAC9D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,6BAA6B,EAAE;QACvD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,yBAAyB;gBACjC,WAAW,EACV,iIAAiI;gBAClI,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,EAAE;aACpE;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,2CAAkC;CACrC,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bankTransactionDescription = void 0;
|
|
4
|
+
const operations_1 = require("../shared/operations");
|
|
5
|
+
async function applyReconcilePreSend(requestOptions) {
|
|
6
|
+
const transactionId = this.getNodeParameter('transactionId');
|
|
7
|
+
const resourceId = this.getNodeParameter('resourceId');
|
|
8
|
+
const resourceType = this.getNodeParameter('resourceType');
|
|
9
|
+
const basePath = resourceType === 'supplier_invoice' ? 'supplier_invoices' : 'customer_invoices';
|
|
10
|
+
requestOptions.url = `/${basePath}/${resourceId}/matched_transactions`;
|
|
11
|
+
requestOptions.body = {
|
|
12
|
+
transaction_id: parseInt(transactionId, 10),
|
|
13
|
+
};
|
|
14
|
+
return requestOptions;
|
|
15
|
+
}
|
|
16
|
+
async function applyBankTransactionCategorizePreSend(requestOptions) {
|
|
17
|
+
const categories = this.getNodeParameter('categories.category', []);
|
|
18
|
+
requestOptions.body = (Array.isArray(categories) ? categories : []).map(({ categoryId, weight }) => ({
|
|
19
|
+
id: parseInt(categoryId, 10),
|
|
20
|
+
weight,
|
|
21
|
+
}));
|
|
22
|
+
return requestOptions;
|
|
23
|
+
}
|
|
24
|
+
exports.bankTransactionDescription = [
|
|
25
|
+
{
|
|
26
|
+
displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true,
|
|
27
|
+
displayOptions: { show: { resource: ['bankTransaction'] } },
|
|
28
|
+
options: [
|
|
29
|
+
{ name: 'Categorize', value: 'categorize', action: 'Categorize a transaction', description: 'Link one or more categories to a bank transaction', routing: { request: { method: 'PUT', url: '=/transactions/{{$parameter.transactionIdToCategorize}}/categories' }, send: { preSend: [applyBankTransactionCategorizePreSend] } } },
|
|
30
|
+
{ name: 'Create', value: 'create', action: 'Create a transaction', description: 'Create a new bank transaction', routing: { request: { method: 'POST', url: '/transactions', body: { bank_account_id: '={{ parseInt($parameter.bankAccountId, 10) }}', label: '={{$parameter.label}}', date: '={{$parameter.date}}', amount: '={{$parameter.amount}}', fee: '={{$parameter.fee || undefined}}' } } } },
|
|
31
|
+
{ name: 'Get', value: 'get', action: 'Get a transaction', description: 'Retrieve a single bank transaction by ID', routing: { request: { method: 'GET', url: '=/transactions/{{$parameter.transactionIdToGet}}' } } },
|
|
32
|
+
{ name: 'Get Many', value: 'getAll', action: 'Get transactions', description: 'Retrieve a list of bank transactions', routing: { request: { method: 'GET', url: '/transactions' } } },
|
|
33
|
+
{ name: 'List Categories', value: 'listCategories', action: 'List transaction categories', description: 'Retrieve the categories linked to a bank transaction', routing: { request: { method: 'GET', url: '=/transactions/{{$parameter.transactionIdForCategories}}/categories' } } },
|
|
34
|
+
{ name: 'List Matched Invoices', value: 'listMatchedInvoices', action: 'List matched invoices', description: 'Retrieve the customer or supplier invoices matched to a bank transaction', routing: { request: { method: 'GET', url: '=/transactions/{{$parameter.transactionIdForMatchedInvoices}}/matched_invoices' } } },
|
|
35
|
+
{ name: 'Reconcile', value: 'reconcile', action: 'Reconcile a transaction', description: 'Match a bank transaction to a customer or supplier invoice', routing: { request: { method: 'POST', url: '/matched_transactions' }, send: { preSend: [applyReconcilePreSend] } } },
|
|
36
|
+
{ name: 'Unmatch From Customer Invoice', value: 'unmatchFromCustomerInvoice', action: 'Unmatch a transaction from a customer invoice', description: 'Remove the match between a bank transaction and a customer invoice', routing: { request: { method: 'DELETE', url: '=/customer_invoices/{{$parameter.customerInvoiceIdToUnmatch}}/matched_transactions/{{$parameter.transactionIdToUnmatchFromCustomerInvoice}}' } } },
|
|
37
|
+
{ name: 'Unmatch From Supplier Invoice', value: 'unmatchFromSupplierInvoice', action: 'Unmatch a transaction from a supplier invoice', description: 'Remove the match between a bank transaction and a supplier invoice', routing: { request: { method: 'DELETE', url: '=/supplier_invoices/{{$parameter.supplierInvoiceIdToUnmatch}}/matched_transactions/{{$parameter.transactionIdToUnmatchFromSupplierInvoice}}' } } },
|
|
38
|
+
{ name: 'Update', value: 'update', action: 'Update a transaction', description: 'Link a bank transaction to a customer or supplier, or clear the link', routing: { request: { method: 'PUT', url: '=/transactions/{{$parameter.transactionIdToUpdate}}', body: { customer_id: '={{ $parameter.updateLinkType === "customer" ? ($parameter.updateResourceId ? parseInt($parameter.updateResourceId, 10) : null) : undefined }}', supplier_id: '={{ $parameter.updateLinkType === "supplier" ? ($parameter.updateResourceId ? parseInt($parameter.updateResourceId, 10) : null) : undefined }}' } } } },
|
|
39
|
+
],
|
|
40
|
+
default: 'getAll',
|
|
41
|
+
},
|
|
42
|
+
...(0, operations_1.buildGetAllDescription)('bankTransaction'),
|
|
43
|
+
{ displayName: 'Bank Account ID', name: 'bankAccountId', type: 'string', required: true, displayOptions: { show: { operation: ['create'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank account where the transaction is registered' },
|
|
44
|
+
{ displayName: 'Label', name: 'label', type: 'string', required: true, displayOptions: { show: { operation: ['create'], resource: ['bankTransaction'] } }, default: '', description: 'The transaction label' },
|
|
45
|
+
{ displayName: 'Date', name: 'date', type: 'string', required: true, displayOptions: { show: { operation: ['create'], resource: ['bankTransaction'] } }, default: '', description: 'The transaction date (ISO 8601)', placeholder: '2026-07-09' },
|
|
46
|
+
{ displayName: 'Amount', name: 'amount', type: 'string', required: true, displayOptions: { show: { operation: ['create'], resource: ['bankTransaction'] } }, default: '', description: 'The transaction amount, in euros' },
|
|
47
|
+
{ displayName: 'Fee', name: 'fee', type: 'string', displayOptions: { show: { operation: ['create'], resource: ['bankTransaction'] } }, default: '', description: 'The transaction fee, in euros' },
|
|
48
|
+
{ displayName: 'Transaction ID', name: 'transactionIdToGet', type: 'string', required: true, displayOptions: { show: { operation: ['get'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction to retrieve' },
|
|
49
|
+
{ displayName: 'Transaction ID', name: 'transactionIdForCategories', type: 'string', required: true, displayOptions: { show: { operation: ['listCategories'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction whose categories should be retrieved' },
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Return All', name: 'returnAllCategories', type: 'boolean', default: false,
|
|
52
|
+
displayOptions: { show: { operation: ['listCategories'], resource: ['bankTransaction'] } }, description: 'Whether to return all results or only up to a given limit',
|
|
53
|
+
routing: { send: { paginate: '={{ $value }}' }, operations: { pagination: { type: 'generic', properties: { continue: '={{ $response.body.has_more }}', request: { qs: { cursor: '={{ $response.body.next_cursor }}' } } } } } },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
displayName: 'Limit', name: 'limitCategories', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
|
|
57
|
+
displayOptions: { show: { operation: ['listCategories'], resource: ['bankTransaction'], returnAllCategories: [false] } }, description: 'Max number of categories to return',
|
|
58
|
+
routing: { send: { type: 'query', property: 'limit' }, output: { maxResults: '={{$value}}' } },
|
|
59
|
+
},
|
|
60
|
+
{ displayName: 'Transaction ID', name: 'transactionIdForMatchedInvoices', type: 'string', required: true, displayOptions: { show: { operation: ['listMatchedInvoices'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction whose matched invoices should be retrieved' },
|
|
61
|
+
{
|
|
62
|
+
displayName: 'Return All', name: 'returnAllMatchedInvoices', type: 'boolean', default: false,
|
|
63
|
+
displayOptions: { show: { operation: ['listMatchedInvoices'], resource: ['bankTransaction'] } }, description: 'Whether to return all results or only up to a given limit',
|
|
64
|
+
routing: { send: { paginate: '={{ $value }}' }, operations: { pagination: { type: 'generic', properties: { continue: '={{ $response.body.has_more }}', request: { qs: { cursor: '={{ $response.body.next_cursor }}' } } } } } },
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Limit', name: 'limitMatchedInvoices', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
|
|
68
|
+
displayOptions: { show: { operation: ['listMatchedInvoices'], resource: ['bankTransaction'], returnAllMatchedInvoices: [false] } }, description: 'Max number of matched invoices to return',
|
|
69
|
+
routing: { send: { type: 'query', property: 'limit' }, output: { maxResults: '={{$value}}' } },
|
|
70
|
+
},
|
|
71
|
+
{ displayName: 'Transaction ID', name: 'transactionIdToCategorize', type: 'string', required: true, displayOptions: { show: { operation: ['categorize'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction to link categories to' },
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Categories', name: 'categories', type: 'fixedCollection', default: {}, required: true, placeholder: 'Add Category',
|
|
74
|
+
description: 'Categories to link to this transaction, 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.',
|
|
75
|
+
typeOptions: { multipleValues: true },
|
|
76
|
+
displayOptions: { show: { operation: ['categorize'], resource: ['bankTransaction'] } },
|
|
77
|
+
options: [
|
|
78
|
+
{ name: 'category', displayName: 'Category', values: [
|
|
79
|
+
{ displayName: 'Category ID', name: 'categoryId', type: 'string', required: true, default: '', description: 'The ID of the category to link' },
|
|
80
|
+
{ displayName: 'Weight', name: 'weight', type: 'string', required: true, default: '1', description: 'Weight allocated to this category, e.g. "0.5". Weights within the same category group must sum to 1.' },
|
|
81
|
+
] },
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
{ displayName: 'Transaction ID', name: 'transactionIdToUpdate', type: 'string', required: true, displayOptions: { show: { operation: ['update'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction to update' },
|
|
85
|
+
{ displayName: 'Link To', name: 'updateLinkType', type: 'options', default: 'customer', displayOptions: { show: { operation: ['update'], resource: ['bankTransaction'] } }, description: 'Whether to link this transaction to a customer or a supplier', options: [{ name: 'Customer', value: 'customer' }, { name: 'Supplier', value: 'supplier' }] },
|
|
86
|
+
{ displayName: 'Customer or Supplier ID', name: 'updateResourceId', type: 'string', displayOptions: { show: { operation: ['update'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the customer or supplier to link to this transaction. Leave empty to clear the link (sets it to null).' },
|
|
87
|
+
{ displayName: 'Transaction ID', name: 'transactionId', type: 'string', required: true, displayOptions: { show: { operation: ['reconcile'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction to match' },
|
|
88
|
+
{ displayName: 'Resource Type', name: 'resourceType', type: 'options', default: 'customer_invoice', displayOptions: { show: { operation: ['reconcile'], resource: ['bankTransaction'] } }, description: 'The type of invoice to link the transaction to', options: [{ name: 'Customer Invoice', value: 'customer_invoice' }, { name: 'Supplier Invoice', value: 'supplier_invoice' }] },
|
|
89
|
+
{ displayName: 'Resource ID', name: 'resourceId', type: 'string', required: true, displayOptions: { show: { operation: ['reconcile'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the customer or supplier invoice to link the transaction to' },
|
|
90
|
+
{ displayName: 'Customer Invoice ID', name: 'customerInvoiceIdToUnmatch', type: 'string', required: true, displayOptions: { show: { operation: ['unmatchFromCustomerInvoice'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the customer invoice to unmatch the transaction from' },
|
|
91
|
+
{ displayName: 'Transaction ID', name: 'transactionIdToUnmatchFromCustomerInvoice', type: 'string', required: true, displayOptions: { show: { operation: ['unmatchFromCustomerInvoice'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction to unmatch' },
|
|
92
|
+
{ displayName: 'Supplier Invoice ID', name: 'supplierInvoiceIdToUnmatch', type: 'string', required: true, displayOptions: { show: { operation: ['unmatchFromSupplierInvoice'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the supplier invoice to unmatch the transaction from' },
|
|
93
|
+
{ displayName: 'Transaction ID', name: 'transactionIdToUnmatchFromSupplierInvoice', type: 'string', required: true, displayOptions: { show: { operation: ['unmatchFromSupplierInvoice'], resource: ['bankTransaction'] } }, default: '', description: 'The ID of the bank transaction to unmatch' },
|
|
94
|
+
];
|
|
95
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/bank-transaction/index.ts"],"names":[],"mappings":";;;AACA,qDAA8D;AAS9D,KAAK,UAAU,qBAAqB,CAEnC,cAAmC;IAEnC,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAW,CAAC;IACvE,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAW,CAAC;IACjE,MAAM,YAAY,GAAG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1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.billingSubscriptionCreateDescription = void 0;
|
|
4
|
+
const showForBillingSubscriptionCreate = { operation: ['create'], resource: ['billingSubscription'] };
|
|
5
|
+
const showForBillingSubscriptionCreateEmailMode = { operation: ['create'], resource: ['billingSubscription'], mode: ['email'] };
|
|
6
|
+
exports.billingSubscriptionCreateDescription = [
|
|
7
|
+
{ displayName: 'Customer ID', name: 'customerId', type: 'string', required: true, default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'The ID of the customer for this subscription' },
|
|
8
|
+
{ displayName: 'Start Date', name: 'start', type: 'string', required: true, default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Subscription start date (ISO 8601)', placeholder: '2026-07-07' },
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Mode', name: 'mode', type: 'options', default: 'awaiting_validation', required: true,
|
|
11
|
+
displayOptions: { show: showForBillingSubscriptionCreate }, description: 'How generated invoices are handled',
|
|
12
|
+
options: [
|
|
13
|
+
{ name: 'Awaiting Validation', value: 'awaiting_validation', description: 'Generated invoices are created as drafts awaiting manual validation' },
|
|
14
|
+
{ name: 'Email', value: 'email', description: 'Generated invoices are automatically finalized and emailed to recipients' },
|
|
15
|
+
{ name: 'Finalized', value: 'finalized', description: 'Generated invoices are automatically finalized' },
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
{ displayName: 'Email Recipients', name: 'modeEmailRecipients', type: 'string', default: '', placeholder: 'name@email.com, other@email.com', displayOptions: { show: showForBillingSubscriptionCreateEmailMode }, description: 'Comma-separated list of email addresses that generated invoices are sent to' },
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Payment Conditions', name: 'paymentConditions', type: 'options', default: '30_days', required: true,
|
|
21
|
+
displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Payment conditions applied to generated invoices',
|
|
22
|
+
options: [
|
|
23
|
+
{ name: '15 Days', value: '15_days' },
|
|
24
|
+
{ name: '30 Days', value: '30_days' },
|
|
25
|
+
{ name: '30 Days End of Month', value: '30_days_end_of_month' },
|
|
26
|
+
{ name: '45 Days', value: '45_days' },
|
|
27
|
+
{ name: '45 Days End of Month', value: '45_days_end_of_month' },
|
|
28
|
+
{ name: '60 Days', value: '60_days' },
|
|
29
|
+
{ name: '7 Days', value: '7_days' },
|
|
30
|
+
{ name: 'Upon Receipt', value: 'upon_receipt' },
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Payment Method', name: 'paymentMethod', type: 'options', default: 'offline', required: true,
|
|
35
|
+
displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Payment method applied to generated invoices',
|
|
36
|
+
options: [
|
|
37
|
+
{ name: 'GoCardless Direct Debit', value: 'gocardless_direct_debit' },
|
|
38
|
+
{ name: 'Offline', value: 'offline' },
|
|
39
|
+
{ name: 'Pro Account SEPA Core', value: 'pro_account_sepa_core' },
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Rule Type', name: 'recurringRuleType', type: 'options', default: 'monthly', required: true,
|
|
44
|
+
displayOptions: { show: showForBillingSubscriptionCreate }, description: 'How often invoices are generated',
|
|
45
|
+
options: [
|
|
46
|
+
{ name: 'Monthly', value: 'monthly' },
|
|
47
|
+
{ name: 'Weekly', value: 'weekly' },
|
|
48
|
+
{ name: 'Yearly', value: 'yearly' },
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
{ displayName: 'Interval', name: 'recurringRuleInterval', type: 'number', default: 1, displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Number of Rule Type units between each invoice generation (e.g. 2 with Monthly means every 2 months)' },
|
|
52
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Optional internal label for the subscription' },
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Invoice Lines', name: 'invoiceLines', type: 'fixedCollection', default: {}, required: true,
|
|
55
|
+
displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Line items generated on each invoice. At least one line is required.',
|
|
56
|
+
options: [{ name: 'line', displayName: 'Invoice Line', values: [
|
|
57
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate } },
|
|
58
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'The ledger account ID (optional)' },
|
|
59
|
+
{ displayName: 'Product ID', name: 'productId', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'The ID of the product (optional)' },
|
|
60
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 1, displayOptions: { show: showForBillingSubscriptionCreate } },
|
|
61
|
+
{ displayName: 'Unit', name: 'unit', type: 'string', default: 'piece', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Unit of measurement' },
|
|
62
|
+
{ displayName: 'Unit Price (Excl. Tax)', name: 'unitPrice', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Raw currency unit price excluding tax, as a string' },
|
|
63
|
+
{ displayName: 'VAT Rate', name: 'vatRate', type: 'string', default: 'FR_200', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'VAT rate identifier' },
|
|
64
|
+
] }],
|
|
65
|
+
},
|
|
66
|
+
{ displayName: 'PDF Free Text', name: 'pdfInvoiceFreeText', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Free text to include on generated PDF invoices' },
|
|
67
|
+
{ displayName: 'PDF Subject', name: 'pdfInvoiceSubject', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionCreate }, description: 'Subject line to include on generated PDF invoices' },
|
|
68
|
+
];
|
|
69
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/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,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE;iBAC/K,EAAC,CAAC;KACH;IACD,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,gDAAgD,EAAE;IACpN,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,mDAAmD,EAAE;CACpN,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.billingSubscriptionGetDescription = void 0;
|
|
4
|
+
exports.billingSubscriptionGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Subscription ID',
|
|
7
|
+
name: 'subscriptionId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['billingSubscription'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the billing subscription to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/billing-subscription/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,iCAAiC,GAAsB;IACnE;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,EAAE;QACnF,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gDAAgD;KAC7D;CACD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.billingSubscriptionDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const create_1 = require("./create");
|
|
6
|
+
const update_1 = require("./update");
|
|
7
|
+
const invoice_lines_1 = require("./invoice-lines");
|
|
8
|
+
const invoice_line_sections_1 = require("./invoice-line-sections");
|
|
9
|
+
const operations_1 = require("../shared/operations");
|
|
10
|
+
exports.billingSubscriptionDescription = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true,
|
|
13
|
+
displayOptions: { show: { resource: ['billingSubscription'] } },
|
|
14
|
+
options: [
|
|
15
|
+
{ name: 'Create', value: 'create', action: 'Create a subscription', description: 'Create a new billing subscription', routing: { request: { method: 'POST', url: '/billing_subscriptions', body: {
|
|
16
|
+
customer_id: '={{ $parameter.customerId }}',
|
|
17
|
+
start: '={{ $parameter.start }}',
|
|
18
|
+
mode: '={{ $parameter.mode === "email" ? { type: "email", email_settings: { recipients: ($parameter.modeEmailRecipients || "").split(",").map(r => r.trim()).filter(r => r) } } : { type: $parameter.mode } }}',
|
|
19
|
+
payment_conditions: '={{ $parameter.paymentConditions }}',
|
|
20
|
+
payment_method: '={{ $parameter.paymentMethod }}',
|
|
21
|
+
recurring_rule: '={{ { type: $parameter.recurringRuleType, interval: $parameter.recurringRuleInterval } }}',
|
|
22
|
+
label: '={{ $parameter.label || undefined }}',
|
|
23
|
+
customer_invoice_data: '={{ { invoice_lines: ($parameter.invoiceLines?.line ?? []).map(l => ({ product_id: l.productId ? parseInt(l.productId, 10) : undefined, ledger_account_id: l.ledgerAccountId ? parseInt(l.ledgerAccountId, 10) : undefined, label: l.label, quantity: l.quantity, unit: l.unit, raw_currency_unit_price: l.unitPrice, vat_rate: l.vatRate })), pdf_invoice_free_text: $parameter.pdfInvoiceFreeText, pdf_invoice_subject: $parameter.pdfInvoiceSubject } }}',
|
|
24
|
+
} } } },
|
|
25
|
+
{ name: 'Get', value: 'get', action: 'Get a subscription', description: 'Retrieve a single billing subscription by ID', routing: { request: { method: 'GET', url: '=/billing_subscriptions/{{$parameter.subscriptionId}}' } } },
|
|
26
|
+
{ name: 'Get Many', value: 'getAll', action: 'Get subscriptions', description: 'Retrieve a list of billing subscriptions', routing: { request: { method: 'GET', url: '/billing_subscriptions' } } },
|
|
27
|
+
{ name: 'List Invoice Line Sections', value: 'getInvoiceLineSections', action: 'List invoice line sections', description: 'Retrieve the invoice line sections generated for a billing subscription', routing: { request: { method: 'GET', url: '=/billing_subscriptions/{{$parameter.billingSubscriptionIdForInvoiceLineSections}}/invoice_line_sections' } } },
|
|
28
|
+
{ name: 'List Invoice Lines', value: 'getInvoiceLines', action: 'List invoice lines', description: 'Retrieve the invoice lines generated for a billing subscription', routing: { request: { method: 'GET', url: '=/billing_subscriptions/{{$parameter.billingSubscriptionIdForInvoiceLines}}/invoice_lines' } } },
|
|
29
|
+
{ name: 'Resume', value: 'resume', action: 'Resume a subscription', description: 'Resume a stopped billing subscription', routing: { request: { method: 'PUT', url: '=/billing_subscriptions/{{$parameter.subscriptionIdToStop}}', body: { stop: false } } } },
|
|
30
|
+
{ name: 'Stop', value: 'stop', action: 'Stop a subscription', description: 'Stop an in-progress billing subscription', routing: { request: { method: 'PUT', url: '=/billing_subscriptions/{{$parameter.subscriptionIdToStop}}', body: { stop: true } } } },
|
|
31
|
+
{ name: 'Update', value: 'update', action: 'Update a subscription', description: 'Update an existing billing subscription (label, payment terms, recurring rule, customer, mode, or invoice PDF text)', routing: { request: { method: 'PUT', url: '=/billing_subscriptions/{{$parameter.subscriptionIdToUpdate}}', body: {
|
|
32
|
+
label: '={{ $parameter.label || undefined }}',
|
|
33
|
+
customer_id: '={{ $parameter.customerId ? parseInt($parameter.customerId, 10) : undefined }}',
|
|
34
|
+
payment_method: '={{ $parameter.paymentMethod || undefined }}',
|
|
35
|
+
payment_conditions: '={{ $parameter.paymentConditions || undefined }}',
|
|
36
|
+
mode: '={{ $parameter.mode === "email" ? { type: "email", email_settings: { recipients: ($parameter.modeEmailRecipients || "").split(",").map(r => r.trim()).filter(r => r) } } : ($parameter.mode ? { type: $parameter.mode } : undefined) }}',
|
|
37
|
+
recurring_rule: '={{ $parameter.recurringRuleType ? { type: $parameter.recurringRuleType, interval: $parameter.recurringRuleInterval || undefined, count: $parameter.recurringRuleCount || undefined, day_of_month: $parameter.recurringRuleType === "monthly" ? ($parameter.recurringRuleDayOfMonth || undefined) : undefined, day_of_week: $parameter.recurringRuleType === "weekly" ? ($parameter.recurringRuleDayOfWeek || undefined) : undefined } : undefined }}',
|
|
38
|
+
customer_invoice_data: '={{ ($parameter.pdfInvoiceFreeText || $parameter.pdfInvoiceSubject) ? { pdf_invoice_free_text: $parameter.pdfInvoiceFreeText || undefined, pdf_invoice_subject: $parameter.pdfInvoiceSubject || undefined } : undefined }}',
|
|
39
|
+
} } } },
|
|
40
|
+
],
|
|
41
|
+
default: 'getAll',
|
|
42
|
+
},
|
|
43
|
+
...get_1.billingSubscriptionGetDescription,
|
|
44
|
+
...(0, operations_1.buildGetAllDescription)('billingSubscription'),
|
|
45
|
+
...create_1.billingSubscriptionCreateDescription,
|
|
46
|
+
...update_1.billingSubscriptionUpdateDescription,
|
|
47
|
+
...invoice_lines_1.billingSubscriptionInvoiceLinesDescription,
|
|
48
|
+
...invoice_line_sections_1.billingSubscriptionInvoiceLineSectionsDescription,
|
|
49
|
+
{ displayName: 'Subscription ID', name: 'subscriptionIdToStop', type: 'string', required: true, displayOptions: { show: { operation: ['stop', 'resume'], resource: ['billingSubscription'] } }, default: '', description: 'The ID of the billing subscription to stop or resume' },
|
|
50
|
+
];
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/billing-subscription/index.ts"],"names":[],"mappings":";;;AACA,+BAA0D;AAC1D,qCAAgE;AAChE,qCAAgE;AAChE,mDAA6E;AAC7E,mEAA4F;AAC5F,qDAA8D;AAEjD,QAAA,8BAA8B,GAAsB;IAChE;QACC,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI;QACpF,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,EAAE;QAC/D,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,uBAAuB,EAAE,WAAW,EAAE,mCAAmC,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,wBAAwB,EAAE,IAAI,EAAE;4BAChM,WAAW,EAAE,8BAA8B;4BAC3C,KAAK,EAAE,yBAAyB;4BAChC,IAAI,EAAE,yMAAyM;4BAC/M,kBAAkB,EAAE,qCAAqC;4BACzD,cAAc,EAAE,iCAAiC;4BACjD,cAAc,EAAE,2FAA2F;4BAC3G,KAAK,EAAE,sCAAsC;4BAC7C,qBAAqB,EAAE,6bAA6b;yBACpd,EAAE,EAAE,EAAE;YACP,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,WAAW,EAAE,8CAA8C,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,uDAAuD,EAAE,EAAE,EAAE;YAC/N,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE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H,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,+DAA+D,EAAE,IAAI,EAAE;4BACxT,KAAK,EAAE,sCAAsC;4BAC7C,WAAW,EAAE,gFAAgF;4BAC7F,cAAc,EAAE,8CAA8C;4BAC9D,kBAAkB,EAAE,kDAAkD;4BACtE,IAAI,EAAE,yOAAyO;4BAC/O,cAAc,EAAE,ubAAub;4BACvc,qBAAqB,EAAE,4NAA4N;yBACnP,EAAE,EAAE,EAAE;SACP;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,uCAAiC;IACpC,GAAG,IAAA,mCAAsB,EAAC,qBAAqB,CAAC;IAChD,GAAG,6CAAoC;IACvC,GAAG,6CAAoC;IACvC,GAAG,0DAA0C;IAC7C,GAAG,yEAAiD;IACpD,EAAE,WAAW,EAAE,iBAAiB,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAE;CAClR,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.billingSubscriptionInvoiceLineSectionsDescription = void 0;
|
|
4
|
+
const showForBillingSubscriptionInvoiceLineSections = { operation: ['getInvoiceLineSections'], resource: ['billingSubscription'] };
|
|
5
|
+
exports.billingSubscriptionInvoiceLineSectionsDescription = [
|
|
6
|
+
{ displayName: 'Subscription ID', name: 'billingSubscriptionIdForInvoiceLineSections', type: 'string', required: true, default: '', displayOptions: { show: showForBillingSubscriptionInvoiceLineSections }, description: 'The ID of the billing subscription whose invoice line sections should be retrieved' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Sort', name: 'sortInvoiceLineSections', type: 'options', default: '-id',
|
|
9
|
+
displayOptions: { show: showForBillingSubscriptionInvoiceLineSections }, 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: 'returnAllInvoiceLineSections', type: 'boolean', default: false,
|
|
18
|
+
displayOptions: { show: showForBillingSubscriptionInvoiceLineSections }, 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: 'limitInvoiceLineSections', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
|
|
34
|
+
displayOptions: { show: { ...showForBillingSubscriptionInvoiceLineSections, returnAllInvoiceLineSections: [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=invoice-line-sections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-line-sections.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/billing-subscription/invoice-line-sections.ts"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E;qBAChE;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE;QAChI,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,6CAA6C,EAAE,4BAA4B,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QACrK,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,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.billingSubscriptionInvoiceLinesDescription = void 0;
|
|
4
|
+
const showForBillingSubscriptionInvoiceLines = { operation: ['getInvoiceLines'], resource: ['billingSubscription'] };
|
|
5
|
+
exports.billingSubscriptionInvoiceLinesDescription = [
|
|
6
|
+
{ displayName: 'Subscription ID', name: 'billingSubscriptionIdForInvoiceLines', type: 'string', required: true, default: '', displayOptions: { show: showForBillingSubscriptionInvoiceLines }, description: 'The ID of the billing subscription whose invoice lines should be retrieved' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Sort', name: 'sortInvoiceLines', type: 'options', default: '-id',
|
|
9
|
+
displayOptions: { show: showForBillingSubscriptionInvoiceLines }, 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: 'returnAllInvoiceLines', type: 'boolean', default: false,
|
|
18
|
+
displayOptions: { show: showForBillingSubscriptionInvoiceLines }, 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: 'limitInvoiceLines', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
|
|
34
|
+
displayOptions: { show: { ...showForBillingSubscriptionInvoiceLines, returnAllInvoiceLines: [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=invoice-lines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-lines.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/billing-subscription/invoice-lines.ts"],"names":[],"mappings":";;;AAEA,MAAM,sCAAsC,GAAG,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,CAAC;AAExG,QAAA,0CAA0C,GAAsB;IAC5E,EAAE,WAAW,EAAE,iBAAiB,EAAE,IAAI,EAAE,sCAAsC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,sCAAsC,EAAE,EAAE,WAAW,EAAE,4EAA4E,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