@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,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.billingSubscriptionUpdateDescription = void 0;
|
|
4
|
+
const showForBillingSubscriptionUpdate = { operation: ['update'], resource: ['billingSubscription'] };
|
|
5
|
+
const showForBillingSubscriptionUpdateEmailMode = { operation: ['update'], resource: ['billingSubscription'], mode: ['email'] };
|
|
6
|
+
const showForBillingSubscriptionUpdateRecurringRule = { operation: ['update'], resource: ['billingSubscription'], recurringRuleType: ['monthly', 'weekly', 'yearly'] };
|
|
7
|
+
const showForBillingSubscriptionUpdateMonthly = { operation: ['update'], resource: ['billingSubscription'], recurringRuleType: ['monthly'] };
|
|
8
|
+
const showForBillingSubscriptionUpdateWeekly = { operation: ['update'], resource: ['billingSubscription'], recurringRuleType: ['weekly'] };
|
|
9
|
+
exports.billingSubscriptionUpdateDescription = [
|
|
10
|
+
{ displayName: 'Subscription ID', name: 'subscriptionIdToUpdate', type: 'string', required: true, default: '', displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'The ID of the billing subscription to update' },
|
|
11
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'Optional internal label for the subscription. Leave empty to keep unchanged.' },
|
|
12
|
+
{ displayName: 'Customer ID', name: 'customerId', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'The ID of the customer for this subscription. Leave empty to keep unchanged.' },
|
|
13
|
+
{
|
|
14
|
+
displayName: 'Mode', name: 'mode', type: 'options', default: '',
|
|
15
|
+
displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'How generated invoices are handled. Leave as "Keep Current" to leave unchanged.',
|
|
16
|
+
options: [
|
|
17
|
+
{ name: 'Keep Current', value: '' },
|
|
18
|
+
{ name: 'Awaiting Validation', value: 'awaiting_validation', description: 'Generated invoices are created as drafts awaiting manual validation' },
|
|
19
|
+
{ name: 'Email', value: 'email', description: 'Generated invoices are automatically finalized and emailed to recipients' },
|
|
20
|
+
{ name: 'Finalized', value: 'finalized', description: 'Generated invoices are automatically finalized' },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{ displayName: 'Email Recipients', name: 'modeEmailRecipients', type: 'string', default: '', placeholder: 'name@email.com, other@email.com', displayOptions: { show: showForBillingSubscriptionUpdateEmailMode }, description: 'Comma-separated list of email addresses that generated invoices are sent to' },
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Payment Conditions', name: 'paymentConditions', type: 'options', default: '',
|
|
26
|
+
displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'Payment conditions applied to generated invoices. Leave as "Keep Current" to leave unchanged.',
|
|
27
|
+
options: [
|
|
28
|
+
{ name: '15 Days', value: '15_days' },
|
|
29
|
+
{ name: '30 Days', value: '30_days' },
|
|
30
|
+
{ name: '30 Days End of Month', value: '30_days_end_of_month' },
|
|
31
|
+
{ name: '45 Days', value: '45_days' },
|
|
32
|
+
{ name: '45 Days End of Month', value: '45_days_end_of_month' },
|
|
33
|
+
{ name: '60 Days', value: '60_days' },
|
|
34
|
+
{ name: '7 Days', value: '7_days' },
|
|
35
|
+
{ name: 'Keep Current', value: '' },
|
|
36
|
+
{ name: 'Upon Receipt', value: 'upon_receipt' },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Payment Method', name: 'paymentMethod', type: 'options', default: '',
|
|
41
|
+
displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'Payment method applied to generated invoices. Leave as "Keep Current" to leave unchanged.',
|
|
42
|
+
options: [
|
|
43
|
+
{ name: 'Keep Current', value: '' },
|
|
44
|
+
{ name: 'GoCardless Direct Debit', value: 'gocardless_direct_debit' },
|
|
45
|
+
{ name: 'Offline', value: 'offline' },
|
|
46
|
+
{ name: 'Pro Account SEPA Core', value: 'pro_account_sepa_core' },
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
displayName: 'Rule Type', name: 'recurringRuleType', type: 'options', default: '',
|
|
51
|
+
displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'How often invoices are generated. Leave as "Keep Current" to leave the recurring rule unchanged.',
|
|
52
|
+
options: [
|
|
53
|
+
{ name: 'Keep Current', value: '' },
|
|
54
|
+
{ name: 'Monthly', value: 'monthly' },
|
|
55
|
+
{ name: 'Weekly', value: 'weekly' },
|
|
56
|
+
{ name: 'Yearly', value: 'yearly' },
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{ displayName: 'Interval', name: 'recurringRuleInterval', type: 'number', default: 1, displayOptions: { show: showForBillingSubscriptionUpdateRecurringRule }, description: 'Number of Rule Type units between each invoice generation (e.g. 2 with Monthly means every 2 months)' },
|
|
60
|
+
{ displayName: 'Count', name: 'recurringRuleCount', type: 'number', default: 0, displayOptions: { show: showForBillingSubscriptionUpdateRecurringRule }, description: 'Number of occurrences before the recurrence stops. Leave at 0 to keep unchanged / unlimited.' },
|
|
61
|
+
{ displayName: 'Day of Month', name: 'recurringRuleDayOfMonth', type: 'number', typeOptions: { minValue: 1, maxValue: 31 }, default: 0, displayOptions: { show: showForBillingSubscriptionUpdateMonthly }, description: 'Day of the month (1-31) on which invoices are generated. Leave at 0 to keep unchanged.' },
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Day of Week', name: 'recurringRuleDayOfWeek', type: 'options', default: '',
|
|
64
|
+
displayOptions: { show: showForBillingSubscriptionUpdateWeekly }, description: 'Day of the week on which invoices are generated. Leave as "Keep Current" to leave unchanged.',
|
|
65
|
+
options: [
|
|
66
|
+
{ name: 'Friday', value: 'friday' },
|
|
67
|
+
{ name: 'Keep Current', value: '' },
|
|
68
|
+
{ name: 'Monday', value: 'monday' },
|
|
69
|
+
{ name: 'Saturday', value: 'saturday' },
|
|
70
|
+
{ name: 'Sunday', value: 'sunday' },
|
|
71
|
+
{ name: 'Thursday', value: 'thursday' },
|
|
72
|
+
{ name: 'Tuesday', value: 'tuesday' },
|
|
73
|
+
{ name: 'Wednesday', value: 'wednesday' },
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
{ displayName: 'PDF Free Text', name: 'pdfInvoiceFreeText', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'Free text to include on generated PDF invoices. Leave empty to keep unchanged.' },
|
|
77
|
+
{ displayName: 'PDF Subject', name: 'pdfInvoiceSubject', type: 'string', default: '', displayOptions: { show: showForBillingSubscriptionUpdate }, description: 'Subject line to include on generated PDF invoices. Leave empty to keep unchanged.' },
|
|
78
|
+
];
|
|
79
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/billing-subscription/update.ts"],"names":[],"mappings":";;;AAEA,MAAM,gCAAgC,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,CAAC;AACtG,MAAM,yCAAyC,GAAG,EAAE,SAAS,EAAE,CAA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AAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;SACzC;KACD;IACD,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,gFAAgF,EAAE;IACpP,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE,EAAE,WAAW,EAAE,mFAAmF,EAAE;CACpP,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryCreateDescription = void 0;
|
|
4
|
+
const showForCategoryCreate = {
|
|
5
|
+
operation: ['create'],
|
|
6
|
+
resource: ['category'],
|
|
7
|
+
};
|
|
8
|
+
exports.categoryCreateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Label',
|
|
11
|
+
name: 'label',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCategoryCreate },
|
|
16
|
+
description: "Category's label",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Category Group ID',
|
|
20
|
+
name: 'categoryGroupId',
|
|
21
|
+
type: 'string',
|
|
22
|
+
required: true,
|
|
23
|
+
default: '',
|
|
24
|
+
displayOptions: { show: showForCategoryCreate },
|
|
25
|
+
description: 'The ID of the category group this category belongs to',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Direction',
|
|
29
|
+
name: 'direction',
|
|
30
|
+
type: 'options',
|
|
31
|
+
default: '',
|
|
32
|
+
displayOptions: { show: showForCategoryCreate },
|
|
33
|
+
description: 'Only applicable for treasury categories. Defaults to Cash Out when left unset.',
|
|
34
|
+
options: [
|
|
35
|
+
{ name: 'Not Set', value: '' },
|
|
36
|
+
{ name: 'Cash In', value: 'cash_in' },
|
|
37
|
+
{ name: 'Cash Out', value: 'cash_out' },
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Analytical Code',
|
|
42
|
+
name: 'analyticalCode',
|
|
43
|
+
type: 'string',
|
|
44
|
+
default: '',
|
|
45
|
+
displayOptions: { show: showForCategoryCreate },
|
|
46
|
+
description: 'Optional analytical code identifier for this category',
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category/create.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACtB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,kBAAkB;KAC/B;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,uDAAuD;KACpE;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,gFAAgF;QAC7F,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;YAC9B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACrC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;SACvC;KACD;IACD;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,uDAAuD;KACpE;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryGetDescription = void 0;
|
|
4
|
+
exports.categoryGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Category ID',
|
|
7
|
+
name: 'categoryId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['category'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the category to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE;QACxE,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oCAAoC;KACjD;CACD,CAAC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryGetAllDescription = void 0;
|
|
4
|
+
const showForCategoryGetAll = {
|
|
5
|
+
operation: ['getAll'],
|
|
6
|
+
resource: ['category'],
|
|
7
|
+
};
|
|
8
|
+
const CATEGORY_FILTER_FIELDS = [
|
|
9
|
+
{ name: 'ID', value: 'id' },
|
|
10
|
+
{ name: 'Label', value: 'label' },
|
|
11
|
+
{ name: 'Category Group ID', value: 'category_group_id' },
|
|
12
|
+
{ name: 'Analytical Code', value: 'analytical_code' },
|
|
13
|
+
];
|
|
14
|
+
const CATEGORY_FILTER_OPERATORS = [
|
|
15
|
+
{ name: 'Equals', value: 'eq' },
|
|
16
|
+
{ name: 'Not Equals', value: 'not_eq' },
|
|
17
|
+
{ name: 'Greater Than', value: 'gt' },
|
|
18
|
+
{ name: 'Greater Than or Equal', value: 'gteq' },
|
|
19
|
+
{ name: 'Less Than', value: 'lt' },
|
|
20
|
+
{ name: 'Less Than or Equal', value: 'lteq' },
|
|
21
|
+
{ name: 'In', value: 'in' },
|
|
22
|
+
{ name: 'Not In', value: 'not_in' },
|
|
23
|
+
{ name: 'Starts With', value: 'start_with' },
|
|
24
|
+
];
|
|
25
|
+
async function applyCategoryFilterPreSend(requestOptions) {
|
|
26
|
+
var _a;
|
|
27
|
+
const filters = this.getNodeParameter('filters.filter', []);
|
|
28
|
+
if (!Array.isArray(filters) || filters.length === 0) {
|
|
29
|
+
return requestOptions;
|
|
30
|
+
}
|
|
31
|
+
const payload = filters.map(({ field, operator, value }) => ({
|
|
32
|
+
field,
|
|
33
|
+
operator,
|
|
34
|
+
value: operator === 'in' || operator === 'not_in'
|
|
35
|
+
? value
|
|
36
|
+
.split(',')
|
|
37
|
+
.map((v) => v.trim())
|
|
38
|
+
.filter((v) => v.length > 0)
|
|
39
|
+
: value,
|
|
40
|
+
}));
|
|
41
|
+
requestOptions.qs = (_a = requestOptions.qs) !== null && _a !== void 0 ? _a : {};
|
|
42
|
+
requestOptions.qs.filter = JSON.stringify(payload);
|
|
43
|
+
return requestOptions;
|
|
44
|
+
}
|
|
45
|
+
exports.categoryGetAllDescription = [
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Filters',
|
|
48
|
+
name: 'filters',
|
|
49
|
+
type: 'fixedCollection',
|
|
50
|
+
default: {},
|
|
51
|
+
placeholder: 'Add Filter',
|
|
52
|
+
description: 'Filter results by field, operator, and value. Not every operator is valid for every field (e.g. Label only supports Starts With / Equals / In) — check the Pennylane API docs for valid combinations. For the "In" / "Not In" operators, separate multiple values with a comma.',
|
|
53
|
+
typeOptions: { multipleValues: true },
|
|
54
|
+
displayOptions: { show: showForCategoryGetAll },
|
|
55
|
+
options: [
|
|
56
|
+
{
|
|
57
|
+
name: 'filter',
|
|
58
|
+
displayName: 'Filter Condition',
|
|
59
|
+
values: [
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Field',
|
|
62
|
+
name: 'field',
|
|
63
|
+
type: 'options',
|
|
64
|
+
options: CATEGORY_FILTER_FIELDS,
|
|
65
|
+
default: 'id',
|
|
66
|
+
description: 'The field to filter on',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
displayName: 'Operator',
|
|
70
|
+
name: 'operator',
|
|
71
|
+
type: 'options',
|
|
72
|
+
options: CATEGORY_FILTER_OPERATORS,
|
|
73
|
+
default: 'eq',
|
|
74
|
+
description: 'Filter operator (not every operator is valid for every field)',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Value',
|
|
78
|
+
name: 'value',
|
|
79
|
+
type: 'string',
|
|
80
|
+
default: '',
|
|
81
|
+
description: 'The filter value. For "In" / "Not In", separate multiple values with a comma.',
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
routing: {
|
|
87
|
+
send: {
|
|
88
|
+
preSend: [applyCategoryFilterPreSend],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
displayName: 'Sort',
|
|
94
|
+
name: 'sort',
|
|
95
|
+
type: 'options',
|
|
96
|
+
default: '-id',
|
|
97
|
+
displayOptions: { show: showForCategoryGetAll },
|
|
98
|
+
description: 'Sort order for the results. Only ID sorting is currently supported by the API.',
|
|
99
|
+
options: [
|
|
100
|
+
{ name: 'ID Ascending', value: 'id' },
|
|
101
|
+
{ name: 'ID Descending', value: '-id' },
|
|
102
|
+
],
|
|
103
|
+
routing: {
|
|
104
|
+
send: {
|
|
105
|
+
type: 'query',
|
|
106
|
+
property: 'sort',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Return All',
|
|
112
|
+
name: 'returnAll',
|
|
113
|
+
type: 'boolean',
|
|
114
|
+
default: false,
|
|
115
|
+
displayOptions: { show: showForCategoryGetAll },
|
|
116
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
117
|
+
routing: {
|
|
118
|
+
send: {
|
|
119
|
+
paginate: '={{ $value }}',
|
|
120
|
+
},
|
|
121
|
+
operations: {
|
|
122
|
+
pagination: {
|
|
123
|
+
type: 'generic',
|
|
124
|
+
properties: {
|
|
125
|
+
continue: '={{ $response.body.has_more }}',
|
|
126
|
+
request: {
|
|
127
|
+
qs: {
|
|
128
|
+
cursor: '={{ $response.body.next_cursor }}',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
displayName: 'Limit',
|
|
138
|
+
name: 'limit',
|
|
139
|
+
type: 'number',
|
|
140
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
141
|
+
default: 50,
|
|
142
|
+
displayOptions: { show: { ...showForCategoryGetAll, returnAll: [false] } },
|
|
143
|
+
description: 'Max number of results to return',
|
|
144
|
+
routing: {
|
|
145
|
+
send: {
|
|
146
|
+
type: 'query',
|
|
147
|
+
property: 'limit',
|
|
148
|
+
},
|
|
149
|
+
output: {
|
|
150
|
+
maxResults: '={{$value}}',
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
];
|
|
155
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACtB,CAAC;AASF,MAAM,sBAAsB,GAA2C;IACtE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;IAC3B,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IACjC,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;IACzD,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE;CACrD,CAAC;AAEF,MAAM,yBAAyB,GAA2C;IACzE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE;IAC/B,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE;IACvC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE;IACrC,EAAE,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE;IAChD,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE;IAClC,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,EAAE;IA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b,QAAQ,EAAE,MAAM;aAChB;SACD;KACD;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;YACD,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE;4BACR,EAAE,EAAE;gCACH,MAAM,EAAE,mCAAmC;6BAC3C;yBACD;qBACD;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,qBAAqB,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QAC1E,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,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const create_1 = require("./create");
|
|
7
|
+
const update_1 = require("./update");
|
|
8
|
+
const showOnlyForCategories = { resource: ['category'] };
|
|
9
|
+
exports.categoryDescription = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Operation',
|
|
12
|
+
name: 'operation',
|
|
13
|
+
type: 'options',
|
|
14
|
+
noDataExpression: true,
|
|
15
|
+
displayOptions: { show: showOnlyForCategories },
|
|
16
|
+
options: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Get',
|
|
19
|
+
value: 'get',
|
|
20
|
+
action: 'Get a category',
|
|
21
|
+
description: 'Retrieve a single category by ID',
|
|
22
|
+
routing: {
|
|
23
|
+
request: { method: 'GET', url: '=/categories/{{$parameter.categoryId}}' },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Get Many',
|
|
28
|
+
value: 'getAll',
|
|
29
|
+
action: 'Get categories',
|
|
30
|
+
description: 'Retrieve a list of categories with optional filters',
|
|
31
|
+
routing: { request: { method: 'GET', url: '/categories' } },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Create',
|
|
35
|
+
value: 'create',
|
|
36
|
+
action: 'Create a category',
|
|
37
|
+
description: 'Create a new category',
|
|
38
|
+
routing: {
|
|
39
|
+
request: {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
url: '/categories',
|
|
42
|
+
body: {
|
|
43
|
+
label: '={{$parameter.label}}',
|
|
44
|
+
category_group_id: '={{$parameter.categoryGroupId}}',
|
|
45
|
+
direction: '={{ $parameter.direction ? $parameter.direction : undefined }}',
|
|
46
|
+
analytical_code: '={{ $parameter.analyticalCode ? $parameter.analyticalCode : undefined }}',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'Update',
|
|
53
|
+
value: 'update',
|
|
54
|
+
action: 'Update a category',
|
|
55
|
+
description: 'Update an existing category',
|
|
56
|
+
routing: {
|
|
57
|
+
request: {
|
|
58
|
+
method: 'PUT',
|
|
59
|
+
url: '=/categories/{{$parameter.categoryIdToUpdate}}',
|
|
60
|
+
body: {
|
|
61
|
+
label: '={{ $parameter.label ? $parameter.label : undefined }}',
|
|
62
|
+
direction: '={{ $parameter.direction ? $parameter.direction : undefined }}',
|
|
63
|
+
analytical_code: '={{ $parameter.analyticalCode ? $parameter.analyticalCode : undefined }}',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
default: 'getAll',
|
|
70
|
+
},
|
|
71
|
+
...get_1.categoryGetDescription,
|
|
72
|
+
...getAll_1.categoryGetAllDescription,
|
|
73
|
+
...create_1.categoryCreateDescription,
|
|
74
|
+
...update_1.categoryUpdateDescription,
|
|
75
|
+
];
|
|
76
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category/index.ts"],"names":[],"mappings":";;;AACA,+BAA+C;AAC/C,qCAAqD;AACrD,qCAAqD;AACrD,qCAAqD;AAErD,MAAM,qBAAqB,GAAG,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;AAE5C,QAAA,mBAAmB,GAAsB;IACrD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,kCAAkC;gBAC/C,OAAO,EAAE;oBACR,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,wCAAwC,EAAE;iBACzE;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,qDAAqD;gBAClE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,EAAE;aAC3D;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,WAAW,EAAE,uBAAuB;gBACpC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,aAAa;wBAClB,IAAI,EAAE;4BACL,KAAK,EAAE,uBAAuB;4BAC9B,iBAAiB,EAAE,iCAAiC;4BACpD,SAAS,EAAE,gEAAgE;4BAC3E,eAAe,EAAE,0EAA0E;yBAC3F;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,WAAW,EAAE,6BAA6B;gBAC1C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,gDAAgD;wBACrD,IAAI,EAAE;4BACL,KAAK,EAAE,wDAAwD;4BAC/D,SAAS,EAAE,gEAAgE;4BAC3E,eAAe,EAAE,0EAA0E;yBAC3F;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,4BAAsB;IACzB,GAAG,kCAAyB;IAC5B,GAAG,kCAAyB;IAC5B,GAAG,kCAAyB;CAC5B,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryUpdateDescription = void 0;
|
|
4
|
+
const showForCategoryUpdate = {
|
|
5
|
+
operation: ['update'],
|
|
6
|
+
resource: ['category'],
|
|
7
|
+
};
|
|
8
|
+
exports.categoryUpdateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Category ID',
|
|
11
|
+
name: 'categoryIdToUpdate',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCategoryUpdate },
|
|
16
|
+
description: 'The ID of the category to update',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Label',
|
|
20
|
+
name: 'label',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
displayOptions: { show: showForCategoryUpdate },
|
|
24
|
+
description: "Category's label. Leave blank to keep the current label.",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Direction',
|
|
28
|
+
name: 'direction',
|
|
29
|
+
type: 'options',
|
|
30
|
+
default: '',
|
|
31
|
+
displayOptions: { show: showForCategoryUpdate },
|
|
32
|
+
description: 'Only applicable for treasury categories. Leave as "Not Set" to keep the current value.',
|
|
33
|
+
options: [
|
|
34
|
+
{ name: 'Not Set', value: '' },
|
|
35
|
+
{ name: 'Cash In', value: 'cash_in' },
|
|
36
|
+
{ name: 'Cash Out', value: 'cash_out' },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Analytical Code',
|
|
41
|
+
name: 'analyticalCode',
|
|
42
|
+
type: 'string',
|
|
43
|
+
default: '',
|
|
44
|
+
displayOptions: { show: showForCategoryUpdate },
|
|
45
|
+
description: 'Optional analytical code identifier. Leave blank to keep the current value.',
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category/update.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACtB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,kCAAkC;KAC/C;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,0DAA0D;KACvE;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EACV,wFAAwF;QACzF,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;YAC9B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACrC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;SACvC;KACD;IACD;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/C,WAAW,EAAE,6EAA6E;KAC1F;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryGroupGetDescription = void 0;
|
|
4
|
+
exports.categoryGroupGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Category Group ID',
|
|
7
|
+
name: 'categoryGroupId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['categoryGroup'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the category group to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category-group/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,2BAA2B,GAAsB;IAC7D;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;QAC7E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,0CAA0C;KACvD;CACD,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryGroupGetAllDescription = void 0;
|
|
4
|
+
const showForCategoryGroupGetAll = {
|
|
5
|
+
operation: ['getAll'],
|
|
6
|
+
resource: ['categoryGroup'],
|
|
7
|
+
};
|
|
8
|
+
exports.categoryGroupGetAllDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Return All',
|
|
11
|
+
name: 'returnAll',
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
default: false,
|
|
14
|
+
displayOptions: { show: showForCategoryGroupGetAll },
|
|
15
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
16
|
+
routing: {
|
|
17
|
+
send: {
|
|
18
|
+
paginate: '={{ $value }}',
|
|
19
|
+
},
|
|
20
|
+
operations: {
|
|
21
|
+
pagination: {
|
|
22
|
+
type: 'generic',
|
|
23
|
+
properties: {
|
|
24
|
+
continue: '={{ $response.body.has_more }}',
|
|
25
|
+
request: {
|
|
26
|
+
qs: {
|
|
27
|
+
cursor: '={{ $response.body.next_cursor }}',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Limit',
|
|
37
|
+
name: 'limit',
|
|
38
|
+
type: 'number',
|
|
39
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
40
|
+
default: 50,
|
|
41
|
+
displayOptions: { show: { ...showForCategoryGroupGetAll, returnAll: [false] } },
|
|
42
|
+
description: 'Max number of results to return',
|
|
43
|
+
routing: {
|
|
44
|
+
send: {
|
|
45
|
+
type: 'query',
|
|
46
|
+
property: 'limit',
|
|
47
|
+
},
|
|
48
|
+
output: {
|
|
49
|
+
maxResults: '={{$value}}',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/category-group/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG;IAClC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,eAAe,CAAC;CAC3B,CAAC;AAKW,QAAA,8BAA8B,GAAsB;IAChE;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;YACD,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE;wBACX,QAAQ,EAAE,gCAAgC;wBAC1C,OAAO,EAAE;4BACR,EAAE,EAAE;gCACH,MAAM,EAAE,mCAAmC;6BAC3C;yBACD;qBACD;iBACD;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,0BAA0B,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QAC/E,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,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.categoryGroupGetCategoriesDescription = void 0;
|
|
4
|
+
const showForCategoryGroupGetCategories = {
|
|
5
|
+
operation: ['getCategories'],
|
|
6
|
+
resource: ['categoryGroup'],
|
|
7
|
+
};
|
|
8
|
+
exports.categoryGroupGetCategoriesDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Category Group ID',
|
|
11
|
+
name: 'categoryGroupIdForCategories',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCategoryGroupGetCategories },
|
|
16
|
+
description: 'The ID of the category group whose categories should be retrieved',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Return All',
|
|
20
|
+
name: 'returnAllCategories',
|
|
21
|
+
type: 'boolean',
|
|
22
|
+
default: false,
|
|
23
|
+
displayOptions: { show: showForCategoryGroupGetCategories },
|
|
24
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
25
|
+
routing: {
|
|
26
|
+
send: {
|
|
27
|
+
paginate: '={{ $value }}',
|
|
28
|
+
},
|
|
29
|
+
operations: {
|
|
30
|
+
pagination: {
|
|
31
|
+
type: 'generic',
|
|
32
|
+
properties: {
|
|
33
|
+
continue: '={{ $response.body.has_more }}',
|
|
34
|
+
request: {
|
|
35
|
+
qs: {
|
|
36
|
+
cursor: '={{ $response.body.next_cursor }}',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Limit',
|
|
46
|
+
name: 'limitCategories',
|
|
47
|
+
type: 'number',
|
|
48
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
49
|
+
default: 20,
|
|
50
|
+
displayOptions: { show: { ...showForCategoryGroupGetCategories, returnAllCategories: [false] } },
|
|
51
|
+
description: 'Max number of categories to return',
|
|
52
|
+
routing: {
|
|
53
|
+
send: {
|
|
54
|
+
type: 'query',
|
|
55
|
+
property: 'limit',
|
|
56
|
+
},
|
|
57
|
+
output: {
|
|
58
|
+
maxResults: '={{$value}}',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
];
|
|
63
|
+
//# sourceMappingURL=getCategories.js.map
|