* Qual: Make $fields covariant
* Qual: Update BankAccounts class phpDoc ($FIELDS)
# Qual: Update BankAccounts class phpDoc ($FIELDS)
Updated the documentation for the $FIELDS property.
* demande d'ajout timespent
* feat(api): add timespent endpoints for projects and tasks
* add contact to product
* correction prettier
* revert
* feat(api): update timespent endpoints in api_projects and api_tasks
* Update api_projects.class.php
* Remove blank line before docblock in api_tasks.class.php
Removed unnecessary blank line before the docblock for the get contacts method.
* Update api_tasks.class.php
* Clarify return type in api_projects.class.php
Updated return type annotation for contact information array.
* Refine return type in get timespent method
Updated return type annotation for timespent method.
* Return raw contacts instead of cleaned data
* Update api_projects.class.php
* Return contacts array instead of cleaned data
Modified the return value to return the contacts array directly instead of cleaned data.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Implement listTimespent method in api_projects.class.php
Added a new method to retrieve all timespent data with filtering options (with filter, sort, ...)
* Fix comment formatting and improve listTimespent method
* Fix comment formatting and adjust function definition
* Refactor response structure for pagination data
* Initialize obj_ret as an empty array
* Fix assignment of public property in task class
* Rename 'public' to 'project_public' in task class
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* add getTimespent on api task
* Fix return statement in api_tasks.class.php
* Fix return statement in api_tasks.class.php
* Fix formatting and spacing in getTimespent method
* Fix formatting of if statement in getTimespent method
* Update api_tasks.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Add thirdparty search on api list
this change allow to seach element with filter on thirdparty (ex : list of bill of with name of thidparty)
* Update api_orders.class.php
* Update api_invoices.class.php
* Update api_contracts.class.php
* Update api_shipments.class.php
* Update api_interventions.class.php
* Update api_projects.class.php
* Update api_tickets.class.php
* Update api_tickets.class.php
* Update api_projects.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>