@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,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const create_1 = require("./create");
|
|
6
|
+
const update_1 = require("./update");
|
|
7
|
+
const update_status_1 = require("./update-status");
|
|
8
|
+
const invoice_line_sections_1 = require("./invoice-line-sections");
|
|
9
|
+
const invoice_lines_1 = require("./invoice-lines");
|
|
10
|
+
const appendices_1 = require("./appendices");
|
|
11
|
+
const upload_appendix_1 = require("./upload-appendix");
|
|
12
|
+
const send_by_email_1 = require("./send-by-email");
|
|
13
|
+
const operations_1 = require("../shared/operations");
|
|
14
|
+
exports.quoteDescription = [
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true,
|
|
17
|
+
displayOptions: { show: { resource: ['quote'] } },
|
|
18
|
+
options: [
|
|
19
|
+
{ name: 'Get', value: 'get', action: 'Get a quote', description: 'Retrieve a single quote by ID', routing: { request: { method: 'GET', url: '=/quotes/{{$parameter.quoteId}}' } } },
|
|
20
|
+
{ name: 'Get Many', value: 'getAll', action: 'Get quotes', description: 'Retrieve a list of quotes with optional filters', routing: { request: { method: 'GET', url: '/quotes' } } },
|
|
21
|
+
{ name: 'Create', value: 'create', action: 'Create a quote', description: 'Create a new quote', routing: { request: { method: 'POST', url: '/quotes', body: { customer_id: '={{ $parameter.customerId }}', date: '={{ $parameter.date }}', deadline: '={{ $parameter.deadline }}', external_reference: '={{ $parameter.externalReference }}', invoice_lines: '={{ ($parameter.quoteLines?.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 })) }}' } } } },
|
|
22
|
+
{ name: 'Update', value: 'update', action: 'Update a quote', description: 'Update an existing quote (fields and/or invoice lines)', routing: { request: { method: 'PUT', url: '=/quotes/{{$parameter.quoteIdToUpdate}}', body: {
|
|
23
|
+
customer_id: '={{ $parameter.customerId ? parseInt($parameter.customerId, 10) : undefined }}',
|
|
24
|
+
date: '={{ $parameter.date || undefined }}',
|
|
25
|
+
deadline: '={{ $parameter.deadline || undefined }}',
|
|
26
|
+
external_reference: '={{ $parameter.externalReference || undefined }}',
|
|
27
|
+
quote_template_id: '={{ $parameter.quoteTemplateId ? parseInt($parameter.quoteTemplateId, 10) : undefined }}',
|
|
28
|
+
currency: '={{ $parameter.currency || undefined }}',
|
|
29
|
+
language: '={{ $parameter.language || undefined }}',
|
|
30
|
+
pdf_invoice_subject: '={{ $parameter.pdfInvoiceSubject || undefined }}',
|
|
31
|
+
pdf_invoice_free_text: '={{ $parameter.pdfInvoiceFreeText || undefined }}',
|
|
32
|
+
pdf_description: '={{ $parameter.pdfDescription || undefined }}',
|
|
33
|
+
special_mention: '={{ $parameter.specialMention || undefined }}',
|
|
34
|
+
discount: '={{ $parameter.discountType ? { type: $parameter.discountType, value: $parameter.discountValue } : undefined }}',
|
|
35
|
+
invoice_lines: '={{ (($parameter.invoiceLinesToAdd?.line ?? []).length || ($parameter.invoiceLinesToUpdate?.line ?? []).length || ($parameter.invoiceLineIdsToDelete || "").length) ? { create: ($parameter.invoiceLinesToAdd?.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 })), update: ($parameter.invoiceLinesToUpdate?.line ?? []).map(l => ({ id: parseInt(l.lineId, 10), product_id: l.productId ? parseInt(l.productId, 10) : undefined, ledger_account_id: l.ledgerAccountId ? parseInt(l.ledgerAccountId, 10) : undefined, label: l.label || undefined, quantity: l.quantity || undefined, unit: l.unit || undefined, raw_currency_unit_price: l.unitPrice || undefined, vat_rate: l.vatRate || undefined })), delete: ($parameter.invoiceLineIdsToDelete || "").split(",").map(v => v.trim()).filter(v => v).map(v => ({ id: parseInt(v, 10) })) } : undefined }}',
|
|
36
|
+
} } } },
|
|
37
|
+
{ name: 'Update Status', value: 'updateStatus', action: 'Update a quote status', description: 'Update the status of an existing quote', routing: { request: { method: 'PUT', url: '=/quotes/{{$parameter.quoteIdToUpdateStatus}}/update_status', body: { status: '={{ $parameter.quoteStatus }}' } } } },
|
|
38
|
+
{ name: 'Convert to Invoice', value: 'convertToInvoice', action: 'Convert a quote to an invoice', description: 'Convert an existing quote into a finalized customer invoice', routing: { request: { method: 'POST', url: '/customer_invoices/create_from_quote', body: { quote_id: '={{ $parameter.quoteIdToConvert }}', draft: '={{ $parameter.convertToInvoiceDraft }}' } } } },
|
|
39
|
+
{ name: 'List Invoice Line Sections', value: 'getInvoiceLineSections', action: 'List invoice line sections', description: 'Retrieve the invoice line sections of a quote', routing: { request: { method: 'GET', url: '=/quotes/{{$parameter.quoteIdForInvoiceLineSections}}/invoice_line_sections' } } },
|
|
40
|
+
{ name: 'List Invoice Lines', value: 'getInvoiceLines', action: 'List invoice lines', description: 'Retrieve the invoice lines of a quote', routing: { request: { method: 'GET', url: '=/quotes/{{$parameter.quoteIdForInvoiceLines}}/invoice_lines' } } },
|
|
41
|
+
{ name: 'List Appendices', value: 'getAppendices', action: 'List appendices', description: 'Retrieve the appendices attached to a quote', routing: { request: { method: 'GET', url: '=/quotes/{{$parameter.quoteIdForAppendices}}/appendices' } } },
|
|
42
|
+
{ name: 'Upload Appendix', value: 'uploadAppendix', action: 'Upload a quote appendix', description: 'Upload a file (PDF or image) as an appendix to a quote', routing: { request: { method: 'POST', url: '=/quotes/{{$parameter.quoteIdToUploadAppendix}}/appendices' }, send: { preSend: [upload_appendix_1.uploadAppendixPreSend] } } },
|
|
43
|
+
{ name: 'Send by Email', value: 'sendByEmail', action: 'Send a quote by email', description: 'Send an existing quote to its customer (or specific recipients) by email', routing: { request: { method: 'POST', url: '=/quotes/{{$parameter.quoteIdToSendByEmail}}/send_by_email', body: { recipients: '={{ $parameter.sendByEmailRecipients ? $parameter.sendByEmailRecipients.split(",").map(r => r.trim()).filter(r => r) : undefined }}' } } } },
|
|
44
|
+
],
|
|
45
|
+
default: 'getAll',
|
|
46
|
+
},
|
|
47
|
+
...get_1.quoteGetDescription,
|
|
48
|
+
...(0, operations_1.buildGetAllDescription)('quote'),
|
|
49
|
+
...create_1.quoteCreateDescription,
|
|
50
|
+
...update_1.quoteUpdateDescription,
|
|
51
|
+
...update_status_1.quoteUpdateStatusDescription,
|
|
52
|
+
{ displayName: 'Quote ID', name: 'quoteIdToConvert', type: 'string', required: true, displayOptions: { show: { operation: ['convertToInvoice'], resource: ['quote'] } }, default: '', description: 'The ID of the quote to convert to an invoice' },
|
|
53
|
+
{ displayName: 'Draft', name: 'convertToInvoiceDraft', type: 'boolean', default: true, displayOptions: { show: { operation: ['convertToInvoice'], resource: ['quote'] } }, description: 'Whether to create the invoice as a draft (true) or finalize it immediately (false)' },
|
|
54
|
+
...invoice_line_sections_1.quoteInvoiceLineSectionsDescription,
|
|
55
|
+
...invoice_lines_1.quoteInvoiceLinesDescription,
|
|
56
|
+
...appendices_1.quoteAppendicesDescription,
|
|
57
|
+
...upload_appendix_1.quoteUploadAppendixDescription,
|
|
58
|
+
...send_by_email_1.quoteSendByEmailDescription,
|
|
59
|
+
];
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/index.ts"],"names":[],"mappings":";;;AACA,+BAA4C;AAC5C,qCAAkD;AAClD,qCAAkD;AAClD,mDAA+D;AAC/D,mEAA8E;AAC9E,mDAA+D;AAC/D,6CAA0D;AAC1D,uDAA0F;AAC1F,mDAA8D;AAC9D,qDAA8D;AAEjD,QAAA,gBAAgB,GAAsB;IAClD;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,OAAO,CAAC,EAAE,EAAE;QACjD,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA+B,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,iCAAiC,EAAE,EAAE,EAAE;YACnL,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,iDAAiD,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE;YACpL,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM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AAa,EAAE,MAAM,EAAE,uBAAuB,EAAE,WAAW,EAAE,0EAA0E,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,4DAA4D,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,qIAAqI,EAAE,EAAE,EAAE,EAAE;SACnb;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,yBAAmB;IACtB,GAAG,IAAA,mCAAsB,EAAC,OAAO,CAAC;IAClC,GAAG,+BAAsB;IACzB,GAAG,+BAAsB;IACzB,GAAG,4CAA4B;IAC/B,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,8CAA8C,EAAE;IACnP,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,oFAAoF,EAAE;IAC9Q,GAAG,2DAAmC;IACtC,GAAG,4CAA4B;IAC/B,GAAG,uCAA0B;IAC7B,GAAG,gDAA8B;IACjC,GAAG,2CAA2B;CAC9B,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteInvoiceLineSectionsDescription = void 0;
|
|
4
|
+
const showForQuoteInvoiceLineSections = { operation: ['getInvoiceLineSections'], resource: ['quote'] };
|
|
5
|
+
exports.quoteInvoiceLineSectionsDescription = [
|
|
6
|
+
{ displayName: 'Quote ID', name: 'quoteIdForInvoiceLineSections', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteInvoiceLineSections }, description: 'The ID of the quote whose invoice line sections should be retrieved' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Sort', name: 'sortInvoiceLineSections', type: 'options', default: '-id',
|
|
9
|
+
displayOptions: { show: showForQuoteInvoiceLineSections }, 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: showForQuoteInvoiceLineSections }, 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: { ...showForQuoteInvoiceLineSections, 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/quote/invoice-line-sections.ts"],"names":[],"mappings":";;;AAEA,MAAM,+BAA+B,GAAG,EAAE,SAAS,EAAE,CAAC,wBAAwB,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AAE1F,QAAA,mCAAmC,GAAsB;IACrE,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,+BAA+B,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE,EAAE,WAAW,EAAE,qEAAqE,EAAE;IAC9P;QACC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QACrF,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE,EAAE,WAAW,EAAE,4BAA4B;QACpG,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,8BAA8B,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QAChG,cAAc,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE,EAAE,WAAW,EAAE,2DAA2D;QACnI,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,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,+BAA+B,EAAE,4BAA4B,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QACvJ,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.quoteInvoiceLinesDescription = void 0;
|
|
4
|
+
const showForQuoteInvoiceLines = { operation: ['getInvoiceLines'], resource: ['quote'] };
|
|
5
|
+
exports.quoteInvoiceLinesDescription = [
|
|
6
|
+
{ displayName: 'Quote ID', name: 'quoteIdForInvoiceLines', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteInvoiceLines }, description: 'The ID of the quote whose invoice lines should be retrieved' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Sort', name: 'sortInvoiceLines', type: 'options', default: '-id',
|
|
9
|
+
displayOptions: { show: showForQuoteInvoiceLines }, 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: showForQuoteInvoiceLines }, 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: { ...showForQuoteInvoiceLines, 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/quote/invoice-lines.ts"],"names":[],"mappings":";;;AAEA,MAAM,wBAAwB,GAAG,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AAE5E,QAAA,4BAA4B,GAAsB;IAC9D,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE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AAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QACzI,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,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteSendByEmailDescription = void 0;
|
|
4
|
+
const showForQuoteSendByEmail = { operation: ['sendByEmail'], resource: ['quote'] };
|
|
5
|
+
exports.quoteSendByEmailDescription = [
|
|
6
|
+
{ displayName: 'Quote ID', name: 'quoteIdToSendByEmail', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteSendByEmail }, description: 'The ID of the quote to send by email' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Recipients', name: 'sendByEmailRecipients', type: 'string', default: '',
|
|
9
|
+
placeholder: 'name@email.com, other@email.com', displayOptions: { show: showForQuoteSendByEmail },
|
|
10
|
+
description: "Comma-separated list of email addresses to send the quote to. Leave empty to use the customer's registered emails.",
|
|
11
|
+
},
|
|
12
|
+
];
|
|
13
|
+
//# sourceMappingURL=send-by-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-by-email.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/send-by-email.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG,EAAE,SAAS,EAAE,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AAEvE,QAAA,2BAA2B,GAAsB;IAC7D,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,WAAW,EAAE,sCAAsC,EAAE;IAC9M;QACC,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;QACrF,WAAW,EAAE,iCAAiC,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE;QACjG,WAAW,EAAE,oHAAoH;KACjI;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteUpdateStatusDescription = void 0;
|
|
4
|
+
const showForQuoteUpdateStatus = { operation: ['updateStatus'], resource: ['quote'] };
|
|
5
|
+
exports.quoteUpdateStatusDescription = [
|
|
6
|
+
{ displayName: 'Quote ID', name: 'quoteIdToUpdateStatus', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteUpdateStatus }, description: 'The ID of the quote whose status should be updated' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Status', name: 'quoteStatus', type: 'options', required: true, default: 'pending',
|
|
9
|
+
displayOptions: { show: showForQuoteUpdateStatus }, description: 'The new status of the quote',
|
|
10
|
+
options: [
|
|
11
|
+
{ name: 'Accepted', value: 'accepted', description: 'The quote has been accepted' },
|
|
12
|
+
{ name: 'Denied', value: 'denied', description: 'The quote has been denied' },
|
|
13
|
+
{ name: 'Expired', value: 'expired', description: 'The quote has expired' },
|
|
14
|
+
{ name: 'Invoiced', value: 'invoiced', description: 'The quote has been invoiced' },
|
|
15
|
+
{ name: 'Pending', value: 'pending', description: 'The quote is to be denied or accepted' },
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=update-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-status.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/update-status.ts"],"names":[],"mappings":";;;AAEA,MAAM,wBAAwB,GAAG,EAAE,SAAS,EAAE,CAAC,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AAEzE,QAAA,4BAA4B,GAAsB;IAC9D,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,oDAAoD,EAAE;IAC9N;QACC,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS;QAC/F,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,6BAA6B;QAC9F,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,6BAA6B,EAAE;YACnF,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,2BAA2B,EAAE;YAC7E,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,uBAAuB,EAAE;YAC3E,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,6BAA6B,EAAE;YACnF,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,uCAAuC,EAAE;SAC3F;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteUpdateDescription = void 0;
|
|
4
|
+
const showForQuoteUpdate = { operation: ['update'], resource: ['quote'] };
|
|
5
|
+
exports.quoteUpdateDescription = [
|
|
6
|
+
{ displayName: 'Quote ID', name: 'quoteIdToUpdate', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ID of the quote to update' },
|
|
7
|
+
{ displayName: 'Customer ID', name: 'customerId', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ID of the customer for this quote. Leave empty to keep unchanged.' },
|
|
8
|
+
{ displayName: 'Date', name: 'date', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Quote date (ISO 8601, e.g. 2026-07-07). Leave empty to keep unchanged.', placeholder: '2026-07-07' },
|
|
9
|
+
{ displayName: 'Deadline', name: 'deadline', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Payment deadline date (ISO 8601, e.g. 2026-08-06). Leave empty to keep unchanged.', placeholder: '2026-08-06' },
|
|
10
|
+
{ displayName: 'External Reference', name: 'externalReference', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Your external reference for this quote. Leave empty to keep unchanged.' },
|
|
11
|
+
{ displayName: 'Quote Template ID', name: 'quoteTemplateId', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ID of the quote template to use. Leave empty to keep unchanged.' },
|
|
12
|
+
{ displayName: 'Currency', name: 'currency', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'ISO 4217 currency code (e.g. EUR). Leave empty to keep unchanged.' },
|
|
13
|
+
{
|
|
14
|
+
displayName: 'Language', name: 'language', type: 'options', default: '',
|
|
15
|
+
displayOptions: { show: showForQuoteUpdate }, description: 'Language used on the quote document. Leave as "Keep Current" to leave unchanged.',
|
|
16
|
+
options: [
|
|
17
|
+
{ name: 'Keep Current', value: '' },
|
|
18
|
+
{ name: 'French (FR)', value: 'fr_FR' },
|
|
19
|
+
{ name: 'English (GB)', value: 'en_GB' },
|
|
20
|
+
{ name: 'German (DE)', value: 'de_DE' },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{ displayName: 'PDF Subject', name: 'pdfInvoiceSubject', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Quote title shown on the PDF. Leave empty to keep unchanged.' },
|
|
24
|
+
{ displayName: 'PDF Free Text', name: 'pdfInvoiceFreeText', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Contact details or additional free text on the PDF. Leave empty to keep unchanged.' },
|
|
25
|
+
{ displayName: 'PDF Description', name: 'pdfDescription', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Quote description shown on the PDF. Leave empty to keep unchanged.' },
|
|
26
|
+
{ displayName: 'Special Mention', name: 'specialMention', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Additional details displayed on the quote. Leave empty to keep unchanged.' },
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Discount Type', name: 'discountType', type: 'options', default: '',
|
|
29
|
+
displayOptions: { show: showForQuoteUpdate }, description: 'Type of discount applied to the quote. Leave as "Keep Current" to leave unchanged.',
|
|
30
|
+
options: [
|
|
31
|
+
{ name: 'Keep Current', value: '' },
|
|
32
|
+
{ name: 'Absolute', value: 'absolute' },
|
|
33
|
+
{ name: 'Relative', value: 'relative' },
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
{ displayName: 'Discount Value', name: 'discountValue', type: 'string', default: '', displayOptions: { show: { ...showForQuoteUpdate, discountType: ['absolute', 'relative'] } }, description: 'The discount value matching the selected discount type' },
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Invoice Lines to Add', name: 'invoiceLinesToAdd', type: 'fixedCollection', default: {}, typeOptions: { multipleValues: true },
|
|
39
|
+
displayOptions: { show: showForQuoteUpdate }, description: 'New line items to add to the quote',
|
|
40
|
+
options: [{ name: 'line', displayName: 'Invoice Line', values: [
|
|
41
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Line item label / description' },
|
|
42
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ledger account ID (optional)' },
|
|
43
|
+
{ displayName: 'Product ID', name: 'productId', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ID of the product (optional)' },
|
|
44
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 1, displayOptions: { show: showForQuoteUpdate } },
|
|
45
|
+
{ displayName: 'Unit', name: 'unit', type: 'string', default: 'piece', displayOptions: { show: showForQuoteUpdate }, description: 'Unit of measurement' },
|
|
46
|
+
{ displayName: 'Unit Price (Excl. Tax)', name: 'unitPrice', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Raw currency unit price excluding tax, as a string' },
|
|
47
|
+
{ displayName: 'VAT Rate', name: 'vatRate', type: 'string', default: 'FR_200', displayOptions: { show: showForQuoteUpdate }, description: 'VAT rate identifier' },
|
|
48
|
+
] }],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Invoice Lines to Update', name: 'invoiceLinesToUpdate', type: 'fixedCollection', default: {}, typeOptions: { multipleValues: true },
|
|
52
|
+
displayOptions: { show: showForQuoteUpdate }, description: 'Existing line items to modify. Leave a field empty to keep it unchanged.',
|
|
53
|
+
options: [{ name: 'line', displayName: 'Invoice Line', values: [
|
|
54
|
+
{ displayName: 'Invoice Line ID', name: 'lineId', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ID of the existing invoice line to update' },
|
|
55
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Line item label / description. Leave empty to keep unchanged.' },
|
|
56
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ledger account ID. Leave empty to keep unchanged.' },
|
|
57
|
+
{ displayName: 'Product ID', name: 'productId', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'The ID of the product. Leave empty to keep unchanged.' },
|
|
58
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 0, displayOptions: { show: showForQuoteUpdate }, description: 'Leave at 0 to keep unchanged' },
|
|
59
|
+
{ displayName: 'Unit', name: 'unit', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Unit of measurement. Leave empty to keep unchanged.' },
|
|
60
|
+
{ displayName: 'Unit Price (Excl. Tax)', name: 'unitPrice', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Raw currency unit price excluding tax, as a string. Leave empty to keep unchanged.' },
|
|
61
|
+
{ displayName: 'VAT Rate', name: 'vatRate', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'VAT rate identifier. Leave empty to keep unchanged.' },
|
|
62
|
+
] }],
|
|
63
|
+
},
|
|
64
|
+
{ displayName: 'Invoice Line IDs to Delete', name: 'invoiceLineIdsToDelete', type: 'string', default: '', displayOptions: { show: showForQuoteUpdate }, description: 'Comma-separated list of existing invoice line IDs to remove from the quote', placeholder: '111, 222' },
|
|
65
|
+
];
|
|
66
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/update.ts"],"names":[],"mappings":";;;AAEA,MAAM,kBAAkB,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AAE7D,QAAA,sBAAsB,GAAsB;IACxD,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,kBAAkB,EAAE,EAAE,WAAW,EAAE,+BAA+B,EAAE;IAC7L,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QA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I,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,WAAW,EAAE,oFAAoF,EAAE;oBAC1O,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,WAAW,EAAE,qDAAqD,EAAE;iBAC3L,EAAC,CAAC;KACH;IACD,EAAE,WAAW,EAAE,4BAA4B,EAAE,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,WAAW,EAAE,4EAA4E,EAAE,WAAW,EAAE,UAAU,EAAE;CAC5Q,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare function uploadAppendixPreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
3
|
+
export declare const quoteUploadAppendixDescription: INodeProperties[];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteUploadAppendixDescription = void 0;
|
|
4
|
+
exports.uploadAppendixPreSend = uploadAppendixPreSend;
|
|
5
|
+
const showForQuoteUploadAppendix = { operation: ['uploadAppendix'], resource: ['quote'] };
|
|
6
|
+
async function uploadAppendixPreSend(requestOptions) {
|
|
7
|
+
var _a;
|
|
8
|
+
const propertyName = this.getNodeParameter('appendixBinaryPropertyName');
|
|
9
|
+
const binaryData = this.helpers.assertBinaryData(propertyName);
|
|
10
|
+
const buffer = await this.helpers.getBinaryDataBuffer(propertyName);
|
|
11
|
+
const boundary = `----n8nFormBoundary${Date.now().toString(16)}${Math.random().toString(16).slice(2)}`;
|
|
12
|
+
const filename = ((_a = binaryData.fileName) !== null && _a !== void 0 ? _a : 'file').replace(/"/g, '');
|
|
13
|
+
const contentType = binaryData.mimeType || 'application/octet-stream';
|
|
14
|
+
const preamble = `--${boundary}\r\nContent-Disposition: form-data; name="file"; filename="${filename}"\r\nContent-Type: ${contentType}\r\n\r\n`;
|
|
15
|
+
const epilogue = `\r\n--${boundary}--\r\n`;
|
|
16
|
+
requestOptions.body = Buffer.concat([
|
|
17
|
+
Buffer.from(preamble, 'utf-8'),
|
|
18
|
+
buffer,
|
|
19
|
+
Buffer.from(epilogue, 'utf-8'),
|
|
20
|
+
]);
|
|
21
|
+
requestOptions.headers = {
|
|
22
|
+
...requestOptions.headers,
|
|
23
|
+
'Content-Type': `multipart/form-data; boundary=${boundary}`,
|
|
24
|
+
};
|
|
25
|
+
return requestOptions;
|
|
26
|
+
}
|
|
27
|
+
exports.quoteUploadAppendixDescription = [
|
|
28
|
+
{ displayName: 'Quote ID', name: 'quoteIdToUploadAppendix', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteUploadAppendix }, description: 'The ID of the quote to upload the appendix to' },
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Input Binary Field', name: 'appendixBinaryPropertyName', type: 'string', default: 'data', required: true,
|
|
31
|
+
displayOptions: { show: showForQuoteUploadAppendix },
|
|
32
|
+
description: 'Name of the binary property containing the file to upload. Allowed content types: PNG, JPEG, TIFF, BMP, GIF, PDF.',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
//# sourceMappingURL=upload-appendix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-appendix.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/upload-appendix.ts"],"names":[],"mappings":";;;AAMA,sDAyBC;AA7BD,MAAM,0BAA0B,GAAG,EAAE,SAAS,EAAE,CAAC,gBAAgB,C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AAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAAE,WAAW,EAAE,+CAA+C,EAAE;IAC7N;QACC,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,4BAA4B,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI;QACtH,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,mHAAmH;KAChI;CACD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sepaMandateCreateDescription = void 0;
|
|
4
|
+
const showForSepaMandateCreate = { operation: ['create'], resource: ['sepaMandate'] };
|
|
5
|
+
exports.sepaMandateCreateDescription = [
|
|
6
|
+
{ displayName: 'Customer ID', name: 'customerId', type: 'string', required: true, default: '', displayOptions: { show: showForSepaMandateCreate }, description: 'The ID of the customer for which the mandate is created' },
|
|
7
|
+
{ displayName: 'BIC', name: 'bic', type: 'string', required: true, default: '', displayOptions: { show: showForSepaMandateCreate }, description: "Bank Identifier Code (BIC) of the customer's bank" },
|
|
8
|
+
{ displayName: 'IBAN', name: 'iban', type: 'string', required: true, default: '', displayOptions: { show: showForSepaMandateCreate }, description: "International Bank Account Number (IBAN) of the customer" },
|
|
9
|
+
{ displayName: 'Signed At', name: 'signedAt', type: 'string', required: true, default: '', displayOptions: { show: showForSepaMandateCreate }, description: 'Date when the mandate was signed (ISO 8601, e.g. 2026-07-07)', placeholder: '2026-07-07' },
|
|
10
|
+
{ displayName: 'Identifier', name: 'identifier', type: 'string', required: true, default: '', displayOptions: { show: showForSepaMandateCreate }, description: 'Unique identifier for the mandate (e.g. "K-02-2023-12345")' },
|
|
11
|
+
{ displayName: 'Bank', name: 'bank', type: 'string', default: '', displayOptions: { show: showForSepaMandateCreate }, description: "Name of the customer's bank" },
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Sequence Type', name: 'sequenceType', type: 'options', default: 'RCUR',
|
|
14
|
+
displayOptions: { show: showForSepaMandateCreate }, description: 'SEPA mandate sequence type that defines the payment process',
|
|
15
|
+
options: [
|
|
16
|
+
{ name: 'Final', value: 'FNAL' },
|
|
17
|
+
{ name: 'First', value: 'FRST' },
|
|
18
|
+
{ name: 'One-Off', value: 'OOFF' },
|
|
19
|
+
{ name: 'Recurring', value: 'RCUR' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/sepa-mandate/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,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,yDAAyD,EAAE;IAC3N,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,EAAE,WAAW,EAAE,mDAAmD,EAAE;IACtM,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,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ACD;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sepaMandateDeleteDescription = void 0;
|
|
4
|
+
exports.sepaMandateDeleteDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'SEPA Mandate ID',
|
|
7
|
+
name: 'sepaMandateIdToDelete',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['delete'], resource: ['sepaMandate'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the SEPA mandate to delete',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/sepa-mandate/delete.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAsB;IAC9D;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE;QAC9E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sCAAsC;KACnD;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sepaMandateGetDescription = void 0;
|
|
4
|
+
exports.sepaMandateGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'SEPA Mandate ID',
|
|
7
|
+
name: 'sepaMandateId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['sepaMandate'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the SEPA mandate to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/sepa-mandate/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,eAAe;QACrB,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"}
|