pipedrive 30.2.1 → 30.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
26
26
  * 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).
27
27
  * @summary Add a channel
28
28
  * @param {AddChannelRequest} [AddChannelRequest]
29
-
29
+ * @deprecated
30
30
  * @throws {RequiredError}
31
31
  */
32
32
  addChannel: (AddChannelRequest?: AddChannelRequest) => Promise<RequestArgs>;
@@ -34,7 +34,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
34
34
  * 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).
35
35
  * @summary Delete a channel
36
36
  * @param {string} id The ID of the channel provided by the integration
37
-
37
+ * @deprecated
38
38
  * @throws {RequiredError}
39
39
  */
40
40
  deleteChannel: (id: string) => Promise<RequestArgs>;
@@ -43,7 +43,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
43
43
  * @summary Delete a conversation
44
44
  * @param {string} channel_id The ID of the channel provided by the integration
45
45
  * @param {string} conversation_id The ID of the conversation provided by the integration
46
-
46
+ * @deprecated
47
47
  * @throws {RequiredError}
48
48
  */
49
49
  deleteConversation: (channel_id: string, conversation_id: string) => Promise<RequestArgs>;
@@ -51,7 +51,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
51
51
  * 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).
52
52
  * @summary Receives an incoming message
53
53
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
54
-
54
+ * @deprecated
55
55
  * @throws {RequiredError}
56
56
  */
57
57
  receiveMessage: (ReceiveMessageRequest?: ReceiveMessageRequest) => Promise<RequestArgs>;
@@ -65,7 +65,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
65
65
  * 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).
66
66
  * @summary Add a channel
67
67
  * @param {AddChannelRequest} [AddChannelRequest]
68
-
68
+ * @deprecated
69
69
  * @throws {RequiredError}
70
70
  */
71
71
  addChannel(AddChannelRequest?: AddChannelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddChannelResponse>>;
@@ -73,7 +73,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
73
73
  * 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).
74
74
  * @summary Delete a channel
75
75
  * @param {string} id The ID of the channel provided by the integration
76
-
76
+ * @deprecated
77
77
  * @throws {RequiredError}
78
78
  */
79
79
  deleteChannel(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
@@ -82,7 +82,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
82
82
  * @summary Delete a conversation
83
83
  * @param {string} channel_id The ID of the channel provided by the integration
84
84
  * @param {string} conversation_id The ID of the conversation provided by the integration
85
-
85
+ * @deprecated
86
86
  * @throws {RequiredError}
87
87
  */
88
88
  deleteConversation(channel_id: string, conversation_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
@@ -90,7 +90,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
90
90
  * 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).
91
91
  * @summary Receives an incoming message
92
92
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
93
-
93
+ * @deprecated
94
94
  * @throws {RequiredError}
95
95
  */
96
96
  receiveMessage(ReceiveMessageRequest?: ReceiveMessageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetReceiveMessageSuccessResponse>>;
@@ -104,7 +104,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
104
104
  * 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).
105
105
  * @summary Add a channel
106
106
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
107
-
107
+ * @deprecated
108
108
  * @throws {RequiredError}
109
109
  */
110
110
  addChannel(requestParameters?: ChannelsApiAddChannelRequest): Promise<AddChannelResponse>;
@@ -112,7 +112,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
112
112
  * 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).
113
113
  * @summary Delete a channel
114
114
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
115
-
115
+ * @deprecated
116
116
  * @throws {RequiredError}
117
117
  */
118
118
  deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest): Promise<DeleteChannel200Response>;
@@ -120,7 +120,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
120
120
  * 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).
121
121
  * @summary Delete a conversation
122
122
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
123
-
123
+ * @deprecated
124
124
  * @throws {RequiredError}
125
125
  */
126
126
  deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest): Promise<DeleteChannel200Response>;
@@ -128,7 +128,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
128
128
  * 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).
129
129
  * @summary Receives an incoming message
130
130
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
131
-
131
+ * @deprecated
132
132
  * @throws {RequiredError}
133
133
  */
