Skip to content

Commit

Permalink
Merge pull request #150 from pipedrive/84
Browse files Browse the repository at this point in the history
Build 84 - version-patch
  • Loading branch information
s-pogoda authored Sep 12, 2024
2 parents d70a3a8 + 8ab59b9 commit 92bffdd
Show file tree
Hide file tree
Showing 208 changed files with 28,645 additions and 803 deletions.
244 changes: 128 additions & 116 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [7.0.0] (https://github.com/pipedrive/client-php/compare/6.10.1...7.0.0) (2024-09-11)
## [7.1.0](https://github.com/pipedrive/client-php/compare/7.0.0...7.1.0) (2024-09-12)

### Removed
### Added
- Added `notes` field to Prices in:
- `GET` and `POST` `/v2/products/{productId}/variations` endpoints
- `PATCH` `/api/v2/products/{productId}/variations/{productVariationId}` endpoint
- Notice informing the users of the upcoming Activity Invites feature deprecation:
- `POST` and `PUT` `/v1/activities` endpoints

### Fixed
- Fixed response schemas for GET `/v1/<entity>Fields` requests
- Added missing "description" parameter to "Add a product" and "Update a product" endpoints
- Added the missing "label_ids" field to the contacts endpoints.
- Added "filter_id" to GET /api/v2/deals documentation
- Updated default values for "billing_frequency_cycles", "billing_start_date" fields

## [7.0.0](https://github.com/pipedrive/client-php/compare/6.10.1...7.0.0) (2024-09-11)


### BREAKING CHANGE
- Removed request and response fields `duration` and `duration_unit` for all endpoints of deals and products using them

## [6.10.1](https://github.com/pipedrive/client-php/compare/6.10.0...6.10.1) (2024-06-07)
Expand Down
122 changes: 64 additions & 58 deletions README.md

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/Api/ActivitiesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Method | HTTP request | Description
## `addActivity()`

```php
addActivity($activity_post_object): \Pipedrive\Model\AddActivityResponse200
addActivity($activity_post_object): \Pipedrive\Model\AddActivityResponse
```

Add an activity

Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>.
Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***

### Example

Expand Down Expand Up @@ -63,7 +63,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\AddActivityResponse200**](../Model/AddActivityResponse200.md)
[**\Pipedrive\Model\AddActivityResponse**](../Model/AddActivityResponse.md)

### Authorization

Expand All @@ -81,7 +81,7 @@ Name | Type | Description | Notes
## `deleteActivities()`

```php
deleteActivities($ids): \Pipedrive\Model\DeleteActivitiesResponse200
deleteActivities($ids): \Pipedrive\Model\DeleteActivitiesResponse
```

Delete multiple activities in bulk
Expand Down Expand Up @@ -128,7 +128,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\DeleteActivitiesResponse200**](../Model/DeleteActivitiesResponse200.md)
[**\Pipedrive\Model\DeleteActivitiesResponse**](../Model/DeleteActivitiesResponse.md)

### Authorization

Expand All @@ -146,7 +146,7 @@ Name | Type | Description | Notes
## `deleteActivity()`

```php
deleteActivity($id): \Pipedrive\Model\DeleteActivityResponse200
deleteActivity($id): \Pipedrive\Model\DeleteActivityResponse
```

Delete an activity
Expand Down Expand Up @@ -193,7 +193,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\DeleteActivityResponse200**](../Model/DeleteActivityResponse200.md)
[**\Pipedrive\Model\DeleteActivityResponse**](../Model/DeleteActivityResponse.md)

### Authorization

Expand All @@ -211,7 +211,7 @@ Name | Type | Description | Notes
## `getActivities()`

```php
getActivities($user_id, $filter_id, $type, $limit, $start, $start_date, $end_date, $done): \Pipedrive\Model\GetActivitiesResponse200
getActivities($user_id, $filter_id, $type, $limit, $start, $start_date, $end_date, $done): \Pipedrive\Model\GetActivitiesResponse
```

Get all activities assigned to a particular user
Expand Down Expand Up @@ -272,7 +272,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetActivitiesResponse200**](../Model/GetActivitiesResponse200.md)
[**\Pipedrive\Model\GetActivitiesResponse**](../Model/GetActivitiesResponse.md)

### Authorization

Expand All @@ -290,7 +290,7 @@ Name | Type | Description | Notes
## `getActivitiesCollection()`

```php
getActivitiesCollection($cursor, $limit, $since, $until, $user_id, $done, $type): \Pipedrive\Model\GetActivitiesCollectionResponse200
getActivitiesCollection($cursor, $limit, $since, $until, $user_id, $done, $type): \Pipedrive\Model\GetActivitiesCollectionResponse
```

