@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 @@
|
|
|
1
|
+
{"version":3,"file":"getCategories.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category-group/getCategories.ts"],"names":[],"mappings":";;;AAEA,MAAM,iCAAiC,GAAG;IACzC,SAAS,EAAE,CAAC,eAAe,CAAC;IAC5B,QAAQ,EAAE,CAAC,eAAe,CAAC;CAC3B,CAAC;AAKW,QAAA,qCAAqC,GAAsB;IACvE;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE;QAC3D,WAAW,EAAE,mEAAmE;KAChF;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE;QAC3D,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;YACD,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE;4BACR,EAAE,EAAE;gCACH,MAAM,EAAE,mCAAmC;6BAC3C;yBACD;qBACD;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,iCAAiC,EAAE,mBAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QAChG,WAAW,EAAE,oCAAoC;QACjD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryGroupDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const getCategories_1 = require("./getCategories");
|
|
7
|
+
const showOnlyForCategoryGroups = { resource: ['categoryGroup'] };
|
|
8
|
+
exports.categoryGroupDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
noDataExpression: true,
|
|
14
|
+
displayOptions: { show: showOnlyForCategoryGroups },
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Get',
|
|
18
|
+
value: 'get',
|
|
19
|
+
action: 'Get a category group',
|
|
20
|
+
description: 'Retrieve a single category group by ID',
|
|
21
|
+
routing: {
|
|
22
|
+
request: { method: 'GET', url: '=/category_groups/{{$parameter.categoryGroupId}}' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'Get Many',
|
|
27
|
+
value: 'getAll',
|
|
28
|
+
action: 'Get category groups',
|
|
29
|
+
description: 'Retrieve a list of category groups',
|
|
30
|
+
routing: { request: { method: 'GET', url: '/category_groups' } },
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'List Categories',
|
|
34
|
+
value: 'getCategories',
|
|
35
|
+
action: 'List categories in a group',
|
|
36
|
+
description: 'Retrieve the categories that belong to a category group',
|
|
37
|
+
routing: {
|
|
38
|
+
request: {
|
|
39
|
+
method: 'GET',
|
|
40
|
+
url: '=/category_groups/{{$parameter.categoryGroupIdForCategories}}/categories',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
default: 'getAll',
|
|
46
|
+
},
|
|
47
|
+
...get_1.categoryGroupGetDescription,
|
|
48
|
+
...getAll_1.categoryGroupGetAllDescription,
|
|
49
|
+
...getCategories_1.categoryGroupGetCategoriesDescription,
|
|
50
|
+
];
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category-group/index.ts"],"names":[],"mappings":";;;AACA,+BAAoD;AACpD,qCAA0D;AAC1D,mDAAwE;AAExE,MAAM,yBAAyB,GAAG,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;AAErD,QAAA,wBAAwB,GAAsB;IAC1D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;QACnD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,sBAAsB;gBAC9B,WAAW,EAAE,wCAAwC;gBACrD,OAAO,EAAE;oBACR,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,kDAAkD,EAAE;iBACnF;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,oCAAoC;gBACjD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,EAAE;aAChE;YACD;gBACC,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,4BAA4B;gBACpC,WAAW,EAAE,yDAAyD;gBACtE,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,0EAA0E;qBAC/E;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,iCAA2B;IAC9B,GAAG,uCAA8B;IACjC,GAAG,qDAAqC;CACxC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.changelogDescription = void 0;
|
|
4
|
+
exports.changelogDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true,
|
|
7
|
+
displayOptions: { show: { resource: ['changelog'] } },
|
|
8
|
+
options: [
|
|
9
|
+
{ name: 'Get Many', value: 'getAll', action: 'Get changelog entries', description: 'Poll for changes on a resource. Use with a Schedule Trigger. Supports: customer_invoices, supplier_invoices.', routing: { request: { method: 'GET', url: '=/changelogs/{{$parameter.changelogResource}}', qs: { start_date: '={{ $parameter.startDate }}' } } } },
|
|
10
|
+
],
|
|
11
|
+
default: 'getAll',
|
|
12
|
+
},
|
|
13
|
+
{ displayName: 'Resource', name: 'changelogResource', type: 'options', required: true, displayOptions: { show: { resource: ['changelog'] } }, default: 'customer_invoices', description: 'The resource to poll for changes', options: [{ name: 'Customer Invoices', value: 'customer_invoices' }, { name: 'Supplier Invoices', value: 'supplier_invoices' }] },
|
|
14
|
+
{ displayName: 'Start Date', name: 'startDate', type: 'string', required: true, displayOptions: { show: { resource: ['changelog'] } }, default: '', description: 'ISO 8601 date-time (e.g. 2026-07-01T00:00:00Z). Changes retained ~4 weeks.', placeholder: '2026-07-01T00:00:00Z' },
|
|
15
|
+
{ displayName: 'Return All', name: 'returnAll', type: 'boolean', displayOptions: { show: { resource: ['changelog'] } }, default: false, description: 'Whether to return all results or only up to a given limit', routing: { send: { paginate: '={{ $value }}' }, operations: { pagination: { type: 'generic', properties: { continue: '={{ $response.body.has_more }}', request: { qs: { cursor: '={{ $response.body.next_cursor }}' } } } } } } },
|
|
16
|
+
{ displayName: 'Limit', name: 'limit', type: 'number', typeOptions: { minValue: 1, maxValue: 1000 }, default: 50, displayOptions: { show: { resource: ['changelog'], returnAll: [false] } }, description: 'Max number of results to return', routing: { send: { type: 'query', property: 'limit' }, output: { maxResults: '={{$value}}' } } },
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/changelog/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACtD;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,WAAW,CAAC,EAAE,EAAE;QACrD,OAAO,EAAE;YACR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Q,EAAE,eAAe,EAAE,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,gCAAgC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,mCAAmC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IACnb,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,EAAE;CAC7U,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commercialDocumentAppendicesDescription = void 0;
|
|
4
|
+
const showForCommercialDocumentAppendices = {
|
|
5
|
+
operation: ['getAppendices'],
|
|
6
|
+
resource: ['commercialDocument'],
|
|
7
|
+
};
|
|
8
|
+
exports.commercialDocumentAppendicesDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Commercial Document ID',
|
|
11
|
+
name: 'commercialDocumentId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCommercialDocumentAppendices },
|
|
16
|
+
description: 'The ID of the commercial document whose appendices should be retrieved',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Return All',
|
|
20
|
+
name: 'returnAllAppendices',
|
|
21
|
+
type: 'boolean',
|
|
22
|
+
default: false,
|
|
23
|
+
displayOptions: { show: showForCommercialDocumentAppendices },
|
|
24
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
25
|
+
routing: {
|
|
26
|
+
send: { paginate: '={{ $value }}' },
|
|
27
|
+
operations: {
|
|
28
|
+
pagination: {
|
|
29
|
+
type: 'generic',
|
|
30
|
+
properties: {
|
|
31
|
+
continue: '={{ $response.body.has_more }}',
|
|
32
|
+
request: { qs: { cursor: '={{ $response.body.next_cursor }}' } },
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Limit',
|
|
40
|
+
name: 'limitAppendices',
|
|
41
|
+
type: 'number',
|
|
42
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
43
|
+
default: 20,
|
|
44
|
+
displayOptions: { show: { ...showForCommercialDocumentAppendices, returnAllAppendices: [false] } },
|
|
45
|
+
description: 'Max number of results to return',
|
|
46
|
+
routing: {
|
|
47
|
+
send: { type: 'query', property: 'limit' },
|
|
48
|
+
output: { maxResults: '={{$value}}' },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
//# sourceMappingURL=appendices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appendices.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/appendices.ts"],"names":[],"mappings":";;;AAEA,MAAM,mCAAmC,GAAG;IAC3C,SAAS,EAAE,CAAC,eAAe,CAAC;IAC5B,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC;AAEW,QAAA,uCAAuC,GAAsB;IACzE;QACC,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE;QAC7D,WAAW,EAAE,wEAAwE;KACrF;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE;QAC7D,WAAW,EAAE,2DAA2D;QACxE,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;QACpB,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,mCAAmC,EAAE,mBAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QAClG,WAAW,EAAE,iCAAiC;QAC9C,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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commercialDocumentGetDescription = void 0;
|
|
4
|
+
exports.commercialDocumentGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Commercial Document ID',
|
|
7
|
+
name: 'commercialDocumentId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['commercialDocument'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the commercial document to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,gCAAgC,GAAsB;IAClE;QACC,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,oBAAoB,CAAC,EAAE,EAAE;QAClF,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+CAA+C;KAC5D;CACD,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commercialDocumentGetAllDescription = void 0;
|
|
4
|
+
const showForCommercialDocumentGetAll = {
|
|
5
|
+
operation: ['getAll'],
|
|
6
|
+
resource: ['commercialDocument'],
|
|
7
|
+
};
|
|
8
|
+
const COMMERCIAL_DOCUMENT_FILTER_FIELDS = [
|
|
9
|
+
{ name: 'ID', value: 'id' },
|
|
10
|
+
{ name: 'Customer ID', value: 'customer_id' },
|
|
11
|
+
{ name: 'Document Type', value: 'document_type' },
|
|
12
|
+
];
|
|
13
|
+
const COMMERCIAL_DOCUMENT_FILTER_OPERATORS = [
|
|
14
|
+
{ name: 'Equals', value: 'eq' },
|
|
15
|
+
{ name: 'Not Equals', value: 'not_eq' },
|
|
16
|
+
{ name: 'Greater Than', value: 'gt' },
|
|
17
|
+
{ name: 'Greater Than or Equal', value: 'gteq' },
|
|
18
|
+
{ name: 'Less Than', value: 'lt' },
|
|
19
|
+
{ name: 'Less Than or Equal', value: 'lteq' },
|
|
20
|
+
{ name: 'In', value: 'in' },
|
|
21
|
+
{ name: 'Not In', value: 'not_in' },
|
|
22
|
+
];
|
|
23
|
+
async function applyCommercialDocumentFilterPreSend(requestOptions) {
|
|
24
|
+
var _a;
|
|
25
|
+
const filters = this.getNodeParameter('filters.filter', []);
|
|
26
|
+
if (!Array.isArray(filters) || filters.length === 0) {
|
|
27
|
+
return requestOptions;
|
|
28
|
+
}
|
|
29
|
+
const payload = filters.map(({ field, operator, value }) => ({
|
|
30
|
+
field,
|
|
31
|
+
operator,
|
|
32
|
+
value: operator === 'in' || operator === 'not_in'
|
|
33
|
+
? value
|
|
34
|
+
.split(',')
|
|
35
|
+
.map((v) => v.trim())
|
|
36
|
+
.filter((v) => v.length > 0)
|
|
37
|
+
: value,
|
|
38
|
+
}));
|
|
39
|
+
requestOptions.qs = (_a = requestOptions.qs) !== null && _a !== void 0 ? _a : {};
|
|
40
|
+
requestOptions.qs.filter = JSON.stringify(payload);
|
|
41
|
+
return requestOptions;
|
|
42
|
+
}
|
|
43
|
+
exports.commercialDocumentGetAllDescription = [
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Filters',
|
|
46
|
+
name: 'filters',
|
|
47
|
+
type: 'fixedCollection',
|
|
48
|
+
default: {},
|
|
49
|
+
placeholder: 'Add Filter',
|
|
50
|
+
description: 'Filter results by field, operator, and value. Not every operator is valid for every field (e.g. Document Type only supports Equals / Not Equals / In / Not In) — check the Pennylane API docs for valid combinations. Document Type values are: proforma, shipping_order, purchasing_order. For the "In" / "Not In" operators, separate multiple values with a comma.',
|
|
51
|
+
typeOptions: { multipleValues: true },
|
|
52
|
+
displayOptions: { show: showForCommercialDocumentGetAll },
|
|
53
|
+
options: [
|
|
54
|
+
{
|
|
55
|
+
name: 'filter',
|
|
56
|
+
displayName: 'Filter Condition',
|
|
57
|
+
values: [
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Field',
|
|
60
|
+
name: 'field',
|
|
61
|
+
type: 'options',
|
|
62
|
+
options: COMMERCIAL_DOCUMENT_FILTER_FIELDS,
|
|
63
|
+
default: 'id',
|
|
64
|
+
description: 'The field to filter on',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Operator',
|
|
68
|
+
name: 'operator',
|
|
69
|
+
type: 'options',
|
|
70
|
+
options: COMMERCIAL_DOCUMENT_FILTER_OPERATORS,
|
|
71
|
+
default: 'eq',
|
|
72
|
+
description: 'Filter operator (not every operator is valid for every field)',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Value',
|
|
76
|
+
name: 'value',
|
|
77
|
+
type: 'string',
|
|
78
|
+
default: '',
|
|
79
|
+
description: 'The filter value. For "In" / "Not In", separate multiple values with a comma.',
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
routing: {
|
|
85
|
+
send: {
|
|
86
|
+
preSend: [applyCommercialDocumentFilterPreSend],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: 'Sort',
|
|
92
|
+
name: 'sort',
|
|
93
|
+
type: 'options',
|
|
94
|
+
default: '-id',
|
|
95
|
+
displayOptions: { show: showForCommercialDocumentGetAll },
|
|
96
|
+
description: 'Sort order for the results. Only ID sorting is currently supported by the API.',
|
|
97
|
+
options: [
|
|
98
|
+
{ name: 'ID Ascending', value: 'id' },
|
|
99
|
+
{ name: 'ID Descending', value: '-id' },
|
|
100
|
+
],
|
|
101
|
+
routing: {
|
|
102
|
+
send: {
|
|
103
|
+
type: 'query',
|
|
104
|
+
property: 'sort',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
displayName: 'Return All',
|
|
110
|
+
name: 'returnAll',
|
|
111
|
+
type: 'boolean',
|
|
112
|
+
default: false,
|
|
113
|
+
displayOptions: { show: showForCommercialDocumentGetAll },
|
|
114
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
115
|
+
routing: {
|
|
116
|
+
send: {
|
|
117
|
+
paginate: '={{ $value }}',
|
|
118
|
+
},
|
|
119
|
+
operations: {
|
|
120
|
+
pagination: {
|
|
121
|
+
type: 'generic',
|
|
122
|
+
properties: {
|
|
123
|
+
continue: '={{ $response.body.has_more }}',
|
|
124
|
+
request: {
|
|
125
|
+
qs: {
|
|
126
|
+
cursor: '={{ $response.body.next_cursor }}',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
displayName: 'Limit',
|
|
136
|
+
name: 'limit',
|
|
137
|
+
type: 'number',
|
|
138
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
139
|
+
default: 50,
|
|
140
|
+
displayOptions: { show: { ...showForCommercialDocumentGetAll, returnAll: [false] } },
|
|
141
|
+
description: 'Max number of results to return',
|
|
142
|
+
routing: {
|
|
143
|
+
send: {
|
|
144
|
+
type: 'query',
|
|
145
|
+
property: 'limit',
|
|
146
|
+
},
|
|
147
|
+
output: {
|
|
148
|
+
maxResults: '={{$value}}',
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
];
|
|
153
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,+BAA+B,GAAG;IACvC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC;AAUF,MA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AAE,IAAI,EAAE,EAAE,GAAG,+BAA+B,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QACpF,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commercialDocumentDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const invoice_line_sections_1 = require("./invoice-line-sections");
|
|
7
|
+
const invoice_lines_1 = require("./invoice-lines");
|
|
8
|
+
const appendices_1 = require("./appendices");
|
|
9
|
+
const upload_appendix_1 = require("./upload-appendix");
|
|
10
|
+
const showOnlyForCommercialDocuments = { resource: ['commercialDocument'] };
|
|
11
|
+
exports.commercialDocumentDescription = [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Operation',
|
|
14
|
+
name: 'operation',
|
|
15
|
+
type: 'options',
|
|
16
|
+
noDataExpression: true,
|
|
17
|
+
displayOptions: { show: showOnlyForCommercialDocuments },
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
name: 'Get',
|
|
21
|
+
value: 'get',
|
|
22
|
+
action: 'Get a commercial document',
|
|
23
|
+
description: 'Retrieve a single commercial document by ID',
|
|
24
|
+
routing: {
|
|
25
|
+
request: { method: 'GET', url: '=/commercial_documents/{{$parameter.commercialDocumentId}}' },
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Many',
|
|
30
|
+
value: 'getAll',
|
|
31
|
+
action: 'Get commercial documents',
|
|
32
|
+
description: 'Retrieve a list of commercial documents (proforma, shipping order, purchasing order) with optional filters',
|
|
33
|
+
routing: { request: { method: 'GET', url: '/commercial_documents' } },
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'List Invoice Line Sections',
|
|
37
|
+
value: 'getInvoiceLineSections',
|
|
38
|
+
action: 'List invoice line sections',
|
|
39
|
+
description: 'Retrieve the invoice line sections of a commercial document',
|
|
40
|
+
routing: {
|
|
41
|
+
request: {
|
|
42
|
+
method: 'GET',
|
|
43
|
+
url: '=/commercial_documents/{{$parameter.commercialDocumentId}}/invoice_line_sections',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'List Invoice Lines',
|
|
49
|
+
value: 'getInvoiceLines',
|
|
50
|
+
action: 'List invoice lines',
|
|
51
|
+
description: 'Retrieve the invoice lines of a commercial document',
|
|
52
|
+
routing: {
|
|
53
|
+
request: {
|
|
54
|
+
method: 'GET',
|
|
55
|
+
url: '=/commercial_documents/{{$parameter.commercialDocumentId}}/invoice_lines',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'List Appendices',
|
|
61
|
+
value: 'getAppendices',
|
|
62
|
+
action: 'List appendices',
|
|
63
|
+
description: 'Retrieve the appendices (attached files) of a commercial document',
|
|
64
|
+
routing: {
|
|
65
|
+
request: {
|
|
66
|
+
method: 'GET',
|
|
67
|
+
url: '=/commercial_documents/{{$parameter.commercialDocumentId}}/appendices',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Upload Appendix',
|
|
73
|
+
value: 'uploadAppendix',
|
|
74
|
+
action: 'Upload an appendix',
|
|
75
|
+
description: 'Attach a file (PDF or image) as an appendix to a commercial document',
|
|
76
|
+
routing: {
|
|
77
|
+
request: {
|
|
78
|
+
method: 'POST',
|
|
79
|
+
url: '=/commercial_documents/{{$parameter.commercialDocumentId}}/appendices',
|
|
80
|
+
},
|
|
81
|
+
send: { preSend: [upload_appendix_1.uploadCommercialDocumentAppendixPreSend] },
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
default: 'getAll',
|
|
86
|
+
},
|
|
87
|
+
...get_1.commercialDocumentGetDescription,
|
|
88
|
+
...getAll_1.commercialDocumentGetAllDescription,
|
|
89
|
+
...invoice_line_sections_1.commercialDocumentInvoiceLineSectionsDescription,
|
|
90
|
+
...invoice_lines_1.commercialDocumentInvoiceLinesDescription,
|
|
91
|
+
...appendices_1.commercialDocumentAppendicesDescription,
|
|
92
|
+
...upload_appendix_1.commercialDocumentUploadAppendixDescription,
|
|
93
|
+
];
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/index.ts"],"names":[],"mappings":";;;AACA,+BAAyD;AACzD,qCAA+D;AAC/D,mEAA2F;AAC3F,mDAA4E;AAC5E,6CAAuE;AACvE,uDAG2B;AAE3B,MAAM,8BAA8B,GAAG,EAAE,QAAQ,EAAE,CAAC,oBAAoB,CAAC,EAAE,CAAC;AAE/D,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;QACxD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,2BAA2B;gBACnC,WAAW,EAAE,6CAA6C;gBAC1D,OAAO,EAAE;oBACR,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,4DAA4D,EAAE;iBAC7F;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,0BAA0B;gBAClC,WA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2C;CAC9C,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commercialDocumentInvoiceLineSectionsDescription = void 0;
|
|
4
|
+
const showForCommercialDocumentInvoiceLineSections = {
|
|
5
|
+
operation: ['getInvoiceLineSections'],
|
|
6
|
+
resource: ['commercialDocument'],
|
|
7
|
+
};
|
|
8
|
+
exports.commercialDocumentInvoiceLineSectionsDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Commercial Document ID',
|
|
11
|
+
name: 'commercialDocumentId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCommercialDocumentInvoiceLineSections },
|
|
16
|
+
description: 'The ID of the commercial document whose invoice line sections should be retrieved',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Sort',
|
|
20
|
+
name: 'sortInvoiceLineSections',
|
|
21
|
+
type: 'options',
|
|
22
|
+
default: '-id',
|
|
23
|
+
displayOptions: { show: showForCommercialDocumentInvoiceLineSections },
|
|
24
|
+
description: 'Sort order for the results',
|
|
25
|
+
options: [
|
|
26
|
+
{ name: 'ID Ascending', value: 'id' },
|
|
27
|
+
{ name: 'ID Descending', value: '-id' },
|
|
28
|
+
],
|
|
29
|
+
routing: { send: { type: 'query', property: 'sort' } },
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Return All',
|
|
33
|
+
name: 'returnAllInvoiceLineSections',
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
default: false,
|
|
36
|
+
displayOptions: { show: showForCommercialDocumentInvoiceLineSections },
|
|
37
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
38
|
+
routing: {
|
|
39
|
+
send: { paginate: '={{ $value }}' },
|
|
40
|
+
operations: {
|
|
41
|
+
pagination: {
|
|
42
|
+
type: 'generic',
|
|
43
|
+
properties: {
|
|
44
|
+
continue: '={{ $response.body.has_more }}',
|
|
45
|
+
request: { qs: { cursor: '={{ $response.body.next_cursor }}' } },
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
displayName: 'Limit',
|
|
53
|
+
name: 'limitInvoiceLineSections',
|
|
54
|
+
type: 'number',
|
|
55
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
56
|
+
default: 20,
|
|
57
|
+
displayOptions: { show: { ...showForCommercialDocumentInvoiceLineSections, returnAllInvoiceLineSections: [false] } },
|
|
58
|
+
description: 'Max number of results to return',
|
|
59
|
+
routing: {
|
|
60
|
+
send: { type: 'query', property: 'limit' },
|
|
61
|
+
output: { maxResults: '={{$value}}' },
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
//# sourceMappingURL=invoice-line-sections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-line-sections.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/invoice-line-sections.ts"],"names":[],"mappings":";;;AAEA,MAAM,4CAA4C,GAAG;IACpD,SAAS,EAAE,CAAC,wBAAwB,CAAC;IACrC,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC;AAEW,QAAA,gDAAgD,GAAsB;IAClF;QACC,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE;QACtE,WAAW,EAAE,mFAAmF;KAChG;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE;QACt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
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commercialDocumentInvoiceLinesDescription = void 0;
|
|
4
|
+
const showForCommercialDocumentInvoiceLines = {
|
|
5
|
+
operation: ['getInvoiceLines'],
|
|
6
|
+
resource: ['commercialDocument'],
|
|
7
|
+
};
|
|
8
|
+
exports.commercialDocumentInvoiceLinesDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Commercial Document ID',
|
|
11
|
+
name: 'commercialDocumentId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCommercialDocumentInvoiceLines },
|
|
16
|
+
description: 'The ID of the commercial document whose invoice lines should be retrieved',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Sort',
|
|
20
|
+
name: 'sortInvoiceLines',
|
|
21
|
+
type: 'options',
|
|
22
|
+
default: '-id',
|
|
23
|
+
displayOptions: { show: showForCommercialDocumentInvoiceLines },
|
|
24
|
+
description: 'Sort order for the results',
|
|
25
|
+
options: [
|
|
26
|
+
{ name: 'ID Ascending', value: 'id' },
|
|
27
|
+
{ name: 'ID Descending', value: '-id' },
|
|
28
|
+
],
|
|
29
|
+
routing: { send: { type: 'query', property: 'sort' } },
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Return All',
|
|
33
|
+
name: 'returnAllInvoiceLines',
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
default: false,
|
|
36
|
+
displayOptions: { show: showForCommercialDocumentInvoiceLines },
|
|
37
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
38
|
+
routing: {
|
|
39
|
+
send: { paginate: '={{ $value }}' },
|
|
40
|
+
operations: {
|
|
41
|
+
pagination: {
|
|
42
|
+
type: 'generic',
|
|
43
|
+
properties: {
|
|
44
|
+
continue: '={{ $response.body.has_more }}',
|
|
45
|
+
request: { qs: { cursor: '={{ $response.body.next_cursor }}' } },
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
displayName: 'Limit',
|
|
53
|
+
name: 'limitInvoiceLines',
|
|
54
|
+
type: 'number',
|
|
55
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
56
|
+
default: 20,
|
|
57
|
+
displayOptions: { show: { ...showForCommercialDocumentInvoiceLines, returnAllInvoiceLines: [false] } },
|
|
58
|
+
description: 'Max number of results to return',
|
|
59
|
+
routing: {
|
|
60
|
+
send: { type: 'query', property: 'limit' },
|
|
61
|
+
output: { maxResults: '={{$value}}' },
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
//# sourceMappingURL=invoice-lines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-lines.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/commercial-document/invoice-lines.ts"],"names":[],"mappings":";;;AAEA,MAAM,qCAAqC,GAAG;IAC7C,SAAS,EAAE,CAAC,iBAAiB,CAAC;IAC9B,QAAQ,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC;AAEW,QAAA,yCAAyC,GAAsB;IAC3E;QACC,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qCAAqC,EAAE;QAC/D,WAAW,EAAE,2EAA2E;KACxF;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,qCAAqC,EAAE;QAC/D,WAAW,EAAE,4BAA4B;QACzC,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;QACzB,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,qCAAqC,EAAE;QAC/D,WAAW,EAAE,2DAA2D;QACxE,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;QACpB,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,qCAAqC,EAAE,qBAAqB,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QACtG,WAAW,EAAE,iCAAiC;QAC9C,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,3 @@
|
|
|
1
|
+
import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare function uploadCommercialDocumentAppendixPreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
3
|
+
export declare const commercialDocumentUploadAppendixDescription: INodeProperties[];
|