Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierlacot committed Aug 17, 2023
1 parent 03b00ba commit 6323ded
Show file tree
Hide file tree
Showing 174 changed files with 835 additions and 0 deletions.
64 changes: 64 additions & 0 deletions generated/Client.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions generated/Endpoint/CreateBillableRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class CreateBillableRate extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoi
/**
* Creates a new billable rate object. Returns a billable rate object and a 201 Created response code if the call succeeded.
*
* Creating a billable rate with no start_date will replace a user’s existing rate(s).
* Creating a billable rate with a start_date that is before a user’s existing rate(s) will replace those billable rates with the new one.
*/
public function __construct(string $userId, \JoliCode\Harvest\Api\Model\UsersUserIdBillableRatesPostBody $requestBody)
Expand Down
1 change: 1 addition & 0 deletions generated/Endpoint/CreateCostRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class CreateCostRate extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint i
/**
* Creates a new cost rate object. Returns a cost rate object and a 201 Created response code if the call succeeded.
*
* Creating a cost rate with no start_date will replace a user’s existing rate(s).
* Creating a cost rate with a start_date that is before a user’s existing rate(s) will replace those cost rates with the new one.
*/
public function __construct(string $userId, \JoliCode\Harvest\Api\Model\UsersUserIdCostRatesPostBody $requestBody)
Expand Down
1 change: 1 addition & 0 deletions generated/Endpoint/DeleteProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class DeleteProject extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint im

