@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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.productGetDescription = void 0;
|
|
4
|
+
exports.productGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Product ID',
|
|
7
|
+
name: 'productId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['product'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the product to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/product/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;QACvE,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;KAChD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const productGetAllDescription: import("n8n-workflow").INodeProperties[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.productGetAllDescription = void 0;
|
|
4
|
+
const operations_1 = require("../shared/operations");
|
|
5
|
+
exports.productGetAllDescription = (0, operations_1.buildGetAllDescription)('product');
|
|
6
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/product/getAll.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AACjD,QAAA,wBAAwB,GAAG,IAAA,mCAAsB,EAAC,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.productDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const create_1 = require("./create");
|
|
7
|
+
const update_1 = require("./update");
|
|
8
|
+
exports.productDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
noDataExpression: true,
|
|
14
|
+
displayOptions: { show: { resource: ['product'] } },
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Get',
|
|
18
|
+
value: 'get',
|
|
19
|
+
action: 'Get a product',
|
|
20
|
+
description: 'Retrieve a single product by ID',
|
|
21
|
+
routing: { request: { method: 'GET', url: '=/products/{{$parameter.productId}}' } },
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Get Many',
|
|
25
|
+
value: 'getAll',
|
|
26
|
+
action: 'Get products',
|
|
27
|
+
description: 'Retrieve a list of products with optional filters',
|
|
28
|
+
routing: { request: { method: 'GET', url: '/products' } },
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Create',
|
|
32
|
+
value: 'create',
|
|
33
|
+
action: 'Create a product',
|
|
34
|
+
description: 'Create a new product',
|
|
35
|
+
routing: {
|
|
36
|
+
request: {
|
|
37
|
+
method: 'POST',
|
|
38
|
+
url: '/products',
|
|
39
|
+
body: {
|
|
40
|
+
label: '={{$parameter.label}}',
|
|
41
|
+
price_before_tax: '={{$parameter.priceBeforeTax}}',
|
|
42
|
+
vat_rate: '={{$parameter.vatRate}}',
|
|
43
|
+
description: '={{$parameter.description}}',
|
|
44
|
+
external_reference: '={{$parameter.externalReference}}',
|
|
45
|
+
unit: '={{$parameter.unit}}',
|
|
46
|
+
currency: '={{$parameter.currency}}',
|
|
47
|
+
reference: '={{$parameter.reference}}',
|
|
48
|
+
ledger_account_id: '={{$parameter.ledgerAccountId ? parseInt($parameter.ledgerAccountId, 10) : undefined}}',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Update',
|
|
55
|
+
value: 'update',
|
|
56
|
+
action: 'Update a product',
|
|
57
|
+
description: 'Update an existing product',
|
|
58
|
+
routing: {
|
|
59
|
+
request: {
|
|
60
|
+
method: 'PUT',
|
|
61
|
+
url: '=/products/{{$parameter.productId}}',
|
|
62
|
+
body: {
|
|
63
|
+
label: '={{$parameter.label || undefined}}',
|
|
64
|
+
price_before_tax: '={{$parameter.priceBeforeTax || undefined}}',
|
|
65
|
+
vat_rate: '={{$parameter.vatRate || undefined}}',
|
|
66
|
+
description: '={{$parameter.description || undefined}}',
|
|
67
|
+
external_reference: '={{$parameter.externalReference || undefined}}',
|
|
68
|
+
unit: '={{$parameter.unit || undefined}}',
|
|
69
|
+
currency: '={{$parameter.currency || undefined}}',
|
|
70
|
+
reference: '={{$parameter.reference || undefined}}',
|
|
71
|
+
ledger_account_id: '={{$parameter.ledgerAccountId ? parseInt($parameter.ledgerAccountId, 10) : undefined}}',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
default: 'getAll',
|
|
78
|
+
},
|
|
79
|
+
...get_1.productGetDescription,
|
|
80
|
+
...getAll_1.productGetAllDescription,
|
|
81
|
+
...create_1.productCreateDescription,
|
|
82
|
+
...update_1.productUpdateDescription,
|
|
83
|
+
];
|
|
84
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/product/index.ts"],"names":[],"mappings":";;;AACA,+BAA8C;AAC9C,qCAAoD;AACpD,qCAAoD;AACpD,qCAAoD;AAEvC,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;QACnD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,eAAe;gBACvB,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,qCAAqC,EAAE,EAAE;aACnF;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,cAAc;gBACtB,WAAW,EAAE,mDAAmD;gBAChE,OAAO,EAAE,EAAE,OAA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@@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.productUpdateDescription = void 0;
|
|
4
|
+
const showForProductUpdate = {
|
|
5
|
+
operation: ['update'],
|
|
6
|
+
resource: ['product'],
|
|
7
|
+
};
|
|
8
|
+
exports.productUpdateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Product ID',
|
|
11
|
+
name: 'productId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForProductUpdate },
|
|
16
|
+
description: 'The ID of the product to update',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Label',
|
|
20
|
+
name: 'label',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
displayOptions: { show: showForProductUpdate },
|
|
24
|
+
description: 'Product label',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Price Before Tax',
|
|
28
|
+
name: 'priceBeforeTax',
|
|
29
|
+
type: 'string',
|
|
30
|
+
default: '',
|
|
31
|
+
displayOptions: { show: showForProductUpdate },
|
|
32
|
+
description: 'Product price without taxes, as a decimal string (e.g. "12.5")',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'VAT Rate',
|
|
36
|
+
name: 'vatRate',
|
|
37
|
+
type: 'string',
|
|
38
|
+
default: '',
|
|
39
|
+
displayOptions: { show: showForProductUpdate },
|
|
40
|
+
description: 'Product VAT rate identifier. A 20% VAT in France is FR_200.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Description',
|
|
44
|
+
name: 'description',
|
|
45
|
+
type: 'string',
|
|
46
|
+
default: '',
|
|
47
|
+
displayOptions: { show: showForProductUpdate },
|
|
48
|
+
description: 'Product description. Maximum 5,000 characters.',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'External Reference',
|
|
52
|
+
name: 'externalReference',
|
|
53
|
+
type: 'string',
|
|
54
|
+
default: '',
|
|
55
|
+
displayOptions: { show: showForProductUpdate },
|
|
56
|
+
description: 'The unique external reference assigned to this product',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Unit',
|
|
60
|
+
name: 'unit',
|
|
61
|
+
type: 'string',
|
|
62
|
+
default: '',
|
|
63
|
+
displayOptions: { show: showForProductUpdate },
|
|
64
|
+
description: 'Product unit (e.g. "piece")',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Currency',
|
|
68
|
+
name: 'currency',
|
|
69
|
+
type: 'string',
|
|
70
|
+
default: '',
|
|
71
|
+
displayOptions: { show: showForProductUpdate },
|
|
72
|
+
description: 'ISO 4217 currency code',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Reference',
|
|
76
|
+
name: 'reference',
|
|
77
|
+
type: 'string',
|
|
78
|
+
default: '',
|
|
79
|
+
displayOptions: { show: showForProductUpdate },
|
|
80
|
+
description: 'Product reference',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: 'Ledger Account ID',
|
|
84
|
+
name: 'ledgerAccountId',
|
|
85
|
+
type: 'string',
|
|
86
|
+
default: '',
|
|
87
|
+
displayOptions: { show: showForProductUpdate },
|
|
88
|
+
description: 'The ID of the ledger account to associate with this product',
|
|
89
|
+
},
|
|
90
|
+
];
|
|
91
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/product/update.ts"],"names":[],"mappings":";;;AAEA,MAAM,oBAAoB,GAAG;IAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEW,QAAA,wBAAwB,GAAsB;IAC1D;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;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QAC9C,WAAW,EAAE,6BAA6B;KAC1C;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9C,WAAW,EAAE,wBAAwB;KACrC;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9C,WAAW,EAAE,mBAAmB;KAChC;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;QAC9C,WAAW,EAAE,6DAA6D;KAC1E;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.purchaseRequestGetDescription = void 0;
|
|
4
|
+
exports.purchaseRequestGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Purchase Request ID',
|
|
7
|
+
name: 'purchaseRequestId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['purchaseRequest'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the purchase request to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/purchase-request/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4CAA4C;KACzD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const purchaseRequestGetAllDescription: import("n8n-workflow").INodeProperties[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.purchaseRequestGetAllDescription = void 0;
|
|
4
|
+
const operations_1 = require("../shared/operations");
|
|
5
|
+
exports.purchaseRequestGetAllDescription = (0, operations_1.buildGetAllDescription)('purchaseRequest');
|
|
6
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/purchase-request/getAll.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AACjD,QAAA,gCAAgC,GAAG,IAAA,mCAAsB,EAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.purchaseRequestImportDescription = void 0;
|
|
4
|
+
const showForPurchaseRequestImport = { operation: ['import'], resource: ['purchaseRequest'] };
|
|
5
|
+
exports.purchaseRequestImportDescription = [
|
|
6
|
+
{ displayName: 'File Attachment ID', name: 'fileAttachmentId', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'The ID obtained from a prior File Attachment Upload operation. This file attachment must contain the purchase order to import.' },
|
|
7
|
+
{ displayName: 'Reason', name: 'reason', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Reason for the purchase request' },
|
|
8
|
+
{ displayName: 'Supplier ID', name: 'supplierId', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'The ID of the supplier for this purchase request' },
|
|
9
|
+
{ displayName: 'Purchase Order Number', name: 'purchaseOrderNumber', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'The purchase order reference number' },
|
|
10
|
+
{ displayName: 'Currency', name: 'currency', type: 'string', default: 'EUR', displayOptions: { show: showForPurchaseRequestImport }, description: 'ISO 4217 currency code, e.g. "EUR"' },
|
|
11
|
+
{ displayName: 'Currency Amount Before Tax', name: 'currencyAmountBeforeTax', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Total value before tax, in purchase order currency' },
|
|
12
|
+
{ displayName: 'Currency Amount', name: 'currencyAmount', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Total value including tax, in purchase order currency' },
|
|
13
|
+
{ displayName: 'Currency Tax', name: 'currencyTax', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Total tax amount, in purchase order currency' },
|
|
14
|
+
{ displayName: 'Amount', name: 'amount', type: 'string', default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Total value including tax, in euros' },
|
|
15
|
+
{ displayName: 'Tax', name: 'tax', type: 'string', default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Total tax amount, in euros' },
|
|
16
|
+
{ displayName: 'Estimated Delivery Date', name: 'estimatedDeliveryDate', type: 'string', default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Expected delivery date (ISO 8601)', placeholder: '2026-08-30' },
|
|
17
|
+
{ displayName: 'Delivery Address', name: 'deliveryAddressLine1', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Street address for delivery' },
|
|
18
|
+
{ displayName: 'Delivery Address Postal Code', name: 'deliveryAddressPostalCode', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport } },
|
|
19
|
+
{ displayName: 'Delivery Address City', name: 'deliveryAddressCity', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport } },
|
|
20
|
+
{ displayName: 'Delivery Address Country', name: 'deliveryAddressCountry', type: 'string', required: true, default: '', displayOptions: { show: showForPurchaseRequestImport }, description: 'Country code (ISO 3166-1 alpha-2, e.g. FR)' },
|
|
21
|
+
{ displayName: 'Purchase Request Lines', name: 'purchaseRequestLines', type: 'fixedCollection', default: {}, required: true, displayOptions: { show: showForPurchaseRequestImport }, description: 'Line items for the purchase order (at least one required)', typeOptions: { multipleValues: true }, options: [{ name: 'line', displayName: 'Purchase Request Line', values: [
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Amount',
|
|
24
|
+
name: 'amount',
|
|
25
|
+
type: 'string',
|
|
26
|
+
default: '',
|
|
27
|
+
description: 'Line total including tax, in euros',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Currency Amount',
|
|
31
|
+
name: 'currencyAmount',
|
|
32
|
+
type: 'string',
|
|
33
|
+
required: true,
|
|
34
|
+
default: '',
|
|
35
|
+
description: 'Line total including tax, in purchase order currency',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Currency Tax',
|
|
39
|
+
name: 'currencyTax',
|
|
40
|
+
type: 'string',
|
|
41
|
+
required: true,
|
|
42
|
+
default: '',
|
|
43
|
+
description: 'Line tax amount, in purchase order currency',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: 'Description',
|
|
47
|
+
name: 'description',
|
|
48
|
+
type: 'string',
|
|
49
|
+
default: '',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
displayName: 'Label',
|
|
53
|
+
name: 'label',
|
|
54
|
+
type: 'string',
|
|
55
|
+
required: true,
|
|
56
|
+
default: '',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Quantity',
|
|
60
|
+
name: 'quantity',
|
|
61
|
+
type: 'number',
|
|
62
|
+
required: true,
|
|
63
|
+
default: 1
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Tax',
|
|
67
|
+
name: 'tax',
|
|
68
|
+
type: 'string',
|
|
69
|
+
default: '',
|
|
70
|
+
description: 'Line tax amount, in euros',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Unit',
|
|
74
|
+
name: 'unit',
|
|
75
|
+
type: 'options',
|
|
76
|
+
required: true,
|
|
77
|
+
default: 'piece',
|
|
78
|
+
options: [
|
|
79
|
+
{
|
|
80
|
+
name: 'Cubic Meter (M³)',
|
|
81
|
+
value: 'm3',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'Day',
|
|
85
|
+
value: 'day',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'Hour',
|
|
89
|
+
value: 'hour',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'Kilogram',
|
|
93
|
+
value: 'kilogram',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'Milligram',
|
|
97
|
+
value: 'mg',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Month',
|
|
101
|
+
value: 'month',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'No Unit',
|
|
105
|
+
value: 'no_unit',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Piece',
|
|
109
|
+
value: 'piece',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'Square Meter (M²)',
|
|
113
|
+
value: 'm2',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: 'Ton',
|
|
117
|
+
value: 'ton',
|
|
118
|
+
},
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Unit Price',
|
|
123
|
+
name: 'unitPrice',
|
|
124
|
+
type: 'string',
|
|
125
|
+
required: true,
|
|
126
|
+
default: '',
|
|
127
|
+
description: 'Price per unit',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
displayName: 'VAT Rate',
|
|
131
|
+
name: 'vatRate',
|
|
132
|
+
type: 'string',
|
|
133
|
+
required: true,
|
|
134
|
+
default: 'FR_200',
|
|
135
|
+
description: 'VAT rate identifier',
|
|
136
|
+
},
|
|
137
|
+
] }] },
|
|
138
|
+
];
|
|
139
|
+
//# sourceMappingURL=import.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/purchase-request/import.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEjF,QAAA,gCAAgC,GAAsB;IAClE,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,WAAW,EAAE,gIAAgI,EAAE;IACnT,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAE;IAC9L,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,4BAA4B,EAAE,EAAE,WAAW,EAAE,kDAAkD,EAAE;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A,EAAC,CAAC,EAAE;CAClR,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.purchaseRequestDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const import_1 = require("./import");
|
|
7
|
+
const showOnlyForPurchaseRequests = { resource: ['purchaseRequest'] };
|
|
8
|
+
exports.purchaseRequestDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
noDataExpression: true,
|
|
14
|
+
displayOptions: { show: showOnlyForPurchaseRequests },
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Get',
|
|
18
|
+
value: 'get',
|
|
19
|
+
action: 'Get a purchase request',
|
|
20
|
+
description: 'Retrieve a single purchase request by ID',
|
|
21
|
+
routing: {
|
|
22
|
+
request: { method: 'GET', url: '=/purchase_requests/{{$parameter.purchaseRequestId}}' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'Get Many',
|
|
27
|
+
value: 'getAll',
|
|
28
|
+
action: 'Get purchase requests',
|
|
29
|
+
description: 'Retrieve a list of purchase requests with optional filters',
|
|
30
|
+
routing: { request: { method: 'GET', url: '/purchase_requests' } },
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'Import',
|
|
34
|
+
value: 'import',
|
|
35
|
+
action: 'Import a purchase order',
|
|
36
|
+
description: 'Import a purchase order as a new purchase request. Use File Attachment Upload first to attach the purchase order document.',
|
|
37
|
+
routing: {
|
|
38
|
+
request: {
|
|
39
|
+
method: 'POST',
|
|
40
|
+
url: '/purchase_requests/imports',
|
|
41
|
+
body: {
|
|
42
|
+
file_attachment_id: '={{ parseInt($parameter.fileAttachmentId, 10) }}',
|
|
43
|
+
reason: '={{$parameter.reason}}',
|
|
44
|
+
supplier_id: '={{ parseInt($parameter.supplierId, 10) }}',
|
|
45
|
+
purchase_order_number: '={{$parameter.purchaseOrderNumber}}',
|
|
46
|
+
currency: '={{$parameter.currency}}',
|
|
47
|
+
currency_amount_before_tax: '={{$parameter.currencyAmountBeforeTax}}',
|
|
48
|
+
currency_amount: '={{$parameter.currencyAmount}}',
|
|
49
|
+
currency_tax: '={{$parameter.currencyTax}}',
|
|
50
|
+
amount: '={{ $parameter.amount ? $parameter.amount : undefined }}',
|
|
51
|
+
tax: '={{ $parameter.tax ? $parameter.tax : undefined }}',
|
|
52
|
+
estimated_delivery_date: '={{ $parameter.estimatedDeliveryDate ? $parameter.estimatedDeliveryDate : undefined }}',
|
|
53
|
+
delivery_address: {
|
|
54
|
+
address: '={{$parameter.deliveryAddressLine1}}',
|
|
55
|
+
postal_code: '={{$parameter.deliveryAddressPostalCode}}',
|
|
56
|
+
city: '={{$parameter.deliveryAddressCity}}',
|
|
57
|
+
country_alpha2: '={{$parameter.deliveryAddressCountry}}',
|
|
58
|
+
},
|
|
59
|
+
purchase_request_lines: '={{ ($parameter.purchaseRequestLines?.line ?? []).map((l) => ({ label: l.label, quantity: l.quantity, unit_price: l.unitPrice, unit: l.unit, vat_rate: l.vatRate, currency_amount: l.currencyAmount, currency_tax: l.currencyTax, amount: l.amount ? l.amount : undefined, tax: l.tax ? l.tax : undefined, description: l.description ? l.description : undefined })) }}',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
default: 'getAll',
|
|
66
|
+
},
|
|
67
|
+
...get_1.purchaseRequestGetDescription,
|
|
68
|
+
...getAll_1.purchaseRequestGetAllDescription,
|
|
69
|
+
...import_1.purchaseRequestImportDescription,
|
|
70
|
+
];
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../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AAY,EAAE,6BAA6B;4BAC3C,MAAM,EAAE,0DAA0D;4BAClE,GAAG,EAAE,oDAAoD;4BACzD,uBAAuB,EACtB,wFAAwF;4BACzF,gBAAgB,EAAE;gCACjB,OAAO,EAAE,sCAAsC;gCAC/C,WAAW,EAAE,2CAA2C;gCACxD,IAAI,EAAE,qCAAqC;gCAC3C,cAAc,EAAE,wCAAwC;6BACxD;4BACD,sBAAsB,EACrB,0WAA0W;yBAC3W;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,mCAA6B;IAChC,GAAG,yCAAgC;IACnC,GAAG,yCAAgC;CACnC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteAppendicesDescription = void 0;
|
|
4
|
+
const showForQuoteAppendices = { operation: ['getAppendices'], resource: ['quote'] };
|
|
5
|
+
exports.quoteAppendicesDescription = [
|
|
6
|
+
{ displayName: 'Quote ID', name: 'quoteIdForAppendices', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteAppendices }, description: 'The ID of the quote whose appendices should be retrieved' },
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Return All', name: 'returnAllAppendices', type: 'boolean', default: false,
|
|
9
|
+
displayOptions: { show: showForQuoteAppendices }, description: 'Whether to return all results or only up to a given limit',
|
|
10
|
+
routing: {
|
|
11
|
+
send: { paginate: '={{ $value }}' },
|
|
12
|
+
operations: {
|
|
13
|
+
pagination: {
|
|
14
|
+
type: 'generic',
|
|
15
|
+
properties: {
|
|
16
|
+
continue: '={{ $response.body.has_more }}',
|
|
17
|
+
request: { qs: { cursor: '={{ $response.body.next_cursor }}' } },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
displayName: 'Limit', name: 'limitAppendices', type: 'number', typeOptions: { minValue: 1, maxValue: 100 }, default: 20,
|
|
25
|
+
displayOptions: { show: { ...showForQuoteAppendices, returnAllAppendices: [false] } }, description: 'Max number of results to return',
|
|
26
|
+
routing: {
|
|
27
|
+
send: { type: 'query', property: 'limit' },
|
|
28
|
+
output: { maxResults: '={{$value}}' },
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
//# sourceMappingURL=appendices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appendices.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/appendices.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG,EAAE,SAAS,EAAE,CAAC,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AAExE,QAAA,0BAA0B,GAAsB;IAC5D,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,sBAAsB,EAAE,EAAE,WAAW,EAAE,0DAA0D,EAAE;IACjO;QACC,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK;QACvF,cAAc,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,EAAE,WAAW,EAAE,2DAA2D;QAC1H,OAAO,EAAE;YACR,IAAI,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE;YACnC,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,mCAAmC,EAAE,EAAE;qBAChE;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE;QACvH,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,sBAAsB,EAAE,mBAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC;QACrI,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,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.quoteCreateDescription = void 0;
|
|
4
|
+
const showForQuoteCreate = { operation: ['create'], resource: ['quote'] };
|
|
5
|
+
exports.quoteCreateDescription = [
|
|
6
|
+
{ displayName: 'Customer ID', name: 'customerId', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteCreate }, description: 'The ID of the customer for this quote' },
|
|
7
|
+
{ displayName: 'Date', name: 'date', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteCreate }, description: 'Quote date (ISO 8601, e.g. 2026-07-07)', placeholder: '2026-07-07' },
|
|
8
|
+
{ displayName: 'Deadline', name: 'deadline', type: 'string', required: true, default: '', displayOptions: { show: showForQuoteCreate }, description: 'Payment deadline date (ISO 8601, e.g. 2026-08-06)', placeholder: '2026-08-06' },
|
|
9
|
+
{ displayName: 'External Reference', name: 'externalReference', type: 'string', default: '', displayOptions: { show: showForQuoteCreate }, description: 'Your external reference for this quote' },
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Quote Lines', name: 'quoteLines', type: 'fixedCollection', default: {}, required: true,
|
|
12
|
+
displayOptions: { show: showForQuoteCreate }, description: 'Line items for the quote. At least one line is required.',
|
|
13
|
+
options: [{ name: 'line', displayName: 'Quote Line', values: [
|
|
14
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForQuoteCreate }, description: 'Line item label / description' },
|
|
15
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', displayOptions: { show: showForQuoteCreate }, description: 'The ledger account ID (optional)' },
|
|
16
|
+
{ displayName: 'Product ID', name: 'productId', type: 'string', default: '', displayOptions: { show: showForQuoteCreate }, description: 'The ID of the product (optional)' },
|
|
17
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 1, displayOptions: { show: showForQuoteCreate } },
|
|
18
|
+
{ displayName: 'Unit', name: 'unit', type: 'string', default: 'piece', displayOptions: { show: showForQuoteCreate }, description: 'Unit of measurement' },
|
|
19
|
+
{ displayName: 'Unit Price (Excl. Tax)', name: 'unitPrice', type: 'string', default: '', displayOptions: { show: showForQuoteCreate }, description: 'Raw currency unit price excluding tax, as a string' },
|
|
20
|
+
{ displayName: 'VAT Rate', name: 'vatRate', type: 'string', default: 'FR_200', displayOptions: { show: showForQuoteCreate }, description: 'VAT rate identifier' },
|
|
21
|
+
] }],
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/create.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,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,EA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teGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Quote ID',
|
|
7
|
+
name: 'quoteId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['quote'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the quote to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/quote/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACrD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;QACrE,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;CACD,CAAC"}
|