Skip to content

Commit 00b9562

Browse files
author
pipedrive-bot
committed
Build 322 - version-minor
1 parent 87fda45 commit 00b9562

131 files changed

Lines changed: 11254 additions & 22998 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- Added `include_field_code` query parameter to Filters endpoints:
10+
- `GET /v1/filters/{id}`
11+
- `PUT /v1/filters/{id}`
12+
- `POST /v1/filters`
13+
- When set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name. The value is `null` if the field code cannot be resolved.
814

915
## [15.4.0](https://github.com/pipedrive/client-php/compare/15.3.0...15.4.0) (2026-02-16)
1016

docs/versions/v1/Api/DealsApi.md

Lines changed: 93 additions & 1021 deletions
Large diffs are not rendered by default.

docs/versions/v1/Api/FiltersApi.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616
## `addFilter()`
1717

1818
```php
19-
addFilter($add_filter_request): \Pipedrive\versions\v1\Model\FiltersPostResponse
19+
addFilter($include_field_code, $add_filter_request): \Pipedrive\versions\v1\Model\FiltersPostResponse
2020
```
2121

2222
Add a new filter
@@ -45,10 +45,11 @@ $apiInstance = new Pipedrive\versions\v1\Api\FiltersApi(
4545
new GuzzleHttp\Client(),
4646
$config
4747
);
48+
$include_field_code = True; // bool | If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
4849
$add_filter_request = new \Pipedrive\versions\v1\Model\AddFilterRequest(); // \Pipedrive\versions\v1\Model\AddFilterRequest
4950

5051
try {
51-
$result = $apiInstance->addFilter($add_filter_request);
52+
$result = $apiInstance->addFilter($include_field_code, $add_filter_request);
5253
print_r($result);
5354
} catch (Exception $e) {
5455
echo 'Exception when calling FiltersApi->addFilter: ', $e->getMessage(), PHP_EOL;
@@ -59,6 +60,7 @@ try {
5960

6061
Name | Type | Description | Notes
6162
------------- | ------------- | ------------- | -------------
63+
**include_field_code** | **bool**| If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name | [optional]
6264
**add_filter_request** | [**\Pipedrive\versions\v1\Model\AddFilterRequest**](../Model/AddFilterRequest.md)| | [optional]
6365

6466
### Return type
@@ -211,7 +213,7 @@ Name | Type | Description | Notes
211213
## `getFilter()`
212214

213215
```php
214-
getFilter($id): \Pipedrive\versions\v1\Model\FiltersGetResponse
216+
getFilter($id, $include_field_code): \Pipedrive\versions\v1\Model\FiltersGetResponse
215217
```
216218

217219
Get one filter
@@ -241,9 +243,10 @@ $apiInstance = new Pipedrive\versions\v1\Api\FiltersApi(
241243
$config
242244
);
243245
$id = 56; // int | The ID of the filter
246+
$include_field_code = True; // bool | If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
244247

245248
try {
246-
$result = $apiInstance->getFilter($id);
249+
$result = $apiInstance->getFilter($id, $include_field_code);
247250
print_r($result);
248251
} catch (Exception $e) {
249252
echo 'Exception when calling FiltersApi->getFilter: ', $e->getMessage(), PHP_EOL;
@@ -255,6 +258,7 @@ try {
255258
Name | Type | Description | Notes
256259
------------- | ------------- | ------------- | -------------
257260
**id** | **int**| The ID of the filter |
261+
**include_field_code** | **bool**| If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name | [optional]
258262

259263
### Return type
260264

@@ -403,7 +407,7 @@ Name | Type | Description | Notes
403407
## `updateFilter()`
404408

405409
```php
406-
updateFilter($id, $update_filter_request): \Pipedrive\versions\v1\Model\FiltersPostResponse
410+
updateFilter($id, $include_field_code, $update_filter_request): \Pipedrive\versions\v1\Model\FiltersPostResponse
407411
```
408412

409413
Update filter
@@ -433,10 +437,11 @@ $apiInstance = new Pipedrive\versions\v1\Api\FiltersApi(
433437
$config
434438
);
435439
$id = 56; // int | The ID of the filter
440+
$include_field_code = True; // bool | If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
436441
$update_filter_request = new \Pipedrive\versions\v1\Model\UpdateFilterRequest(); // \Pipedrive\versions\v1\Model\UpdateFilterRequest
437442

438443
try {
439-
$result = $apiInstance->updateFilter($id, $update_filter_request);
444+
$result = $apiInstance->updateFilter($id, $include_field_code, $update_filter_request);
440445
print_r($result);
441446
} catch (Exception $e) {
442447
echo 'Exception when calling FiltersApi->updateFilter: ', $e->getMessage(), PHP_EOL;
@@ -448,6 +453,7 @@ try {
448453
Name | Type | Description | Notes
449454
------------- | ------------- | ------------- | -------------
450455
**id** | **int**| The ID of the filter |
456+
**include_field_code** | **bool**| If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name | [optional]
451457
**update_filter_request** | [**\Pipedrive\versions\v1\Model\UpdateFilterRequest**](../Model/UpdateFilterRequest.md)| | [optional]
452458

453459
### Return type

0 commit comments

Comments
 (0)