/**
* Deletes a project and any time entries or expenses tracked to it.
* However, invoices associated with the project will not be deleted.
* If you don’t want the project’s time entries and expenses to be deleted, you should archive the project instead.
*/
public function __construct(string $projectId)
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListActiveProjectAssignments.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListActiveProjectAssignments extends \JoliCode\Harvest\Api\Runtime\Client\
/**
* Returns a list of active project assignments for the user identified by USER_ID. The project assignments are returned sorted by creation date, with the most recently created project assignments appearing first.
*
* The response contains an object with a project_assignments property that contains an array of up to per_page project assignments. Each entry in the array is a separate project assignment object. If no more project assignments are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your project assignments.
*
* @param array $queryParameters {
*
* @var string $updated_since only return project assignments that have been updated since the given date and time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListActiveProjectAssignmentsForTheCurrentlyAuthenticatedUser extends \Joli
/**
* Returns a list of your active project assignments for the currently authenticated user. The project assignments are returned sorted by creation date, with the most recently created project assignments appearing first.
*
* The response contains an object with a project_assignments property that contains an array of up to per_page project assignments. Each entry in the array is a separate project assignment object. If no more project assignments are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your project assignments.
*
* @param array $queryParameters {
*
* @var int $page The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListAssignedTeammatesForSpecificUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListAssignedTeammatesForSpecificUser extends \JoliCode\Harvest\Api\Runtime
/**
* Returns a list of assigned teammates for the user identified by USER_ID. The USER_ID must belong to a user that is a Manager, if not, a 422 Unprocessable Entity status code will be returned.
*
* The response contains an object with a teammates property that contains an array of up to per_page teammates. Each entry in the array is a separate teammate object. If no more teammates are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your teammates.
*
* @param array $queryParameters {
*
* @var int $page DEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 100 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListBillableRatesForSpecificUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListBillableRatesForSpecificUser extends \JoliCode\Harvest\Api\Runtime\Cli
/**
* Returns a list of billable rates for the user identified by USER_ID. The billable rates are returned sorted by start_date, with the oldest starting billable rates appearing first.
*
* The response contains an object with a billable_rates property that contains an array of up to per_page billable rates. Each entry in the array is a separate billable rate object. If no more billable rates are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your billable rates.
*
* @param array $queryParameters {
*
* @var int $page DEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListClients.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListClients extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint impl
/**
* Returns a list of your clients. The clients are returned sorted by creation date, with the most recently created clients appearing first.
*
* The response contains an object with a clients property that contains an array of up to per_page clients. Each entry in the array is a separate client object. If no more clients are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your clients.
*
* @param array $queryParameters {
*
* @var bool $is_active pass true to only return active clients and false to return inactive clients
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListContacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListContacts extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint imp
/**
* Returns a list of your contacts. The contacts are returned sorted by creation date, with the most recently created contacts appearing first.
*
* The response contains an object with a contacts property that contains an array of up to per_page contacts. Each entry in the array is a separate contact object. If no more contacts are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your contacts.
*
* @param array $queryParameters {
*
* @var int $client_id only return contacts belonging to the client with the given ID
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListCostRatesForSpecificUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListCostRatesForSpecificUser extends \JoliCode\Harvest\Api\Runtime\Client\
/**
* Returns a list of cost rates for the user identified by USER_ID. The cost rates are returned sorted by start_date, with the oldest starting cost rates appearing first.
*
* The response contains an object with a cost_rates property that contains an array of up to per_page cost rates. Each entry in the array is a separate cost rate object. If no more cost rates are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your cost rates.
*
* @param array $queryParameters {
*
* @var int $page DEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListEstimateItemCategories.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListEstimateItemCategories extends \JoliCode\Harvest\Api\Runtime\Client\Ba
/**
* Returns a list of your estimate item categories. The estimate item categories are returned sorted by creation date, with the most recently created estimate item categories appearing first.
*
* The response contains an object with a estimate_item_categories property that contains an array of up to per_page estimate item categories. Each entry in the array is a separate estimate item category object. If no more estimate item categories are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your estimate item categories.
*
* @param array $queryParameters {
*
* @var string $updated_since only return estimate item categories that have been updated since the given date and time
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListEstimates.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListEstimates extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint im
/**
* Returns a list of your estimates. The estimates are returned sorted by issue date, with the most recently issued estimates appearing first.
*
* The response contains an object with a estimates property that contains an array of up to per_page estimates. Each entry in the array is a separate estimate object. If no more estimates are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your estimates.
*
* @param array $queryParameters {
*
* @var int $client_id only return estimates belonging to the client with the given ID
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListExpenseCategories.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListExpenseCategories extends \JoliCode\Harvest\Api\Runtime\Client\BaseEnd
/**
* Returns a list of your expense categories. The expense categories are returned sorted by creation date, with the most recently created expense categories appearing first.
*
* The response contains an object with a expense_categories property that contains an array of up to per_page expense categories. Each entry in the array is a separate expense category object. If no more expense categories are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your expense categories.
*
* @param array $queryParameters {
*
* @var bool $is_active pass true to only return active expense categories and false to return inactive expense categories
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListExpenses.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListExpenses extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint imp
/**
* Returns a list of your expenses. If accessing this endpoint as an Administrator, all expenses in the account will be returned. If accessing this endpoint as a Manager, all expenses for assigned teammates and managed projects will be returned. The expenses are returned sorted by the spent_at date, with the most recent expenses appearing first.
*
* The response contains an object with a expenses property that contains an array of up to per_page expenses. Each entry in the array is a separate expense object. If no more expenses are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your expenses.
*
* @param array $queryParameters {
*
* @var int $user_id only return expenses belonging to the user with the given ID
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListInvoiceItemCategories.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListInvoiceItemCategories extends \JoliCode\Harvest\Api\Runtime\Client\Bas
/**
* Returns a list of your invoice item categories. The invoice item categories are returned sorted by creation date, with the most recently created invoice item categories appearing first.
*
* The response contains an object with a invoice_item_categories property that contains an array of up to per_page invoice item categories. Each entry in the array is a separate invoice item category object. If no more invoice item categories are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your invoice item categories.
*
* @param array $queryParameters {
*
* @var string $updated_since only return invoice item categories that have been updated since the given date and time
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListInvoices.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListInvoices extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint imp
/**
* Returns a list of your invoices. The invoices are returned sorted by issue date, with the most recently issued invoices appearing first.
*
* The response contains an object with a invoices property that contains an array of up to per_page invoices. Each entry in the array is a separate invoice object. If no more invoices are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your invoices.
*
* @param array $queryParameters {
*
* @var int $client_id only return invoices belonging to the client with the given ID
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListMessagesForEstimate.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListMessagesForEstimate extends \JoliCode\Harvest\Api\Runtime\Client\BaseE
/**
* Returns a list of messages associated with a given estimate. The estimate messages are returned sorted by creation date, with the most recently created messages appearing first.
*
* The response contains an object with an estimate_messages property that contains an array of up to per_page messages. Each entry in the array is a separate message object. If no more messages are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your messages.
*
* @param array $queryParameters {
*
* @var string $updated_since only return estimate messages that have been updated since the given date and time
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListMessagesForInvoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListMessagesForInvoice extends \JoliCode\Harvest\Api\Runtime\Client\BaseEn
/**
* Returns a list of messages associated with a given invoice. The invoice messages are returned sorted by creation date, with the most recently created messages appearing first.
*
* The response contains an object with an invoice_messages property that contains an array of up to per_page messages. Each entry in the array is a separate message object. If no more messages are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your messages.
*
* @param array $queryParameters {
*
* @var string $updated_since only return invoice messages that have been updated since the given date and time
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListPaymentsForInvoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListPaymentsForInvoice extends \JoliCode\Harvest\Api\Runtime\Client\BaseEn
/**
* Returns a list of payments associate with a given invoice. The payments are returned sorted by creation date, with the most recently created payments appearing first.
*
* The response contains an object with an invoice_payments property that contains an array of up to per_page payments. Each entry in the array is a separate payment object. If no more payments are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your payments.
*
* @param array $queryParameters {
*
* @var string $updated_since only return invoice payments that have been updated since the given date and time
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListProjects.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListProjects extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint imp
/**
* Returns a list of your projects. The projects are returned sorted by creation date, with the most recently created projects appearing first.
*
* The response contains an object with a projects property that contains an array of up to per_page projects. Each entry in the array is a separate project object. If no more projects are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your projects.
*
* @param array $queryParameters {
*
* @var bool $is_active pass true to only return active projects and false to return inactive projects
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListRoles extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint implem
/**
* Returns a list of roles in the account. The roles are returned sorted by creation date, with the most recently created roles appearing first.
*
* The response contains an object with a roles property that contains an array of up to per_page roles. Each entry in the array is a separate role object. If no more roles are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your roles.
*
* @param array $queryParameters {
*
* @var int $page DEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListTaskAssignments.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListTaskAssignments extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpo
/**
* Returns a list of your task assignments. The task assignments are returned sorted by creation date, with the most recently created task assignments appearing first.
*
* The response contains an object with a task_assignments property that contains an array of up to per_page task assignments. Each entry in the array is a separate task assignment object. If no more task assignments are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your task assignments.
*
* @param array $queryParameters {
*
* @var bool $is_active pass true to only return active task assignments and false to return inactive task assignments
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListTaskAssignmentsForSpecificProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ListTaskAssignmentsForSpecificProject extends \JoliCode\Harvest\Api\Runtim
/**
* Returns a list of your task assignments for the project identified by PROJECT_ID. The task assignments are returned sorted by creation date, with the most recently created task assignments appearing first.
*
* The response contains an object with a task_assignments property that contains an array of up to per_page task assignments. Each entry in the array is a separate task assignment object. If no more task assignments are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your task assignments.
*
* @param array $queryParameters {
*
* @var bool $is_active pass true to only return active task assignments and false to return inactive task assignments
Expand Down
2 changes: 2 additions & 0 deletions generated/Endpoint/ListTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ListTasks extends \JoliCode\Harvest\Api\Runtime\Client\BaseEndpoint implem
/**
* Returns a list of your tasks. The tasks are returned sorted by creation date, with the most recently created tasks appearing first.
*
* The response contains an object with a tasks property that contains an array of up to per_page tasks. Each entry in the array is a separate task object. If no more tasks are available, the resulting array will be empty. Several additional pagination properties are included in the response to simplify paginating your tasks.
*
* @param array $queryParameters {
*
* @var bool $is_active pass true to only return active tasks and false to return inactive tasks
Expand Down
Loading

0 comments on commit 6323ded

Please sign in to comment.