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];
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* Do not edit the class manually.
|
14
14
|
*/
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
-
exports.AddNoteRequestAllOf1PinnedToPersonFlagConst = exports.AddNoteRequestAllOf1PinnedToOrganizationFlagConst = exports.AddNoteRequestAllOf1PinnedToDealFlagConst = exports.AddNoteRequestAllOf1PinnedToLeadFlagConst = void 0;
|
16
|
+
exports.AddNoteRequestAllOf1PinnedToProjectFlagConst = exports.AddNoteRequestAllOf1PinnedToPersonFlagConst = exports.AddNoteRequestAllOf1PinnedToOrganizationFlagConst = exports.AddNoteRequestAllOf1PinnedToDealFlagConst = exports.AddNoteRequestAllOf1PinnedToLeadFlagConst = void 0;
|
17
17
|
exports.AddNoteRequestAllOf1PinnedToLeadFlagConst = {
|
18
18
|
NUMBER_0: 0,
|
19
19
|
NUMBER_1: 1
|
@@ -30,3 +30,7 @@ exports.AddNoteRequestAllOf1PinnedToPersonFlagConst = {
|
|
30
30
|
NUMBER_0: 0,
|
31
31
|
NUMBER_1: 1
|
32
32
|
};
|
33
|
+
exports.AddNoteRequestAllOf1PinnedToProjectFlagConst = {
|
34
|
+
NUMBER_0: 0,
|
35
|
+
NUMBER_1: 1
|
36
|
+
};
|
@@ -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';
|
@@ -635,6 +635,7 @@ __exportStar(require("./note"), exports);
|
|
635
635
|
__exportStar(require("./note-deal"), exports);
|
636
636
|
__exportStar(require("./note-organization"), exports);
|
637
637
|
__exportStar(require("./note-person"), exports);
|
638
|
+
__exportStar(require("./note-project"), exports);
|
638
639
|
__exportStar(require("./note-request"), exports);
|
639
640
|
__exportStar(require("./note-request-all-of"), exports);
|
640
641
|
__exportStar(require("./note-request-all-of1"), exports);
|
@@ -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,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* Pipedrive API v1
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
9
|
+
*
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -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'}
|
@@ -57,7 +57,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["activities:full"], configuration);
|
@@ -93,7 +93,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["activities:full"], configuration);
|
@@ -115,9 +115,10 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
115
115
|
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
116
116
|
* @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.
|
117
117
|
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
118
|
+
* @param {boolean} [done] If supplied, only activities with specified \'done\' flag value are returned
|
118
119
|
* @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.
|
119
120
|
* @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.
|
120
|
-
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
121
|
+
* @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
121
122
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
122
123
|
* @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
|
123
124
|
* @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.
|
@@ -125,7 +126,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
125
126
|
|
126
127
|
* @throws {RequiredError}
|
127
128
|
*/
|
128
|
-
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* () {
|
129
|
+
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* () {
|
129
130
|
const localVarPath = `/activities`;
|
130
131
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
131
132
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
@@ -137,7 +138,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
137
138
|
const localVarHeaderParameter = {};
|
138
139
|
const localVarQueryParameter = {};
|
139
140
|
// authentication api_key required
|
140
|
-
yield (0, common_1.setApiKeyToObject)(
|
141
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
141
142
|
// authentication oauth2 required
|
142
143
|
// oauth required
|
143
144
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["activities:read", "activities:full"], configuration);
|
@@ -162,6 +163,9 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
162
163
|
if (org_id !== undefined) {
|
163
164
|
localVarQueryParameter['org_id'] = org_id;
|
164
165
|
}
|
166
|
+
if (done !== undefined) {
|
167
|
+
localVarQueryParameter['done'] = done;
|
168
|
+
}
|
165
169
|
if (updated_since !== undefined) {
|
166
170
|
localVarQueryParameter['updated_since'] = updated_since;
|
167
171
|
}
|
@@ -214,7 +218,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
214
218
|
const localVarHeaderParameter = {};
|
215
219
|
const localVarQueryParameter = {};
|
216
220
|
// authentication api_key required
|
217
|
-
yield (0, common_1.setApiKeyToObject)(
|
221
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
218
222
|
// authentication oauth2 required
|
219
223
|
// oauth required
|
220
224
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["activities:read", "activities:full"], configuration);
|
@@ -252,7 +256,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
252
256
|
const localVarHeaderParameter = {};
|
253
257
|
const localVarQueryParameter = {};
|
254
258
|
// authentication api_key required
|
255
|
-
yield (0, common_1.setApiKeyToObject)(
|
259
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
256
260
|
// authentication oauth2 required
|
257
261
|
// oauth required
|
258
262
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["activities:full"], configuration);
|
@@ -312,9 +316,10 @@ const ActivitiesApiFp = function (configuration) {
|
|
312
316
|
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
313
317
|
* @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.
|
314
318
|
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
319
|
+
* @param {boolean} [done] If supplied, only activities with specified \'done\' flag value are returned
|
315
320
|
* @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.
|
316
321
|
* @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.
|
317
|
-
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
322
|
+
* @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `due_date`.
|
318
323
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
319
324
|
* @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
|
320
325
|
* @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.
|
@@ -322,9 +327,9 @@ const ActivitiesApiFp = function (configuration) {
|
|
322
327
|
|
323
328
|
* @throws {RequiredError}
|
324
329
|
*/
|
325
|
-
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) {
|
330
|
+
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) {
|
326
331
|
return __awaiter(this, void 0, void 0, function* () {
|
327
|
-
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);
|
332
|
+
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);
|
328
333
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
329
334
|
});
|
330
335
|
},
|
@@ -394,7 +399,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
394
399
|
* @throws {RequiredError}
|
395
400
|
*/
|
396
401
|
getActivities(requestParameters = {}) {
|
397
|
-
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));
|
402
|
+
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));
|
398
403
|
},
|
399
404
|
/**
|
400
405
|
* Returns the details of a specific activity.
|
@@ -457,7 +462,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
457
462
|
* @memberof ActivitiesApi
|
458
463
|
*/
|
459
464
|
getActivities(requestParameters = {}) {
|
460
|
-
return (0, exports.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));
|
465
|
+
return (0, exports.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));
|
461
466
|
}
|
462
467
|
/**
|
463
468
|
* Returns the details of a specific activity.
|