From 05b527435fe7bb42ee54ba20bff520935eccd3c3 Mon Sep 17 00:00:00 2001 From: pipedrive-bot Date: Thu, 10 Sep 2026 06:31:32 +0000 Subject: [PATCH] Build 343 - version-patch --- CHANGELOG.md | 2 ++ lib/versions/v1/Api/LegacyTeamsApi.php | 40 -------------------------- 2 files changed, 2 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be4f7668..c92f0319 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/versions/v1/Api/LegacyTeamsApi.php b/lib/versions/v1/Api/LegacyTeamsApi.php index 1f2082bf..43b128d1 100644 --- a/lib/versions/v1/Api/LegacyTeamsApi.php +++ b/lib/versions/v1/Api/LegacyTeamsApi.php @@ -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) { @@ -150,7 +149,6 @@ public function addTeam($create_team = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -272,7 +270,6 @@ public function addTeamWithHttpInfo($create_team = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function addTeamAsync($create_team = null): PromiseInterface { @@ -293,7 +290,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function addTeamAsyncWithHttpInfo($create_team = null): PromiseInterface { @@ -341,7 +337,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function addTeamRequest($create_team = null): Request { @@ -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) { @@ -465,7 +459,6 @@ public function addTeamUser($id, $add_team_user_request = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -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 { @@ -631,7 +623,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function addTeamUserAsyncWithHttpInfo($id, $add_team_user_request = null): PromiseInterface { @@ -680,7 +671,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function addTeamUserRequest($id, $add_team_user_request = null): Request { @@ -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) { @@ -819,7 +808,6 @@ public function deleteTeamUser($id, $delete_team_user_request = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -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 { @@ -985,7 +972,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function deleteTeamUserAsyncWithHttpInfo($id, $delete_team_user_request = null): PromiseInterface { @@ -1034,7 +1020,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function deleteTeamUserRequest($id, $delete_team_user_request = null): Request { @@ -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) { @@ -1173,7 +1157,6 @@ public function getTeam($id, $skip_users = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -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 { @@ -1318,7 +1300,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function getTeamAsyncWithHttpInfo($id, $skip_users = null): PromiseInterface { @@ -1367,7 +1348,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function getTeamRequest($id, $skip_users = null): Request { @@ -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) { @@ -1506,7 +1485,6 @@ public function getTeamUsers($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -1628,7 +1606,6 @@ public function getTeamUsersWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function getTeamUsersAsync($id): PromiseInterface { @@ -1649,7 +1626,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function getTeamUsersAsyncWithHttpInfo($id): PromiseInterface { @@ -1697,7 +1673,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function getTeamUsersRequest($id): Request { @@ -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) { @@ -1830,7 +1804,6 @@ public function getTeams($order_by = 'id', $skip_users = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -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 { @@ -1954,7 +1926,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function getTeamsAsyncWithHttpInfo($order_by = 'id', $skip_users = null): PromiseInterface { @@ -2003,7 +1974,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function getTeamsRequest($order_by = 'id', $skip_users = null): Request { @@ -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) { @@ -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 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) { @@ -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 { @@ -2265,7 +2232,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function getUserTeamsAsyncWithHttpInfo($id, $order_by = 'id', $skip_users = null): PromiseInterface { @@ -2315,7 +2281,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function getUserTeamsRequest($id, $order_by = 'id', $skip_users = null): Request { @@ -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) { @@ -2464,7 +2428,6 @@ public function updateTeam($id, $update_team = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array 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) { @@ -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 { @@ -2630,7 +2592,6 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface - * @deprecated */ public function updateTeamAsyncWithHttpInfo($id, $update_team = null): PromiseInterface { @@ -2679,7 +2640,6 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request - * @deprecated */ public function updateTeamRequest($id, $update_team = null): Request {