Skip to content

Commit 63a5e06

Browse files
author
pipedrive-bot
committed
Build 289 - version-patch
1 parent e629c3f commit 63a5e06

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ 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+
### Fixed
11+
- Corrected `FieldResponse` schema to use `GetField` instead of `Field` to ensure GET responses accurately reflect all field types returned by the API
1012

1113
## [30.3.0] - 2025-10-06
1214
## Added

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)