134
134
  receiveMessage(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<GetReceiveMessageSuccessResponse>;
@@ -202,7 +202,7 @@ export declare class ChannelsApi extends BaseAPI {
202
202
  * 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).
203
203
  * @summary Add a channel
204
204
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
205
-
205
+ * @deprecated
206
206
  * @throws {RequiredError}
207
207
  * @memberof ChannelsApi
208
208
  */
@@ -211,7 +211,7 @@ export declare class ChannelsApi extends BaseAPI {
211
211
  * 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).
212
212
  * @summary Delete a channel
213
213
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
214
-
214
+ * @deprecated
215
215
  * @throws {RequiredError}
216
216
  * @memberof ChannelsApi
217
217
  */
@@ -220,7 +220,7 @@ export declare class ChannelsApi extends BaseAPI {
220
220
  * 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).
221
221
  * @summary Delete a conversation
222
222
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
223
-
223
+ * @deprecated
224
224
  * @throws {RequiredError}
225
225
  * @memberof ChannelsApi
226
226
  */
@@ -229,7 +229,7 @@ export declare class ChannelsApi extends BaseAPI {
229
229
  * 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).
230
230
  * @summary Receives an incoming message
231
231
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
232
-
232
+ * @deprecated
233
233
  * @throws {RequiredError}
234
234
  * @memberof ChannelsApi
235
235
  */
@@ -36,7 +36,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration) {
36
36
  * 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).
37
37
  * @summary Add a channel
38
38
  * @param {AddChannelRequest} [AddChannelRequest]
39
-
39
+ * @deprecated
40
40
  * @throws {RequiredError}
41
41
  */
42
42
  addChannel: (AddChannelRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -69,7 +69,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration) {
69
69
  * 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).
70
70
  * @summary Delete a channel
71
71
  * @param {string} id The ID of the channel provided by the integration
72
-
72
+ * @deprecated
73
73
  * @throws {RequiredError}
74
74
  */