Get all activities (BETA)
Expand Down Expand Up @@ -349,7 +349,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetActivitiesCollectionResponse200**](../Model/GetActivitiesCollectionResponse200.md)
[**\Pipedrive\Model\GetActivitiesCollectionResponse**](../Model/GetActivitiesCollectionResponse.md)

### Authorization

Expand All @@ -367,7 +367,7 @@ Name | Type | Description | Notes
## `getActivity()`

```php
getActivity($id): \Pipedrive\Model\GetActivityResponse200
getActivity($id): \Pipedrive\Model\GetActivityResponse
```

Get details of an activity
Expand Down Expand Up @@ -414,7 +414,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetActivityResponse200**](../Model/GetActivityResponse200.md)
[**\Pipedrive\Model\GetActivityResponse**](../Model/GetActivityResponse.md)

### Authorization

Expand All @@ -432,12 +432,12 @@ Name | Type | Description | Notes
## `updateActivity()`

```php
updateActivity($id, $activity_put_object): \Pipedrive\Model\UpdateActivityResponse200
updateActivity($id, $activity_put_object): \Pipedrive\Model\UpdateActivityResponse
```

Update an activity

Updates an activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data).
Updates an activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***

### Example

Expand Down Expand Up @@ -481,7 +481,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\UpdateActivityResponse200**](../Model/UpdateActivityResponse200.md)
[**\Pipedrive\Model\UpdateActivityResponse**](../Model/UpdateActivityResponse.md)

### Authorization

Expand Down
8 changes: 4 additions & 4 deletions docs/Api/DealsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Name | Type | Description | Notes
## `addDealProduct()`

```php
addDealProduct($id, $new_deal_product): \Pipedrive\Model\GetAddProductAttachementDetails
addDealProduct($id, $new_deal_product): \Pipedrive\Model\GetAddProductAttachmentDetails
```

Add a product to a deal
Expand Down Expand Up @@ -287,7 +287,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetAddProductAttachementDetails**](../Model/GetAddProductAttachementDetails.md)
[**\Pipedrive\Model\GetAddProductAttachmentDetails**](../Model/GetAddProductAttachmentDetails.md)

### Authorization

Expand Down Expand Up @@ -2052,7 +2052,7 @@ Name | Type | Description | Notes
## `updateDealProduct()`

```php
updateDealProduct($id, $product_attachment_id, $update_deal_product): \Pipedrive\Model\GetProductAttachementDetails
updateDealProduct($id, $product_attachment_id, $update_deal_product): \Pipedrive\Model\GetProductAttachmentDetails
```

Update the product attached to a deal
Expand Down Expand Up @@ -2103,7 +2103,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetProductAttachementDetails**](../Model/GetProductAttachementDetails.md)
[**\Pipedrive\Model\GetProductAttachmentDetails**](../Model/GetProductAttachmentDetails.md)

### Authorization

Expand Down
20 changes: 10 additions & 10 deletions docs/Api/GoalsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description
## `addGoal()`

```php
addGoal($new_goal): \Pipedrive\Model\AddOrUpdateGoalResponse200
addGoal($new_goal): \Pipedrive\Model\UpsertGoalResponse
```

Add a new goal
Expand Down Expand Up @@ -61,7 +61,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\AddOrUpdateGoalResponse200**](../Model/AddOrUpdateGoalResponse200.md)
[**\Pipedrive\Model\UpsertGoalResponse**](../Model/UpsertGoalResponse.md)

### Authorization

Expand All @@ -79,7 +79,7 @@ Name | Type | Description | Notes
## `deleteGoal()`

```php
deleteGoal($id): \Pipedrive\Model\DeleteGoalResponse200
deleteGoal($id): \Pipedrive\Model\DeleteGoalResponse
```

Delete existing goal
Expand Down Expand Up @@ -126,7 +126,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\DeleteGoalResponse200**](../Model/DeleteGoalResponse200.md)
[**\Pipedrive\Model\DeleteGoalResponse**](../Model/DeleteGoalResponse.md)

### Authorization

Expand All @@ -144,7 +144,7 @@ Name | Type | Description | Notes
## `getGoalResult()`

```php
getGoalResult($id, $period_start, $period_end): \Pipedrive\Model\GetGoalResultResponse200
getGoalResult($id, $period_start, $period_end): \Pipedrive\Model\GetGoalResultResponse
```

Get result of a goal
Expand Down Expand Up @@ -195,7 +195,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetGoalResultResponse200**](../Model/GetGoalResultResponse200.md)
[**\Pipedrive\Model\GetGoalResultResponse**](../Model/GetGoalResultResponse.md)

### Authorization

Expand All @@ -213,7 +213,7 @@ Name | Type | Description | Notes
## `getGoals()`

