pipedrive 25.0.0 → 27.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 +47 -47
- package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
- package/dist/esm/versions/v1/api/billing-api.js +1 -1
- package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
- package/dist/esm/versions/v1/api/channels-api.js +4 -4
- package/dist/esm/versions/v1/api/currencies-api.js +1 -1
- package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/esm/versions/v1/api/deals-api.js +447 -118
- package/dist/esm/versions/v1/api/files-api.js +8 -8
- package/dist/esm/versions/v1/api/filters-api.js +7 -7
- package/dist/esm/versions/v1/api/goals-api.js +5 -5
- package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/item-search-api.js +10 -10
- package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/esm/versions/v1/api/leads-api.js +114 -21
- package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
- package/dist/esm/versions/v1/api/meetings-api.js +2 -2
- package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/esm/versions/v1/api/notes-api.js +25 -15
- package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/esm/versions/v1/api/organizations-api.js +88 -88
- package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/esm/versions/v1/api/persons-api.js +78 -78
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
- package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
- package/dist/esm/versions/v1/api/products-api.js +36 -36
- package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
- package/dist/esm/versions/v1/api/projects-api.js +14 -14
- package/dist/esm/versions/v1/api/recents-api.js +1 -1
- package/dist/esm/versions/v1/api/roles-api.js +12 -12
- package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/stages-api.js +43 -43
- package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/esm/versions/v1/api/tasks-api.js +5 -5
- package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
- package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
- package/dist/esm/versions/v1/api/users-api.js +10 -10
- package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
- 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/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/v2/api/activities-api.d.ts +15 -7
- package/dist/esm/versions/v2/api/activities-api.js +17 -12
- package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/esm/versions/v2/api/beta-api.js +290 -4
- package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/esm/versions/v2/api/deals-api.js +311 -27
- package/dist/esm/versions/v2/api/item-search-api.js +2 -2
- package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/esm/versions/v2/api/leads-api.js +147 -2
- package/dist/esm/versions/v2/api/organizations-api.js +10 -10
- package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/esm/versions/v2/api/persons-api.js +18 -18
- package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/api/stages-api.js +5 -5
- package/dist/esm/versions/v2/api/users-api.js +1 -1
- 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-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/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/index.d.ts +7 -0
- package/dist/esm/versions/v2/models/index.js +7 -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 +47 -47
- package/dist/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/versions/v1/api/activity-types-api.js +5 -5
- package/dist/versions/v1/api/billing-api.js +1 -1
- package/dist/versions/v1/api/call-logs-api.js +5 -5
- package/dist/versions/v1/api/channels-api.js +4 -4
- package/dist/versions/v1/api/currencies-api.js +1 -1
- package/dist/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/versions/v1/api/deals-api.js +447 -118
- package/dist/versions/v1/api/files-api.js +8 -8
- package/dist/versions/v1/api/filters-api.js +7 -7
- package/dist/versions/v1/api/goals-api.js +5 -5
- package/dist/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/versions/v1/api/item-search-api.js +10 -10
- package/dist/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/versions/v1/api/leads-api.js +114 -21
- package/dist/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/versions/v1/api/mailbox-api.js +6 -6
- package/dist/versions/v1/api/meetings-api.js +2 -2
- package/dist/versions/v1/api/note-fields-api.js +1 -1
- package/dist/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/versions/v1/api/notes-api.js +25 -15
- package/dist/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/versions/v1/api/organizations-api.js +88 -88
- package/dist/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/versions/v1/api/person-fields-api.js +6 -6
- package/dist/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/versions/v1/api/persons-api.js +78 -78
- package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/versions/v1/api/pipelines-api.js +36 -36
- package/dist/versions/v1/api/product-fields-api.js +6 -6
- package/dist/versions/v1/api/products-api.d.ts +24 -24
- package/dist/versions/v1/api/products-api.js +36 -36
- package/dist/versions/v1/api/project-templates-api.js +4 -4
- package/dist/versions/v1/api/projects-api.js +14 -14
- package/dist/versions/v1/api/recents-api.js +1 -1
- package/dist/versions/v1/api/roles-api.js +12 -12
- package/dist/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/versions/v1/api/stages-api.js +43 -43
- package/dist/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/versions/v1/api/tasks-api.js +5 -5
- package/dist/versions/v1/api/user-connections-api.js +1 -1
- package/dist/versions/v1/api/user-settings-api.js +1 -1
- package/dist/versions/v1/api/users-api.js +10 -10
- package/dist/versions/v1/api/webhooks-api.js +3 -3
- 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/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/v2/api/activities-api.d.ts +15 -7
- package/dist/versions/v2/api/activities-api.js +17 -12
- package/dist/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/versions/v2/api/beta-api.js +290 -4
- package/dist/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/versions/v2/api/deals-api.js +311 -27
- package/dist/versions/v2/api/item-search-api.js +2 -2
- package/dist/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/versions/v2/api/leads-api.js +146 -1
- package/dist/versions/v2/api/organizations-api.js +10 -10
- package/dist/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/versions/v2/api/persons-api.js +18 -18
- package/dist/versions/v2/api/pipelines-api.js +5 -5
- package/dist/versions/v2/api/products-api.js +15 -15
- package/dist/versions/v2/api/stages-api.js +5 -5
- package/dist/versions/v2/api/users-api.js +1 -1
- 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-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/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/index.d.ts +7 -0
- package/dist/versions/v2/models/index.js +7 -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
@@ -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];
|
@@ -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
|
*/
|
@@ -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'}
|
@@ -51,7 +51,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:full"], configuration);
|
@@ -87,7 +87,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:full"], configuration);
|
@@ -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);
|
@@ -131,7 +132,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
131
132
|
const localVarHeaderParameter = {};
|
132
133
|
const localVarQueryParameter = {};
|
133
134
|
// authentication api_key required
|
134
|
-
yield setApiKeyToObject(
|
135
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
135
136
|
// authentication oauth2 required
|
136
137
|
// oauth required
|
137
138
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:read", "activities:full"], configuration);
|
@@ -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
|
}
|
@@ -208,7 +212,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
208
212
|
const localVarHeaderParameter = {};
|
209
213
|
const localVarQueryParameter = {};
|
210
214
|
// authentication api_key required
|
211
|
-
yield setApiKeyToObject(
|
215
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
212
216
|
// authentication oauth2 required
|
213
217
|
// oauth required
|
214
218
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:read", "activities:full"], configuration);
|
@@ -246,7 +250,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
246
250
|
const localVarHeaderParameter = {};
|
247
251
|
const localVarQueryParameter = {};
|
248
252
|
// authentication api_key required
|
249
|
-
yield setApiKeyToObject(
|
253
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
250
254
|
// authentication oauth2 required
|
251
255
|
// oauth required
|
252
256
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:full"], configuration);
|
@@ -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.
|