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
@@ -30,15 +30,15 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
30
30
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
31
31
|
* @summary Add an activity
|
32
32
|
* @param {AddActivityRequest} [AddActivityRequest]
|
33
|
-
|
33
|
+
* @deprecated
|
34
34
|
* @throws {RequiredError}
|
35
35
|
*/
|
36
36
|
addActivity: (AddActivityRequest?: AddActivityRequest) => Promise<RequestArgs>;
|
37
37
|
/**
|
38
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
38
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
39
39
|
* @summary Delete multiple activities in bulk
|
40
40
|
* @param {string} ids The comma-separated IDs of activities that will be deleted
|
41
|
-
|
41
|
+
* @deprecated
|
42
42
|
* @throws {RequiredError}
|
43
43
|
*/
|
44
44
|
deleteActivities: (ids: string) => Promise<RequestArgs>;
|
@@ -46,7 +46,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
46
46
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
47
47
|
* @summary Delete an activity
|
48
48
|
* @param {number} id The ID of the activity
|
49
|
-
|
49
|
+
* @deprecated
|
50
50
|
* @throws {RequiredError}
|
51
51
|
*/
|
52
52
|
deleteActivity: (id: number) => Promise<RequestArgs>;
|
@@ -61,13 +61,13 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
61
61
|
* @param {string} [start_date] Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format.
|
62
62
|
* @param {string} [end_date] Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format.
|
63
63
|
* @param {0 | 1} [done] Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both done and not done activities.
|
64
|
-
|
64
|
+
* @deprecated
|
65
65
|
* @throws {RequiredError}
|
66
66
|
*/
|
67
67
|
getActivities: (user_id?: number, filter_id?: number, type?: string, limit?: number, start?: number, start_date?: string, end_date?: string, done?: 0 | 1) => Promise<RequestArgs>;
|
68
68
|
/**
|
69
|
-
* Returns all activities.
|
70
|
-
* @summary Get all activities
|
69
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
70
|
+
* @summary Get all activities collection
|
71
71
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
72
72
|
* @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.
|
73
73
|
* @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the `update_time` field.
|
@@ -75,7 +75,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
75
75
|
* @param {number} [user_id] The ID of the user whose activities will be fetched. If omitted, all activities are returned.
|
76
76
|
* @param {boolean} [done] Whether the activity is done or not. `false` = Not done, `true` = Done. If omitted, returns both done and not done activities.
|
77
77
|
* @param {string} [type] The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the `key_string` parameter of ActivityTypes.
|
78
|
-
|
78
|
+
* @deprecated
|
79
79
|
* @throws {RequiredError}
|
80
80
|
*/
|
81
81
|
getActivitiesCollection: (cursor?: string, limit?: number, since?: string, until?: string, user_id?: number, done?: boolean, type?: string) => Promise<RequestArgs>;
|
@@ -83,7 +83,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
83
83
|
* Returns the details of a specific activity.
|
84
84
|
* @summary Get details of an activity
|
85
85
|
* @param {number} id The ID of the activity
|
86
|
-
|
86
|
+
* @deprecated
|
87
87
|
* @throws {RequiredError}
|
88
88
|
*/
|
89
89
|
getActivity: (id: number) => Promise<RequestArgs>;
|
@@ -92,7 +92,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
92
92
|
* @summary Update an activity
|
93
93
|
* @param {number} id The ID of the activity
|
94
94
|
* @param {UpdateActivityRequest} [UpdateActivityRequest]
|
95
|
-
|
95
|
+
* @deprecated
|
96
96
|
* @throws {RequiredError}
|
97
97
|
*/
|
98
98
|
updateActivity: (id: number, UpdateActivityRequest?: UpdateActivityRequest) => Promise<RequestArgs>;
|
@@ -106,15 +106,15 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
106
106
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
107
107
|
* @summary Add an activity
|
108
108
|
* @param {AddActivityRequest} [AddActivityRequest]
|
109
|
-
|
109
|
+
* @deprecated
|
110
110
|
* @throws {RequiredError}
|
111
111
|
*/
|
112
112
|
addActivity(AddActivityRequest?: AddActivityRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddActivityResponse>>;
|
113
113
|
/**
|
114
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
114
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
115
115
|
* @summary Delete multiple activities in bulk
|
116
116
|
* @param {string} ids The comma-separated IDs of activities that will be deleted
|
117
|
-
|
117
|
+
* @deprecated
|
118
118
|
* @throws {RequiredError}
|
119
119
|
*/
|
120
120
|
deleteActivities(ids: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteActivitiesResponse>>;
|
@@ -122,7 +122,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
122
122
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
123
123
|
* @summary Delete an activity
|
124
124
|
* @param {number} id The ID of the activity
|
125
|
-
|
125
|
+
* @deprecated
|
126
126
|
* @throws {RequiredError}
|
127
127
|
*/
|
128
128
|
deleteActivity(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteActivityResponse>>;
|
@@ -137,13 +137,13 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
137
137
|
* @param {string} [start_date] Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format.
|
138
138
|
* @param {string} [end_date] Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format.
|
139
139
|
* @param {0 | 1} [done] Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both done and not done activities.
|
140
|
-
|
140
|
+
* @deprecated
|
141
141
|
* @throws {RequiredError}
|
142
142
|
*/
|
143
143
|
getActivities(user_id?: number, filter_id?: number, type?: string, limit?: number, start?: number, start_date?: string, end_date?: string, done?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
|
144
144
|
/**
|
145
|
-
* Returns all activities.
|
146
|
-
* @summary Get all activities
|
145
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
146
|
+
* @summary Get all activities collection
|
147
147
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
148
148
|
* @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.
|
149
149
|
* @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the `update_time` field.
|
@@ -151,7 +151,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
151
151
|
* @param {number} [user_id] The ID of the user whose activities will be fetched. If omitted, all activities are returned.
|
152
152
|
* @param {boolean} [done] Whether the activity is done or not. `false` = Not done, `true` = Done. If omitted, returns both done and not done activities.
|
153
153
|
* @param {string} [type] The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the `key_string` parameter of ActivityTypes.
|
154
|
-
|
154
|
+
* @deprecated
|
155
155
|
* @throws {RequiredError}
|
156
156
|
*/
|
157
157
|
getActivitiesCollection(cursor?: string, limit?: number, since?: string, until?: string, user_id?: number, done?: boolean, type?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesCollectionResponse>>;
|
@@ -159,7 +159,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
159
159
|
* Returns the details of a specific activity.
|
160
160
|
* @summary Get details of an activity
|
161
161
|
* @param {number} id The ID of the activity
|
162
|
-
|
162
|
+
* @deprecated
|
163
163
|
* @throws {RequiredError}
|
164
164
|
*/
|
165
165
|
getActivity(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityResponse>>;
|
@@ -168,7 +168,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
168
168
|
* @summary Update an activity
|
169
169
|
* @param {number} id The ID of the activity
|
170
170
|
* @param {UpdateActivityRequest} [UpdateActivityRequest]
|
171
|
-
|
171
|
+
* @deprecated
|
172
172
|
* @throws {RequiredError}
|
173
173
|
*/
|
174
174
|
updateActivity(id: number, UpdateActivityRequest?: UpdateActivityRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateActivityResponse>>;
|
@@ -182,15 +182,15 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
|
|
182
182
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
183
183
|
* @summary Add an activity
|
184
184
|
* @param {ActivitiesApiAddActivityRequest} requestParameters Request parameters.
|
185
|
-
|
185
|
+
* @deprecated
|
186
186
|
* @throws {RequiredError}
|
187
187
|
*/
|
188
188
|
addActivity(requestParameters?: ActivitiesApiAddActivityRequest): Promise<AddActivityResponse>;
|
189
189
|
/**
|
190
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
190
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
191
191
|
* @summary Delete multiple activities in bulk
|
192
192
|
* @param {ActivitiesApiDeleteActivitiesRequest} requestParameters Request parameters.
|
193
|
-
|
193
|
+
* @deprecated
|
194
194
|
* @throws {RequiredError}
|
195
195
|
*/
|
196
196
|
deleteActivities(requestParameters: ActivitiesApiDeleteActivitiesRequest): Promise<DeleteActivitiesResponse>;
|
@@ -198,7 +198,7 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
|
|
198
198
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
199
199
|
* @summary Delete an activity
|
200
200
|
* @param {ActivitiesApiDeleteActivityRequest} requestParameters Request parameters.
|
201
|
-
|
201
|
+
* @deprecated
|
202
202
|
* @throws {RequiredError}
|
203
203
|
*/
|
204
204
|
deleteActivity(requestParameters: ActivitiesApiDeleteActivityRequest): Promise<DeleteActivityResponse>;
|
@@ -206,15 +206,15 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
|
|
206
206
|
* Returns all activities assigned to a particular user.
|
207
207
|
* @summary Get all activities assigned to a particular user
|
208
208
|
* @param {ActivitiesApiGetActivitiesRequest} requestParameters Request parameters.
|
209
|
-
|
209
|
+
* @deprecated
|
210
210
|
* @throws {RequiredError}
|
211
211
|
*/
|
212
212
|
getActivities(requestParameters?: ActivitiesApiGetActivitiesRequest): Promise<GetActivitiesResponse>;
|
213
213
|
/**
|
214
|
-
* Returns all activities.
|
215
|
-
* @summary Get all activities
|
214
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
215
|
+
* @summary Get all activities collection
|
216
216
|
* @param {ActivitiesApiGetActivitiesCollectionRequest} requestParameters Request parameters.
|
217
|
-
|
217
|
+
* @deprecated
|
218
218
|
* @throws {RequiredError}
|
219
219
|
*/
|
220
220
|
getActivitiesCollection(requestParameters?: ActivitiesApiGetActivitiesCollectionRequest): Promise<GetActivitiesCollectionResponse>;
|
@@ -222,7 +222,7 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
|
|
222
222
|
* Returns the details of a specific activity.
|
223
223
|
* @summary Get details of an activity
|
224
224
|
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
225
|
-
|
225
|
+
* @deprecated
|
226
226
|
* @throws {RequiredError}
|
227
227
|
*/
|
228
228
|
getActivity(requestParameters: ActivitiesApiGetActivityRequest): Promise<GetActivityResponse>;
|
@@ -230,7 +230,7 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
|
|
230
230
|
* Updates an activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
231
231
|
* @summary Update an activity
|
232
232
|
* @param {ActivitiesApiUpdateActivityRequest} requestParameters Request parameters.
|
233
|
-
|
233
|
+
* @deprecated
|
234
234
|
* @throws {RequiredError}
|
235
235
|
*/
|
236
236
|
updateActivity(requestParameters: ActivitiesApiUpdateActivityRequest): Promise<UpdateActivityResponse>;
|
@@ -421,16 +421,16 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
421
421
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
422
422
|
* @summary Add an activity
|
423
423
|
* @param {ActivitiesApiAddActivityRequest} requestParameters Request parameters.
|
424
|
-
|
424
|
+
* @deprecated
|
425
425
|
* @throws {RequiredError}
|
426
426
|
* @memberof ActivitiesApi
|
427
427
|
*/
|
428
428
|
addActivity(requestParameters?: ActivitiesApiAddActivityRequest): Promise<AddActivityResponse>;
|
429
429
|
/**
|
430
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
430
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
431
431
|
* @summary Delete multiple activities in bulk
|
432
432
|
* @param {ActivitiesApiDeleteActivitiesRequest} requestParameters Request parameters.
|
433
|
-
|
433
|
+
* @deprecated
|
434
434
|
* @throws {RequiredError}
|
435
435
|
* @memberof ActivitiesApi
|
436
436
|
*/
|
@@ -439,7 +439,7 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
439
439
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
440
440
|
* @summary Delete an activity
|
441
441
|
* @param {ActivitiesApiDeleteActivityRequest} requestParameters Request parameters.
|
442
|
-
|
442
|
+
* @deprecated
|
443
443
|
* @throws {RequiredError}
|
444
444
|
* @memberof ActivitiesApi
|
445
445
|
*/
|
@@ -448,16 +448,16 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
448
448
|
* Returns all activities assigned to a particular user.
|
449
449
|
* @summary Get all activities assigned to a particular user
|
450
450
|
* @param {ActivitiesApiGetActivitiesRequest} requestParameters Request parameters.
|
451
|
-
|
451
|
+
* @deprecated
|
452
452
|
* @throws {RequiredError}
|
453
453
|
* @memberof ActivitiesApi
|
454
454
|
*/
|
455
455
|
getActivities(requestParameters?: ActivitiesApiGetActivitiesRequest): Promise<GetActivitiesResponse>;
|
456
456
|
/**
|
457
|
-
* Returns all activities.
|
458
|
-
* @summary Get all activities
|
457
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
458
|
+
* @summary Get all activities collection
|
459
459
|
* @param {ActivitiesApiGetActivitiesCollectionRequest} requestParameters Request parameters.
|
460
|
-
|
460
|
+
* @deprecated
|
461
461
|
* @throws {RequiredError}
|
462
462
|
* @memberof ActivitiesApi
|
463
463
|
*/
|
@@ -466,7 +466,7 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
466
466
|
* Returns the details of a specific activity.
|
467
467
|
* @summary Get details of an activity
|
468
468
|
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
469
|
-
|
469
|
+
* @deprecated
|
470
470
|
* @throws {RequiredError}
|
471
471
|
* @memberof ActivitiesApi
|
472
472
|
*/
|
@@ -475,7 +475,7 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
475
475
|
* Updates an activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
476
476
|
* @summary Update an activity
|
477
477
|
* @param {ActivitiesApiUpdateActivityRequest} requestParameters Request parameters.
|
478
|
-
|
478
|
+
* @deprecated
|
479
479
|
* @throws {RequiredError}
|
480
480
|
* @memberof ActivitiesApi
|
481
481
|
*/
|
@@ -42,7 +42,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
42
42
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
43
43
|
* @summary Add an activity
|
44
44
|
* @param {AddActivityRequest} [AddActivityRequest]
|
45
|
-
|
45
|
+
* @deprecated
|
46
46
|
* @throws {RequiredError}
|
47
47
|
*/
|
48
48
|
addActivity: (AddActivityRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -72,10 +72,10 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
72
72
|
};
|
73
73
|
}),
|
74
74
|
/**
|
75
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
75
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
76
76
|
* @summary Delete multiple activities in bulk
|
77
77
|
* @param {string} ids The comma-separated IDs of activities that will be deleted
|
78
|
-
|
78
|
+
* @deprecated
|
79
79
|
* @throws {RequiredError}
|
80
80
|
*/
|
81
81
|
deleteActivities: (ids) => __awaiter(this, void 0, void 0, function* () {
|
@@ -111,7 +111,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
111
111
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
112
112
|
* @summary Delete an activity
|
113
113
|
* @param {number} id The ID of the activity
|
114
|
-
|
114
|
+
* @deprecated
|
115
115
|
* @throws {RequiredError}
|
116
116
|
*/
|
117
117
|
deleteActivity: (id) => __awaiter(this, void 0, void 0, function* () {
|
@@ -152,7 +152,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
152
152
|
* @param {string} [start_date] Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format.
|
153
153
|
* @param {string} [end_date] Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format.
|
154
154
|
* @param {0 | 1} [done] Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both done and not done activities.
|
155
|
-
|
155
|
+
* @deprecated
|
156
156
|
* @throws {RequiredError}
|
157
157
|
*/
|
158
158
|
getActivities: (user_id, filter_id, type, limit, start, start_date, end_date, done) => __awaiter(this, void 0, void 0, function* () {
|
@@ -208,8 +208,8 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
208
208
|
};
|
209
209
|
}),
|
210
210
|
/**
|
211
|
-
* Returns all activities.
|
212
|
-
* @summary Get all activities
|
211
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
212
|
+
* @summary Get all activities collection
|
213
213
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
214
214
|
* @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.
|
215
215
|
* @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the `update_time` field.
|
@@ -217,7 +217,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
217
217
|
* @param {number} [user_id] The ID of the user whose activities will be fetched. If omitted, all activities are returned.
|
218
218
|
* @param {boolean} [done] Whether the activity is done or not. `false` = Not done, `true` = Done. If omitted, returns both done and not done activities.
|
219
219
|
* @param {string} [type] The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the `key_string` parameter of ActivityTypes.
|
220
|
-
|
220
|
+
* @deprecated
|
221
221
|
* @throws {RequiredError}
|
222
222
|
*/
|
223
223
|
getActivitiesCollection: (cursor, limit, since, until, user_id, done, type) => __awaiter(this, void 0, void 0, function* () {
|
@@ -269,7 +269,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
269
269
|
* Returns the details of a specific activity.
|
270
270
|
* @summary Get details of an activity
|
271
271
|
* @param {number} id The ID of the activity
|
272
|
-
|
272
|
+
* @deprecated
|
273
273
|
* @throws {RequiredError}
|
274
274
|
*/
|
275
275
|
getActivity: (id) => __awaiter(this, void 0, void 0, function* () {
|
@@ -304,7 +304,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
304
304
|
* @summary Update an activity
|
305
305
|
* @param {number} id The ID of the activity
|
306
306
|
* @param {UpdateActivityRequest} [UpdateActivityRequest]
|
307
|
-
|
307
|
+
* @deprecated
|
308
308
|
* @throws {RequiredError}
|
309
309
|
*/
|
310
310
|
updateActivity: (id, UpdateActivityRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -350,7 +350,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
350
350
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
351
351
|
* @summary Add an activity
|
352
352
|
* @param {AddActivityRequest} [AddActivityRequest]
|
353
|
-
|
353
|
+
* @deprecated
|
354
354
|
* @throws {RequiredError}
|
355
355
|
*/
|
356
356
|
addActivity(AddActivityRequest) {
|
@@ -360,10 +360,10 @@ const ActivitiesApiFp = function (configuration) {
|
|
360
360
|
});
|
361
361
|
},
|
362
362
|
/**
|
363
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
363
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
364
364
|
* @summary Delete multiple activities in bulk
|
365
365
|
* @param {string} ids The comma-separated IDs of activities that will be deleted
|
366
|
-
|
366
|
+
* @deprecated
|
367
367
|
* @throws {RequiredError}
|
368
368
|
*/
|
369
369
|
deleteActivities(ids) {
|
@@ -376,7 +376,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
376
376
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
377
377
|
* @summary Delete an activity
|
378
378
|
* @param {number} id The ID of the activity
|
379
|
-
|
379
|
+
* @deprecated
|
380
380
|
* @throws {RequiredError}
|
381
381
|
*/
|
382
382
|
deleteActivity(id) {
|
@@ -396,7 +396,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
396
396
|
* @param {string} [start_date] Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format.
|
397
397
|
* @param {string} [end_date] Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format.
|
398
398
|
* @param {0 | 1} [done] Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both done and not done activities.
|
399
|
-
|
399
|
+
* @deprecated
|
400
400
|
* @throws {RequiredError}
|
401
401
|
*/
|
402
402
|
getActivities(user_id, filter_id, type, limit, start, start_date, end_date, done) {
|
@@ -406,8 +406,8 @@ const ActivitiesApiFp = function (configuration) {
|
|
406
406
|
});
|
407
407
|
},
|
408
408
|
/**
|
409
|
-
* Returns all activities.
|
410
|
-
* @summary Get all activities
|
409
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
410
|
+
* @summary Get all activities collection
|
411
411
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
412
412
|
* @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.
|
413
413
|
* @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the `update_time` field.
|
@@ -415,7 +415,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
415
415
|
* @param {number} [user_id] The ID of the user whose activities will be fetched. If omitted, all activities are returned.
|
416
416
|
* @param {boolean} [done] Whether the activity is done or not. `false` = Not done, `true` = Done. If omitted, returns both done and not done activities.
|
417
417
|
* @param {string} [type] The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the `key_string` parameter of ActivityTypes.
|
418
|
-
|
418
|
+
* @deprecated
|
419
419
|
* @throws {RequiredError}
|
420
420
|
*/
|
421
421
|
getActivitiesCollection(cursor, limit, since, until, user_id, done, type) {
|
@@ -428,7 +428,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
428
428
|
* Returns the details of a specific activity.
|
429
429
|
* @summary Get details of an activity
|
430
430
|
* @param {number} id The ID of the activity
|
431
|
-
|
431
|
+
* @deprecated
|
432
432
|
* @throws {RequiredError}
|
433
433
|
*/
|
434
434
|
getActivity(id) {
|
@@ -442,7 +442,7 @@ const ActivitiesApiFp = function (configuration) {
|
|
442
442
|
* @summary Update an activity
|
443
443
|
* @param {number} id The ID of the activity
|
444
444
|
* @param {UpdateActivityRequest} [UpdateActivityRequest]
|
445
|
-
|
445
|
+
* @deprecated
|
446
446
|
* @throws {RequiredError}
|
447
447
|
*/
|
448
448
|
updateActivity(id, UpdateActivityRequest) {
|
@@ -465,17 +465,17 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
465
465
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
466
466
|
* @summary Add an activity
|
467
467
|
* @param {ActivitiesApiAddActivityRequest} requestParameters Request parameters.
|
468
|
-
|
468
|
+
* @deprecated
|
469
469
|
* @throws {RequiredError}
|
470
470
|
*/
|
471
471
|
addActivity(requestParameters = {}) {
|
472
472
|
return localVarFp.addActivity(requestParameters.AddActivityRequest).then((request) => request(axios, basePath));
|
473
473
|
},
|
474
474
|
/**
|
475
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
475
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
476
476
|
* @summary Delete multiple activities in bulk
|
477
477
|
* @param {ActivitiesApiDeleteActivitiesRequest} requestParameters Request parameters.
|
478
|
-
|
478
|
+
* @deprecated
|
479
479
|
* @throws {RequiredError}
|
480
480
|
*/
|
481
481
|
deleteActivities(requestParameters) {
|
@@ -485,7 +485,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
485
485
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
486
486
|
* @summary Delete an activity
|
487
487
|
* @param {ActivitiesApiDeleteActivityRequest} requestParameters Request parameters.
|
488
|
-
|
488
|
+
* @deprecated
|
489
489
|
* @throws {RequiredError}
|
490
490
|
*/
|
491
491
|
deleteActivity(requestParameters) {
|
@@ -495,17 +495,17 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
495
495
|
* Returns all activities assigned to a particular user.
|
496
496
|
* @summary Get all activities assigned to a particular user
|
497
497
|
* @param {ActivitiesApiGetActivitiesRequest} requestParameters Request parameters.
|
498
|
-
|
498
|
+
* @deprecated
|
499
499
|
* @throws {RequiredError}
|
500
500
|
*/
|
501
501
|
getActivities(requestParameters = {}) {
|
502
502
|
return localVarFp.getActivities(requestParameters.user_id, requestParameters.filter_id, requestParameters.type, requestParameters.limit, requestParameters.start, requestParameters.start_date, requestParameters.end_date, requestParameters.done).then((request) => request(axios, basePath));
|
503
503
|
},
|
504
504
|
/**
|
505
|
-
* Returns all activities.
|
506
|
-
* @summary Get all activities
|
505
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
506
|
+
* @summary Get all activities collection
|
507
507
|
* @param {ActivitiesApiGetActivitiesCollectionRequest} requestParameters Request parameters.
|
508
|
-
|
508
|
+
* @deprecated
|
509
509
|
* @throws {RequiredError}
|
510
510
|
*/
|
511
511
|
getActivitiesCollection(requestParameters = {}) {
|
@@ -515,7 +515,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
515
515
|
* Returns the details of a specific activity.
|
516
516
|
* @summary Get details of an activity
|
517
517
|
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
518
|
-
|
518
|
+
* @deprecated
|
519
519
|
* @throws {RequiredError}
|
520
520
|
*/
|
521
521
|
getActivity(requestParameters) {
|
@@ -525,7 +525,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
525
525
|
* Updates an activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
526
526
|
* @summary Update an activity
|
527
527
|
* @param {ActivitiesApiUpdateActivityRequest} requestParameters Request parameters.
|
528
|
-
|
528
|
+
* @deprecated
|
529
529
|
* @throws {RequiredError}
|
530
530
|
*/
|
531
531
|
updateActivity(requestParameters) {
|
@@ -545,7 +545,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
545
545
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
546
546
|
* @summary Add an activity
|
547
547
|
* @param {ActivitiesApiAddActivityRequest} requestParameters Request parameters.
|
548
|
-
|
548
|
+
* @deprecated
|
549
549
|
* @throws {RequiredError}
|
550
550
|
* @memberof ActivitiesApi
|
551
551
|
*/
|
@@ -553,10 +553,10 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
553
553
|
return (0, exports.ActivitiesApiFp)(this.configuration).addActivity(requestParameters.AddActivityRequest).then((request) => request(this.axios, this.basePath));
|
554
554
|
}
|
555
555
|
/**
|
556
|
-
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
|
556
|
+
* Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
|
557
557
|
* @summary Delete multiple activities in bulk
|
558
558
|
* @param {ActivitiesApiDeleteActivitiesRequest} requestParameters Request parameters.
|
559
|
-
|
559
|
+
* @deprecated
|
560
560
|
* @throws {RequiredError}
|
561
561
|
* @memberof ActivitiesApi
|
562
562
|
*/
|
@@ -567,7 +567,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
567
567
|
* Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
|
568
568
|
* @summary Delete an activity
|
569
569
|
* @param {ActivitiesApiDeleteActivityRequest} requestParameters Request parameters.
|
570
|
-
|
570
|
+
* @deprecated
|
571
571
|
* @throws {RequiredError}
|
572
572
|
* @memberof ActivitiesApi
|
573
573
|
*/
|
@@ -578,7 +578,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
578
578
|
* Returns all activities assigned to a particular user.
|
579
579
|
* @summary Get all activities assigned to a particular user
|
580
580
|
* @param {ActivitiesApiGetActivitiesRequest} requestParameters Request parameters.
|
581
|
-
|
581
|
+
* @deprecated
|
582
582
|
* @throws {RequiredError}
|
583
583
|
* @memberof ActivitiesApi
|
584
584
|
*/
|
@@ -586,10 +586,10 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
586
586
|
return (0, exports.ActivitiesApiFp)(this.configuration).getActivities(requestParameters.user_id, requestParameters.filter_id, requestParameters.type, requestParameters.limit, requestParameters.start, requestParameters.start_date, requestParameters.end_date, requestParameters.done).then((request) => request(this.axios, this.basePath));
|
587
587
|
}
|
588
588
|
/**
|
589
|
-
* Returns all activities.
|
590
|
-
* @summary Get all activities
|
589
|
+
* Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
|
590
|
+
* @summary Get all activities collection
|
591
591
|
* @param {ActivitiesApiGetActivitiesCollectionRequest} requestParameters Request parameters.
|
592
|
-
|
592
|
+
* @deprecated
|
593
593
|
* @throws {RequiredError}
|
594
594
|
* @memberof ActivitiesApi
|
595
595
|
*/
|
@@ -600,7 +600,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
600
600
|
* Returns the details of a specific activity.
|
601
601
|
* @summary Get details of an activity
|
602
602
|
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
603
|
-
|
603
|
+
* @deprecated
|
604
604
|
* @throws {RequiredError}
|
605
605
|
* @memberof ActivitiesApi
|
606
606
|
*/
|
@@ -611,7 +611,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
611
611
|
* Updates an activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
|
612
612
|
* @summary Update an activity
|
613
613
|
* @param {ActivitiesApiUpdateActivityRequest} requestParameters Request parameters.
|
614
|
-
|
614
|
+
* @deprecated
|
615
615
|
* @throws {RequiredError}
|
616
616
|
* @memberof ActivitiesApi
|
617
617
|
*/
|