Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
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).

## [Unreleased]
### Fixed
- Corrected `FieldResponse` schema to use `GetField` instead of `Field` to ensure GET responses accurately reflect all field types returned by the API

## [30.3.0] - 2025-10-06
## Added
Expand Down
32 changes: 16 additions & 16 deletions src/versions/v1/api/channels-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
* 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).
* @summary Add a channel
* @param {AddChannelRequest} [AddChannelRequest]

* @deprecated
* @throws {RequiredError}
*/
addChannel: async (AddChannelRequest?: AddChannelRequest, ): Promise<RequestArgs> => {
Expand Down Expand Up @@ -92,7 +92,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
* 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).
* @summary Delete a channel
* @param {string} id The ID of the channel provided by the integration

* @deprecated
* @throws {RequiredError}
*/
deleteChannel: async (id: string, ): Promise<RequestArgs> => {
Expand Down Expand Up @@ -134,7 +134,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
* @summary Delete a conversation
* @param {string} channel_id The ID of the channel provided by the integration
* @param {string} conversation_id The ID of the conversation provided by the integration

* @deprecated
* @throws {RequiredError}
*/
deleteConversation: async (channel_id: string, conversation_id: string, ): Promise<RequestArgs> => {
Expand Down Expand Up @@ -178,7 +178,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat
* 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).
* @summary Receives an incoming message
* @param {ReceiveMessageRequest} [ReceiveMessageRequest]

* @deprecated
* @throws {RequiredError}
*/
receiveMessage: async (ReceiveMessageRequest?: ReceiveMessageRequest, ): Promise<RequestArgs> => {
Expand Down Expand Up @@ -230,7 +230,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
* 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).
* @summary Add a channel
* @param {AddChannelRequest} [AddChannelRequest]

* @deprecated
* @throws {RequiredError}
*/
async addChannel(AddChannelRequest?: AddChannelRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddChannelResponse>> {
Expand All @@ -241,7 +241,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
* 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).
* @summary Delete a channel
* @param {string} id The ID of the channel provided by the integration

* @deprecated
* @throws {RequiredError}
*/
async deleteChannel(id: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>> {
Expand All @@ -253,7 +253,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
* @summary Delete a conversation
* @param {string} channel_id The ID of the channel provided by the integration
* @param {string} conversation_id The ID of the conversation provided by the integration

* @deprecated
* @throws {RequiredError}
*/
async deleteConversation(channel_id: string, conversation_id: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>> {
Expand All @@ -264,7 +264,7 @@ export const ChannelsApiFp = function(configuration?: Configuration) {
* 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).
* @summary Receives an incoming message
* @param {ReceiveMessageRequest} [ReceiveMessageRequest]

* @deprecated
* @throws {RequiredError}
*/
async receiveMessage(ReceiveMessageRequest?: ReceiveMessageRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetReceiveMessageSuccessResponse>> {
Expand All @@ -285,7 +285,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
* 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).
* @summary Add a channel
* @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
*/
addChannel(requestParameters: ChannelsApiAddChannelRequest = {}, ): Promise<AddChannelResponse> {
Expand All @@ -295,7 +295,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
* 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).
* @summary Delete a channel
* @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
*/
deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest, ): Promise<DeleteChannel200Response> {
Expand All @@ -305,7 +305,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
* 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).
* @summary Delete a conversation
* @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
*/
deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest, ): Promise<DeleteChannel200Response> {
Expand All @@ -315,7 +315,7 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP
* 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).
* @summary Receives an incoming message
* @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
*/
receiveMessage(requestParameters: ChannelsApiReceiveMessageRequest = {}, ): Promise<GetReceiveMessageSuccessResponse> {
Expand Down Expand Up @@ -398,7 +398,7 @@ export class ChannelsApi extends BaseAPI {
* 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).
* @summary Add a channel
* @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
* @memberof ChannelsApi
*/
Expand All @@ -410,7 +410,7 @@ export class ChannelsApi extends BaseAPI {
* 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).
* @summary Delete a channel
* @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
* @memberof ChannelsApi
*/
Expand All @@ -422,7 +422,7 @@ export class ChannelsApi extends BaseAPI {
* 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).
* @summary Delete a conversation
* @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
* @memberof ChannelsApi
*/
Expand All @@ -434,7 +434,7 @@ export class ChannelsApi extends BaseAPI {
* 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).
* @summary Receives an incoming message
* @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.

* @deprecated
* @throws {RequiredError}
* @memberof ChannelsApi
*/
Expand Down
6 changes: 3 additions & 3 deletions src/versions/v1/models/get-field-response-all-of.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

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

/**
*
Expand All @@ -25,8 +25,8 @@ import { Field } from './field';
export interface GetFieldResponseAllOf {
/**
*
* @type {Field}
* @type {GetField}
*/
'data': Field;
'data': GetField;
}

2 changes: 1 addition & 1 deletion src/versions/v1/models/get-field-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import { BaseResponse } from './base-response';
// May contain unused imports in some cases
// @ts-ignore
import { Field } from './field';
import { GetField } from './get-field';
// May contain unused imports in some cases
// @ts-ignore
import { GetFieldResponseAllOf } from './get-field-response-all-of';
Expand Down
Loading