Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Removed `deprecated: true` from LegacyTeams endpoints (`GET`/`POST /v1/legacyTeams`, `GET`/`PUT /v1/legacyTeams/{id}`, `GET`/`POST`/`DELETE /v1/legacyTeams/{id}/users`, `GET /v1/legacyTeams/user/{id}`) and updated the tag description to remove outdated deprecation notice

## [17.6.0](https://github.com/pipedrive/client-php/compare17.5.2...17.6.0) (2026-09-08)
### Added
Expand Down
40 changes: 0 additions & 40 deletions lib/versions/v1/Api/LegacyTeamsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ public function getConfig(): Configuration
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\Team|\Pipedrive\versions\v1\Model\FailResponse
* @deprecated
*/
public function addTeam($create_team = null)
{
Expand All @@ -150,7 +149,6 @@ public function addTeam($create_team = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\Team|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function addTeamWithHttpInfo($create_team = null)
{
Expand Down Expand Up @@ -272,7 +270,6 @@ public function addTeamWithHttpInfo($create_team = null)
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function addTeamAsync($create_team = null): PromiseInterface
{
Expand All @@ -293,7 +290,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function addTeamAsyncWithHttpInfo($create_team = null): PromiseInterface
{
Expand Down Expand Up @@ -341,7 +337,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function addTeamRequest($create_team = null): Request
{
Expand Down Expand Up @@ -446,7 +441,6 @@ public function addTeamRequest($create_team = null): Request
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\UserIDs|\Pipedrive\versions\v1\Model\FailResponse|\Pipedrive\versions\v1\Model\FailResponse
* @deprecated
*/
public function addTeamUser($id, $add_team_user_request = null)
{
Expand All @@ -465,7 +459,6 @@ public function addTeamUser($id, $add_team_user_request = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\UserIDs|\Pipedrive\versions\v1\Model\FailResponse|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function addTeamUserWithHttpInfo($id, $add_team_user_request = null)
{
Expand Down Expand Up @@ -609,7 +602,6 @@ public function addTeamUserWithHttpInfo($id, $add_team_user_request = null)
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function addTeamUserAsync($id, $add_team_user_request = null): PromiseInterface
{
Expand All @@ -631,7 +623,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function addTeamUserAsyncWithHttpInfo($id, $add_team_user_request = null): PromiseInterface
{
Expand Down Expand Up @@ -680,7 +671,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function addTeamUserRequest($id, $add_team_user_request = null): Request
{
Expand Down Expand Up @@ -800,7 +790,6 @@ public function addTeamUserRequest($id, $add_team_user_request = null): Request
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\UserIDs|\Pipedrive\versions\v1\Model\FailResponse|\Pipedrive\versions\v1\Model\FailResponse
* @deprecated
*/
public function deleteTeamUser($id, $delete_team_user_request = null)
{
Expand All @@ -819,7 +808,6 @@ public function deleteTeamUser($id, $delete_team_user_request = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\UserIDs|\Pipedrive\versions\v1\Model\FailResponse|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function deleteTeamUserWithHttpInfo($id, $delete_team_user_request = null)
{
Expand Down Expand Up @@ -963,7 +951,6 @@ public function deleteTeamUserWithHttpInfo($id, $delete_team_user_request = null
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function deleteTeamUserAsync($id, $delete_team_user_request = null): PromiseInterface
{
Expand All @@ -985,7 +972,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function deleteTeamUserAsyncWithHttpInfo($id, $delete_team_user_request = null): PromiseInterface
{
Expand Down Expand Up @@ -1034,7 +1020,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function deleteTeamUserRequest($id, $delete_team_user_request = null): Request
{
Expand Down Expand Up @@ -1154,7 +1139,6 @@ public function deleteTeamUserRequest($id, $delete_team_user_request = null): Re
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\Team|\Pipedrive\versions\v1\Model\FailResponse
* @deprecated
*/
public function getTeam($id, $skip_users = null)
{
Expand All @@ -1173,7 +1157,6 @@ public function getTeam($id, $skip_users = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\Team|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function getTeamWithHttpInfo($id, $skip_users = null)
{
Expand Down Expand Up @@ -1296,7 +1279,6 @@ public function getTeamWithHttpInfo($id, $skip_users = null)
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getTeamAsync($id, $skip_users = null): PromiseInterface
{
Expand All @@ -1318,7 +1300,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getTeamAsyncWithHttpInfo($id, $skip_users = null): PromiseInterface
{
Expand Down Expand Up @@ -1367,7 +1348,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function getTeamRequest($id, $skip_users = null): Request
{
Expand Down Expand Up @@ -1488,7 +1468,6 @@ public function getTeamRequest($id, $skip_users = null): Request
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\UserIDs|\Pipedrive\versions\v1\Model\FailResponse
* @deprecated
*/
public function getTeamUsers($id)
{
Expand All @@ -1506,7 +1485,6 @@ public function getTeamUsers($id)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\UserIDs|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function getTeamUsersWithHttpInfo($id)
{
Expand Down Expand Up @@ -1628,7 +1606,6 @@ public function getTeamUsersWithHttpInfo($id)
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getTeamUsersAsync($id): PromiseInterface
{
Expand All @@ -1649,7 +1626,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getTeamUsersAsyncWithHttpInfo($id): PromiseInterface
{
Expand Down Expand Up @@ -1697,7 +1673,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function getTeamUsersRequest($id): Request
{
Expand Down Expand Up @@ -1811,7 +1786,6 @@ public function getTeamUsersRequest($id): Request
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\Teams
* @deprecated
*/
public function getTeams($order_by = 'id', $skip_users = null)
{
Expand All @@ -1830,7 +1804,6 @@ public function getTeams($order_by = 'id', $skip_users = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\Teams, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function getTeamsWithHttpInfo($order_by = 'id', $skip_users = null)
{
Expand Down Expand Up @@ -1932,7 +1905,6 @@ public function getTeamsWithHttpInfo($order_by = 'id', $skip_users = null)
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getTeamsAsync($order_by = 'id', $skip_users = null): PromiseInterface
{
Expand All @@ -1954,7 +1926,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getTeamsAsyncWithHttpInfo($order_by = 'id', $skip_users = null): PromiseInterface
{
Expand Down Expand Up @@ -2003,7 +1974,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function getTeamsRequest($order_by = 'id', $skip_users = null): Request
{
Expand Down Expand Up @@ -2119,7 +2089,6 @@ public function getTeamsRequest($order_by = 'id', $skip_users = null): Request
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\Teams
* @deprecated
*/
public function getUserTeams($id, $order_by = 'id', $skip_users = null)
{
Expand All @@ -2139,7 +2108,6 @@ public function getUserTeams($id, $order_by = 'id', $skip_users = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\Teams, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function getUserTeamsWithHttpInfo($id, $order_by = 'id', $skip_users = null)
{
Expand Down Expand Up @@ -2242,7 +2210,6 @@ public function getUserTeamsWithHttpInfo($id, $order_by = 'id', $skip_users = nu
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getUserTeamsAsync($id, $order_by = 'id', $skip_users = null): PromiseInterface
{
Expand All @@ -2265,7 +2232,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function getUserTeamsAsyncWithHttpInfo($id, $order_by = 'id', $skip_users = null): PromiseInterface
{
Expand Down Expand Up @@ -2315,7 +2281,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function getUserTeamsRequest($id, $order_by = 'id', $skip_users = null): Request
{
Expand Down Expand Up @@ -2445,7 +2410,6 @@ public function getUserTeamsRequest($id, $order_by = 'id', $skip_users = null):
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return \Pipedrive\versions\v1\Model\Team|\Pipedrive\versions\v1\Model\FailResponse|\Pipedrive\versions\v1\Model\FailResponse
* @deprecated
*/
public function updateTeam($id, $update_team = null)
{
Expand All @@ -2464,7 +2428,6 @@ public function updateTeam($id, $update_team = null)
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException|GuzzleException
* @return array<mixed> of \Pipedrive\versions\v1\Model\Team|\Pipedrive\versions\v1\Model\FailResponse|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings)
* @deprecated
*/
public function updateTeamWithHttpInfo($id, $update_team = null)
{
Expand Down Expand Up @@ -2608,7 +2571,6 @@ public function updateTeamWithHttpInfo($id, $update_team = null)
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function updateTeamAsync($id, $update_team = null): PromiseInterface
{
Expand All @@ -2630,7 +2592,6 @@ function ($response) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return PromiseInterface
* @deprecated
*/
public function updateTeamAsyncWithHttpInfo($id, $update_team = null): PromiseInterface
{
Expand Down Expand Up @@ -2679,7 +2640,6 @@ function ($exception) {
*
* @throws InvalidArgumentException|OAuthProviderException
* @return Request
* @deprecated
*/
public function updateTeamRequest($id, $update_team = null): Request
{
Expand Down