75
75
  deleteChannel: (id) => __awaiter(this, void 0, void 0, function* () {
@@ -104,7 +104,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration) {
104
104
  * @summary Delete a conversation
105
105
  * @param {string} channel_id The ID of the channel provided by the integration
106
106
  * @param {string} conversation_id The ID of the conversation provided by the integration
107
-
107
+ * @deprecated
108
108
  * @throws {RequiredError}
109
109
  */
110
110
  deleteConversation: (channel_id, conversation_id) => __awaiter(this, void 0, void 0, function* () {
@@ -141,7 +141,7 @@ export const ChannelsApiAxiosParamCreator = function (configuration) {
141
141
  * 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).
142
142
  * @summary Receives an incoming message
143
143
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
144
-
144
+ * @deprecated
145
145
  * @throws {RequiredError}
146
146
  */
147
147
  receiveMessage: (ReceiveMessageRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -183,7 +183,7 @@ export const ChannelsApiFp = function (configuration) {
183
183
  * 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).
184
184
  * @summary Add a channel
185
185
  * @param {AddChannelRequest} [AddChannelRequest]
186
-
186
+ * @deprecated
187
187
  * @throws {RequiredError}
188
188
  */
189
189
  addChannel(AddChannelRequest) {
@@ -196,7 +196,7 @@ export const ChannelsApiFp = function (configuration) {
196
196
  * 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).
197
197
  * @summary Delete a channel
198
198
  * @param {string} id The ID of the channel provided by the integration
199
-
199
+ * @deprecated
200
200
  * @throws {RequiredError}
201
201
  */
202
202
  deleteChannel(id) {
@@ -210,7 +210,7 @@ export const ChannelsApiFp = function (configuration) {
210
210
  * @summary Delete a conversation
211
211
  * @param {string} channel_id The ID of the channel provided by the integration
212
212
  * @param {string} conversation_id The ID of the conversation provided by the integration
213
-
213
+ * @deprecated
214
214
  * @throws {RequiredError}
215
215
  */
216
216
  deleteConversation(channel_id, conversation_id) {
@@ -223,7 +223,7 @@ export const ChannelsApiFp = function (configuration) {
223
223
  * 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).
224
224
  * @summary Receives an incoming message
225
225
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
226
-
226
+ * @deprecated
227
227
  * @throws {RequiredError}
228
228
  */
229
229
  receiveMessage(ReceiveMessageRequest) {
@@ -245,7 +245,7 @@ export const ChannelsApiFactory = function (configuration, basePath, axios) {
245
245
  * 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).
246
246
  * @summary Add a channel
247
247
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
248
-
248
+ * @deprecated
249
249
  * @throws {RequiredError}
250
250
  */
251
251
  addChannel(requestParameters = {}) {
@@ -255,7 +255,7 @@ export const ChannelsApiFactory = function (configuration, basePath, axios) {
255
255
  * 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).
256
256
  * @summary Delete a channel
257
257
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
258
-
258
+ * @deprecated
259
259
  * @throws {RequiredError}
260
260
  */
261
261
  deleteChannel(requestParameters) {
@@ -265,7 +265,7 @@ export const ChannelsApiFactory = function (configuration, basePath, axios) {
265
265
  * 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).
266
266
  * @summary Delete a conversation
267
267
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
268
-
268
+ * @deprecated
269
269
  * @throws {RequiredError}
270
270
  */
271
271
  deleteConversation(requestParameters) {
@@ -275,7 +275,7 @@ export const ChannelsApiFactory = function (configuration, basePath, axios) {
275
275
  * 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).
276
276
  * @summary Receives an incoming message
277
277
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
278
-
278
+ * @deprecated
279
279
  * @throws {RequiredError}
280
280
  */
281
281
  receiveMessage(requestParameters = {}) {
@@ -294,7 +294,7 @@ export class ChannelsApi extends BaseAPI {
294
294
  * 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).
295
295
  * @summary Add a channel
296
296
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
297
-
297
+ * @deprecated
298
298
  * @throws {RequiredError}
299
299
  * @memberof ChannelsApi
300
300
  */
@@ -305,7 +305,7 @@ export class ChannelsApi extends BaseAPI {
305
305
  * 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).
306
306
  * @summary Delete a channel
307
307
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
308
-
308
+ * @deprecated
309
309
  * @throws {RequiredError}
310
310
  * @memberof ChannelsApi
311
311
  */
@@ -316,7 +316,7 @@ export class ChannelsApi extends BaseAPI {
316
316
  * 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).
317
317
  * @summary Delete a conversation
318
318
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
319
-
319
+ * @deprecated
320
320
  * @throws {RequiredError}
321
321
  * @memberof ChannelsApi
322
322
  */
@@ -327,7 +327,7 @@ export class ChannelsApi extends BaseAPI {
327
327
  * 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).
328
328
  * @summary Receives an incoming message
329
329
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
330
-
330
+ * @deprecated
331
331
  * @throws {RequiredError}
332
332
  * @memberof ChannelsApi
333
333
  */
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Field } from './field';
12
+ import { GetField } from './get-field';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,7 +18,7 @@ import { Field } from './field';
18
18
  export interface GetFieldResponseAllOf {
19
19
  /**
20
20
  *
21
- * @type {Field}
21
+ * @type {GetField}
22
22
  */
23
- 'data': Field;
23
+ 'data': GetField;
24
24
  }
@@ -26,7 +26,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
26
26
  * 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).
27
27
  * @summary Add a channel
28
28
  * @param {AddChannelRequest} [AddChannelRequest]
29
-
29
+ * @deprecated
30
30
  * @throws {RequiredError}
31
31
  */
32
32
  addChannel: (AddChannelRequest?: AddChannelRequest) => Promise<RequestArgs>;
@@ -34,7 +34,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
34
34
  * 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).
35
35
  * @summary Delete a channel
36
36
  * @param {string} id The ID of the channel provided by the integration
37
-
37
+ * @deprecated
38
38
  * @throws {RequiredError}
39
39
  */
40
40
  deleteChannel: (id: string) => Promise<RequestArgs>;
@@ -43,7 +43,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
43
43
  * @summary Delete a conversation
44
44
  * @param {string} channel_id The ID of the channel provided by the integration
45
45
  * @param {string} conversation_id The ID of the conversation provided by the integration
46
-
46
+ * @deprecated
47
47
  * @throws {RequiredError}
48
48
  */
49
49
  deleteConversation: (channel_id: string, conversation_id: string) => Promise<RequestArgs>;
@@ -51,7 +51,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
51
51
  * 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).
52
52
  * @summary Receives an incoming message
53
53
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
54
-
54
+ * @deprecated
55
55
  * @throws {RequiredError}
56
56
  */
57
57
  receiveMessage: (ReceiveMessageRequest?: ReceiveMessageRequest) => Promise<RequestArgs>;
@@ -65,7 +65,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
65
65
  * 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).
66
66
  * @summary Add a channel
67
67
  * @param {AddChannelRequest} [AddChannelRequest]
68
-
68
+ * @deprecated
69
69
  * @throws {RequiredError}
70
70
  */
71
71
  addChannel(AddChannelRequest?: AddChannelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddChannelResponse>>;
@@ -73,7 +73,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
73
73
  * 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).
74
74
  * @summary Delete a channel
75
75
  * @param {string} id The ID of the channel provided by the integration
76
-
76
+ * @deprecated
77
77
  * @throws {RequiredError}
78
78
  */
79
79
  deleteChannel(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
@@ -82,7 +82,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
82
82
  * @summary Delete a conversation
83
83
  * @param {string} channel_id The ID of the channel provided by the integration
84
84
  * @param {string} conversation_id The ID of the conversation provided by the integration
85
-
85
+ * @deprecated
86
86
  * @throws {RequiredError}
87
87
  */
88
88
  deleteConversation(channel_id: string, conversation_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
@@ -90,7 +90,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
90
90
  * 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).
91
91
  * @summary Receives an incoming message
92
92
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
93
-
93
+ * @deprecated
94
94
  * @throws {RequiredError}
95
95
  */
96
96
  receiveMessage(ReceiveMessageRequest?: ReceiveMessageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetReceiveMessageSuccessResponse>>;
@@ -104,7 +104,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
104
104
  * 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).
105
105
  * @summary Add a channel
106
106
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
107
-
107
+ * @deprecated
108
108
  * @throws {RequiredError}
109
109
  */
110
110
  addChannel(requestParameters?: ChannelsApiAddChannelRequest): Promise<AddChannelResponse>;
@@ -112,7 +112,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
112
112
  * 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).
113
113
  * @summary Delete a channel
114
114
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
115
-
115
+ * @deprecated
116
116
  * @throws {RequiredError}
117
117
  */
118
118
  deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest): Promise<DeleteChannel200Response>;
@@ -120,7 +120,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
120
120
  * 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).
121
121
  * @summary Delete a conversation
122
122
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
123
-
123
+ * @deprecated
124
124
  * @throws {RequiredError}
125
125
  */
126
126
  deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest): Promise<DeleteChannel200Response>;
@@ -128,7 +128,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
128
128
  * 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).
129
129
  * @summary Receives an incoming message
130
130
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
131
-
131
+ * @deprecated
132
132
  * @throws {RequiredError}
133
133
  */
134
134
  receiveMessage(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<GetReceiveMessageSuccessResponse>;
@@ -202,7 +202,7 @@ export declare class ChannelsApi extends BaseAPI {
202
202
  * 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).
203
203
  * @summary Add a channel
204
204
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
205
-
205
+ * @deprecated
206
206
  * @throws {RequiredError}
207
207
  * @memberof ChannelsApi
208
208
  */
@@ -211,7 +211,7 @@ export declare class ChannelsApi extends BaseAPI {
211
211
  * 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).
212
212
  * @summary Delete a channel
213
213
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
214
-
214
+ * @deprecated
215
215
  * @throws {RequiredError}
216
216
  * @memberof ChannelsApi
217
217
  */
@@ -220,7 +220,7 @@ export declare class ChannelsApi extends BaseAPI {
220
220
  * 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).
221
221
  * @summary Delete a conversation
222
222
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
223
-
223
+ * @deprecated
224
224
  * @throws {RequiredError}
225
225
  * @memberof ChannelsApi
226
226
  */
@@ -229,7 +229,7 @@ export declare class ChannelsApi extends BaseAPI {
229
229
  * 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).
230
230
  * @summary Receives an incoming message
231
231
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
232
-
232
+ * @deprecated
233
233
  * @throws {RequiredError}
234
234
  * @memberof ChannelsApi
235
235
  */
@@ -42,7 +42,7 @@ const ChannelsApiAxiosParamCreator = function (configuration) {
42
42
  * 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).
43
43
  * @summary Add a channel
44
44
  * @param {AddChannelRequest} [AddChannelRequest]
45
-
45
+ * @deprecated
46
46
  * @throws {RequiredError}
47
47
  */
48
48
  addChannel: (AddChannelRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -75,7 +75,7 @@ const ChannelsApiAxiosParamCreator = function (configuration) {
75
75
  * 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).
76
76
  * @summary Delete a channel
77
77
  * @param {string} id The ID of the channel provided by the integration
78
-
78
+ * @deprecated
79
79
  * @throws {RequiredError}
80
80
  */
81
81
  deleteChannel: (id) => __awaiter(this, void 0, void 0, function* () {
@@ -110,7 +110,7 @@ const ChannelsApiAxiosParamCreator = function (configuration) {
110
110
  * @summary Delete a conversation
111
111
  * @param {string} channel_id The ID of the channel provided by the integration
112
112
  * @param {string} conversation_id The ID of the conversation provided by the integration
113
-
113
+ * @deprecated
114
114
  * @throws {RequiredError}
115
115
  */
116
116
  deleteConversation: (channel_id, conversation_id) => __awaiter(this, void 0, void 0, function* () {
@@ -147,7 +147,7 @@ const ChannelsApiAxiosParamCreator = function (configuration) {
147
147
  * 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).
148
148
  * @summary Receives an incoming message
149
149
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
150
-
150
+ * @deprecated
151
151
  * @throws {RequiredError}
152
152
  */
153
153
  receiveMessage: (ReceiveMessageRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -190,7 +190,7 @@ const ChannelsApiFp = function (configuration) {
190
190
  * 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).
191
191
  * @summary Add a channel
192
192
  * @param {AddChannelRequest} [AddChannelRequest]
193
-
193
+ * @deprecated
194
194
  * @throws {RequiredError}
195
195
  */
196
196
  addChannel(AddChannelRequest) {
@@ -203,7 +203,7 @@ const ChannelsApiFp = function (configuration) {
203
203
  * 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).
204
204
  * @summary Delete a channel
205
205
  * @param {string} id The ID of the channel provided by the integration
206
-
206
+ * @deprecated
207
207
  * @throws {RequiredError}
208
208
  */
209
209
  deleteChannel(id) {
@@ -217,7 +217,7 @@ const ChannelsApiFp = function (configuration) {
217
217
  * @summary Delete a conversation
218
218
  * @param {string} channel_id The ID of the channel provided by the integration
219
219
  * @param {string} conversation_id The ID of the conversation provided by the integration
220
-
220
+ * @deprecated
221
221
  * @throws {RequiredError}
222
222
  */
223
223
  deleteConversation(channel_id, conversation_id) {
@@ -230,7 +230,7 @@ const ChannelsApiFp = function (configuration) {
230
230
  * 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).
231
231
  * @summary Receives an incoming message
232
232
  * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
233
-
233
+ * @deprecated
234
234
  * @throws {RequiredError}
235
235
  */
236
236
  receiveMessage(ReceiveMessageRequest) {
@@ -253,7 +253,7 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
253
253
  * 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).
254
254
  * @summary Add a channel
255
255
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
256
-
256
+ * @deprecated
257
257
  * @throws {RequiredError}
258
258
  */
259
259
  addChannel(requestParameters = {}) {
@@ -263,7 +263,7 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
263
263
  * 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).
264
264
  * @summary Delete a channel
265
265
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
266
-
266
+ * @deprecated
267
267
  * @throws {RequiredError}
268
268
  */
269
269
  deleteChannel(requestParameters) {
@@ -273,7 +273,7 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
273
273
  * 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).
274
274
  * @summary Delete a conversation
275
275
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
276
-
276
+ * @deprecated
277
277
  * @throws {RequiredError}
278
278
  */
279
279
  deleteConversation(requestParameters) {
@@ -283,7 +283,7 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
283
283
  * 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).
284
284
  * @summary Receives an incoming message
285
285
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
286
-
286
+ * @deprecated
287
287
  * @throws {RequiredError}
288
288
  */
289
289
  receiveMessage(requestParameters = {}) {
@@ -303,7 +303,7 @@ class ChannelsApi extends base_1.BaseAPI {
303
303
  * 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).
304
304
  * @summary Add a channel
305
305
  * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
306
-
306
+ * @deprecated
307
307
  * @throws {RequiredError}
308
308
  * @memberof ChannelsApi
309
309
  */
@@ -314,7 +314,7 @@ class ChannelsApi extends base_1.BaseAPI {
314
314
  * 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).
315
315
  * @summary Delete a channel
316
316
  * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
317
-
317
+ * @deprecated
318
318
  * @throws {RequiredError}
319
319
  * @memberof ChannelsApi
320
320
  */
@@ -325,7 +325,7 @@ class ChannelsApi extends base_1.BaseAPI {
325
325
  * 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).
326
326
  * @summary Delete a conversation
327
327
  * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
328
-
328
+ * @deprecated
329
329
  * @throws {RequiredError}
330
330
  * @memberof ChannelsApi
331
331
  */
@@ -336,7 +336,7 @@ class ChannelsApi extends base_1.BaseAPI {
336
336
  * 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).
337
337
  * @summary Receives an incoming message
338
338
  * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
339
-
339
+ * @deprecated
340
340
  * @throws {RequiredError}
341
341
  * @memberof ChannelsApi
342
342
  */
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Field } from './field';
12
+ import { GetField } from './get-field';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,7 +18,7 @@ import { Field } from './field';
18
18
  export interface GetFieldResponseAllOf {
19
19
  /**
20
20
  *
21
- * @type {Field}
21
+ * @type {GetField}
22
22
  */
23
- 'data': Field;
23
+ 'data': GetField;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "30.2.1",
3
+ "version": "30.3.1",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",