Skip to content

Commit 3040085

Browse files
Release v30.3.1 from PR #679
2 parents e629c3f + 64cb5c1 commit 3040085

File tree

6 files changed

+29
-24
lines changed

6 files changed

+29
-24
lines changed

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
## [30.3.1] - 2025-11-03
12+
### Fixed
13+
- Corrected `FieldResponse` schema to use `GetField` instead of `Field` to ensure GET responses accurately reflect all field types returned by the API
14+
1115
## [30.3.0] - 2025-10-06
1216
## Added
1317
- Added `is_archived` field in search response schemas for deals and leads
@@ -985,7 +989,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
985989
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
986990
* Fixed typo in lead example response (`crrency` to `currency`)
987991

988-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v30.3.0...HEAD
992+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v30.3.1...HEAD
993+
[30.3.1]: https://github.com/pipedrive/api-docs/compare/v30.3.0...v30.3.1
989994
[30.3.0]: https://github.com/pipedrive/api-docs/compare/v30.2.1...v30.3.0
990995
[30.2.1]: https://github.com/pipedrive/api-docs/compare/v30.2.0...v30.2.1
991996
[30.2.0]: https://github.com/pipedrive/api-docs/compare/v30.1.0...v30.2.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive",
3-
"version": "30.3.0",
3+
"version": "30.3.1",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v1/api/channels-api.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
5151
* Adds a new messaging channel, only admins are able to register new channels. It will use the getConversations endpoint to fetch conversations, participants and messages afterward. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
5252
* @summary Add a channel
5353
* @param {AddChannelRequest} [AddChannelRequest]
54-
54+
* @deprecated
5555
* @throws {RequiredError}
5656
*/
5757
addChannel: async (AddChannelRequest?: AddChannelRequest, ): Promise<RequestArgs> => {
@@ -92,7 +92,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
9292
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
9393
* @summary Delete a channel
9494
* @param {string} id The ID of the channel provided by the integration
95-
95+
* @deprecated
9696
* @throws {RequiredError}
9797
*/
9898
deleteChannel: async (id: string, ): Promise<RequestArgs> => {
@@ -134,7 +134,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
134134
* @summary Delete a conversation
135135
* @param {string} channel_id The ID of the channel provided by the integration
136136
* @param {string} conversation_id The ID of the conversation provided by the integration
137-
137+
* @deprecated
138138
* @throws {RequiredError}
139139
*/
140140
deleteConversation: async (channel_id: string, conversation_id: string, ): Promise<RequestArgs> => {
@@ -178,7 +178,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
178178
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
179179
* @summary Receives an incoming message
180180
* @param {ReceiveMessageRequest} [ReceiveMessageRequest]
181-
181+
* @deprecated
182182
* @throws {RequiredError}
183183
*/
184184
receiveMessage: async (ReceiveMessageRequest?: ReceiveMessageRequest, ): Promise<RequestArgs> => {
@@ -230,7 +230,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
230230
* Adds a new messaging channel, only admins are able to register new channels. It will use the getConversations endpoint to fetch conversations, participants and messages afterward. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
231231
* @summary Add a channel
232232
* @param {AddChannelRequest} [AddChannelRequest]
233-
233+
* @deprecated
234234
* @throws {RequiredError}
235235
*/
236236
async addChannel(AddChannelRequest?: AddChannelRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddChannelResponse>> {
@@ -241,7 +241,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
241241
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
242242
* @summary Delete a channel
243243
* @param {string} id The ID of the channel provided by the integration
244-
244+
* @deprecated
245245
* @throws {RequiredError}
246246
*/
247247
async deleteChannel(id: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>> {
@@ -253,7 +253,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
253253
* @summary Delete a conversation
254254
* @param {string} channel_id The ID of the channel provided by the integration
255255
* @param {string} conversation_id The ID of the conversation provided by the integration
256-
256+
* @deprecated
257257
* @throws {RequiredError}
258258
*/
259259
async deleteConversation(channel_id: string, conversation_id: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>> {
@@ -264,7 +264,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
264264
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
265265
* @summary Receives an incoming message
266266
* @param {ReceiveMessageRequest} [ReceiveMessageRequest]
267-
267+
* @deprecated
268268
* @throws {RequiredError}
269269
*/
270270
async receiveMessage(ReceiveMessageRequest?: ReceiveMessageRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetReceiveMessageSuccessResponse>> {
@@ -285,7 +285,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
285285
* Adds a new messaging channel, only admins are able to register new channels. It will use the getConversations endpoint to fetch conversations, participants and messages afterward. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
286286
* @summary Add a channel
287287
* @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
288-
288+
* @deprecated
289289
* @throws {RequiredError}
290290
*/
291291
addChannel(requestParameters: ChannelsApiAddChannelRequest = {}, ): Promise<AddChannelResponse> {
@@ -295,7 +295,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
295295
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
296296
* @summary Delete a channel
297297
* @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
298-
298+
* @deprecated
299299
* @throws {RequiredError}
300300
*/
301301
deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest, ): Promise<DeleteChannel200Response> {
@@ -305,7 +305,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
305305
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
306306
* @summary Delete a conversation
307307
* @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
308-
308+
* @deprecated
309309
* @throws {RequiredError}
310310
*/
311311
deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest, ): Promise<DeleteChannel200Response> {
@@ -315,7 +315,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
315315
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
316316
* @summary Receives an incoming message
317317
* @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
318-
318+
* @deprecated
319319
* @throws {RequiredError}
320320
*/
321321
receiveMessage(requestParameters: ChannelsApiReceiveMessageRequest = {}, ): Promise<GetReceiveMessageSuccessResponse> {
@@ -398,7 +398,7 @@ export class ChannelsApi extends BaseAPI {
398398
* Adds a new messaging channel, only admins are able to register new channels. It will use the getConversations endpoint to fetch conversations, participants and messages afterward. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
399399
* @summary Add a channel
400400
* @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
401-
401+
* @deprecated
402402
* @throws {RequiredError}
403403
* @memberof ChannelsApi
404404
*/
@@ -410,7 +410,7 @@ export class ChannelsApi extends BaseAPI {
410410
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
411411
* @summary Delete a channel
412412
* @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
413-
413+
* @deprecated
414414
* @throws {RequiredError}
415415
* @memberof ChannelsApi
416416
*/
@@ -422,7 +422,7 @@ export class ChannelsApi extends BaseAPI {
422422
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
423423
* @summary Delete a conversation
424424
* @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
425-
425+
* @deprecated
426426
* @throws {RequiredError}
427427
* @memberof ChannelsApi
428428
*/
@@ -434,7 +434,7 @@ export class ChannelsApi extends BaseAPI {
434434
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
435435
* @summary Receives an incoming message
436436
* @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
437-
437+
* @deprecated
438438
* @throws {RequiredError}
439439
* @memberof ChannelsApi
440440
*/

src/versions/v1/models/get-field-response-all-of.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
// May contain unused imports in some cases
1717
// @ts-ignore
18-
import { Field } from './field';
18+
import { GetField } from './get-field';
1919

2020
/**
2121
*
@@ -25,8 +25,8 @@ import { Field } from './field';
2525
export interface GetFieldResponseAllOf {
2626
/**
2727
*
28-
* @type {Field}
28+
* @type {GetField}
2929
*/
30-
'data': Field;
30+
'data': GetField;
3131
}
3232

src/versions/v1/models/get-field-response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import { BaseResponse } from './base-response';
1919
// May contain unused imports in some cases
2020
// @ts-ignore
21-
import { Field } from './field';
21+
import { GetField } from './get-field';
2222
// May contain unused imports in some cases
2323
// @ts-ignore
2424
import { GetFieldResponseAllOf } from './get-field-response-all-of';

0 commit comments

Comments
 (0)