diff --git a/CHANGELOG.md b/CHANGELOG.md index a0e2581..e249634 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,64 @@ 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 +- Deprecated `GET /v1/activities` in favor of `GET /api/v2/activities` +- Deprecated `GET /v1/activities/collection` in favor of `GET /api/v2/activities` +- Deprecated `GET /v1/activities/{id}` in favor of `GET /api/v2/activities/{id}` +- Deprecated `POST /v1/activities` in favor of `POST /api/v2/activities` +- Deprecated `PUT /v1/activities/{id}` in favor of `PATCH /api/v2/activities/{id}` +- Deprecated `DELETE /v1/activities/{id}` in favor of `DELETE /api/v2/activities/{id}` +- Deprecated `DELETE /v1/activities` in favor of `DELETE /api/v2/activities/{id}` +- Deprecated `GET /v1/deals` in favor of `GET /api/v2/deals` +- Deprecated `GET /v1/deals/collection` in favor of `GET /api/v2/deals` +- Deprecated `GET /v1/deals/{id}` in favor of `GET /api/v2/deals/{id}` +- Deprecated `GET /v1/deals/search` in favor of `GET /api/v2/deals/search` +- Deprecated `POST /v1/deals` in favor of `POST /api/v2/deals` +- Deprecated `PUT /v1/deals/{id}` in favor of `PATCH /api/v2/deals` +- Deprecated `DELETE /v1/deals/{id}` in favor of `DELETE /api/v2/deals/{id}` +- Deprecated `DELETE /v1/deals` in favor of `DELETE /api/v2/deals/{id}` +- Deprecated `GET /v1/deals/{id}/activities` in favor of `GET /api/v2/activities?deal_id={id}` +- Deprecated `GET /v1/deals/{id}/persons` in favor of `GET /api/v2/persons?deal_id={id}` +- Deprecated `GET /v1/persons` in favor of `GET /api/v2/persons` +- Deprecated `GET /v1/persons/collection` in favor of `GET /api/v2/persons` +- Deprecated `GET /v1/persons/{id}` in favor of `GET /api/v2/persons/{id}` +- Deprecated `GET /v1/persons/search` in favor of `GET /api/v2/persons/search` +- Deprecated `POST /v1/persons` in favor of `POST /api/v2/persons` +- Deprecated `PUT /v1/persons/{id}` in favor of `PATCH /api/v2/persons/{id}` +- Deprecated `DELETE /v1/persons/{id}` in favor of `DELETE /api/v2/persons/{id}` +- Deprecated `DELETE /v1/persons` in favor of `DELETE /api/v2/persons/{id}` +- Deprecated `GET /v1/persons/{id}/deals` in favor of `GET /api/v2/deals?person_id={id}` +- Deprecated `GET /v1/persons/{id}/activities` in favor of `GET /api/v2/activities?person_id={id}` +- Deprecated `GET /v1/organizations` in favor of `GET /api/v2/organizations` +- Deprecated `GET /v1/organizations/collection` in favor of `GET /api/v2/organizations` +- Deprecated `GET /v1/organizations/{id}` in favor of `GET /api/v2/organizations/{id}` +- Deprecated `GET /v1/organizations/search` in favor of `GET /api/v2/organizations/search` +- Deprecated `POST /v1/organizations` in favor of `POST /api/v2/organizations` +- Deprecated `PUT /v1/organizations/{id}` in favor of `PATCH /api/v2/organizations/{id}` +- Deprecated `DELETE /v1/organizations/{id}` in favor of `DELETE /api/v2/organizations/{id}` +- Deprecated `DELETE /v1/organizations` in favor of `DELETE /api/v2/organizations/{id}` +- Deprecated `GET /v1/organizations/{id}/deals` in favor of `GET /api/v2/deals?org_id={id}` +- Deprecated `GET /v1/organizations/{id}/activities` in favor of `GET /api/v2/activities?org_id={id}` +- Deprecated `GET /v1/organizations/{id}/persons` in favor of `GET /api/v2/persons?org_id={id}` +- Deprecated `GET /v1/products` in favor of `GET /api/v2/products` +- Deprecated `GET /v1/products/{id}` in favor of `GET /api/v2/products/{id}` +- Deprecated `GET /v1/products/search` in favor of `GET /api/v2/products/search` +- Deprecated `POST /v1/products` in favor of `POST /api/v2/products` +- Deprecated `PUT /v1/products/{id}` in favor of `PATCH /api/v2/products/{id}` +- Deprecated `DELETE /v1/products/{id}` in favor of `DELETE /api/v2/products/{id}` +- Deprecated `GET /v1/pipelines` in favor of `GET /api/v2/pipelines` +- Deprecated `GET /v1/pipelines/{id}` in favor of `GET /api/v2/pipelines/{id}` +- Deprecated `POST /v1/pipelines` in favor of `POST /api/v2/pipelines` +- Deprecated `PUT /v1/pipelines/{id}` in favor of `PATCH /api/v2/pipelines/{id}` +- Deprecated `DELETE /v1/pipelines/{id}` in favor of `DELETE /api/v2/pipelines/{id}` +- Deprecated `GET /v1/stages` in favor of `GET /api/v2/stages` +- Deprecated `GET /v1/stages/{id}` in favor of `GET /api/v2/stages/{id}` +- Deprecated `POST /v1/stages` in favor of `POST /api/v2/stages` +- Deprecated `PUT /v1/stages/{id}` in favor of `PATCH /api/v2/stages/{id}` +- Deprecated `DELETE /v1/stages/{id}` in favor of `DELETE /api/v2/stages/{id}` +- Deprecated `DELETE /v1/stages` in favor of `DELETE /api/v2/stages/{id}` +- Deprecated `GET /v1/itemSearch` in favor of `GET /api/v2/itemSearch` +- Deprecated `GET /v1/itemSearch/field` in favor of `GET /api/v2/itemSearch/field` [9.0.0](https://github.com/pipedrive/client-php/compare/8.1.5...9.0.0) (2025-03-31) diff --git a/docs/versions/v1/Api/ActivitiesApi.md b/docs/versions/v1/Api/ActivitiesApi.md index bb4ab33..e1357fd 100644 --- a/docs/versions/v1/Api/ActivitiesApi.md +++ b/docs/versions/v1/Api/ActivitiesApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description [**deleteActivities()**](ActivitiesApi.md#deleteActivities) | **DELETE** /activities | Delete multiple activities in bulk [**deleteActivity()**](ActivitiesApi.md#deleteActivity) | **DELETE** /activities/{id} | Delete an activity [**getActivities()**](ActivitiesApi.md#getActivities) | **GET** /activities | Get all activities assigned to a particular user -[**getActivitiesCollection()**](ActivitiesApi.md#getActivitiesCollection) | **GET** /activities/collection | Get all activities (BETA) +[**getActivitiesCollection()**](ActivitiesApi.md#getActivitiesCollection) | **GET** /activities/collection | Get all activities collection [**getActivity()**](ActivitiesApi.md#getActivity) | **GET** /activities/{id} | Get details of an activity [**updateActivity()**](ActivitiesApi.md#updateActivity) | **PUT** /activities/{id} | Update an activity @@ -86,7 +86,7 @@ deleteActivities($ids): \Pipedrive\versions\v1\Model\DeleteActivitiesResponse Delete multiple activities in bulk -Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. +Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
This endpoint has been deprecated. Please use DELETE /api/v2/activities/{id} instead. ### Example @@ -293,9 +293,9 @@ Name | Type | Description | Notes getActivitiesCollection($cursor, $limit, $since, $until, $user_id, $done, $type): \Pipedrive\versions\v1\Model\GetActivitiesCollectionResponse ``` -Get all activities (BETA) +Get all activities collection -Returns all activities. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on pagination. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions here. +Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions here.
This endpoint has been deprecated. Please use GET /api/v2/activities instead. ### Example diff --git a/docs/versions/v1/Api/DealsApi.md b/docs/versions/v1/Api/DealsApi.md index 005b858..c675fb8 100644 --- a/docs/versions/v1/Api/DealsApi.md +++ b/docs/versions/v1/Api/DealsApi.md @@ -27,7 +27,7 @@ Method | HTTP request | Description [**getDealUpdates()**](DealsApi.md#getDealUpdates) | **GET** /deals/{id}/flow | List updates about a deal [**getDealUsers()**](DealsApi.md#getDealUsers) | **GET** /deals/{id}/permittedUsers | List permitted users [**getDeals()**](DealsApi.md#getDeals) | **GET** /deals | Get all deals -[**getDealsCollection()**](DealsApi.md#getDealsCollection) | **GET** /deals/collection | Get all deals (BETA) +[**getDealsCollection()**](DealsApi.md#getDealsCollection) | **GET** /deals/collection | Get all deals collection [**getDealsSummary()**](DealsApi.md#getDealsSummary) | **GET** /deals/summary | Get deals summary [**getDealsTimeline()**](DealsApi.md#getDealsTimeline) | **GET** /deals/timeline | Get deals timeline [**mergeDeals()**](DealsApi.md#mergeDeals) | **PUT** /deals/{id}/merge | Merge two deals @@ -576,7 +576,7 @@ deleteDeals($ids): \Pipedrive\versions\v1\Model\DeleteMultipleDeals Delete multiple deals in bulk -Marks multiple deals as deleted. After 30 days, the deals will be permanently deleted. +Marks multiple deals as deleted. After 30 days, the deals will be permanently deleted.
This endpoint has been deprecated. Please use DELETE /api/v2/deals/{id} instead. ### Example @@ -771,7 +771,7 @@ getDealActivities($id, $start, $limit, $done, $exclude): \Pipedrive\versions\v1\ List activities associated with a deal -Lists activities associated with a deal. +Lists activities associated with a deal.
This endpoint has been deprecated. Please use GET /api/v2/activities?deal_id={id} instead. ### Example @@ -1256,7 +1256,7 @@ getDealPersons($id, $start, $limit): \Pipedrive\versions\v1\Model\ListPersonsRes List all persons associated with a deal -Lists all persons associated with a deal, regardless of whether the person is the primary contact of the deal, or added as a participant.
If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field. +Lists all persons associated with a deal, regardless of whether the person is the primary contact of the deal, or added as a participant.
If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
This endpoint has been deprecated. Please use GET /api/v2/persons?deal_id={id} instead. ### Example @@ -1611,9 +1611,9 @@ Name | Type | Description | Notes getDealsCollection($cursor, $limit, $since, $until, $user_id, $stage_id, $status): \Pipedrive\versions\v1\Model\GetDealsCollection ``` -Get all deals (BETA) +Get all deals collection -Returns all deals. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on pagination. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions here. +Returns all deals. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions here.
This endpoint has been deprecated. Please use GET /api/v2/deals instead. ### Example diff --git a/docs/versions/v1/Api/OrganizationsApi.md b/docs/versions/v1/Api/OrganizationsApi.md index 97b1683..faf967c 100644 --- a/docs/versions/v1/Api/OrganizationsApi.md +++ b/docs/versions/v1/Api/OrganizationsApi.md @@ -20,7 +20,7 @@ Method | HTTP request | Description [**getOrganizationUpdates()**](OrganizationsApi.md#getOrganizationUpdates) | **GET** /organizations/{id}/flow | List updates about an organization [**getOrganizationUsers()**](OrganizationsApi.md#getOrganizationUsers) | **GET** /organizations/{id}/permittedUsers | List permitted users [**getOrganizations()**](OrganizationsApi.md#getOrganizations) | **GET** /organizations | Get all organizations -[**getOrganizationsCollection()**](OrganizationsApi.md#getOrganizationsCollection) | **GET** /organizations/collection | Get all organizations (BETA) +[**getOrganizationsCollection()**](OrganizationsApi.md#getOrganizationsCollection) | **GET** /organizations/collection | Get all organizations collection [**mergeOrganizations()**](OrganizationsApi.md#mergeOrganizations) | **PUT** /organizations/{id}/merge | Merge two organizations [**searchOrganization()**](OrganizationsApi.md#searchOrganization) | **GET** /organizations/search | Search organizations [**updateOrganization()**](OrganizationsApi.md#updateOrganization) | **PUT** /organizations/{id} | Update an organization @@ -298,7 +298,7 @@ deleteOrganizations($ids): \Pipedrive\versions\v1\Model\OrganizationsDeleteRespo Delete multiple organizations in bulk -Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted. +Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted.
This endpoint has been deprecated. Please use DELETE /api/v2/organizations/{id} instead. ### Example @@ -428,7 +428,7 @@ getOrganizationActivities($id, $start, $limit, $done, $exclude): \Pipedrive\vers List activities associated with an organization -Lists activities associated with an organization. +Lists activities associated with an organization.
This endpoint has been deprecated. Please use GET /api/v2/activities?org_id={id} instead. ### Example @@ -570,7 +570,7 @@ getOrganizationDeals($id, $start, $limit, $status, $sort, $only_primary_associat List deals associated with an organization -Lists deals associated with an organization. +Lists deals associated with an organization.
This endpoint has been deprecated. Please use GET /api/v2/deals?org_id={id} instead. ### Example @@ -850,7 +850,7 @@ getOrganizationPersons($id, $start, $limit): \Pipedrive\versions\v1\Model\ListPe List persons of an organization -Lists persons associated with an organization.
If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field. +Lists persons associated with an organization.
If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
This endpoint has been deprecated. Please use GET /api/v2/persons?org_id={id} instead. ### Example @@ -1130,9 +1130,9 @@ Name | Type | Description | Notes getOrganizationsCollection($cursor, $limit, $since, $until, $owner_id, $first_char): \Pipedrive\versions\v1\Model\InlineResponse200 ``` -Get all organizations (BETA) +Get all organizations collection -Returns all organizations. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on pagination. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions here. +Returns all organizations. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions here.
This endpoint has been deprecated. Please use GET /api/v2/organizations instead. ### Example diff --git a/docs/versions/v1/Api/PersonsApi.md b/docs/versions/v1/Api/PersonsApi.md index 8b9a0f8..7a4d1da 100644 --- a/docs/versions/v1/Api/PersonsApi.md +++ b/docs/versions/v1/Api/PersonsApi.md @@ -22,7 +22,7 @@ Method | HTTP request | Description [**getPersonUpdates()**](PersonsApi.md#getPersonUpdates) | **GET** /persons/{id}/flow | List updates about a person [**getPersonUsers()**](PersonsApi.md#getPersonUsers) | **GET** /persons/{id}/permittedUsers | List permitted users [**getPersons()**](PersonsApi.md#getPersons) | **GET** /persons | Get all persons -[**getPersonsCollection()**](PersonsApi.md#getPersonsCollection) | **GET** /persons/collection | Get all persons (BETA) +[**getPersonsCollection()**](PersonsApi.md#getPersonsCollection) | **GET** /persons/collection | Get all persons collection [**mergePersons()**](PersonsApi.md#mergePersons) | **PUT** /persons/{id}/merge | Merge two persons [**searchPersons()**](PersonsApi.md#searchPersons) | **GET** /persons/search | Search persons [**updatePerson()**](PersonsApi.md#updatePerson) | **PUT** /persons/{id} | Update a person @@ -440,7 +440,7 @@ deletePersons($ids): \Pipedrive\versions\v1\Model\DeletePersonsInBulkResponse Delete multiple persons in bulk -Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted. +Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted.
This endpoint has been deprecated. Please use DELETE /api/v2/persons/{id} instead. ### Example @@ -570,7 +570,7 @@ getPersonActivities($id, $start, $limit, $done, $exclude): \Pipedrive\versions\v List activities associated with a person -Lists activities associated with a person. +Lists activities associated with a person.
This endpoint has been deprecated. Please use GET /api/v2/activities?person_id={id} instead. ### Example @@ -712,7 +712,7 @@ getPersonDeals($id, $start, $limit, $status, $sort): \Pipedrive\versions\v1\Mode List deals associated with a person -Lists deals associated with a person. +Lists deals associated with a person.
This endpoint has been deprecated. Please use GET /api/v2/deals?person_id={id} instead. ### Example @@ -1270,9 +1270,9 @@ Name | Type | Description | Notes getPersonsCollection($cursor, $limit, $since, $until, $owner_id, $first_char): \Pipedrive\versions\v1\Model\InlineResponse2001 ``` -Get all persons (BETA) +Get all persons collection -Returns all persons. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on pagination. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions here. +Returns all persons. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions here.
This endpoint has been deprecated. Please use GET /api/v2/persons instead. ### Example diff --git a/docs/versions/v1/Api/PipelinesApi.md b/docs/versions/v1/Api/PipelinesApi.md index 901ac2d..c0f5e72 100644 --- a/docs/versions/v1/Api/PipelinesApi.md +++ b/docs/versions/v1/Api/PipelinesApi.md @@ -290,7 +290,7 @@ getPipelineDeals($id, $filter_id, $user_id, $everyone, $stage_id, $start, $limit Get deals in a pipeline -Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. +Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
This endpoint has been deprecated. Please use GET /api/v2/deals?pipeline_id={id} instead. ### Example diff --git a/docs/versions/v1/Api/StagesApi.md b/docs/versions/v1/Api/StagesApi.md index c696a11..88b0807 100644 --- a/docs/versions/v1/Api/StagesApi.md +++ b/docs/versions/v1/Api/StagesApi.md @@ -151,7 +151,7 @@ deleteStages($ids): \Pipedrive\versions\v1\Model\DeleteStagesResponse Delete multiple stages in bulk -Marks multiple stages as deleted. +Marks multiple stages as deleted.
This endpoint has been deprecated. Please use DELETE /api/v2/stages/{id} instead. ### Example @@ -283,7 +283,7 @@ getStageDeals($id, $filter_id, $user_id, $everyone, $start, $limit): \Pipedrive\ Get deals in a stage -Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned. +Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
This endpoint has been deprecated. Please use GET /api/v2/deals?stage_id={id} instead. ### Example diff --git a/docs/versions/v1/README.md b/docs/versions/v1/README.md index b1e94c8..5a1bf9c 100644 --- a/docs/versions/v1/README.md +++ b/docs/versions/v1/README.md @@ -269,7 +269,7 @@ Class | Method | HTTP request | Description *ActivitiesApi* | [**deleteActivities**](Api/ActivitiesApi.md#deleteactivities) | **DELETE** /activities | Delete multiple activities in bulk *ActivitiesApi* | [**deleteActivity**](Api/ActivitiesApi.md#deleteactivity) | **DELETE** /activities/{id} | Delete an activity *ActivitiesApi* | [**getActivities**](Api/ActivitiesApi.md#getactivities) | **GET** /activities | Get all activities assigned to a particular user -*ActivitiesApi* | [**getActivitiesCollection**](Api/ActivitiesApi.md#getactivitiescollection) | **GET** /activities/collection | Get all activities (BETA) +*ActivitiesApi* | [**getActivitiesCollection**](Api/ActivitiesApi.md#getactivitiescollection) | **GET** /activities/collection | Get all activities collection *ActivitiesApi* | [**getActivity**](Api/ActivitiesApi.md#getactivity) | **GET** /activities/{id} | Get details of an activity *ActivitiesApi* | [**updateActivity**](Api/ActivitiesApi.md#updateactivity) | **PUT** /activities/{id} | Update an activity *ActivityFieldsApi* | [**getActivityFields**](Api/ActivityFieldsApi.md#getactivityfields) | **GET** /activityFields | Get all activity fields @@ -318,7 +318,7 @@ Class | Method | HTTP request | Description *DealsApi* | [**getDealUpdates**](Api/DealsApi.md#getdealupdates) | **GET** /deals/{id}/flow | List updates about a deal *DealsApi* | [**getDealUsers**](Api/DealsApi.md#getdealusers) | **GET** /deals/{id}/permittedUsers | List permitted users *DealsApi* | [**getDeals**](Api/DealsApi.md#getdeals) | **GET** /deals | Get all deals -*DealsApi* | [**getDealsCollection**](Api/DealsApi.md#getdealscollection) | **GET** /deals/collection | Get all deals (BETA) +*DealsApi* | [**getDealsCollection**](Api/DealsApi.md#getdealscollection) | **GET** /deals/collection | Get all deals collection *DealsApi* | [**getDealsSummary**](Api/DealsApi.md#getdealssummary) | **GET** /deals/summary | Get deals summary *DealsApi* | [**getDealsTimeline**](Api/DealsApi.md#getdealstimeline) | **GET** /deals/timeline | Get deals timeline *DealsApi* | [**mergeDeals**](Api/DealsApi.md#mergedeals) | **PUT** /deals/{id}/merge | Merge two deals @@ -413,7 +413,7 @@ Class | Method | HTTP request | Description *OrganizationsApi* | [**getOrganizationUpdates**](Api/OrganizationsApi.md#getorganizationupdates) | **GET** /organizations/{id}/flow | List updates about an organization *OrganizationsApi* | [**getOrganizationUsers**](Api/OrganizationsApi.md#getorganizationusers) | **GET** /organizations/{id}/permittedUsers | List permitted users *OrganizationsApi* | [**getOrganizations**](Api/OrganizationsApi.md#getorganizations) | **GET** /organizations | Get all organizations -*OrganizationsApi* | [**getOrganizationsCollection**](Api/OrganizationsApi.md#getorganizationscollection) | **GET** /organizations/collection | Get all organizations (BETA) +*OrganizationsApi* | [**getOrganizationsCollection**](Api/OrganizationsApi.md#getorganizationscollection) | **GET** /organizations/collection | Get all organizations collection *OrganizationsApi* | [**mergeOrganizations**](Api/OrganizationsApi.md#mergeorganizations) | **PUT** /organizations/{id}/merge | Merge two organizations *OrganizationsApi* | [**searchOrganization**](Api/OrganizationsApi.md#searchorganization) | **GET** /organizations/search | Search organizations *OrganizationsApi* | [**updateOrganization**](Api/OrganizationsApi.md#updateorganization) | **PUT** /organizations/{id} | Update an organization @@ -444,7 +444,7 @@ Class | Method | HTTP request | Description *PersonsApi* | [**getPersonUpdates**](Api/PersonsApi.md#getpersonupdates) | **GET** /persons/{id}/flow | List updates about a person *PersonsApi* | [**getPersonUsers**](Api/PersonsApi.md#getpersonusers) | **GET** /persons/{id}/permittedUsers | List permitted users *PersonsApi* | [**getPersons**](Api/PersonsApi.md#getpersons) | **GET** /persons | Get all persons -*PersonsApi* | [**getPersonsCollection**](Api/PersonsApi.md#getpersonscollection) | **GET** /persons/collection | Get all persons (BETA) +*PersonsApi* | [**getPersonsCollection**](Api/PersonsApi.md#getpersonscollection) | **GET** /persons/collection | Get all persons collection *PersonsApi* | [**mergePersons**](Api/PersonsApi.md#mergepersons) | **PUT** /persons/{id}/merge | Merge two persons *PersonsApi* | [**searchPersons**](Api/PersonsApi.md#searchpersons) | **GET** /persons/search | Search persons *PersonsApi* | [**updatePerson**](Api/PersonsApi.md#updateperson) | **PUT** /persons/{id} | Update a person diff --git a/lib/versions/v1/Api/ActivitiesApi.php b/lib/versions/v1/Api/ActivitiesApi.php index 7b2a69b..3447a77 100644 --- a/lib/versions/v1/Api/ActivitiesApi.php +++ b/lib/versions/v1/Api/ActivitiesApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\AddActivityResponse + * @deprecated */ public function addActivity($activity_post_object = null) { @@ -149,6 +150,7 @@ public function addActivity($activity_post_object = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\AddActivityResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addActivityWithHttpInfo($activity_post_object = null) { @@ -249,6 +251,7 @@ public function addActivityWithHttpInfo($activity_post_object = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addActivityAsync($activity_post_object = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addActivityAsyncWithHttpInfo($activity_post_object = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addActivityRequest($activity_post_object = null): Request { @@ -419,6 +424,7 @@ public function addActivityRequest($activity_post_object = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteActivitiesResponse + * @deprecated */ public function deleteActivities($ids) { @@ -436,6 +442,7 @@ public function deleteActivities($ids) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteActivitiesResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteActivitiesWithHttpInfo($ids) { @@ -536,6 +543,7 @@ public function deleteActivitiesWithHttpInfo($ids) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteActivitiesAsync($ids): PromiseInterface { @@ -556,6 +564,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteActivitiesAsyncWithHttpInfo($ids): PromiseInterface { @@ -603,6 +612,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteActivitiesRequest($ids): Request { @@ -715,6 +725,7 @@ public function deleteActivitiesRequest($ids): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteActivityResponse + * @deprecated */ public function deleteActivity($id) { @@ -732,6 +743,7 @@ public function deleteActivity($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteActivityResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteActivityWithHttpInfo($id) { @@ -832,6 +844,7 @@ public function deleteActivityWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteActivityAsync($id): PromiseInterface { @@ -852,6 +865,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteActivityAsyncWithHttpInfo($id): PromiseInterface { @@ -899,6 +913,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteActivityRequest($id): Request { @@ -1018,6 +1033,7 @@ public function deleteActivityRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetActivitiesResponse + * @deprecated */ public function getActivities($user_id = null, $filter_id = null, $type = null, $limit = null, $start = null, $start_date = null, $end_date = null, $done = null) { @@ -1042,6 +1058,7 @@ public function getActivities($user_id = null, $filter_id = null, $type = null, * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetActivitiesResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getActivitiesWithHttpInfo($user_id = null, $filter_id = null, $type = null, $limit = null, $start = null, $start_date = null, $end_date = null, $done = null) { @@ -1149,6 +1166,7 @@ public function getActivitiesWithHttpInfo($user_id = null, $filter_id = null, $t * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getActivitiesAsync($user_id = null, $filter_id = null, $type = null, $limit = null, $start = null, $start_date = null, $end_date = null, $done = null): PromiseInterface { @@ -1176,6 +1194,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getActivitiesAsyncWithHttpInfo($user_id = null, $filter_id = null, $type = null, $limit = null, $start = null, $start_date = null, $end_date = null, $done = null): PromiseInterface { @@ -1230,6 +1249,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getActivitiesRequest($user_id = null, $filter_id = null, $type = null, $limit = null, $start = null, $start_date = null, $end_date = null, $done = null): Request { @@ -1384,7 +1404,7 @@ public function getActivitiesRequest($user_id = null, $filter_id = null, $type = /** * Operation getActivitiesCollection * - * Get all activities (BETA) + * Get all activities collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -1397,6 +1417,7 @@ public function getActivitiesRequest($user_id = null, $filter_id = null, $type = * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetActivitiesCollectionResponse|\Pipedrive\versions\v1\Model\FailResponse + * @deprecated */ public function getActivitiesCollection($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $done = null, $type = null) { @@ -1407,7 +1428,7 @@ public function getActivitiesCollection($cursor = null, $limit = null, $since = /** * Operation getActivitiesCollectionWithHttpInfo * - * Get all activities (BETA) + * Get all activities collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -1420,6 +1441,7 @@ public function getActivitiesCollection($cursor = null, $limit = null, $since = * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetActivitiesCollectionResponse|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getActivitiesCollectionWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $done = null, $type = null) { @@ -1535,7 +1557,7 @@ public function getActivitiesCollectionWithHttpInfo($cursor = null, $limit = nul /** * Operation getActivitiesCollectionAsync * - * Get all activities (BETA) + * Get all activities collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -1547,6 +1569,7 @@ public function getActivitiesCollectionWithHttpInfo($cursor = null, $limit = nul * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getActivitiesCollectionAsync($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $done = null, $type = null): PromiseInterface { @@ -1561,7 +1584,7 @@ function ($response) { /** * Operation getActivitiesCollectionAsyncWithHttpInfo * - * Get all activities (BETA) + * Get all activities collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -1573,6 +1596,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getActivitiesCollectionAsyncWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $done = null, $type = null): PromiseInterface { @@ -1626,6 +1650,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getActivitiesCollectionRequest($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $done = null, $type = null): Request { @@ -1779,6 +1804,7 @@ public function getActivitiesCollectionRequest($cursor = null, $limit = null, $s * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetActivityResponse + * @deprecated */ public function getActivity($id) { @@ -1796,6 +1822,7 @@ public function getActivity($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetActivityResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getActivityWithHttpInfo($id) { @@ -1896,6 +1923,7 @@ public function getActivityWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getActivityAsync($id): PromiseInterface { @@ -1916,6 +1944,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getActivityAsyncWithHttpInfo($id): PromiseInterface { @@ -1963,6 +1992,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getActivityRequest($id): Request { @@ -2076,6 +2106,7 @@ public function getActivityRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\UpdateActivityResponse + * @deprecated */ public function updateActivity($id, $activity_put_object = null) { @@ -2094,6 +2125,7 @@ public function updateActivity($id, $activity_put_object = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\UpdateActivityResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updateActivityWithHttpInfo($id, $activity_put_object = null) { @@ -2195,6 +2227,7 @@ public function updateActivityWithHttpInfo($id, $activity_put_object = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateActivityAsync($id, $activity_put_object = null): PromiseInterface { @@ -2216,6 +2249,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateActivityAsyncWithHttpInfo($id, $activity_put_object = null): PromiseInterface { @@ -2264,6 +2298,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updateActivityRequest($id, $activity_put_object = null): Request { diff --git a/lib/versions/v1/Api/DealsApi.php b/lib/versions/v1/Api/DealsApi.php index f41d439..102a7cb 100644 --- a/lib/versions/v1/Api/DealsApi.php +++ b/lib/versions/v1/Api/DealsApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAddedDeal + * @deprecated */ public function addDeal($new_deal = null) { @@ -149,6 +150,7 @@ public function addDeal($new_deal = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAddedDeal, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addDealWithHttpInfo($new_deal = null) { @@ -249,6 +251,7 @@ public function addDealWithHttpInfo($new_deal = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addDealAsync($new_deal = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addDealAsyncWithHttpInfo($new_deal = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addDealRequest($new_deal = null): Request { @@ -1034,6 +1039,7 @@ public function addDealParticipantRequest($id, $add_deal_participant_request = n * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAddProductAttachmentDetails + * @deprecated */ public function addDealProduct($id, $new_deal_product = null) { @@ -1052,6 +1058,7 @@ public function addDealProduct($id, $new_deal_product = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAddProductAttachmentDetails, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addDealProductWithHttpInfo($id, $new_deal_product = null) { @@ -1153,6 +1160,7 @@ public function addDealProductWithHttpInfo($id, $new_deal_product = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addDealProductAsync($id, $new_deal_product = null): PromiseInterface { @@ -1174,6 +1182,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addDealProductAsyncWithHttpInfo($id, $new_deal_product = null): PromiseInterface { @@ -1222,6 +1231,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addDealProductRequest($id, $new_deal_product = null): Request { @@ -1340,6 +1350,7 @@ public function addDealProductRequest($id, $new_deal_product = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteDeal + * @deprecated */ public function deleteDeal($id) { @@ -1357,6 +1368,7 @@ public function deleteDeal($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteDeal, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteDealWithHttpInfo($id) { @@ -1457,6 +1469,7 @@ public function deleteDealWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteDealAsync($id): PromiseInterface { @@ -1477,6 +1490,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteDealAsyncWithHttpInfo($id): PromiseInterface { @@ -1524,6 +1538,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteDealRequest($id): Request { @@ -2269,6 +2284,7 @@ public function deleteDealParticipantRequest($id, $deal_participant_id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteDealProduct + * @deprecated */ public function deleteDealProduct($id, $product_attachment_id) { @@ -2287,6 +2303,7 @@ public function deleteDealProduct($id, $product_attachment_id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteDealProduct, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteDealProductWithHttpInfo($id, $product_attachment_id) { @@ -2388,6 +2405,7 @@ public function deleteDealProductWithHttpInfo($id, $product_attachment_id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteDealProductAsync($id, $product_attachment_id): PromiseInterface { @@ -2409,6 +2427,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteDealProductAsyncWithHttpInfo($id, $product_attachment_id): PromiseInterface { @@ -2457,6 +2476,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteDealProductRequest($id, $product_attachment_id): Request { @@ -2584,6 +2604,7 @@ public function deleteDealProductRequest($id, $product_attachment_id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteMultipleDeals + * @deprecated */ public function deleteDeals($ids) { @@ -2601,6 +2622,7 @@ public function deleteDeals($ids) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteMultipleDeals, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteDealsWithHttpInfo($ids) { @@ -2701,6 +2723,7 @@ public function deleteDealsWithHttpInfo($ids) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteDealsAsync($ids): PromiseInterface { @@ -2721,6 +2744,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteDealsAsyncWithHttpInfo($ids): PromiseInterface { @@ -2768,6 +2792,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteDealsRequest($ids): Request { @@ -3176,6 +3201,7 @@ public function duplicateDealRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetDeal + * @deprecated */ public function getDeal($id) { @@ -3193,6 +3219,7 @@ public function getDeal($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetDeal, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getDealWithHttpInfo($id) { @@ -3293,6 +3320,7 @@ public function getDealWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealAsync($id): PromiseInterface { @@ -3313,6 +3341,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealAsyncWithHttpInfo($id): PromiseInterface { @@ -3360,6 +3389,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getDealRequest($id): Request { @@ -3476,6 +3506,7 @@ public function getDealRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DealListActivitiesResponse + * @deprecated */ public function getDealActivities($id, $start = 0, $limit = null, $done = null, $exclude = null) { @@ -3497,6 +3528,7 @@ public function getDealActivities($id, $start = 0, $limit = null, $done = null, * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DealListActivitiesResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getDealActivitiesWithHttpInfo($id, $start = 0, $limit = null, $done = null, $exclude = null) { @@ -3601,6 +3633,7 @@ public function getDealActivitiesWithHttpInfo($id, $start = 0, $limit = null, $d * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealActivitiesAsync($id, $start = 0, $limit = null, $done = null, $exclude = null): PromiseInterface { @@ -3625,6 +3658,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealActivitiesAsyncWithHttpInfo($id, $start = 0, $limit = null, $done = null, $exclude = null): PromiseInterface { @@ -3676,6 +3710,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getDealActivitiesRequest($id, $start = 0, $limit = null, $done = null, $exclude = null): Request { @@ -5745,6 +5780,7 @@ public function getDealParticipantsChangelogRequest($id, $limit = null, $cursor * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListPersonsResponse + * @deprecated */ public function getDealPersons($id, $start = 0, $limit = null) { @@ -5764,6 +5800,7 @@ public function getDealPersons($id, $start = 0, $limit = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListPersonsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getDealPersonsWithHttpInfo($id, $start = 0, $limit = null) { @@ -5866,6 +5903,7 @@ public function getDealPersonsWithHttpInfo($id, $start = 0, $limit = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealPersonsAsync($id, $start = 0, $limit = null): PromiseInterface { @@ -5888,6 +5926,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealPersonsAsyncWithHttpInfo($id, $start = 0, $limit = null): PromiseInterface { @@ -5937,6 +5976,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getDealPersonsRequest($id, $start = 0, $limit = null): Request { @@ -6068,6 +6108,7 @@ public function getDealPersonsRequest($id, $start = 0, $limit = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListProductsResponse + * @deprecated */ public function getDealProducts($id, $start = 0, $limit = null, $include_product_data = null) { @@ -6088,6 +6129,7 @@ public function getDealProducts($id, $start = 0, $limit = null, $include_product * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListProductsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getDealProductsWithHttpInfo($id, $start = 0, $limit = null, $include_product_data = null) { @@ -6191,6 +6233,7 @@ public function getDealProductsWithHttpInfo($id, $start = 0, $limit = null, $inc * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealProductsAsync($id, $start = 0, $limit = null, $include_product_data = null): PromiseInterface { @@ -6214,6 +6257,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealProductsAsyncWithHttpInfo($id, $start = 0, $limit = null, $include_product_data = null): PromiseInterface { @@ -6264,6 +6308,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getDealProductsRequest($id, $start = 0, $limit = null, $include_product_data = null): Request { @@ -7051,6 +7096,7 @@ public function getDealUsersRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetDeals + * @deprecated */ public function getDeals($user_id = null, $filter_id = null, $stage_id = null, $status = 'all_not_deleted', $start = 0, $limit = null, $sort = null, $owned_by_you = null) { @@ -7075,6 +7121,7 @@ public function getDeals($user_id = null, $filter_id = null, $stage_id = null, $ * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetDeals, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getDealsWithHttpInfo($user_id = null, $filter_id = null, $stage_id = null, $status = 'all_not_deleted', $start = 0, $limit = null, $sort = null, $owned_by_you = null) { @@ -7182,6 +7229,7 @@ public function getDealsWithHttpInfo($user_id = null, $filter_id = null, $stage_ * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealsAsync($user_id = null, $filter_id = null, $stage_id = null, $status = 'all_not_deleted', $start = 0, $limit = null, $sort = null, $owned_by_you = null): PromiseInterface { @@ -7209,6 +7257,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealsAsyncWithHttpInfo($user_id = null, $filter_id = null, $stage_id = null, $status = 'all_not_deleted', $start = 0, $limit = null, $sort = null, $owned_by_you = null): PromiseInterface { @@ -7263,6 +7312,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getDealsRequest($user_id = null, $filter_id = null, $stage_id = null, $status = 'all_not_deleted', $start = 0, $limit = null, $sort = null, $owned_by_you = null): Request { @@ -7417,7 +7467,7 @@ public function getDealsRequest($user_id = null, $filter_id = null, $stage_id = /** * Operation getDealsCollection * - * Get all deals (BETA) + * Get all deals collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -7430,6 +7480,7 @@ public function getDealsRequest($user_id = null, $filter_id = null, $stage_id = * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetDealsCollection|\Pipedrive\versions\v1\Model\FailResponse + * @deprecated */ public function getDealsCollection($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $stage_id = null, $status = null) { @@ -7440,7 +7491,7 @@ public function getDealsCollection($cursor = null, $limit = null, $since = null, /** * Operation getDealsCollectionWithHttpInfo * - * Get all deals (BETA) + * Get all deals collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -7453,6 +7504,7 @@ public function getDealsCollection($cursor = null, $limit = null, $since = null, * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetDealsCollection|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getDealsCollectionWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $stage_id = null, $status = null) { @@ -7568,7 +7620,7 @@ public function getDealsCollectionWithHttpInfo($cursor = null, $limit = null, $s /** * Operation getDealsCollectionAsync * - * Get all deals (BETA) + * Get all deals collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -7580,6 +7632,7 @@ public function getDealsCollectionWithHttpInfo($cursor = null, $limit = null, $s * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealsCollectionAsync($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $stage_id = null, $status = null): PromiseInterface { @@ -7594,7 +7647,7 @@ function ($response) { /** * Operation getDealsCollectionAsyncWithHttpInfo * - * Get all deals (BETA) + * Get all deals collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -7606,6 +7659,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getDealsCollectionAsyncWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $stage_id = null, $status = null): PromiseInterface { @@ -7659,6 +7713,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getDealsCollectionRequest($cursor = null, $limit = null, $since = null, $until = null, $user_id = null, $stage_id = null, $status = null): Request { @@ -8889,6 +8944,7 @@ public function mergeDealsRequest($id, $merge_deals_request = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DealSearchResponse + * @deprecated */ public function searchDeals($term, $fields = null, $exact_match = null, $person_id = null, $organization_id = null, $status = null, $include_fields = null, $start = 0, $limit = null) { @@ -8914,6 +8970,7 @@ public function searchDeals($term, $fields = null, $exact_match = null, $person_ * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DealSearchResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function searchDealsWithHttpInfo($term, $fields = null, $exact_match = null, $person_id = null, $organization_id = null, $status = null, $include_fields = null, $start = 0, $limit = null) { @@ -9022,6 +9079,7 @@ public function searchDealsWithHttpInfo($term, $fields = null, $exact_match = nu * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchDealsAsync($term, $fields = null, $exact_match = null, $person_id = null, $organization_id = null, $status = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -9050,6 +9108,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchDealsAsyncWithHttpInfo($term, $fields = null, $exact_match = null, $person_id = null, $organization_id = null, $status = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -9105,6 +9164,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function searchDealsRequest($term, $fields = null, $exact_match = null, $person_id = null, $organization_id = null, $status = null, $include_fields = null, $start = 0, $limit = null): Request { @@ -9282,6 +9342,7 @@ public function searchDealsRequest($term, $fields = null, $exact_match = null, $ * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAddedDeal + * @deprecated */ public function updateDeal($id, $update_deal_request = null) { @@ -9300,6 +9361,7 @@ public function updateDeal($id, $update_deal_request = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAddedDeal, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updateDealWithHttpInfo($id, $update_deal_request = null) { @@ -9401,6 +9463,7 @@ public function updateDealWithHttpInfo($id, $update_deal_request = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateDealAsync($id, $update_deal_request = null): PromiseInterface { @@ -9422,6 +9485,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateDealAsyncWithHttpInfo($id, $update_deal_request = null): PromiseInterface { @@ -9470,6 +9534,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updateDealRequest($id, $update_deal_request = null): Request { @@ -9590,6 +9655,7 @@ public function updateDealRequest($id, $update_deal_request = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetProductAttachmentDetails + * @deprecated */ public function updateDealProduct($id, $product_attachment_id, $update_deal_product = null) { @@ -9609,6 +9675,7 @@ public function updateDealProduct($id, $product_attachment_id, $update_deal_prod * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetProductAttachmentDetails, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updateDealProductWithHttpInfo($id, $product_attachment_id, $update_deal_product = null) { @@ -9711,6 +9778,7 @@ public function updateDealProductWithHttpInfo($id, $product_attachment_id, $upda * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateDealProductAsync($id, $product_attachment_id, $update_deal_product = null): PromiseInterface { @@ -9733,6 +9801,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateDealProductAsyncWithHttpInfo($id, $product_attachment_id, $update_deal_product = null): PromiseInterface { @@ -9782,6 +9851,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updateDealProductRequest($id, $product_attachment_id, $update_deal_product = null): Request { diff --git a/lib/versions/v1/Api/ItemSearchApi.php b/lib/versions/v1/Api/ItemSearchApi.php index 0539448..c9d1058 100644 --- a/lib/versions/v1/Api/ItemSearchApi.php +++ b/lib/versions/v1/Api/ItemSearchApi.php @@ -139,6 +139,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ItemSearchResponse + * @deprecated */ public function searchItem($term, $item_types = null, $fields = null, $search_for_related_items = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null) { @@ -163,6 +164,7 @@ public function searchItem($term, $item_types = null, $fields = null, $search_fo * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ItemSearchResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function searchItemWithHttpInfo($term, $item_types = null, $fields = null, $search_for_related_items = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null) { @@ -270,6 +272,7 @@ public function searchItemWithHttpInfo($term, $item_types = null, $fields = null * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchItemAsync($term, $item_types = null, $fields = null, $search_for_related_items = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -297,6 +300,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchItemAsyncWithHttpInfo($term, $item_types = null, $fields = null, $search_for_related_items = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -351,6 +355,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function searchItemRequest($term, $item_types = null, $fields = null, $search_for_related_items = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null): Request { @@ -525,6 +530,7 @@ public function searchItemRequest($term, $item_types = null, $fields = null, $se * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ItemSearchFieldResponse + * @deprecated */ public function searchItemByField($term, $field_type, $field_key, $exact_match = false, $return_item_ids = null, $start = null, $limit = null) { @@ -548,6 +554,7 @@ public function searchItemByField($term, $field_type, $field_key, $exact_match = * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ItemSearchFieldResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function searchItemByFieldWithHttpInfo($term, $field_type, $field_key, $exact_match = false, $return_item_ids = null, $start = null, $limit = null) { @@ -654,6 +661,7 @@ public function searchItemByFieldWithHttpInfo($term, $field_type, $field_key, $e * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchItemByFieldAsync($term, $field_type, $field_key, $exact_match = false, $return_item_ids = null, $start = null, $limit = null): PromiseInterface { @@ -680,6 +688,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchItemByFieldAsyncWithHttpInfo($term, $field_type, $field_key, $exact_match = false, $return_item_ids = null, $start = null, $limit = null): PromiseInterface { @@ -733,6 +742,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function searchItemByFieldRequest($term, $field_type, $field_key, $exact_match = false, $return_item_ids = null, $start = null, $limit = null): Request { diff --git a/lib/versions/v1/Api/OrganizationsApi.php b/lib/versions/v1/Api/OrganizationsApi.php index 5e68f25..20e1332 100644 --- a/lib/versions/v1/Api/OrganizationsApi.php +++ b/lib/versions/v1/Api/OrganizationsApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\OrganizationPostResponse + * @deprecated */ public function addOrganization($new_organization = null) { @@ -149,6 +150,7 @@ public function addOrganization($new_organization = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\OrganizationPostResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addOrganizationWithHttpInfo($new_organization = null) { @@ -249,6 +251,7 @@ public function addOrganizationWithHttpInfo($new_organization = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addOrganizationAsync($new_organization = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addOrganizationAsyncWithHttpInfo($new_organization = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addOrganizationRequest($new_organization = null): Request { @@ -726,6 +731,7 @@ public function addOrganizationFollowerRequest($id, $add_organization_follower_r * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\OrganizationDeleteResponse + * @deprecated */ public function deleteOrganization($id) { @@ -743,6 +749,7 @@ public function deleteOrganization($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\OrganizationDeleteResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteOrganizationWithHttpInfo($id) { @@ -843,6 +850,7 @@ public function deleteOrganizationWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteOrganizationAsync($id): PromiseInterface { @@ -863,6 +871,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteOrganizationAsyncWithHttpInfo($id): PromiseInterface { @@ -910,6 +919,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteOrganizationRequest($id): Request { @@ -1338,6 +1348,7 @@ public function deleteOrganizationFollowerRequest($id, $follower_id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\OrganizationsDeleteResponse + * @deprecated */ public function deleteOrganizations($ids) { @@ -1355,6 +1366,7 @@ public function deleteOrganizations($ids) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\OrganizationsDeleteResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteOrganizationsWithHttpInfo($ids) { @@ -1455,6 +1467,7 @@ public function deleteOrganizationsWithHttpInfo($ids) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteOrganizationsAsync($ids): PromiseInterface { @@ -1475,6 +1488,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteOrganizationsAsyncWithHttpInfo($ids): PromiseInterface { @@ -1522,6 +1536,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteOrganizationsRequest($ids): Request { @@ -1634,6 +1649,7 @@ public function deleteOrganizationsRequest($ids): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\OrganizationDetailsGetResponse + * @deprecated */ public function getOrganization($id) { @@ -1651,6 +1667,7 @@ public function getOrganization($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\OrganizationDetailsGetResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getOrganizationWithHttpInfo($id) { @@ -1751,6 +1768,7 @@ public function getOrganizationWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationAsync($id): PromiseInterface { @@ -1771,6 +1789,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationAsyncWithHttpInfo($id): PromiseInterface { @@ -1818,6 +1837,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getOrganizationRequest($id): Request { @@ -1934,6 +1954,7 @@ public function getOrganizationRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListActivitiesResponse + * @deprecated */ public function getOrganizationActivities($id, $start = 0, $limit = null, $done = null, $exclude = null) { @@ -1955,6 +1976,7 @@ public function getOrganizationActivities($id, $start = 0, $limit = null, $done * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListActivitiesResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getOrganizationActivitiesWithHttpInfo($id, $start = 0, $limit = null, $done = null, $exclude = null) { @@ -2059,6 +2081,7 @@ public function getOrganizationActivitiesWithHttpInfo($id, $start = 0, $limit = * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationActivitiesAsync($id, $start = 0, $limit = null, $done = null, $exclude = null): PromiseInterface { @@ -2083,6 +2106,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationActivitiesAsyncWithHttpInfo($id, $start = 0, $limit = null, $done = null, $exclude = null): PromiseInterface { @@ -2134,6 +2158,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getOrganizationActivitiesRequest($id, $start = 0, $limit = null, $done = null, $exclude = null): Request { @@ -2605,6 +2630,7 @@ public function getOrganizationChangelogRequest($id, $cursor = null, $limit = nu * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListDealsResponse + * @deprecated */ public function getOrganizationDeals($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null, $only_primary_association = null) { @@ -2627,6 +2653,7 @@ public function getOrganizationDeals($id, $start = 0, $limit = null, $status = ' * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListDealsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getOrganizationDealsWithHttpInfo($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null, $only_primary_association = null) { @@ -2732,6 +2759,7 @@ public function getOrganizationDealsWithHttpInfo($id, $start = 0, $limit = null, * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationDealsAsync($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null, $only_primary_association = null): PromiseInterface { @@ -2757,6 +2785,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationDealsAsyncWithHttpInfo($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null, $only_primary_association = null): PromiseInterface { @@ -2809,6 +2838,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getOrganizationDealsRequest($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null, $only_primary_association = null): Request { @@ -3920,6 +3950,7 @@ public function getOrganizationMailMessagesRequest($id, $start = 0, $limit = nul * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListPersonsResponse + * @deprecated */ public function getOrganizationPersons($id, $start = 0, $limit = null) { @@ -3939,6 +3970,7 @@ public function getOrganizationPersons($id, $start = 0, $limit = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListPersonsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getOrganizationPersonsWithHttpInfo($id, $start = 0, $limit = null) { @@ -4041,6 +4073,7 @@ public function getOrganizationPersonsWithHttpInfo($id, $start = 0, $limit = nul * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationPersonsAsync($id, $start = 0, $limit = null): PromiseInterface { @@ -4063,6 +4096,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationPersonsAsyncWithHttpInfo($id, $start = 0, $limit = null): PromiseInterface { @@ -4112,6 +4146,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getOrganizationPersonsRequest($id, $start = 0, $limit = null): Request { @@ -4889,6 +4924,7 @@ public function getOrganizationUsersRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\AllOrganizationsGetResponse + * @deprecated */ public function getOrganizations($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null) { @@ -4911,6 +4947,7 @@ public function getOrganizations($user_id = null, $filter_id = null, $first_char * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\AllOrganizationsGetResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getOrganizationsWithHttpInfo($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null) { @@ -5016,6 +5053,7 @@ public function getOrganizationsWithHttpInfo($user_id = null, $filter_id = null, * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationsAsync($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null): PromiseInterface { @@ -5041,6 +5079,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationsAsyncWithHttpInfo($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null): PromiseInterface { @@ -5093,6 +5132,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getOrganizationsRequest($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null): Request { @@ -5231,7 +5271,7 @@ public function getOrganizationsRequest($user_id = null, $filter_id = null, $fir /** * Operation getOrganizationsCollection * - * Get all organizations (BETA) + * Get all organizations collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -5243,6 +5283,7 @@ public function getOrganizationsRequest($user_id = null, $filter_id = null, $fir * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\InlineResponse200|\Pipedrive\versions\v1\Model\FailResponse + * @deprecated */ public function getOrganizationsCollection($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null) { @@ -5253,7 +5294,7 @@ public function getOrganizationsCollection($cursor = null, $limit = null, $since /** * Operation getOrganizationsCollectionWithHttpInfo * - * Get all organizations (BETA) + * Get all organizations collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -5265,6 +5306,7 @@ public function getOrganizationsCollection($cursor = null, $limit = null, $since * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\InlineResponse200|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getOrganizationsCollectionWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null) { @@ -5380,7 +5422,7 @@ public function getOrganizationsCollectionWithHttpInfo($cursor = null, $limit = /** * Operation getOrganizationsCollectionAsync * - * Get all organizations (BETA) + * Get all organizations collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -5391,6 +5433,7 @@ public function getOrganizationsCollectionWithHttpInfo($cursor = null, $limit = * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationsCollectionAsync($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null): PromiseInterface { @@ -5405,7 +5448,7 @@ function ($response) { /** * Operation getOrganizationsCollectionAsyncWithHttpInfo * - * Get all organizations (BETA) + * Get all organizations collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -5416,6 +5459,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getOrganizationsCollectionAsyncWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null): PromiseInterface { @@ -5468,6 +5512,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getOrganizationsCollectionRequest($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null): Request { @@ -5924,6 +5969,7 @@ public function mergeOrganizationsRequest($id, $merge_organizations_request = nu * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\OrganizationSearchResponse + * @deprecated */ public function searchOrganization($term, $fields = null, $exact_match = null, $start = 0, $limit = null) { @@ -5945,6 +5991,7 @@ public function searchOrganization($term, $fields = null, $exact_match = null, $ * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\OrganizationSearchResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function searchOrganizationWithHttpInfo($term, $fields = null, $exact_match = null, $start = 0, $limit = null) { @@ -6049,6 +6096,7 @@ public function searchOrganizationWithHttpInfo($term, $fields = null, $exact_mat * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchOrganizationAsync($term, $fields = null, $exact_match = null, $start = 0, $limit = null): PromiseInterface { @@ -6073,6 +6121,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchOrganizationAsyncWithHttpInfo($term, $fields = null, $exact_match = null, $start = 0, $limit = null): PromiseInterface { @@ -6124,6 +6173,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function searchOrganizationRequest($term, $fields = null, $exact_match = null, $start = 0, $limit = null): Request { @@ -6269,6 +6319,7 @@ public function searchOrganizationRequest($term, $fields = null, $exact_match = * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\OrganizationUpdateResponse + * @deprecated */ public function updateOrganization($id, $update_organization = null) { @@ -6287,6 +6338,7 @@ public function updateOrganization($id, $update_organization = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\OrganizationUpdateResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updateOrganizationWithHttpInfo($id, $update_organization = null) { @@ -6388,6 +6440,7 @@ public function updateOrganizationWithHttpInfo($id, $update_organization = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateOrganizationAsync($id, $update_organization = null): PromiseInterface { @@ -6409,6 +6462,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateOrganizationAsyncWithHttpInfo($id, $update_organization = null): PromiseInterface { @@ -6457,6 +6511,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updateOrganizationRequest($id, $update_organization = null): Request { diff --git a/lib/versions/v1/Api/PersonsApi.php b/lib/versions/v1/Api/PersonsApi.php index 868817a..3bede79 100644 --- a/lib/versions/v1/Api/PersonsApi.php +++ b/lib/versions/v1/Api/PersonsApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\AddPersonResponse + * @deprecated */ public function addPerson($new_person = null) { @@ -149,6 +150,7 @@ public function addPerson($new_person = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\AddPersonResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addPersonWithHttpInfo($new_person = null) { @@ -249,6 +251,7 @@ public function addPersonWithHttpInfo($new_person = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addPersonAsync($new_person = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addPersonAsyncWithHttpInfo($new_person = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addPersonRequest($new_person = null): Request { @@ -1083,6 +1088,7 @@ public function addPersonPictureRequest($id, $file, $crop_x = null, $crop_y = nu * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeletePersonResponse + * @deprecated */ public function deletePerson($id) { @@ -1100,6 +1106,7 @@ public function deletePerson($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeletePersonResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deletePersonWithHttpInfo($id) { @@ -1200,6 +1207,7 @@ public function deletePersonWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deletePersonAsync($id): PromiseInterface { @@ -1220,6 +1228,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deletePersonAsyncWithHttpInfo($id): PromiseInterface { @@ -1267,6 +1276,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deletePersonRequest($id): Request { @@ -1991,6 +2001,7 @@ public function deletePersonPictureRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeletePersonsInBulkResponse + * @deprecated */ public function deletePersons($ids) { @@ -2008,6 +2019,7 @@ public function deletePersons($ids) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeletePersonsInBulkResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deletePersonsWithHttpInfo($ids) { @@ -2108,6 +2120,7 @@ public function deletePersonsWithHttpInfo($ids) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deletePersonsAsync($ids): PromiseInterface { @@ -2128,6 +2141,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deletePersonsAsyncWithHttpInfo($ids): PromiseInterface { @@ -2175,6 +2189,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deletePersonsRequest($ids): Request { @@ -2287,6 +2302,7 @@ public function deletePersonsRequest($ids): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetPersonDetailsResponse + * @deprecated */ public function getPerson($id) { @@ -2304,6 +2320,7 @@ public function getPerson($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetPersonDetailsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPersonWithHttpInfo($id) { @@ -2404,6 +2421,7 @@ public function getPersonWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonAsync($id): PromiseInterface { @@ -2424,6 +2442,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonAsyncWithHttpInfo($id): PromiseInterface { @@ -2471,6 +2490,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPersonRequest($id): Request { @@ -2587,6 +2607,7 @@ public function getPersonRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListActivitiesResponse + * @deprecated */ public function getPersonActivities($id, $start = 0, $limit = null, $done = null, $exclude = null) { @@ -2608,6 +2629,7 @@ public function getPersonActivities($id, $start = 0, $limit = null, $done = null * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListActivitiesResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPersonActivitiesWithHttpInfo($id, $start = 0, $limit = null, $done = null, $exclude = null) { @@ -2712,6 +2734,7 @@ public function getPersonActivitiesWithHttpInfo($id, $start = 0, $limit = null, * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonActivitiesAsync($id, $start = 0, $limit = null, $done = null, $exclude = null): PromiseInterface { @@ -2736,6 +2759,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonActivitiesAsyncWithHttpInfo($id, $start = 0, $limit = null, $done = null, $exclude = null): PromiseInterface { @@ -2787,6 +2811,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPersonActivitiesRequest($id, $start = 0, $limit = null, $done = null, $exclude = null): Request { @@ -3257,6 +3282,7 @@ public function getPersonChangelogRequest($id, $cursor = null, $limit = null): R * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ListDealsResponse + * @deprecated */ public function getPersonDeals($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null) { @@ -3278,6 +3304,7 @@ public function getPersonDeals($id, $start = 0, $limit = null, $status = 'all_no * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ListDealsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPersonDealsWithHttpInfo($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null) { @@ -3382,6 +3409,7 @@ public function getPersonDealsWithHttpInfo($id, $start = 0, $limit = null, $stat * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonDealsAsync($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null): PromiseInterface { @@ -3406,6 +3434,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonDealsAsyncWithHttpInfo($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null): PromiseInterface { @@ -3457,6 +3486,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPersonDealsRequest($id, $start = 0, $limit = null, $status = 'all_not_deleted', $sort = null): Request { @@ -5529,6 +5559,7 @@ public function getPersonUsersRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAllPersonsResponse + * @deprecated */ public function getPersons($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null) { @@ -5551,6 +5582,7 @@ public function getPersons($user_id = null, $filter_id = null, $first_char = nul * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAllPersonsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPersonsWithHttpInfo($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null) { @@ -5656,6 +5688,7 @@ public function getPersonsWithHttpInfo($user_id = null, $filter_id = null, $firs * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonsAsync($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null): PromiseInterface { @@ -5681,6 +5714,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonsAsyncWithHttpInfo($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null): PromiseInterface { @@ -5733,6 +5767,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPersonsRequest($user_id = null, $filter_id = null, $first_char = null, $start = 0, $limit = null, $sort = null): Request { @@ -5871,7 +5906,7 @@ public function getPersonsRequest($user_id = null, $filter_id = null, $first_cha /** * Operation getPersonsCollection * - * Get all persons (BETA) + * Get all persons collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -5883,6 +5918,7 @@ public function getPersonsRequest($user_id = null, $filter_id = null, $first_cha * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\InlineResponse2001|\Pipedrive\versions\v1\Model\FailResponse + * @deprecated */ public function getPersonsCollection($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null) { @@ -5893,7 +5929,7 @@ public function getPersonsCollection($cursor = null, $limit = null, $since = nul /** * Operation getPersonsCollectionWithHttpInfo * - * Get all persons (BETA) + * Get all persons collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -5905,6 +5941,7 @@ public function getPersonsCollection($cursor = null, $limit = null, $since = nul * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\InlineResponse2001|\Pipedrive\versions\v1\Model\FailResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPersonsCollectionWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null) { @@ -6020,7 +6057,7 @@ public function getPersonsCollectionWithHttpInfo($cursor = null, $limit = null, /** * Operation getPersonsCollectionAsync * - * Get all persons (BETA) + * Get all persons collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -6031,6 +6068,7 @@ public function getPersonsCollectionWithHttpInfo($cursor = null, $limit = null, * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonsCollectionAsync($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null): PromiseInterface { @@ -6045,7 +6083,7 @@ function ($response) { /** * Operation getPersonsCollectionAsyncWithHttpInfo * - * Get all persons (BETA) + * Get all persons collection * * @param string|null $cursor For pagination, the marker (an opaque string value) representing the first item on the next page (optional) * @param int|null $limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. (optional) @@ -6056,6 +6094,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPersonsCollectionAsyncWithHttpInfo($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null): PromiseInterface { @@ -6108,6 +6147,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPersonsCollectionRequest($cursor = null, $limit = null, $since = null, $until = null, $owner_id = null, $first_char = null): Request { @@ -6566,6 +6606,7 @@ public function mergePersonsRequest($id, $merge_persons_request = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\PersonSearchResponse + * @deprecated */ public function searchPersons($term, $fields = null, $exact_match = null, $organization_id = null, $include_fields = null, $start = 0, $limit = null) { @@ -6589,6 +6630,7 @@ public function searchPersons($term, $fields = null, $exact_match = null, $organ * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\PersonSearchResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function searchPersonsWithHttpInfo($term, $fields = null, $exact_match = null, $organization_id = null, $include_fields = null, $start = 0, $limit = null) { @@ -6695,6 +6737,7 @@ public function searchPersonsWithHttpInfo($term, $fields = null, $exact_match = * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchPersonsAsync($term, $fields = null, $exact_match = null, $organization_id = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -6721,6 +6764,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchPersonsAsyncWithHttpInfo($term, $fields = null, $exact_match = null, $organization_id = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -6774,6 +6818,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function searchPersonsRequest($term, $fields = null, $exact_match = null, $organization_id = null, $include_fields = null, $start = 0, $limit = null): Request { diff --git a/lib/versions/v1/Api/PipelinesApi.php b/lib/versions/v1/Api/PipelinesApi.php index 56560d3..a832079 100644 --- a/lib/versions/v1/Api/PipelinesApi.php +++ b/lib/versions/v1/Api/PipelinesApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\AddNewPipeline + * @deprecated */ public function addPipeline($pipeline = null) { @@ -149,6 +150,7 @@ public function addPipeline($pipeline = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\AddNewPipeline, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addPipelineWithHttpInfo($pipeline = null) { @@ -249,6 +251,7 @@ public function addPipelineWithHttpInfo($pipeline = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addPipelineAsync($pipeline = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addPipelineAsyncWithHttpInfo($pipeline = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addPipelineRequest($pipeline = null): Request { @@ -419,6 +424,7 @@ public function addPipelineRequest($pipeline = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeletePipelineResponse + * @deprecated */ public function deletePipeline($id) { @@ -436,6 +442,7 @@ public function deletePipeline($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeletePipelineResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deletePipelineWithHttpInfo($id) { @@ -536,6 +543,7 @@ public function deletePipelineWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deletePipelineAsync($id): PromiseInterface { @@ -556,6 +564,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deletePipelineAsyncWithHttpInfo($id): PromiseInterface { @@ -603,6 +612,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deletePipelineRequest($id): Request { @@ -716,6 +726,7 @@ public function deletePipelineRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetOnePipeline + * @deprecated */ public function getPipeline($id, $totals_convert_currency = null) { @@ -734,6 +745,7 @@ public function getPipeline($id, $totals_convert_currency = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetOnePipeline, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPipelineWithHttpInfo($id, $totals_convert_currency = null) { @@ -835,6 +847,7 @@ public function getPipelineWithHttpInfo($id, $totals_convert_currency = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPipelineAsync($id, $totals_convert_currency = null): PromiseInterface { @@ -856,6 +869,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPipelineAsyncWithHttpInfo($id, $totals_convert_currency = null): PromiseInterface { @@ -904,6 +918,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPipelineRequest($id, $totals_convert_currency = null): Request { @@ -1381,6 +1396,7 @@ public function getPipelineConversionStatisticsRequest($id, $start_date, $end_da * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetStageDeals + * @deprecated */ public function getPipelineDeals($id, $filter_id = null, $user_id = null, $everyone = null, $stage_id = null, $start = 0, $limit = null, $get_summary = null, $totals_convert_currency = null) { @@ -1406,6 +1422,7 @@ public function getPipelineDeals($id, $filter_id = null, $user_id = null, $every * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetStageDeals, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPipelineDealsWithHttpInfo($id, $filter_id = null, $user_id = null, $everyone = null, $stage_id = null, $start = 0, $limit = null, $get_summary = null, $totals_convert_currency = null) { @@ -1514,6 +1531,7 @@ public function getPipelineDealsWithHttpInfo($id, $filter_id = null, $user_id = * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPipelineDealsAsync($id, $filter_id = null, $user_id = null, $everyone = null, $stage_id = null, $start = 0, $limit = null, $get_summary = null, $totals_convert_currency = null): PromiseInterface { @@ -1542,6 +1560,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPipelineDealsAsyncWithHttpInfo($id, $filter_id = null, $user_id = null, $everyone = null, $stage_id = null, $start = 0, $limit = null, $get_summary = null, $totals_convert_currency = null): PromiseInterface { @@ -1597,6 +1616,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPipelineDealsRequest($id, $filter_id = null, $user_id = null, $everyone = null, $stage_id = null, $start = 0, $limit = null, $get_summary = null, $totals_convert_currency = null): Request { @@ -2121,6 +2141,7 @@ public function getPipelineMovementStatisticsRequest($id, $start_date, $end_date * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAllPipelines + * @deprecated */ public function getPipelines() { @@ -2137,6 +2158,7 @@ public function getPipelines() * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAllPipelines, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getPipelinesWithHttpInfo() { @@ -2236,6 +2258,7 @@ public function getPipelinesWithHttpInfo() * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPipelinesAsync(): PromiseInterface { @@ -2255,6 +2278,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getPipelinesAsyncWithHttpInfo(): PromiseInterface { @@ -2301,6 +2325,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getPipelinesRequest(): Request { @@ -2399,6 +2424,7 @@ public function getPipelinesRequest(): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\EditPipeline + * @deprecated */ public function updatePipeline($id, $pipeline = null) { @@ -2417,6 +2443,7 @@ public function updatePipeline($id, $pipeline = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\EditPipeline, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updatePipelineWithHttpInfo($id, $pipeline = null) { @@ -2518,6 +2545,7 @@ public function updatePipelineWithHttpInfo($id, $pipeline = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updatePipelineAsync($id, $pipeline = null): PromiseInterface { @@ -2539,6 +2567,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updatePipelineAsyncWithHttpInfo($id, $pipeline = null): PromiseInterface { @@ -2587,6 +2616,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updatePipelineRequest($id, $pipeline = null): Request { diff --git a/lib/versions/v1/Api/ProductsApi.php b/lib/versions/v1/Api/ProductsApi.php index 0f3e23b..390b86b 100644 --- a/lib/versions/v1/Api/ProductsApi.php +++ b/lib/versions/v1/Api/ProductsApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ProductResponse + * @deprecated */ public function addProduct($add_product_request_body = null) { @@ -149,6 +150,7 @@ public function addProduct($add_product_request_body = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ProductResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addProductWithHttpInfo($add_product_request_body = null) { @@ -249,6 +251,7 @@ public function addProductWithHttpInfo($add_product_request_body = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addProductAsync($add_product_request_body = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addProductAsyncWithHttpInfo($add_product_request_body = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addProductRequest($add_product_request_body = null): Request { @@ -726,6 +731,7 @@ public function addProductFollowerRequest($id, $add_product_follower_request = n * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteProductResponse + * @deprecated */ public function deleteProduct($id) { @@ -743,6 +749,7 @@ public function deleteProduct($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteProductResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteProductWithHttpInfo($id) { @@ -843,6 +850,7 @@ public function deleteProductWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteProductAsync($id): PromiseInterface { @@ -863,6 +871,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteProductAsyncWithHttpInfo($id): PromiseInterface { @@ -910,6 +919,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteProductRequest($id): Request { @@ -1338,6 +1348,7 @@ public function deleteProductFollowerRequest($id, $follower_id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ProductResponse + * @deprecated */ public function getProduct($id) { @@ -1355,6 +1366,7 @@ public function getProduct($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ProductResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getProductWithHttpInfo($id) { @@ -1455,6 +1467,7 @@ public function getProductWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getProductAsync($id): PromiseInterface { @@ -1475,6 +1488,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getProductAsyncWithHttpInfo($id): PromiseInterface { @@ -1522,6 +1536,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getProductRequest($id): Request { @@ -2932,6 +2947,7 @@ public function getProductUsersRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ProductsResponse + * @deprecated */ public function getProducts($user_id = null, $filter_id = null, $ids = null, $first_char = null, $get_summary = null, $start = 0, $limit = null) { @@ -2955,6 +2971,7 @@ public function getProducts($user_id = null, $filter_id = null, $ids = null, $fi * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ProductsResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getProductsWithHttpInfo($user_id = null, $filter_id = null, $ids = null, $first_char = null, $get_summary = null, $start = 0, $limit = null) { @@ -3061,6 +3078,7 @@ public function getProductsWithHttpInfo($user_id = null, $filter_id = null, $ids * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getProductsAsync($user_id = null, $filter_id = null, $ids = null, $first_char = null, $get_summary = null, $start = 0, $limit = null): PromiseInterface { @@ -3087,6 +3105,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getProductsAsyncWithHttpInfo($user_id = null, $filter_id = null, $ids = null, $first_char = null, $get_summary = null, $start = 0, $limit = null): PromiseInterface { @@ -3140,6 +3159,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getProductsRequest($user_id = null, $filter_id = null, $ids = null, $first_char = null, $get_summary = null, $start = 0, $limit = null): Request { @@ -3298,6 +3318,7 @@ public function getProductsRequest($user_id = null, $filter_id = null, $ids = nu * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\ProductSearchResponse + * @deprecated */ public function searchProducts($term, $fields = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null) { @@ -3320,6 +3341,7 @@ public function searchProducts($term, $fields = null, $exact_match = null, $incl * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\ProductSearchResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function searchProductsWithHttpInfo($term, $fields = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null) { @@ -3425,6 +3447,7 @@ public function searchProductsWithHttpInfo($term, $fields = null, $exact_match = * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchProductsAsync($term, $fields = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -3450,6 +3473,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function searchProductsAsyncWithHttpInfo($term, $fields = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null): PromiseInterface { @@ -3502,6 +3526,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function searchProductsRequest($term, $fields = null, $exact_match = null, $include_fields = null, $start = 0, $limit = null): Request { @@ -3655,6 +3680,7 @@ public function searchProductsRequest($term, $fields = null, $exact_match = null * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\UpdateProductResponse + * @deprecated */ public function updateProduct($id, $update_product_request_body = null) { @@ -3673,6 +3699,7 @@ public function updateProduct($id, $update_product_request_body = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\UpdateProductResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updateProductWithHttpInfo($id, $update_product_request_body = null) { @@ -3774,6 +3801,7 @@ public function updateProductWithHttpInfo($id, $update_product_request_body = nu * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateProductAsync($id, $update_product_request_body = null): PromiseInterface { @@ -3795,6 +3823,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateProductAsyncWithHttpInfo($id, $update_product_request_body = null): PromiseInterface { @@ -3843,6 +3872,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updateProductRequest($id, $update_product_request_body = null): Request { diff --git a/lib/versions/v1/Api/StagesApi.php b/lib/versions/v1/Api/StagesApi.php index 07ed2c7..2d46d59 100644 --- a/lib/versions/v1/Api/StagesApi.php +++ b/lib/versions/v1/Api/StagesApi.php @@ -132,6 +132,7 @@ public function getConfig(): Configuration * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAddUpdateStage + * @deprecated */ public function addStage($stage = null) { @@ -149,6 +150,7 @@ public function addStage($stage = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAddUpdateStage, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function addStageWithHttpInfo($stage = null) { @@ -249,6 +251,7 @@ public function addStageWithHttpInfo($stage = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addStageAsync($stage = null): PromiseInterface { @@ -269,6 +272,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function addStageAsyncWithHttpInfo($stage = null): PromiseInterface { @@ -316,6 +320,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function addStageRequest($stage = null): Request { @@ -419,6 +424,7 @@ public function addStageRequest($stage = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteStageResponse + * @deprecated */ public function deleteStage($id) { @@ -436,6 +442,7 @@ public function deleteStage($id) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteStageResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteStageWithHttpInfo($id) { @@ -536,6 +543,7 @@ public function deleteStageWithHttpInfo($id) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteStageAsync($id): PromiseInterface { @@ -556,6 +564,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteStageAsyncWithHttpInfo($id): PromiseInterface { @@ -603,6 +612,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteStageRequest($id): Request { @@ -715,6 +725,7 @@ public function deleteStageRequest($id): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\DeleteStagesResponse + * @deprecated */ public function deleteStages($ids) { @@ -732,6 +743,7 @@ public function deleteStages($ids) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\DeleteStagesResponse, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function deleteStagesWithHttpInfo($ids) { @@ -832,6 +844,7 @@ public function deleteStagesWithHttpInfo($ids) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteStagesAsync($ids): PromiseInterface { @@ -852,6 +865,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function deleteStagesAsyncWithHttpInfo($ids): PromiseInterface { @@ -899,6 +913,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function deleteStagesRequest($ids): Request { @@ -1012,6 +1027,7 @@ public function deleteStagesRequest($ids): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetOneStage + * @deprecated */ public function getStage($id, $everyone = null) { @@ -1030,6 +1046,7 @@ public function getStage($id, $everyone = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetOneStage, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getStageWithHttpInfo($id, $everyone = null) { @@ -1131,6 +1148,7 @@ public function getStageWithHttpInfo($id, $everyone = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getStageAsync($id, $everyone = null): PromiseInterface { @@ -1152,6 +1170,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getStageAsyncWithHttpInfo($id, $everyone = null): PromiseInterface { @@ -1200,6 +1219,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getStageRequest($id, $everyone = null): Request { @@ -1325,6 +1345,7 @@ public function getStageRequest($id, $everyone = null): Request * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetStageDeals + * @deprecated */ public function getStageDeals($id, $filter_id = null, $user_id = null, $everyone = null, $start = 0, $limit = null) { @@ -1347,6 +1368,7 @@ public function getStageDeals($id, $filter_id = null, $user_id = null, $everyone * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetStageDeals, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getStageDealsWithHttpInfo($id, $filter_id = null, $user_id = null, $everyone = null, $start = 0, $limit = null) { @@ -1452,6 +1474,7 @@ public function getStageDealsWithHttpInfo($id, $filter_id = null, $user_id = nul * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getStageDealsAsync($id, $filter_id = null, $user_id = null, $everyone = null, $start = 0, $limit = null): PromiseInterface { @@ -1477,6 +1500,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getStageDealsAsyncWithHttpInfo($id, $filter_id = null, $user_id = null, $everyone = null, $start = 0, $limit = null): PromiseInterface { @@ -1529,6 +1553,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getStageDealsRequest($id, $filter_id = null, $user_id = null, $everyone = null, $start = 0, $limit = null): Request { @@ -1683,6 +1708,7 @@ public function getStageDealsRequest($id, $filter_id = null, $user_id = null, $e * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetStages + * @deprecated */ public function getStages($pipeline_id = null, $start = 0, $limit = null) { @@ -1702,6 +1728,7 @@ public function getStages($pipeline_id = null, $start = 0, $limit = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetStages, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function getStagesWithHttpInfo($pipeline_id = null, $start = 0, $limit = null) { @@ -1804,6 +1831,7 @@ public function getStagesWithHttpInfo($pipeline_id = null, $start = 0, $limit = * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getStagesAsync($pipeline_id = null, $start = 0, $limit = null): PromiseInterface { @@ -1826,6 +1854,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function getStagesAsyncWithHttpInfo($pipeline_id = null, $start = 0, $limit = null): PromiseInterface { @@ -1875,6 +1904,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function getStagesRequest($pipeline_id = null, $start = 0, $limit = null): Request { @@ -1997,6 +2027,7 @@ public function getStagesRequest($pipeline_id = null, $start = 0, $limit = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return \Pipedrive\versions\v1\Model\GetAddUpdateStage + * @deprecated */ public function updateStage($id, $update_stage_request = null) { @@ -2015,6 +2046,7 @@ public function updateStage($id, $update_stage_request = null) * @throws ApiException on non-2xx response * @throws InvalidArgumentException|GuzzleException * @return array of \Pipedrive\versions\v1\Model\GetAddUpdateStage, HTTP status code, HTTP response headers (array of strings) + * @deprecated */ public function updateStageWithHttpInfo($id, $update_stage_request = null) { @@ -2116,6 +2148,7 @@ public function updateStageWithHttpInfo($id, $update_stage_request = null) * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateStageAsync($id, $update_stage_request = null): PromiseInterface { @@ -2137,6 +2170,7 @@ function ($response) { * * @throws InvalidArgumentException|OAuthProviderException * @return PromiseInterface + * @deprecated */ public function updateStageAsyncWithHttpInfo($id, $update_stage_request = null): PromiseInterface { @@ -2185,6 +2219,7 @@ function ($exception) { * * @throws InvalidArgumentException|OAuthProviderException * @return Request + * @deprecated */ public function updateStageRequest($id, $update_stage_request = null): Request {