Skip to content

Commit 20cc65a

Browse files
Merge branch 'master' into typescript-rc-merge
2 parents 20c9ad2 + 6650b1f commit 20cc65a

25 files changed

+271
-25
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Publish NPM Packages
2+
3+
on:
4+
pull_request:
5+
types:
6+
- labeled
7+
8+
jobs:
9+
publish:
10+
if: ${{ github.event.label.name == 'npm-ready-for-publish' }}
11+
uses: pipedrive-actions/github-actions-workflows/.github/workflows/reusable_cicd-npm-publish.yml@master
12+
with:
13+
revision: ${{ github.event.pull_request.head.ref }}
14+
secrets: inherit

CHANGELOG.md

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,45 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
88

99
## [Unreleased]
1010

11-
## [23.2.5-rc.2] - 2024-09-03
12-
### Fixed
13-
- Updated default values for "billing_frequency_cycles", "billing_start_date" fields
11+
## [23.4.3] - 2024-11-22
12+
### Added
13+
- Add "additionalProperties" to entities with custom fields
14+
### Changed
15+
- Updated the code examples in the README for the JavaScript SDK
16+
### Added
17+
- Add "custom_fields" query paremeter to GET /api/v2/products
18+
19+
## [23.4.2] - 2024-10-31
20+
### Changed
21+
- Updated the code examples in the README for the JavaScript SDK
22+
### Added
23+
- Add "custom_fields" query paremeter to GET /api/v2/products
1424

15-
## [23.2.5-rc.1] - 2024-09-02
16-
### Updated
17-
- Updated TypeScript interfaces
25+
## [23.4.1] - 2024-10-09
26+
27+
### Changed
28+
- Migrate publish flow from Jenkins to GitHub Actions
29+
- Add devops-tooling as owner for .github/workflows/cicd_*
30+
31+
## [23.4.0] - 2024-09-24
32+
### Changed
33+
- Added the field "notes" to product prices in the body and response for v1 and v2
34+
- Added the field "overhead_cost" to the product variation prices in the response for v1
35+
- Added the field "direct_cost" to the product variation prices in the response and body for v2
36+
37+
## [23.3.0] - 2024-09-23
38+
### Added
39+
- Add documentation for installments functionality:
40+
- `POST` `/v1/deals/{id}/products` endpoint
41+
- `PUT` `/v1/deals/{id}/products/{product_attachment_id}` endpoint
42+
- `DELETE` `/v1/deals/{id}/products/{product_attachment_id}` endpoint
43+
- `POST` `/v2/deals/{id}/products` endpoint
44+
- `PATCH` `/v2/deals/{id}/products/{product_attachment_id}` endpoint
45+
- `DELETE` `/v2/deals/{id}/products/{product_attachment_id}` endpoint
46+
47+
## [23.2.6] - 2024-09-06
48+
### Fixed
49+
- Deleted unused file with long name
1850

1951
## [23.2.5] - 2024-08-27
2052
### Fixed
@@ -687,6 +719,11 @@ structure
687719

688720
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.5-rc.2...HEAD
689721
[23.2.5-rc.2]: https://github.com/pipedrive/api-docs/compare/v23.2.5...v23.2.5-rc.2
722+
[23.4.3]: https://github.com/pipedrive/api-docs/compare/v23.4.2...v23.4.3
723+
[23.4.2]: https://github.com/pipedrive/api-docs/compare/v23.4.1...v23.4.2
724+
[23.4.1]: https://github.com/pipedrive/api-docs/compare/v23.4.0...v23.4.1
725+
[23.4.0]: https://github.com/pipedrive/api-docs/compare/v23.3.0...v23.4.0
726+
[23.3.0]: https://github.com/pipedrive/api-docs/compare/v23.2.5...v23.3.0
690727
[23.2.5]: https://github.com/pipedrive/api-docs/compare/v23.2.4...v23.2.5
691728
[23.2.4]: https://github.com/pipedrive/api-docs/compare/v23.2.3...v23.2.4
692729
[23.2.3]: https://github.com/pipedrive/api-docs/compare/v23.2.2...v23.2.3

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.github/workflows/cicd_* @pipedrive/devops-tooling

Jenkinsfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/AddProductRequestBody.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**selectable** | **Boolean** | Whether this product can be selected in deals or not | [optional] [default to true]
1414
**visible_to** | [**VisibleTo**](VisibleTo.md) | The visibility of the product. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width: 40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width: 40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><tr><td>`3`</td><td>Owner's visibility group</td></tr><tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr><tr><td>`7`</td><td>Entire company</td></tr></table> | [optional]
1515
**owner_id** | **Number** | The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used | [optional]
16-
**prices** | **[Object]** | An array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, a default price of 0 and a default currency based on the company's currency will be assigned. | [optional]
16+
**prices** | **[Object]** | An array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional), `notes` (string, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, a default price of 0 and a default currency based on the company's currency will be assigned. | [optional]
1717
**billing_frequency** | [**BillingFrequency1**](BillingFrequency1.md) | | [optional]
1818
**billing_frequency_cycles** | **Number** | Only available in Advanced and above plans The number of times the billing frequency repeats for a product in a deal When `billing_frequency` is set to `one-time`, this field must be `null` For all the other values of `billing_frequency`, `null` represents a product billed indefinitely Must be a positive integer less or equal to 312 | [optional]
1919

docs/DealProductRequestBody.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**comments** | **String** | A textual comment associated with this product-deal attachment | [optional]
1414
**tax** | **Number** | The tax percentage | [optional] [default to 0]
1515
**tax_method** | **String** | The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount | [optional]
16-
**enabled_flag** | **Boolean** | Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default | [optional] [default to true]
16+
**enabled_flag** | **Boolean** | Whether the product is enabled for a deal or not This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default Not possible to disable the product if the deal has installments associated and the product is the last one enabled Not possible to enable the product if the deal has installments associated and the product is recurring | [optional] [default to true]
1717

1818

1919

docs/DealsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Name | Type | Description | Notes
432432
433433
Delete an attached product from a deal
434434

435-
Deletes a product attachment from a deal, using the `product_attachment_id`.
435+
Deletes a product attachment from a deal, using the `product_attachment_id` Not possible to delete the attached product if the deal has installments associated and the product is the last one enabled
436436

437437
### Example
438438

docs/FieldsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**success** | **Boolean** | If the response is successful or not | [optional]
8-
**data** | [**[Field]**](Field.md) | | [optional]
8+
**data** | [**[GetField]**](GetField.md) | | [optional]
99
**additional_data** | [**AdditionalData**](AdditionalData.md) | | [optional]
1010

1111

docs/FieldsResponseAllOf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**data** | [**[Field]**](Field.md) | | [optional]
7+
**data** | [**[GetField]**](GetField.md) | | [optional]
88
**additional_data** | [**AdditionalData**](AdditionalData.md) | | [optional]
99

1010

docs/GetAllProductFieldsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**success** | **Boolean** | If the response is successful or not | [optional]
8-
**data** | [**[ProductField]**](ProductField.md) | Array containing data for all product fields | [optional]
8+
**data** | [**[GetProductField]**](GetProductField.md) | Array containing data for all product fields | [optional]
99
**additional_data** | **Object** | Additional data for the product field, such as pagination | [optional]
1010

1111

0 commit comments

Comments
 (0)