Skip to content

Commit ffa390e

Browse files
authored
Merge pull request #52 from zendesk/strus/added-on
Add possibility to set deal's 'added_on' attribute
2 parents 427db88 + 4052111 commit ffa390e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## CHANGELOG
22

3+
### v1.4.4 (2021-06-28)
4+
5+
**Features and Improvements**
6+
* Added possibility to set deal's 'added_on' attribute
7+
38
### v1.4.3 (2020-04-22)
49

510
* Update license to Apache License 2.0

lib/Configuration.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
class Configuration
55
{
6-
// @version 1.4.3 Current stable version.
7-
const VERSION = "1.4.3";
6+
// @version 1.4.4 Current stable version.
7+
const VERSION = "1.4.4";
88

99
const PRODUCTION_URL = "https://api.getbase.com";
1010
const URL_REGEXP = "/\b(?:(?:https?|http):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i";

lib/DealsService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class DealsService
1313
{
1414
// @var array Allowed attribute names.
15-
protected static $keysToPersist = ['contact_id', 'currency', 'custom_fields', 'hot', 'loss_reason_id', 'name', 'owner_id', 'source_id', 'stage_id', 'last_stage_change_at', 'tags', 'value', 'estimated_close_date', 'customized_win_likelihood'];
15+
protected static $keysToPersist = ['contact_id', 'currency', 'custom_fields', 'hot', 'loss_reason_id', 'name', 'owner_id', 'source_id', 'stage_id', 'last_stage_change_at', 'tags', 'value', 'estimated_close_date', 'customized_win_likelihood', 'added_on'];
1616

1717
protected $httpClient;
1818

0 commit comments

Comments
 (0)