Skip to content

Commit a955ea7

Browse files
author
pipedrive-bot
committed
Build 319 - version-minor
1 parent 2284f30 commit a955ea7

File tree

4 files changed

+35
-24
lines changed

4 files changed

+35
-24
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
24

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
77
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).
88

99
## [Unreleased]
10+
### Added
11+
- Added `assignee_ids` field to Tasks endpoints:
12+
- `GET /v1/tasks`
13+
- `GET /v1/tasks/{id}`
14+
- `POST /v1/tasks`
15+
- `PUT /v1/tasks/{id}`
1016

1117
## [32.0.0] - 2026-03-13
1218
### Removed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ This SDK supports two API versions, each with its own namespace:
3131
You can retrieve the api_token from your existing Pipedrive account’s settings page. A step-by-step guide is available [here](https://pipedrive.readme.io/docs/how-to-find-the-api-token).
3232

3333
```typescript
34-
import express from "express";
35-
import { Configuration, DealsApi } from "pipedrive/v1";
34+
import express from 'express';
35+
import { Configuration, DealsApi } from 'pipedrive/v2';
3636

3737
const app = express();
3838

3939
const PORT = 3000;
4040

4141
// Configure Client with API key authorization
4242
const apiConfig = new Configuration({
43-
apiKey: "YOUR_API_TOKEN_HERE",
43+
apiKey: 'YOUR_API_TOKEN_HERE',
4444
});
4545

4646
app.listen(PORT, () => {
4747
console.log(`Listening on port ${PORT}`);
4848
});
4949

50-
app.get("/", async (req, res) => {
50+
app.get('/', async (req, res) => {
5151
const dealsApi = new DealsApi(apiConfig);
5252
const responseAllDeals = await dealsApi.getDeals();
5353
const { data: deals } = responseAllDeals;
@@ -73,12 +73,12 @@ To set up authentication in the API client, you need the following information.
7373
Next, initialize the API client as follows:
7474

7575
```typescript
76-
import { OAuth2Configuration, Configuration } from 'pipedrive/v1';
76+
import { OAuth2Configuration, Configuration } from 'pipedrive/v2';
7777

7878
// Configuration parameters and credentials
7979
const oauth2 = new OAuth2Configuration({
80-
clientId: "clientId", // OAuth 2 Client ID
81-
clientSecret: "clientSecret", // OAuth 2 Client Secret
80+
clientId: 'clientId', // OAuth 2 Client ID
81+
clientSecret: 'clientSecret', // OAuth 2 Client Secret
8282
redirectUri: 'redirectUri' // OAuth 2 Redirection endpoint or Callback Uri
8383
});
8484

@@ -147,17 +147,17 @@ It is recommended that you store the access token for reuse.
147147
This code snippet stores the access token in a session for an express application. It uses the [cookie-parser](https://www.npmjs.com/package/cookie-parser) and [cookie-session](https://www.npmjs.com/package/cookie-session) npm packages for storing the access token.
148148

149149
```typescript
150-
import express from "express";
151-
import cookieParse from "cookie-parser";
152-
import cookeSession from "cookie-session";
153-
import { Configuration, DealsApi, OAuth2Configuration } from "pipedrive/v1";
150+
import express from 'express';
151+
import cookieParser from 'cookie-parser';
152+
import cookieSession from 'cookie-session';
153+
import { Configuration, DealsApi, OAuth2Configuration } from 'pipedrive/v2';
154154

155155
const app = express();
156156

157157
app.use(cookieParser());
158158
app.use(cookieSession({
159-
name: "session",
160-
keys: ["key1"]
159+
name: 'session',
160+
keys: ['key1']
161161
}));
162162

163163
...
@@ -193,25 +193,25 @@ It then redirects back to the base endpoint for calling endpoints from the SDK.
193193

194194
```typescript
195195

196-
import express from "express";
197-
import { Configuration, DealsApi, OAuth2Configuration } from "pipedrive/v1";
198-
import cookieParser from "cookie-parser";
199-
import cookieSession from "cookie-session";
196+
import express from 'express';
197+
import { Configuration, DealsApi, OAuth2Configuration } from 'pipedrive/v2';
198+
import cookieParser from 'cookie-parser';
199+
import cookieSession from 'cookie-session';
200200

201201
const app = express();
202202

203203
app.use(cookieParser());
204204
app.use(cookieSession({
205-
name: "session",
206-
keys: ["key1"]
205+
name: 'session',
206+
keys: ['key1']
207207
}));
208208

209209
const PORT = 3000;
210210

211211

212212
const oauth2 = new OAuth2Configuration({
213-
clientId: "clientId", // OAuth 2 Client ID
214-
clientSecret: "clientSecret", // OAuth 2 Client Secret
213+
clientId: 'clientId', // OAuth 2 Client ID
214+
clientSecret: 'clientSecret', // OAuth 2 Client Secret
215215
redirectUri: 'redirectUri' // OAuth 2 Redirection endpoint or Callback Uri
216216
});
217217

@@ -256,7 +256,7 @@ app.get('/callback', async (req, res) => {
256256
const newAccessToken = await oauth2.authorize(authCode);
257257

258258
req.session.accessToken = newAccessToken;
259-
return res.redirect("/");
259+
return res.redirect('/');
260260
}catch (error) {
261261
console.error(error)
262262
return res.status(500).send(error)

src/versions/v1/models/update-project-request1-all-of1.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ export interface UpdateProjectRequest1AllOf1 {
3131
*/
3232
'parent_task_id'?: number;
3333
/**
34-
* The ID of the user who will be the assignee of the task
34+
* The ID of the user assigned to the task. When the `assignee_id` field is updated, the `assignee_ids` field value will be overwritten by the `assignee_id` field value.
3535
* @type {number}
3636
*/
3737
'assignee_id'?: number;
3838
/**
39+
* The IDs of users assigned to the task. When the `assignee_ids` field is updated, the `assignee_id` field value will be set to the first value of the `assignee_ids` field, or `null` if the list is empty.
40+
* @type {Set<number>}
41+
*/
42+
'assignee_ids'?: Set<number>;
43+
/**
3944
*
4045
* @type {number}
4146
*/

0 commit comments

Comments
 (0)