pipedrive 13.3.0 → 13.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/dist/ApiClient.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -8,6 +8,16 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
|
|
8
8
|
|
9
9
|
## [Unreleased]
|
10
10
|
|
11
|
+
## 13.3.1
|
12
|
+
### Fixed
|
13
|
+
- Date formatting in responses in the following entities and their respective fields:
|
14
|
+
- **activities**: `due_date`
|
15
|
+
- **deals**: `expected_close_date`
|
16
|
+
- **leads**: `expected_close_date`
|
17
|
+
- **subscriptions**: `due_at`, `start_date`, `end_date`
|
18
|
+
|
19
|
+
Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.000Z" in the request response.
|
20
|
+
|
11
21
|
## 13.3.0
|
12
22
|
### Added
|
13
23
|
- Added `GET /billing/subscriptions/addons` endpoint
|
package/dist/ApiClient.js
CHANGED
@@ -1056,7 +1056,11 @@ var ApiClient = /*#__PURE__*/function () {
|
|
1056
1056
|
return String(data);
|
1057
1057
|
|
1058
1058
|
case 'Date':
|
1059
|
-
|
1059
|
+
if (typeof data === 'string') {
|
1060
|
+
return String(data);
|
1061
|
+
} else {
|
1062
|
+
return ApiClient.parseDate(String(data));
|
1063
|
+
}
|
1060
1064
|
|
1061
1065
|
case 'Blob':
|
1062
1066
|
return data;
|