pipedrive 24.2.0 → 26.0.0
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.
- package/dist/esm/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/esm/versions/v1/api/activities-api.js +40 -40
- package/dist/esm/versions/v1/api/deals-api.d.ts +413 -91
- package/dist/esm/versions/v1/api/deals-api.js +419 -90
- package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/item-search-api.js +8 -8
- package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/esm/versions/v1/api/leads-api.js +107 -14
- package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/esm/versions/v1/api/notes-api.js +15 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +71 -71
- package/dist/esm/versions/v1/api/organizations-api.js +70 -70
- package/dist/esm/versions/v1/api/persons-api.d.ts +59 -59
- package/dist/esm/versions/v1/api/persons-api.js +58 -58
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/esm/versions/v1/api/pipelines-api.js +28 -28
- package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
- package/dist/esm/versions/v1/api/products-api.js +24 -24
- package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/stages-api.js +36 -36
- package/dist/esm/versions/v1/api/subscriptions-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/subscriptions-api.js +36 -36
- package/dist/esm/versions/v1/api/webhooks-api.d.ts +4 -4
- package/dist/esm/versions/v1/api/webhooks-api.js +4 -4
- package/dist/esm/versions/v1/base.d.ts +2 -3
- package/dist/esm/versions/v1/configuration.d.ts +2 -2
- package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
- package/dist/esm/versions/v1/models/add-webhook-request.d.ts +5 -6
- package/dist/esm/versions/v1/models/add-webhook-request.js +4 -5
- package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v1/models/index.d.ts +1 -0
- package/dist/esm/versions/v1/models/index.js +1 -0
- package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
- package/dist/esm/versions/v1/models/note-project.js +14 -0
- package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/esm/versions/v1/models/note.d.ts +16 -0
- package/dist/esm/versions/v1/models/user-access.d.ts +3 -2
- package/dist/esm/versions/v1/models/user-access.js +4 -3
- package/dist/esm/versions/v1/models/user-access1.d.ts +3 -2
- package/dist/esm/versions/v1/models/user-access1.js +4 -3
- package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/esm/versions/v2/api/activities-api.js +12 -7
- package/dist/esm/versions/v2/api/beta-api.d.ts +194 -2532
- package/dist/esm/versions/v2/api/beta-api.js +263 -2928
- package/dist/esm/versions/v2/api/deals-api.d.ts +509 -4
- package/dist/esm/versions/v2/api/deals-api.js +589 -4
- package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/esm/versions/v2/api/leads-api.js +146 -1
- package/dist/esm/versions/v2/api/organizations-api.d.ts +237 -0
- package/dist/esm/versions/v2/api/organizations-api.js +301 -0
- package/dist/esm/versions/v2/api/persons-api.d.ts +245 -8
- package/dist/esm/versions/v2/api/persons-api.js +309 -8
- package/dist/esm/versions/v2/api/products-api.d.ts +237 -0
- package/dist/esm/versions/v2/api/products-api.js +301 -0
- package/dist/esm/versions/v2/api/users-api.d.ts +103 -0
- package/dist/esm/versions/v2/api/users-api.js +140 -0
- package/dist/esm/versions/v2/api.d.ts +1 -0
- package/dist/esm/versions/v2/api.js +1 -0
- package/dist/esm/versions/v2/base.d.ts +2 -3
- package/dist/esm/versions/v2/configuration.d.ts +2 -2
- package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
- package/dist/esm/versions/v2/models/add-deal-follower-request.d.ts +23 -0
- package/dist/esm/versions/v2/models/add-deal-follower-request.js +14 -0
- package/dist/esm/versions/v2/models/add-follower-response-all-of.d.ts +24 -0
- package/dist/esm/versions/v2/models/add-follower-response-all-of.js +14 -0
- package/dist/esm/versions/v2/models/add-follower-response.d.ts +18 -0
- package/dist/esm/versions/v2/models/add-follower-response.js +14 -0
- package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/add-person-request.js +6 -1
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
- package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/delete-follower-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/delete-follower-response-data.js +14 -0
- package/dist/esm/versions/v2/models/delete-follower-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/delete-follower-response.js +14 -0
- package/dist/esm/versions/v2/models/follower-changelog-item.d.ts +38 -0
- package/dist/esm/versions/v2/models/follower-changelog-item.js +14 -0
- package/dist/esm/versions/v2/models/follower-item.d.ts +28 -0
- package/dist/esm/versions/v2/models/follower-item.js +14 -0
- package/dist/esm/versions/v2/models/follower-item1.d.ts +28 -0
- package/dist/esm/versions/v2/models/follower-item1.js +14 -0
- package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
- package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/get-follower-changelogs-response-all-of.d.ts +30 -0
- package/dist/esm/versions/v2/models/get-follower-changelogs-response-all-of.js +14 -0
- package/dist/esm/versions/v2/models/get-follower-changelogs-response.d.ts +18 -0
- package/dist/esm/versions/v2/models/get-follower-changelogs-response.js +14 -0
- package/dist/esm/versions/v2/models/get-followers-response-all-of.d.ts +30 -0
- package/dist/esm/versions/v2/models/get-followers-response-all-of.js +14 -0
- package/dist/esm/versions/v2/models/get-followers-response.d.ts +18 -0
- package/dist/esm/versions/v2/models/get-followers-response.js +14 -0
- package/dist/esm/versions/v2/models/index.d.ts +19 -0
- package/dist/esm/versions/v2/models/index.js +19 -0
- package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/update-person-request.js +6 -1
- package/dist/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/versions/v1/api/activities-api.js +40 -40
- package/dist/versions/v1/api/deals-api.d.ts +413 -91
- package/dist/versions/v1/api/deals-api.js +419 -90
- package/dist/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/versions/v1/api/item-search-api.js +8 -8
- package/dist/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/versions/v1/api/leads-api.js +107 -14
- package/dist/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/versions/v1/api/notes-api.js +15 -5
- package/dist/versions/v1/api/organizations-api.d.ts +71 -71
- package/dist/versions/v1/api/organizations-api.js +70 -70
- package/dist/versions/v1/api/persons-api.d.ts +59 -59
- package/dist/versions/v1/api/persons-api.js +58 -58
- package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/versions/v1/api/pipelines-api.js +28 -28
- package/dist/versions/v1/api/products-api.d.ts +24 -24
- package/dist/versions/v1/api/products-api.js +24 -24
- package/dist/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/versions/v1/api/stages-api.js +36 -36
- package/dist/versions/v1/api/subscriptions-api.d.ts +36 -36
- package/dist/versions/v1/api/subscriptions-api.js +36 -36
- package/dist/versions/v1/api/webhooks-api.d.ts +4 -4
- package/dist/versions/v1/api/webhooks-api.js +4 -4
- package/dist/versions/v1/base.d.ts +2 -3
- package/dist/versions/v1/configuration.d.ts +2 -2
- package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
- package/dist/versions/v1/models/add-webhook-request.d.ts +5 -6
- package/dist/versions/v1/models/add-webhook-request.js +4 -5
- package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v1/models/index.d.ts +1 -0
- package/dist/versions/v1/models/index.js +1 -0
- package/dist/versions/v1/models/note-project.d.ts +23 -0
- package/dist/versions/v1/models/note-project.js +15 -0
- package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/versions/v1/models/note.d.ts +16 -0
- package/dist/versions/v1/models/user-access.d.ts +3 -2
- package/dist/versions/v1/models/user-access.js +4 -3
- package/dist/versions/v1/models/user-access1.d.ts +3 -2
- package/dist/versions/v1/models/user-access1.js +4 -3
- package/dist/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/versions/v2/api/activities-api.js +12 -7
- package/dist/versions/v2/api/beta-api.d.ts +194 -2532
- package/dist/versions/v2/api/beta-api.js +265 -2930
- package/dist/versions/v2/api/deals-api.d.ts +509 -4
- package/dist/versions/v2/api/deals-api.js +589 -4
- package/dist/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/versions/v2/api/leads-api.js +145 -0
- package/dist/versions/v2/api/organizations-api.d.ts +237 -0
- package/dist/versions/v2/api/organizations-api.js +301 -0
- package/dist/versions/v2/api/persons-api.d.ts +245 -8
- package/dist/versions/v2/api/persons-api.js +309 -8
- package/dist/versions/v2/api/products-api.d.ts +237 -0
- package/dist/versions/v2/api/products-api.js +301 -0
- package/dist/versions/v2/api/users-api.d.ts +103 -0
- package/dist/versions/v2/api/users-api.js +150 -0
- package/dist/versions/v2/api.d.ts +1 -0
- package/dist/versions/v2/api.js +1 -0
- package/dist/versions/v2/base.d.ts +2 -3
- package/dist/versions/v2/configuration.d.ts +2 -2
- package/dist/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
- package/dist/versions/v2/models/add-deal-follower-request.d.ts +23 -0
- package/dist/versions/v2/models/add-deal-follower-request.js +15 -0
- package/dist/versions/v2/models/add-follower-response-all-of.d.ts +24 -0
- package/dist/versions/v2/models/add-follower-response-all-of.js +15 -0
- package/dist/versions/v2/models/add-follower-response.d.ts +18 -0
- package/dist/versions/v2/models/add-follower-response.js +15 -0
- package/dist/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/versions/v2/models/add-person-request.js +7 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
- package/dist/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/versions/v2/models/delete-follower-response-data.d.ts +23 -0
- package/dist/versions/v2/models/delete-follower-response-data.js +15 -0
- package/dist/versions/v2/models/delete-follower-response.d.ts +29 -0
- package/dist/versions/v2/models/delete-follower-response.js +15 -0
- package/dist/versions/v2/models/follower-changelog-item.d.ts +38 -0
- package/dist/versions/v2/models/follower-changelog-item.js +15 -0
- package/dist/versions/v2/models/follower-item.d.ts +28 -0
- package/dist/versions/v2/models/follower-item.js +15 -0
- package/dist/versions/v2/models/follower-item1.d.ts +28 -0
- package/dist/versions/v2/models/follower-item1.js +15 -0
- package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/versions/v2/models/get-convert-response.js +15 -0
- package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
- package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/versions/v2/models/get-convert-response1.js +15 -0
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v2/models/get-follower-changelogs-response-all-of.d.ts +30 -0
- package/dist/versions/v2/models/get-follower-changelogs-response-all-of.js +15 -0
- package/dist/versions/v2/models/get-follower-changelogs-response.d.ts +18 -0
- package/dist/versions/v2/models/get-follower-changelogs-response.js +15 -0
- package/dist/versions/v2/models/get-followers-response-all-of.d.ts +30 -0
- package/dist/versions/v2/models/get-followers-response-all-of.js +15 -0
- package/dist/versions/v2/models/get-followers-response.d.ts +18 -0
- package/dist/versions/v2/models/get-followers-response.js +15 -0
- package/dist/versions/v2/models/index.d.ts +19 -0
- package/dist/versions/v2/models/index.js +19 -0
- package/dist/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/versions/v2/models/update-person-request.js +7 -0
- package/package.json +1 -1
@@ -33,7 +33,7 @@ import { BASE_PATH, BaseAPI } from '../base';
|
|
33
33
|
export const WebhooksApiAxiosParamCreator = function (configuration) {
|
34
34
|
return {
|
35
35
|
/**
|
36
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
36
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
37
37
|
* @summary Create a new Webhook
|
38
38
|
* @param {AddWebhookRequest} [AddWebhookRequest]
|
39
39
|
|
@@ -139,7 +139,7 @@ export const WebhooksApiFp = function (configuration) {
|
|
139
139
|
const localVarAxiosParamCreator = WebhooksApiAxiosParamCreator(configuration);
|
140
140
|
return {
|
141
141
|
/**
|
142
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
142
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
143
143
|
* @summary Create a new Webhook
|
144
144
|
* @param {AddWebhookRequest} [AddWebhookRequest]
|
145
145
|
|
@@ -186,7 +186,7 @@ export const WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
186
186
|
const localVarFp = WebhooksApiFp(configuration);
|
187
187
|
return {
|
188
188
|
/**
|
189
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
189
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
190
190
|
* @summary Create a new Webhook
|
191
191
|
* @param {WebhooksApiAddWebhookRequest} requestParameters Request parameters.
|
192
192
|
|
@@ -224,7 +224,7 @@ export const WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
224
224
|
*/
|
225
225
|
export class WebhooksApi extends BaseAPI {
|
226
226
|
/**
|
227
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
227
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
228
228
|
* @summary Create a new Webhook
|
229
229
|
* @param {WebhooksApiAddWebhookRequest} requestParameters Request parameters.
|
230
230
|
|
@@ -10,8 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import type { Configuration } from './configuration';
|
13
|
-
import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig } from 'axios';
|
14
|
-
import axios from 'axios';
|
13
|
+
import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig, AxiosInstance } from 'axios';
|
15
14
|
export declare const BASE_PATH: string;
|
16
15
|
/**
|
17
16
|
*
|
@@ -43,7 +42,7 @@ export declare const errorInterceptor: (error: AxiosError) => Promise<never>;
|
|
43
42
|
export declare class BaseAPI {
|
44
43
|
protected configuration: Configuration | undefined;
|
45
44
|
protected basePath: string;
|
46
|
-
protected axios:
|
45
|
+
protected axios: AxiosInstance;
|
47
46
|
constructor(configuration: Configuration);
|
48
47
|
}
|
49
48
|
/**
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import
|
12
|
+
import { AxiosResponse } from "axios";
|
13
13
|
export type TokenResponse = {
|
14
14
|
access_token: string;
|
15
15
|
refresh_token: string;
|
@@ -54,7 +54,7 @@ export declare class OAuth2Configuration {
|
|
54
54
|
* Revoke Refresh Token aka marking an app uninstalled or revoke the Access Token.
|
55
55
|
* @param {String} tokenTypeHint values can be: 'access_token' or 'refresh_token'.
|
56
56
|
*/
|
57
|
-
revokeToken(tokenTypeHint?: 'access_token' | 'refresh_token'): Promise<
|
57
|
+
revokeToken(tokenTypeHint?: 'access_token' | 'refresh_token'): Promise<AxiosResponse<any, any>>;
|
58
58
|
private validateParam;
|
59
59
|
}
|
60
60
|
export interface ConfigurationParameters {
|
@@ -21,23 +21,28 @@ export interface AddNoteRequestAllOf {
|
|
21
21
|
*/
|
22
22
|
'content': string;
|
23
23
|
/**
|
24
|
-
* The ID of the lead the note will be attached to. This property is required unless one of (`deal_id/person_id/org_id`) is specified.
|
24
|
+
* The ID of the lead the note will be attached to. This property is required unless one of (`deal_id/person_id/org_id/project_id`) is specified.
|
25
25
|
* @type {string}
|
26
26
|
*/
|
27
27
|
'lead_id'?: string;
|
28
28
|
/**
|
29
|
-
* The ID of the deal the note will be attached to. This property is required unless one of (`lead_id/person_id/org_id`) is specified.
|
29
|
+
* The ID of the deal the note will be attached to. This property is required unless one of (`lead_id/person_id/org_id/project_id`) is specified.
|
30
30
|
* @type {number}
|
31
31
|
*/
|
32
32
|
'deal_id'?: number;
|
33
33
|
/**
|
34
|
-
* The ID of the person this note will be attached to. This property is required unless one of (`deal_id/lead_id/org_id`) is specified.
|
34
|
+
* The ID of the person this note will be attached to. This property is required unless one of (`deal_id/lead_id/org_id/project_id`) is specified.
|
35
35
|
* @type {number}
|
36
36
|
*/
|
37
37
|
'person_id'?: number;
|
38
38
|
/**
|
39
|
-
* The ID of the organization this note will be attached to. This property is required unless one of (`deal_id/lead_id/person_id`) is specified.
|
39
|
+
* The ID of the organization this note will be attached to. This property is required unless one of (`deal_id/lead_id/person_id/project_id`) is specified.
|
40
40
|
* @type {number}
|
41
41
|
*/
|
42
42
|
'org_id'?: number;
|
43
|
+
/**
|
44
|
+
* The ID of the project the note will be attached to. This property is required unless one of (`deal_id/lead_id/person_id/org_id`) is specified.
|
45
|
+
* @type {number}
|
46
|
+
*/
|
47
|
+
'project_id'?: number;
|
43
48
|
}
|
@@ -45,6 +45,11 @@ export interface AddNoteRequestAllOf1 {
|
|
45
45
|
* @type {number}
|
46
46
|
*/
|
47
47
|
'pinned_to_person_flag'?: AddNoteRequestAllOf1PinnedToPersonFlagConst;
|
48
|
+
/**
|
49
|
+
*
|
50
|
+
* @type {number}
|
51
|
+
*/
|
52
|
+
'pinned_to_project_flag'?: AddNoteRequestAllOf1PinnedToProjectFlagConst;
|
48
53
|
}
|
49
54
|
export declare const AddNoteRequestAllOf1PinnedToLeadFlagConst: {
|
50
55
|
readonly NUMBER_0: 0;
|
@@ -66,3 +71,8 @@ export declare const AddNoteRequestAllOf1PinnedToPersonFlagConst: {
|
|
66
71
|
readonly NUMBER_1: 1;
|
67
72
|
};
|
68
73
|
export type AddNoteRequestAllOf1PinnedToPersonFlagConst = typeof AddNoteRequestAllOf1PinnedToPersonFlagConst[keyof typeof AddNoteRequestAllOf1PinnedToPersonFlagConst];
|
74
|
+
export declare const AddNoteRequestAllOf1PinnedToProjectFlagConst: {
|
75
|
+
readonly NUMBER_0: 0;
|
76
|
+
readonly NUMBER_1: 1;
|
77
|
+
};
|
78
|
+
export type AddNoteRequestAllOf1PinnedToProjectFlagConst = typeof AddNoteRequestAllOf1PinnedToProjectFlagConst[keyof typeof AddNoteRequestAllOf1PinnedToProjectFlagConst];
|
@@ -46,23 +46,22 @@ export interface AddWebhookRequest {
|
|
46
46
|
*/
|
47
47
|
'http_auth_password'?: string;
|
48
48
|
/**
|
49
|
-
* The webhook\'s version. NB! Webhooks v2
|
49
|
+
* The webhook\'s version. NB! Webhooks v2 is the default from March 17th, 2025. See <a href=\"https://developers.pipedrive.com/changelog/post/breaking-change-webhooks-v2-will-become-the-new-default-version\" target=\"_blank\" rel=\"noopener noreferrer\">this Changelog post</a> for more details.
|
50
50
|
* @type {string}
|
51
51
|
*/
|
52
52
|
'version'?: AddWebhookRequestVersionConst;
|
53
53
|
}
|
54
54
|
export declare const AddWebhookRequestEventActionConst: {
|
55
|
-
readonly
|
56
|
-
readonly
|
57
|
-
readonly
|
58
|
-
readonly deleted: "deleted";
|
55
|
+
readonly create: "create";
|
56
|
+
readonly change: "change";
|
57
|
+
readonly delete: "delete";
|
59
58
|
readonly Star: "*";
|
60
59
|
};
|
61
60
|
export type AddWebhookRequestEventActionConst = typeof AddWebhookRequestEventActionConst[keyof typeof AddWebhookRequestEventActionConst];
|
62
61
|
export declare const AddWebhookRequestEventObjectConst: {
|
63
62
|
readonly activity: "activity";
|
64
|
-
readonly activityType: "activityType";
|
65
63
|
readonly deal: "deal";
|
64
|
+
readonly lead: "lead";
|
66
65
|
readonly note: "note";
|
67
66
|
readonly organization: "organization";
|
68
67
|
readonly person: "person";
|
@@ -12,16 +12,15 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
export const AddWebhookRequestEventActionConst = {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
deleted: 'deleted',
|
15
|
+
create: 'create',
|
16
|
+
change: 'change',
|
17
|
+
delete: 'delete',
|
19
18
|
Star: '*'
|
20
19
|
};
|
21
20
|
export const AddWebhookRequestEventObjectConst = {
|
22
21
|
activity: 'activity',
|
23
|
-
activityType: 'activityType',
|
24
22
|
deal: 'deal',
|
23
|
+
lead: 'lead',
|
25
24
|
note: 'note',
|
26
25
|
organization: 'organization',
|
27
26
|
person: 'person',
|
@@ -619,6 +619,7 @@ export * from './note';
|
|
619
619
|
export * from './note-deal';
|
620
620
|
export * from './note-organization';
|
621
621
|
export * from './note-person';
|
622
|
+
export * from './note-project';
|
622
623
|
export * from './note-request';
|
623
624
|
export * from './note-request-all-of';
|
624
625
|
export * from './note-request-all-of1';
|
@@ -619,6 +619,7 @@ export * from './note';
|
|
619
619
|
export * from './note-deal';
|
620
620
|
export * from './note-organization';
|
621
621
|
export * from './note-person';
|
622
|
+
export * from './note-project';
|
622
623
|
export * from './note-request';
|
623
624
|
export * from './note-request-all-of';
|
624
625
|
export * from './note-request-all-of1';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* Pipedrive API v1
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
6
|
+
*
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* The project the note is attached to
|
14
|
+
* @export
|
15
|
+
* @interface NoteProject
|
16
|
+
*/
|
17
|
+
export interface NoteProject {
|
18
|
+
/**
|
19
|
+
* The title of the project the note is attached to
|
20
|
+
* @type {string}
|
21
|
+
*/
|
22
|
+
'title'?: string;
|
23
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* Pipedrive API v1
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
8
|
+
*
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
export {};
|
@@ -12,6 +12,7 @@
|
|
12
12
|
import { NoteDeal } from './note-deal';
|
13
13
|
import { NoteOrganization } from './note-organization';
|
14
14
|
import { NotePerson } from './note-person';
|
15
|
+
import { NoteProject } from './note-project';
|
15
16
|
import { NoteUser } from './note-user';
|
16
17
|
/**
|
17
18
|
*
|
@@ -80,6 +81,16 @@ export interface Note {
|
|
80
81
|
*/
|
81
82
|
'person_id'?: number;
|
82
83
|
/**
|
84
|
+
* The ID of the project the note is attached to
|
85
|
+
* @type {number}
|
86
|
+
*/
|
87
|
+
'project_id'?: number;
|
88
|
+
/**
|
89
|
+
*
|
90
|
+
* @type {NoteProject}
|
91
|
+
*/
|
92
|
+
'project'?: NoteProject;
|
93
|
+
/**
|
83
94
|
* If true, the results are filtered by note to deal pinning state
|
84
95
|
* @type {boolean}
|
85
96
|
*/
|
@@ -95,6 +106,11 @@ export interface Note {
|
|
95
106
|
*/
|
96
107
|
'pinned_to_person_flag'?: boolean;
|
97
108
|
/**
|
109
|
+
* If true, the results are filtered by note to project pinning state
|
110
|
+
* @type {boolean}
|
111
|
+
*/
|
112
|
+
'pinned_to_project_flag'?: boolean;
|
113
|
+
/**
|
98
114
|
* The last updated date and time of the note
|
99
115
|
* @type {string}
|
100
116
|
*/
|
@@ -32,10 +32,11 @@ export interface UserAccess {
|
|
32
32
|
'permission_set_id'?: string;
|
33
33
|
}
|
34
34
|
export declare const UserAccessAppConst: {
|
35
|
+
readonly global: "global";
|
35
36
|
readonly sales: "sales";
|
36
|
-
readonly projects: "projects";
|
37
37
|
readonly campaigns: "campaigns";
|
38
|
-
readonly
|
38
|
+
readonly projects: "projects";
|
39
39
|
readonly account_settings: "account_settings";
|
40
|
+
readonly partnership: "partnership";
|
40
41
|
};
|
41
42
|
export type UserAccessAppConst = typeof UserAccessAppConst[keyof typeof UserAccessAppConst];
|
@@ -12,9 +12,10 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
export const UserAccessAppConst = {
|
15
|
+
global: 'global',
|
15
16
|
sales: 'sales',
|
16
|
-
projects: 'projects',
|
17
17
|
campaigns: 'campaigns',
|
18
|
-
|
19
|
-
account_settings: 'account_settings'
|
18
|
+
projects: 'projects',
|
19
|
+
account_settings: 'account_settings',
|
20
|
+
partnership: 'partnership'
|
20
21
|
};
|
@@ -32,10 +32,11 @@ export interface UserAccess1 {
|
|
32
32
|
'permission_set_id'?: string;
|
33
33
|
}
|
34
34
|
export declare const UserAccess1AppConst: {
|
35
|
+
readonly global: "global";
|
35
36
|
readonly sales: "sales";
|
36
|
-
readonly projects: "projects";
|
37
37
|
readonly campaigns: "campaigns";
|
38
|
-
readonly
|
38
|
+
readonly projects: "projects";
|
39
39
|
readonly account_settings: "account_settings";
|
40
|
+
readonly partnership: "partnership";
|
40
41
|
};
|
41
42
|
export type UserAccess1AppConst = typeof UserAccess1AppConst[keyof typeof UserAccess1AppConst];
|
@@ -12,9 +12,10 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
export const UserAccess1AppConst = {
|
15
|
+
global: 'global',
|
15
16
|
sales: 'sales',
|
16
|
-
projects: 'projects',
|
17
17
|
campaigns: 'campaigns',
|
18
|
-
|
19
|
-
account_settings: 'account_settings'
|
18
|
+
projects: 'projects',
|
19
|
+
account_settings: 'account_settings',
|
20
|
+
partnership: 'partnership'
|
20
21
|
};
|
@@ -47,9 +47,10 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
47
47
|
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
48
48
|
* @param {number} [person_id] If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
49
49
|
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
50
|
+
* @param {boolean} [done] If supplied, only activities with specified \'done\' flag value are returned
|
50
51
|
* @param {string} [updated_since] If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
51
52
|
* @param {string} [updated_until] If set, only activities with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
52
|
-
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
53
|
+
* @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
53
54
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
54
55
|
* @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
|
55
56
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
@@ -57,7 +58,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
57
58
|
|
58
59
|
* @throws {RequiredError}
|
59
60
|
*/
|
60
|
-
getActivities: (filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string) => Promise<RequestArgs>;
|
61
|
+
getActivities: (filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, done?: boolean, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string) => Promise<RequestArgs>;
|
61
62
|
/**
|
62
63
|
* Returns the details of a specific activity.
|
63
64
|
* @summary Get details of an activity
|
@@ -108,9 +109,10 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
108
109
|
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
109
110
|
* @param {number} [person_id] If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
110
111
|
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
112
|
+
* @param {boolean} [done] If supplied, only activities with specified \'done\' flag value are returned
|
111
113
|
* @param {string} [updated_since] If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
112
114
|
* @param {string} [updated_until] If set, only activities with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
113
|
-
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
115
|
+
* @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
114
116
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
115
117
|
* @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
|
116
118
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
@@ -118,7 +120,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
118
120
|
|
119
121
|
* @throws {RequiredError}
|
120
122
|
*/
|
121
|
-
getActivities(filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
|
123
|
+
getActivities(filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, done?: boolean, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
|
122
124
|
/**
|
123
125
|
* Returns the details of a specific activity.
|
124
126
|
* @summary Get details of an activity
|
@@ -258,6 +260,12 @@ export interface ActivitiesApiGetActivitiesRequest {
|
|
258
260
|
* @memberof ActivitiesApiGetActivities
|
259
261
|
*/
|
260
262
|
readonly org_id?: number;
|
263
|
+
/**
|
264
|
+
* If supplied, only activities with specified \'done\' flag value are returned
|
265
|
+
* @type {boolean}
|
266
|
+
* @memberof ActivitiesApiGetActivities
|
267
|
+
*/
|
268
|
+
readonly done?: boolean;
|
261
269
|
/**
|
262
270
|
* If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
263
271
|
* @type {string}
|
@@ -271,11 +279,11 @@ export interface ActivitiesApiGetActivitiesRequest {
|
|
271
279
|
*/
|
272
280
|
readonly updated_until?: string;
|
273
281
|
/**
|
274
|
-
* The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
275
|
-
* @type {'id' | 'update_time' | 'add_time'}
|
282
|
+
* The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
283
|
+
* @type {'id' | 'update_time' | 'add_time' | 'due_date'}
|
276
284
|
* @memberof ActivitiesApiGetActivities
|
277
285
|
*/
|
278
|
-
readonly sort_by?: 'id' | 'update_time' | 'add_time';
|
286
|
+
readonly sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date';
|
279
287
|
/**
|
280
288
|
* The sorting direction. Supported values: `asc`, `desc`.
|
281
289
|
* @type {'asc' | 'desc'}
|
@@ -109,9 +109,10 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
109
109
|
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
110
110
|
* @param {number} [person_id] If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
111
111
|
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
112
|
+
* @param {boolean} [done] If supplied, only activities with specified \'done\' flag value are returned
|
112
113
|
* @param {string} [updated_since] If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
113
114
|
* @param {string} [updated_until] If set, only activities with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
114
|
-
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
115
|
+
* @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
115
116
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
116
117
|
* @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
|
117
118
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
@@ -119,7 +120,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
119
120
|
|
120
121
|
* @throws {RequiredError}
|
121
122
|
*/
|
122
|
-
getActivities: (filter_id, ids, owner_id, deal_id, lead_id, person_id, org_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) => __awaiter(this, void 0, void 0, function* () {
|
123
|
+
getActivities: (filter_id, ids, owner_id, deal_id, lead_id, person_id, org_id, done, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) => __awaiter(this, void 0, void 0, function* () {
|
123
124
|
const localVarPath = `/activities`;
|
124
125
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
125
126
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -156,6 +157,9 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
156
157
|
if (org_id !== undefined) {
|
157
158
|
localVarQueryParameter['org_id'] = org_id;
|
158
159
|
}
|
160
|
+
if (done !== undefined) {
|
161
|
+
localVarQueryParameter['done'] = done;
|
162
|
+
}
|
159
163
|
if (updated_since !== undefined) {
|
160
164
|
localVarQueryParameter['updated_since'] = updated_since;
|
161
165
|
}
|
@@ -305,9 +309,10 @@ export const ActivitiesApiFp = function (configuration) {
|
|
305
309
|
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
306
310
|
* @param {number} [person_id] If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
307
311
|
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
312
|
+
* @param {boolean} [done] If supplied, only activities with specified \'done\' flag value are returned
|
308
313
|
* @param {string} [updated_since] If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
309
314
|
* @param {string} [updated_until] If set, only activities with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
310
|
-
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
315
|
+
* @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
311
316
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
312
317
|
* @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
|
313
318
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
@@ -315,9 +320,9 @@ export const ActivitiesApiFp = function (configuration) {
|
|
315
320
|
|
316
321
|
* @throws {RequiredError}
|
317
322
|
*/
|
318
|
-
getActivities(filter_id, ids, owner_id, deal_id, lead_id, person_id, org_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) {
|
323
|
+
getActivities(filter_id, ids, owner_id, deal_id, lead_id, person_id, org_id, done, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) {
|
319
324
|
return __awaiter(this, void 0, void 0, function* () {
|
320
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(filter_id, ids, owner_id, deal_id, lead_id, person_id, org_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor);
|
325
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(filter_id, ids, owner_id, deal_id, lead_id, person_id, org_id, done, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor);
|
321
326
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
322
327
|
});
|
323
328
|
},
|
@@ -386,7 +391,7 @@ export const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
386
391
|
* @throws {RequiredError}
|
387
392
|
*/
|
388
393
|
getActivities(requestParameters = {}) {
|
389
|
-
return localVarFp.getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.person_id, requestParameters.org_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
394
|
+
return localVarFp.getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.person_id, requestParameters.org_id, requestParameters.done, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
390
395
|
},
|
391
396
|
/**
|
392
397
|
* Returns the details of a specific activity.
|
@@ -448,7 +453,7 @@ export class ActivitiesApi extends BaseAPI {
|
|
448
453
|
* @memberof ActivitiesApi
|
449
454
|
*/
|
450
455
|
getActivities(requestParameters = {}) {
|
451
|
-
return ActivitiesApiFp(this.configuration).getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.person_id, requestParameters.org_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
456
|
+
return ActivitiesApiFp(this.configuration).getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.person_id, requestParameters.org_id, requestParameters.done, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
452
457
|
}
|
453
458
|
/**
|
454
459
|
* Returns the details of a specific activity.
|