pipedrive 24.1.0 → 24.2.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/models/additional-data.d.ts +38 -0
- package/dist/esm/versions/v1/models/additional-data.js +14 -0
- package/dist/esm/versions/v1/models/base-webhook.d.ts +2 -1
- package/dist/esm/versions/v1/models/base-webhook.js +2 -1
- package/dist/esm/versions/v1/models/get-notes-response-additional-data.d.ts +3 -3
- package/dist/esm/versions/v1/models/index.d.ts +1 -1
- package/dist/esm/versions/v1/models/index.js +1 -1
- package/dist/esm/versions/v2/api/activities-api.d.ts +34 -2
- package/dist/esm/versions/v2/api/activities-api.js +25 -5
- package/dist/esm/versions/v2/api/beta-api.d.ts +288 -2
- package/dist/esm/versions/v2/api/beta-api.js +337 -5
- package/dist/esm/versions/v2/api/deals-api.d.ts +254 -0
- package/dist/esm/versions/v2/api/deals-api.js +312 -0
- package/dist/esm/versions/v2/models/add-ainstallment-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/add-ainstallment-response.js +14 -0
- package/dist/esm/versions/v2/models/add-installment-request-body.d.ts +33 -0
- package/dist/esm/versions/v2/models/add-installment-request-body.js +14 -0
- package/dist/esm/versions/v2/models/delete-installment-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/delete-installment-response-data.js +14 -0
- package/dist/esm/versions/v2/models/delete-installment-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/delete-installment-response.js +14 -0
- package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.js +14 -0
- package/dist/esm/versions/v2/models/get-activities-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-deals-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-installments-response-data-inner.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-installments-response-data-inner.js +14 -0
- package/dist/esm/versions/v2/models/get-installments-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/get-installments-response.js +14 -0
- package/dist/esm/versions/v2/models/get-organizations-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-persons-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-pipelines-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-stages-response.d.ts +6 -0
- package/dist/esm/versions/v2/models/index.d.ts +9 -0
- package/dist/esm/versions/v2/models/index.js +9 -0
- package/dist/esm/versions/v2/models/update-installment-request-body.d.ts +33 -0
- package/dist/esm/versions/v2/models/update-installment-request-body.js +14 -0
- package/dist/esm/versions/v2/models/update-installment-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/update-installment-response.js +14 -0
- package/dist/versions/v1/models/additional-data.d.ts +38 -0
- package/dist/versions/v1/models/additional-data.js +15 -0
- package/dist/versions/v1/models/base-webhook.d.ts +2 -1
- package/dist/versions/v1/models/base-webhook.js +2 -1
- package/dist/versions/v1/models/get-notes-response-additional-data.d.ts +3 -3
- package/dist/versions/v1/models/index.d.ts +1 -1
- package/dist/versions/v1/models/index.js +1 -1
- package/dist/versions/v2/api/activities-api.d.ts +34 -2
- package/dist/versions/v2/api/activities-api.js +25 -5
- package/dist/versions/v2/api/beta-api.d.ts +288 -2
- package/dist/versions/v2/api/beta-api.js +337 -5
- package/dist/versions/v2/api/deals-api.d.ts +254 -0
- package/dist/versions/v2/api/deals-api.js +312 -0
- package/dist/versions/v2/models/add-ainstallment-response.d.ts +29 -0
- package/dist/versions/v2/models/add-ainstallment-response.js +15 -0
- package/dist/versions/v2/models/add-installment-request-body.d.ts +33 -0
- package/dist/versions/v2/models/add-installment-request-body.js +15 -0
- package/dist/versions/v2/models/delete-installment-response-data.d.ts +23 -0
- package/dist/versions/v2/models/delete-installment-response-data.js +15 -0
- package/dist/versions/v2/models/delete-installment-response.d.ts +29 -0
- package/dist/versions/v2/models/delete-installment-response.js +15 -0
- package/dist/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +23 -0
- package/dist/versions/v2/models/get-activities-response-all-of-additional-data.js +15 -0
- package/dist/versions/v2/models/get-activities-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-deals-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-installments-response-data-inner.d.ts +43 -0
- package/dist/versions/v2/models/get-installments-response-data-inner.js +15 -0
- package/dist/versions/v2/models/get-installments-response.d.ts +29 -0
- package/dist/versions/v2/models/get-installments-response.js +15 -0
- package/dist/versions/v2/models/get-organizations-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-persons-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-pipelines-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-stages-response.d.ts +6 -0
- package/dist/versions/v2/models/index.d.ts +9 -0
- package/dist/versions/v2/models/index.js +9 -0
- package/dist/versions/v2/models/update-installment-request-body.d.ts +33 -0
- package/dist/versions/v2/models/update-installment-request-body.js +15 -0
- package/dist/versions/v2/models/update-installment-response.d.ts +29 -0
- package/dist/versions/v2/models/update-installment-response.js +15 -0
- package/package.json +1 -1
@@ -0,0 +1,38 @@
|
|
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 pagination details of the list
|
14
|
+
* @export
|
15
|
+
* @interface AdditionalData
|
16
|
+
*/
|
17
|
+
export interface AdditionalData {
|
18
|
+
/**
|
19
|
+
* Next pagination start
|
20
|
+
* @type {number}
|
21
|
+
*/
|
22
|
+
'next_start'?: number;
|
23
|
+
/**
|
24
|
+
* Pagination start
|
25
|
+
* @type {number}
|
26
|
+
*/
|
27
|
+
'start'?: number;
|
28
|
+
/**
|
29
|
+
* Items shown per page
|
30
|
+
* @type {number}
|
31
|
+
*/
|
32
|
+
'limit'?: number;
|
33
|
+
/**
|
34
|
+
* If there are more list items in the collection than displayed or not
|
35
|
+
* @type {boolean}
|
36
|
+
*/
|
37
|
+
'more_items_in_collection'?: boolean;
|
38
|
+
}
|
@@ -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 {};
|
@@ -113,6 +113,7 @@ export declare const BaseWebhookIsActiveConst: {
|
|
113
113
|
export type BaseWebhookIsActiveConst = typeof BaseWebhookIsActiveConst[keyof typeof BaseWebhookIsActiveConst];
|
114
114
|
export declare const BaseWebhookTypeConst: {
|
115
115
|
readonly general: "general";
|
116
|
-
readonly
|
116
|
+
readonly application: "application";
|
117
|
+
readonly automation: "automation";
|
117
118
|
};
|
118
119
|
export type BaseWebhookTypeConst = typeof BaseWebhookTypeConst[keyof typeof BaseWebhookTypeConst];
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import {
|
12
|
+
import { AdditionalData } from './additional-data';
|
13
13
|
/**
|
14
14
|
*
|
15
15
|
* @export
|
@@ -18,7 +18,7 @@ import { GetNotesResponseAdditionalDataPagination } from './get-notes-response-a
|
|
18
18
|
export interface GetNotesResponseAdditionalData {
|
19
19
|
/**
|
20
20
|
*
|
21
|
-
* @type {
|
21
|
+
* @type {AdditionalData}
|
22
22
|
*/
|
23
|
-
'pagination'?:
|
23
|
+
'pagination'?: AdditionalData;
|
24
24
|
}
|
@@ -99,6 +99,7 @@ export * from './add-user-provider-link-request';
|
|
99
99
|
export * from './add-user-request';
|
100
100
|
export * from './add-webhook-request';
|
101
101
|
export * from './additional-base-organization-item-info';
|
102
|
+
export * from './additional-data';
|
102
103
|
export * from './additional-merge-person-info';
|
103
104
|
export * from './additional-person-info';
|
104
105
|
export * from './base-deal';
|
@@ -411,7 +412,6 @@ export * from './get-note-fields-response-all-of-data-inner-all-of';
|
|
411
412
|
export * from './get-note-fields-response-all-of-data-inner-all-of-options-inner';
|
412
413
|
export * from './get-notes-response';
|
413
414
|
export * from './get-notes-response-additional-data';
|
414
|
-
export * from './get-notes-response-additional-data-pagination';
|
415
415
|
export * from './get-organization-item';
|
416
416
|
export * from './get-organization-item-all-of';
|
417
417
|
export * from './get-organization-relationship-response';
|
@@ -99,6 +99,7 @@ export * from './add-user-provider-link-request';
|
|
99
99
|
export * from './add-user-request';
|
100
100
|
export * from './add-webhook-request';
|
101
101
|
export * from './additional-base-organization-item-info';
|
102
|
+
export * from './additional-data';
|
102
103
|
export * from './additional-merge-person-info';
|
103
104
|
export * from './additional-person-info';
|
104
105
|
export * from './base-deal';
|
@@ -411,7 +412,6 @@ export * from './get-note-fields-response-all-of-data-inner-all-of';
|
|
411
412
|
export * from './get-note-fields-response-all-of-data-inner-all-of-options-inner';
|
412
413
|
export * from './get-notes-response';
|
413
414
|
export * from './get-notes-response-additional-data';
|
414
|
-
export * from './get-notes-response-additional-data-pagination';
|
415
415
|
export * from './get-organization-item';
|
416
416
|
export * from './get-organization-item-all-of';
|
417
417
|
export * from './get-organization-relationship-response';
|
@@ -43,6 +43,10 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
43
43
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
44
44
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
45
45
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
46
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
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
|
+
* @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
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
46
50
|
* @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.
|
47
51
|
* @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.
|
48
52
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -53,7 +57,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
53
57
|
|
54
58
|
* @throws {RequiredError}
|
55
59
|
*/
|
56
|
-
getActivities: (filter_id?: number, ids?: string, owner_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>;
|
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>;
|
57
61
|
/**
|
58
62
|
* Returns the details of a specific activity.
|
59
63
|
* @summary Get details of an activity
|
@@ -100,6 +104,10 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
100
104
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
101
105
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
102
106
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
107
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
108
|
+
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
109
|
+
* @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
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
103
111
|
* @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.
|
104
112
|
* @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.
|
105
113
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -110,7 +118,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
110
118
|
|
111
119
|
* @throws {RequiredError}
|
112
120
|
*/
|
113
|
-
getActivities(filter_id?: number, ids?: string, owner_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>>;
|
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>>;
|
114
122
|
/**
|
115
123
|
* Returns the details of a specific activity.
|
116
124
|
* @summary Get details of an activity
|
@@ -226,6 +234,30 @@ export interface ActivitiesApiGetActivitiesRequest {
|
|
226
234
|
* @memberof ActivitiesApiGetActivities
|
227
235
|
*/
|
228
236
|
readonly owner_id?: number;
|
237
|
+
/**
|
238
|
+
* If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
239
|
+
* @type {number}
|
240
|
+
* @memberof ActivitiesApiGetActivities
|
241
|
+
*/
|
242
|
+
readonly deal_id?: number;
|
243
|
+
/**
|
244
|
+
* If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
245
|
+
* @type {string}
|
246
|
+
* @memberof ActivitiesApiGetActivities
|
247
|
+
*/
|
248
|
+
readonly lead_id?: string;
|
249
|
+
/**
|
250
|
+
* If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
251
|
+
* @type {number}
|
252
|
+
* @memberof ActivitiesApiGetActivities
|
253
|
+
*/
|
254
|
+
readonly person_id?: number;
|
255
|
+
/**
|
256
|
+
* If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
257
|
+
* @type {number}
|
258
|
+
* @memberof ActivitiesApiGetActivities
|
259
|
+
*/
|
260
|
+
readonly org_id?: number;
|
229
261
|
/**
|
230
262
|
* 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.
|
231
263
|
* @type {string}
|
@@ -105,6 +105,10 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
105
105
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
106
106
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
107
107
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
108
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
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
|
+
* @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
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
108
112
|
* @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.
|
109
113
|
* @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.
|
110
114
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -115,7 +119,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
115
119
|
|
116
120
|
* @throws {RequiredError}
|
117
121
|
*/
|
118
|
-
getActivities: (filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) => __awaiter(this, void 0, void 0, function* () {
|
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* () {
|
119
123
|
const localVarPath = `/activities`;
|
120
124
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
121
125
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -140,6 +144,18 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
140
144
|
if (owner_id !== undefined) {
|
141
145
|
localVarQueryParameter['owner_id'] = owner_id;
|
142
146
|
}
|
147
|
+
if (deal_id !== undefined) {
|
148
|
+
localVarQueryParameter['deal_id'] = deal_id;
|
149
|
+
}
|
150
|
+
if (lead_id !== undefined) {
|
151
|
+
localVarQueryParameter['lead_id'] = lead_id;
|
152
|
+
}
|
153
|
+
if (person_id !== undefined) {
|
154
|
+
localVarQueryParameter['person_id'] = person_id;
|
155
|
+
}
|
156
|
+
if (org_id !== undefined) {
|
157
|
+
localVarQueryParameter['org_id'] = org_id;
|
158
|
+
}
|
143
159
|
if (updated_since !== undefined) {
|
144
160
|
localVarQueryParameter['updated_since'] = updated_since;
|
145
161
|
}
|
@@ -285,6 +301,10 @@ export const ActivitiesApiFp = function (configuration) {
|
|
285
301
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
286
302
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
287
303
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
304
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
305
|
+
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
306
|
+
* @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
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
288
308
|
* @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.
|
289
309
|
* @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.
|
290
310
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -295,9 +315,9 @@ export const ActivitiesApiFp = function (configuration) {
|
|
295
315
|
|
296
316
|
* @throws {RequiredError}
|
297
317
|
*/
|
298
|
-
getActivities(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) {
|
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) {
|
299
319
|
return __awaiter(this, void 0, void 0, function* () {
|
300
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor);
|
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);
|
301
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
302
322
|
});
|
303
323
|
},
|
@@ -366,7 +386,7 @@ export const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
366
386
|
* @throws {RequiredError}
|
367
387
|
*/
|
368
388
|
getActivities(requestParameters = {}) {
|
369
|
-
return localVarFp.getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_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));
|
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));
|
370
390
|
},
|
371
391
|
/**
|
372
392
|
* Returns the details of a specific activity.
|
@@ -428,7 +448,7 @@ export class ActivitiesApi extends BaseAPI {
|
|
428
448
|
* @memberof ActivitiesApi
|
429
449
|
*/
|
430
450
|
getActivities(requestParameters = {}) {
|
431
|
-
return ActivitiesApiFp(this.configuration).getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_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));
|
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));
|
432
452
|
}
|
433
453
|
/**
|
434
454
|
* Returns the details of a specific activity.
|