-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Invoice Ninja Node): Add more query params to getAll requests #9238
feat(Invoice Ninja Node): Add more query params to getAll requests #9238
Conversation
…dated_at', 'is_deleted' to getAll requests for clients, invoices, payments and quotes
…quest for invoices
Hey @CodeShakingSheep, The name typo you have fixed is annoyingly a breaking change, Are you able to revert that? This is something we will probably fix in a v2 of the node. |
This reverts commit 8a081c8.
Hey @Joffcom , |
Hey @CodeShakingSheep, That looks good to me, Thanks 👍🏻 |
Hey @Joffcom, Also, I fixed the query param name for the invoice getAll request as it apparently changed from |
Hey @CodeShakingSheep, It looks like on this one I just need to merge master to fix the failed check. I wil get that done and the other PR so they can be in the next release. |
…more-query-params
Thank you @Joffcom . Looks like the checks are all passing now 🙌 |
Got released with |
Summary
This PR adds more query parameters to existing getAll requests:
client:getAll
: Add 'status', 'created_at', 'updated_at', 'is_deleted' (https://api-docs.invoicing.co/#get-/api/v1/clients)invoice:getAll
: Add 'status', 'created_at', 'updated_at', 'is_deleted', 'client_status' (https://api-docs.invoicing.co/#get-/api/v1/invoices)payment:getAll
: Add 'status', 'created_at', 'updated_at', 'is_deleted' (https://api-docs.invoicing.co/#get-/api/v1/payments)quote:getAll
: Add 'status', 'created_at', 'updated_at', 'is_deleted' (https://api-docs.invoicing.co/#get-/api/v1/quotes)Additionally, this PR fixes a small typocontactsValues
instead ofcontacstValues
.Related tickets and issues
None available. The background of this PR is that I needed some additional filtering (especially for getting my invoices) to make the requests faster (and not unnecessarily load all entities).
Review / Merge checklist
(no-changelog)
otherwise. (conventions)