```php
getGoals($type_name, $title, $is_active, $assignee_id, $assignee_type, $expected_outcome_target, $expected_outcome_tracking_metric, $expected_outcome_currency_id, $type_params_pipeline_id, $type_params_stage_id, $type_params_activity_type_id, $period_start, $period_end): \Pipedrive\Model\GetGoalsResponse200
getGoals($type_name, $title, $is_active, $assignee_id, $assignee_type, $expected_outcome_target, $expected_outcome_tracking_metric, $expected_outcome_currency_id, $type_params_pipeline_id, $type_params_stage_id, $type_params_activity_type_id, $period_start, $period_end): \Pipedrive\Model\GetGoalsResponse
```

Find goals
Expand Down Expand Up @@ -284,7 +284,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\GetGoalsResponse200**](../Model/GetGoalsResponse200.md)
[**\Pipedrive\Model\GetGoalsResponse**](../Model/GetGoalsResponse.md)

### Authorization

Expand All @@ -302,7 +302,7 @@ Name | Type | Description | Notes
## `updateGoal()`

```php
updateGoal($id, $basic_goal): \Pipedrive\Model\AddOrUpdateGoalResponse200
updateGoal($id, $basic_goal): \Pipedrive\Model\UpsertGoalResponse
```

Update existing goal
Expand Down Expand Up @@ -351,7 +351,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\AddOrUpdateGoalResponse200**](../Model/AddOrUpdateGoalResponse200.md)
[**\Pipedrive\Model\UpsertGoalResponse**](../Model/UpsertGoalResponse.md)

### Authorization

Expand Down
16 changes: 8 additions & 8 deletions docs/Api/LeadLabelsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Method | HTTP request | Description
## `addLeadLabel()`

```php
addLeadLabel($add_lead_label_request): \Pipedrive\Model\AddOrUpdateLeadLabelResponse200
addLeadLabel($add_lead_label_request): \Pipedrive\Model\UpsertLeadLabelResponse
```

Add a lead label
Expand Down Expand Up @@ -60,7 +60,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\AddOrUpdateLeadLabelResponse200**](../Model/AddOrUpdateLeadLabelResponse200.md)
[**\Pipedrive\Model\UpsertLeadLabelResponse**](../Model/UpsertLeadLabelResponse.md)

### Authorization

Expand All @@ -78,7 +78,7 @@ Name | Type | Description | Notes
## `deleteLeadLabel()`

```php
deleteLeadLabel($id): \Pipedrive\Model\LeadIdResponse200
deleteLeadLabel($id): \Pipedrive\Model\DeleteLeadIdResponse
```

Delete a lead label
Expand Down Expand Up @@ -125,7 +125,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\LeadIdResponse200**](../Model/LeadIdResponse200.md)
[**\Pipedrive\Model\DeleteLeadIdResponse**](../Model/DeleteLeadIdResponse.md)

### Authorization

Expand All @@ -143,7 +143,7 @@ Name | Type | Description | Notes
## `getLeadLabels()`

```php
getLeadLabels(): \Pipedrive\Model\GetLeadLabelsResponse200
getLeadLabels(): \Pipedrive\Model\GetLeadLabelsResponse
```

Get all lead labels
Expand Down Expand Up @@ -187,7 +187,7 @@ This endpoint does not need any parameter.

### Return type

[**\Pipedrive\Model\GetLeadLabelsResponse200**](../Model/GetLeadLabelsResponse200.md)
[**\Pipedrive\Model\GetLeadLabelsResponse**](../Model/GetLeadLabelsResponse.md)

### Authorization

Expand All @@ -205,7 +205,7 @@ This endpoint does not need any parameter.
## `updateLeadLabel()`

```php
updateLeadLabel($id, $update_lead_label_request): \Pipedrive\Model\AddOrUpdateLeadLabelResponse200
updateLeadLabel($id, $update_lead_label_request): \Pipedrive\Model\UpsertLeadLabelResponse
```

Update a lead label
Expand Down Expand Up @@ -254,7 +254,7 @@ Name | Type | Description | Notes

### Return type

[**\Pipedrive\Model\AddOrUpdateLeadLabelResponse200**](../Model/AddOrUpdateLeadLabelResponse200.md)
[**\Pipedrive\Model\UpsertLeadLabelResponse**](../Model/UpsertLeadLabelResponse.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/Api/LeadSourcesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Method | HTTP request | Description
## `getLeadSources()`

```php
getLeadSources(): \Pipedrive\Model\GetLeadSourcesResponse200
getLeadSources(): \Pipedrive\Model\GetLeadsSourceResponse
```

Get all lead sources
Expand Down Expand Up @@ -54,7 +54,7 @@ This endpoint does not need any parameter.

### Return type

[**\Pipedrive\Model\GetLeadSourcesResponse200**](../Model/GetLeadSourcesResponse200.md)
[**\Pipedrive\Model\GetLeadsSourceResponse**](../Model/GetLeadsSourceResponse.md)

### Authorization

Expand Down
Loading

0 comments on commit 92bffdd

Please sign in to comment.