pipedrive 24.1.1 → 25.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/deals-api.d.ts +3 -3
- package/dist/esm/versions/v1/api/deals-api.js +2 -2
- package/dist/esm/versions/v1/api/organizations-api.d.ts +3 -3
- package/dist/esm/versions/v1/api/organizations-api.js +2 -2
- package/dist/esm/versions/v1/api/persons-api.d.ts +3 -3
- package/dist/esm/versions/v1/api/persons-api.js +2 -2
- 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/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/additional-data.d.ts +38 -0
- package/dist/esm/versions/v1/models/additional-data.js +14 -0
- package/dist/esm/versions/v1/models/get-notes-response-additional-data.d.ts +3 -3
- package/dist/esm/versions/v1/models/index.d.ts +1 -1
- package/dist/esm/versions/v1/models/index.js +1 -1
- package/dist/esm/versions/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 +34 -2
- package/dist/esm/versions/v2/api/activities-api.js +25 -5
- package/dist/esm/versions/v2/api/beta-api.d.ts +160 -2424
- package/dist/esm/versions/v2/api/beta-api.js +169 -2788
- package/dist/esm/versions/v2/api/deals-api.d.ts +491 -0
- package/dist/esm/versions/v2/api/deals-api.js +613 -0
- 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 +237 -0
- package/dist/esm/versions/v2/api/persons-api.js +301 -0
- 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/models/add-ainstallment-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/add-ainstallment-response.js +14 -0
- package/dist/esm/versions/v2/models/add-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-installment-request-body.d.ts +33 -0
- package/dist/esm/versions/v2/models/add-installment-request-body.js +14 -0
- package/dist/esm/versions/v2/models/delete-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/delete-installment-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/delete-installment-response-data.js +14 -0
- package/dist/esm/versions/v2/models/delete-installment-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/delete-installment-response.js +14 -0
- package/dist/esm/versions/v2/models/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-activities-response-all-of-additional-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.js +14 -0
- package/dist/esm/versions/v2/models/get-activities-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-deals-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-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/get-installments-response-data-inner.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-installments-response-data-inner.js +14 -0
- package/dist/esm/versions/v2/models/get-installments-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/get-installments-response.js +14 -0
- package/dist/esm/versions/v2/models/get-organizations-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-persons-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-pipelines-response-all-of.d.ts +6 -0
- package/dist/esm/versions/v2/models/get-stages-response.d.ts +6 -0
- package/dist/esm/versions/v2/models/index.d.ts +21 -0
- package/dist/esm/versions/v2/models/index.js +21 -0
- package/dist/esm/versions/v2/models/update-installment-request-body.d.ts +33 -0
- package/dist/esm/versions/v2/models/update-installment-request-body.js +14 -0
- package/dist/esm/versions/v2/models/update-installment-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/update-installment-response.js +14 -0
- package/dist/versions/v1/api/deals-api.d.ts +3 -3
- package/dist/versions/v1/api/deals-api.js +2 -2
- package/dist/versions/v1/api/organizations-api.d.ts +3 -3
- package/dist/versions/v1/api/organizations-api.js +2 -2
- package/dist/versions/v1/api/persons-api.d.ts +3 -3
- package/dist/versions/v1/api/persons-api.js +2 -2
- 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/models/add-webhook-request.d.ts +5 -6
- package/dist/versions/v1/models/add-webhook-request.js +4 -5
- package/dist/versions/v1/models/additional-data.d.ts +38 -0
- package/dist/versions/v1/models/additional-data.js +15 -0
- package/dist/versions/v1/models/get-notes-response-additional-data.d.ts +3 -3
- package/dist/versions/v1/models/index.d.ts +1 -1
- package/dist/versions/v1/models/index.js +1 -1
- package/dist/versions/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 +34 -2
- package/dist/versions/v2/api/activities-api.js +25 -5
- package/dist/versions/v2/api/beta-api.d.ts +160 -2424
- package/dist/versions/v2/api/beta-api.js +171 -2790
- package/dist/versions/v2/api/deals-api.d.ts +491 -0
- package/dist/versions/v2/api/deals-api.js +613 -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 +237 -0
- package/dist/versions/v2/api/persons-api.js +301 -0
- 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/models/add-ainstallment-response.d.ts +29 -0
- package/dist/versions/v2/models/add-ainstallment-response.js +15 -0
- package/dist/versions/v2/models/add-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-installment-request-body.d.ts +33 -0
- package/dist/versions/v2/models/add-installment-request-body.js +15 -0
- package/dist/versions/v2/models/delete-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/delete-installment-response-data.d.ts +23 -0
- package/dist/versions/v2/models/delete-installment-response-data.js +15 -0
- package/dist/versions/v2/models/delete-installment-response.d.ts +29 -0
- package/dist/versions/v2/models/delete-installment-response.js +15 -0
- package/dist/versions/v2/models/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-activities-response-all-of-additional-data.d.ts +23 -0
- package/dist/versions/v2/models/get-activities-response-all-of-additional-data.js +15 -0
- package/dist/versions/v2/models/get-activities-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-deals-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-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/get-installments-response-data-inner.d.ts +43 -0
- package/dist/versions/v2/models/get-installments-response-data-inner.js +15 -0
- package/dist/versions/v2/models/get-installments-response.d.ts +29 -0
- package/dist/versions/v2/models/get-installments-response.js +15 -0
- package/dist/versions/v2/models/get-organizations-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-persons-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-pipelines-response-all-of.d.ts +6 -0
- package/dist/versions/v2/models/get-stages-response.d.ts +6 -0
- package/dist/versions/v2/models/index.d.ts +21 -0
- package/dist/versions/v2/models/index.js +21 -0
- package/dist/versions/v2/models/update-installment-request-body.d.ts +33 -0
- package/dist/versions/v2/models/update-installment-request-body.js +15 -0
- package/dist/versions/v2/models/update-installment-response.d.ts +29 -0
- package/dist/versions/v2/models/update-installment-response.js +15 -0
- package/package.json +1 -1
@@ -39,7 +39,7 @@ const base_1 = require("../base");
|
|
39
39
|
const WebhooksApiAxiosParamCreator = function (configuration) {
|
40
40
|
return {
|
41
41
|
/**
|
42
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
42
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
43
43
|
* @summary Create a new Webhook
|
44
44
|
* @param {AddWebhookRequest} [AddWebhookRequest]
|
45
45
|
|
@@ -146,7 +146,7 @@ const WebhooksApiFp = function (configuration) {
|
|
146
146
|
const localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
|
147
147
|
return {
|
148
148
|
/**
|
149
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
149
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
150
150
|
* @summary Create a new Webhook
|
151
151
|
* @param {AddWebhookRequest} [AddWebhookRequest]
|
152
152
|
|
@@ -194,7 +194,7 @@ const WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
194
194
|
const localVarFp = (0, exports.WebhooksApiFp)(configuration);
|
195
195
|
return {
|
196
196
|
/**
|
197
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
197
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
198
198
|
* @summary Create a new Webhook
|
199
199
|
* @param {WebhooksApiAddWebhookRequest} requestParameters Request parameters.
|
200
200
|
|
@@ -233,7 +233,7 @@ exports.WebhooksApiFactory = WebhooksApiFactory;
|
|
233
233
|
*/
|
234
234
|
class WebhooksApi extends base_1.BaseAPI {
|
235
235
|
/**
|
236
|
-
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `
|
236
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
|
237
237
|
* @summary Create a new Webhook
|
238
238
|
* @param {WebhooksApiAddWebhookRequest} requestParameters Request parameters.
|
239
239
|
|
@@ -46,23 +46,22 @@ export interface AddWebhookRequest {
|
|
46
46
|
*/
|
47
47
|
'http_auth_password'?: string;
|
48
48
|
/**
|
49
|
-
* The webhook\'s version. NB! Webhooks v2
|
49
|
+
* The webhook\'s version. NB! Webhooks v2 is the default from March 17th, 2025. See <a href=\"https://developers.pipedrive.com/changelog/post/breaking-change-webhooks-v2-will-become-the-new-default-version\" target=\"_blank\" rel=\"noopener noreferrer\">this Changelog post</a> for more details.
|
50
50
|
* @type {string}
|
51
51
|
*/
|
52
52
|
'version'?: AddWebhookRequestVersionConst;
|
53
53
|
}
|
54
54
|
export declare const AddWebhookRequestEventActionConst: {
|
55
|
-
readonly
|
56
|
-
readonly
|
57
|
-
readonly
|
58
|
-
readonly deleted: "deleted";
|
55
|
+
readonly create: "create";
|
56
|
+
readonly change: "change";
|
57
|
+
readonly delete: "delete";
|
59
58
|
readonly Star: "*";
|
60
59
|
};
|
61
60
|
export type AddWebhookRequestEventActionConst = typeof AddWebhookRequestEventActionConst[keyof typeof AddWebhookRequestEventActionConst];
|
62
61
|
export declare const AddWebhookRequestEventObjectConst: {
|
63
62
|
readonly activity: "activity";
|
64
|
-
readonly activityType: "activityType";
|
65
63
|
readonly deal: "deal";
|
64
|
+
readonly lead: "lead";
|
66
65
|
readonly note: "note";
|
67
66
|
readonly organization: "organization";
|
68
67
|
readonly person: "person";
|
@@ -15,16 +15,15 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.AddWebhookRequestVersionConst = exports.AddWebhookRequestEventObjectConst = exports.AddWebhookRequestEventActionConst = void 0;
|
17
17
|
exports.AddWebhookRequestEventActionConst = {
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
deleted: 'deleted',
|
18
|
+
create: 'create',
|
19
|
+
change: 'change',
|
20
|
+
delete: 'delete',
|
22
21
|
Star: '*'
|
23
22
|
};
|
24
23
|
exports.AddWebhookRequestEventObjectConst = {
|
25
24
|
activity: 'activity',
|
26
|
-
activityType: 'activityType',
|
27
25
|
deal: 'deal',
|
26
|
+
lead: 'lead',
|
28
27
|
note: 'note',
|
29
28
|
organization: 'organization',
|
30
29
|
person: 'person',
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* Pipedrive API v1
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
6
|
+
*
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* The pagination details of the list
|
14
|
+
* @export
|
15
|
+
* @interface AdditionalData
|
16
|
+
*/
|
17
|
+
export interface AdditionalData {
|
18
|
+
/**
|
19
|
+
* Next pagination start
|
20
|
+
* @type {number}
|
21
|
+
*/
|
22
|
+
'next_start'?: number;
|
23
|
+
/**
|
24
|
+
* Pagination start
|
25
|
+
* @type {number}
|
26
|
+
*/
|
27
|
+
'start'?: number;
|
28
|
+
/**
|
29
|
+
* Items shown per page
|
30
|
+
* @type {number}
|
31
|
+
*/
|
32
|
+
'limit'?: number;
|
33
|
+
/**
|
34
|
+
* If there are more list items in the collection than displayed or not
|
35
|
+
* @type {boolean}
|
36
|
+
*/
|
37
|
+
'more_items_in_collection'?: boolean;
|
38
|
+
}
|
@@ -0,0 +1,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 });
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import {
|
12
|
+
import { AdditionalData } from './additional-data';
|
13
13
|
/**
|
14
14
|
*
|
15
15
|
* @export
|
@@ -18,7 +18,7 @@ import { GetNotesResponseAdditionalDataPagination } from './get-notes-response-a
|
|
18
18
|
export interface GetNotesResponseAdditionalData {
|
19
19
|
/**
|
20
20
|
*
|
21
|
-
* @type {
|
21
|
+
* @type {AdditionalData}
|
22
22
|
*/
|
23
|
-
'pagination'?:
|
23
|
+
'pagination'?: AdditionalData;
|
24
24
|
}
|
@@ -99,6 +99,7 @@ export * from './add-user-provider-link-request';
|
|
99
99
|
export * from './add-user-request';
|
100
100
|
export * from './add-webhook-request';
|
101
101
|
export * from './additional-base-organization-item-info';
|
102
|
+
export * from './additional-data';
|
102
103
|
export * from './additional-merge-person-info';
|
103
104
|
export * from './additional-person-info';
|
104
105
|
export * from './base-deal';
|
@@ -411,7 +412,6 @@ export * from './get-note-fields-response-all-of-data-inner-all-of';
|
|
411
412
|
export * from './get-note-fields-response-all-of-data-inner-all-of-options-inner';
|
412
413
|
export * from './get-notes-response';
|
413
414
|
export * from './get-notes-response-additional-data';
|
414
|
-
export * from './get-notes-response-additional-data-pagination';
|
415
415
|
export * from './get-organization-item';
|
416
416
|
export * from './get-organization-item-all-of';
|
417
417
|
export * from './get-organization-relationship-response';
|
@@ -115,6 +115,7 @@ __exportStar(require("./add-user-provider-link-request"), exports);
|
|
115
115
|
__exportStar(require("./add-user-request"), exports);
|
116
116
|
__exportStar(require("./add-webhook-request"), exports);
|
117
117
|
__exportStar(require("./additional-base-organization-item-info"), exports);
|
118
|
+
__exportStar(require("./additional-data"), exports);
|
118
119
|
__exportStar(require("./additional-merge-person-info"), exports);
|
119
120
|
__exportStar(require("./additional-person-info"), exports);
|
120
121
|
__exportStar(require("./base-deal"), exports);
|
@@ -427,7 +428,6 @@ __exportStar(require("./get-note-fields-response-all-of-data-inner-all-of"), exp
|
|
427
428
|
__exportStar(require("./get-note-fields-response-all-of-data-inner-all-of-options-inner"), exports);
|
428
429
|
__exportStar(require("./get-notes-response"), exports);
|
429
430
|
__exportStar(require("./get-notes-response-additional-data"), exports);
|
430
|
-
__exportStar(require("./get-notes-response-additional-data-pagination"), exports);
|
431
431
|
__exportStar(require("./get-organization-item"), exports);
|
432
432
|
__exportStar(require("./get-organization-item-all-of"), exports);
|
433
433
|
__exportStar(require("./get-organization-relationship-response"), exports);
|
@@ -32,10 +32,11 @@ export interface UserAccess {
|
|
32
32
|
'permission_set_id'?: string;
|
33
33
|
}
|
34
34
|
export declare const UserAccessAppConst: {
|
35
|
+
readonly global: "global";
|
35
36
|
readonly sales: "sales";
|
36
|
-
readonly projects: "projects";
|
37
37
|
readonly campaigns: "campaigns";
|
38
|
-
readonly
|
38
|
+
readonly projects: "projects";
|
39
39
|
readonly account_settings: "account_settings";
|
40
|
+
readonly partnership: "partnership";
|
40
41
|
};
|
41
42
|
export type UserAccessAppConst = typeof UserAccessAppConst[keyof typeof UserAccessAppConst];
|
@@ -15,9 +15,10 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.UserAccessAppConst = void 0;
|
17
17
|
exports.UserAccessAppConst = {
|
18
|
+
global: 'global',
|
18
19
|
sales: 'sales',
|
19
|
-
projects: 'projects',
|
20
20
|
campaigns: 'campaigns',
|
21
|
-
|
22
|
-
account_settings: 'account_settings'
|
21
|
+
projects: 'projects',
|
22
|
+
account_settings: 'account_settings',
|
23
|
+
partnership: 'partnership'
|
23
24
|
};
|
@@ -32,10 +32,11 @@ export interface UserAccess1 {
|
|
32
32
|
'permission_set_id'?: string;
|
33
33
|
}
|
34
34
|
export declare const UserAccess1AppConst: {
|
35
|
+
readonly global: "global";
|
35
36
|
readonly sales: "sales";
|
36
|
-
readonly projects: "projects";
|
37
37
|
readonly campaigns: "campaigns";
|
38
|
-
readonly
|
38
|
+
readonly projects: "projects";
|
39
39
|
readonly account_settings: "account_settings";
|
40
|
+
readonly partnership: "partnership";
|
40
41
|
};
|
41
42
|
export type UserAccess1AppConst = typeof UserAccess1AppConst[keyof typeof UserAccess1AppConst];
|
@@ -15,9 +15,10 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.UserAccess1AppConst = void 0;
|
17
17
|
exports.UserAccess1AppConst = {
|
18
|
+
global: 'global',
|
18
19
|
sales: 'sales',
|
19
|
-
projects: 'projects',
|
20
20
|
campaigns: 'campaigns',
|
21
|
-
|
22
|
-
account_settings: 'account_settings'
|
21
|
+
projects: 'projects',
|
22
|
+
account_settings: 'account_settings',
|
23
|
+
partnership: 'partnership'
|
23
24
|
};
|
@@ -43,6 +43,10 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
43
43
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
44
44
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
45
45
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
46
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
47
|
+
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
48
|
+
* @param {number} [person_id] If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
49
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
46
50
|
* @param {string} [updated_since] If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
47
51
|
* @param {string} [updated_until] If set, only activities with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
48
52
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -53,7 +57,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
|
|
53
57
|
|
54
58
|
* @throws {RequiredError}
|
55
59
|
*/
|
56
|
-
getActivities: (filter_id?: number, ids?: string, owner_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string) => Promise<RequestArgs>;
|
60
|
+
getActivities: (filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string) => Promise<RequestArgs>;
|
57
61
|
/**
|
58
62
|
* Returns the details of a specific activity.
|
59
63
|
* @summary Get details of an activity
|
@@ -100,6 +104,10 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
100
104
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
101
105
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
102
106
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
107
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
108
|
+
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
109
|
+
* @param {number} [person_id] If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
110
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
103
111
|
* @param {string} [updated_since] If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
104
112
|
* @param {string} [updated_until] If set, only activities with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
105
113
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -110,7 +118,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
|
|
110
118
|
|
111
119
|
* @throws {RequiredError}
|
112
120
|
*/
|
113
|
-
getActivities(filter_id?: number, ids?: string, owner_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
|
121
|
+
getActivities(filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
|
114
122
|
/**
|
115
123
|
* Returns the details of a specific activity.
|
116
124
|
* @summary Get details of an activity
|
@@ -226,6 +234,30 @@ export interface ActivitiesApiGetActivitiesRequest {
|
|
226
234
|
* @memberof ActivitiesApiGetActivities
|
227
235
|
*/
|
228
236
|
readonly owner_id?: number;
|
237
|
+
/**
|
238
|
+
* If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
239
|
+
* @type {number}
|
240
|
+
* @memberof ActivitiesApiGetActivities
|
241
|
+
*/
|
242
|
+
readonly deal_id?: number;
|
243
|
+
/**
|
244
|
+
* If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
245
|
+
* @type {string}
|
246
|
+
* @memberof ActivitiesApiGetActivities
|
247
|
+
*/
|
248
|
+
readonly lead_id?: string;
|
249
|
+
/**
|
250
|
+
* If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored.
|
251
|
+
* @type {number}
|
252
|
+
* @memberof ActivitiesApiGetActivities
|
253
|
+
*/
|
254
|
+
readonly person_id?: number;
|
255
|
+
/**
|
256
|
+
* If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
257
|
+
* @type {number}
|
258
|
+
* @memberof ActivitiesApiGetActivities
|
259
|
+
*/
|
260
|
+
readonly org_id?: number;
|
229
261
|
/**
|
230
262
|
* If set, only activities with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
231
263
|
* @type {string}
|
@@ -111,6 +111,10 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
111
111
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
112
112
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
113
113
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
114
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
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
|
+
* @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
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
114
118
|
* @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.
|
115
119
|
* @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.
|
116
120
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -121,7 +125,7 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
121
125
|
|
122
126
|
* @throws {RequiredError}
|
123
127
|
*/
|
124
|
-
getActivities: (filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) => __awaiter(this, void 0, void 0, function* () {
|
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* () {
|
125
129
|
const localVarPath = `/activities`;
|
126
130
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
127
131
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
@@ -146,6 +150,18 @@ const ActivitiesApiAxiosParamCreator = function (configuration) {
|
|
146
150
|
if (owner_id !== undefined) {
|
147
151
|
localVarQueryParameter['owner_id'] = owner_id;
|
148
152
|
}
|
153
|
+
if (deal_id !== undefined) {
|
154
|
+
localVarQueryParameter['deal_id'] = deal_id;
|
155
|
+
}
|
156
|
+
if (lead_id !== undefined) {
|
157
|
+
localVarQueryParameter['lead_id'] = lead_id;
|
158
|
+
}
|
159
|
+
if (person_id !== undefined) {
|
160
|
+
localVarQueryParameter['person_id'] = person_id;
|
161
|
+
}
|
162
|
+
if (org_id !== undefined) {
|
163
|
+
localVarQueryParameter['org_id'] = org_id;
|
164
|
+
}
|
149
165
|
if (updated_since !== undefined) {
|
150
166
|
localVarQueryParameter['updated_since'] = updated_since;
|
151
167
|
}
|
@@ -292,6 +308,10 @@ const ActivitiesApiFp = function (configuration) {
|
|
292
308
|
* @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
|
293
309
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
294
310
|
* @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
|
311
|
+
* @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
|
312
|
+
* @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
|
313
|
+
* @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
|
+
* @param {number} [org_id] If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
295
315
|
* @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.
|
296
316
|
* @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.
|
297
317
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
@@ -302,9 +322,9 @@ const ActivitiesApiFp = function (configuration) {
|
|
302
322
|
|
303
323
|
* @throws {RequiredError}
|
304
324
|
*/
|
305
|
-
getActivities(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor) {
|
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) {
|
306
326
|
return __awaiter(this, void 0, void 0, function* () {
|
307
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, limit, cursor);
|
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);
|
308
328
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
309
329
|
});
|
310
330
|
},
|
@@ -374,7 +394,7 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
374
394
|
* @throws {RequiredError}
|
375
395
|
*/
|
376
396
|
getActivities(requestParameters = {}) {
|
377
|
-
return localVarFp.getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
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));
|
378
398
|
},
|
379
399
|
/**
|
380
400
|
* Returns the details of a specific activity.
|
@@ -437,7 +457,7 @@ class ActivitiesApi extends base_1.BaseAPI {
|
|
437
457
|
* @memberof ActivitiesApi
|
438
458
|
*/
|
439
459
|
getActivities(requestParameters = {}) {
|
440
|
-
return (0, exports.ActivitiesApiFp)(this.configuration).getActivities(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
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));
|
441
461
|
}
|
442
462
|
/**
|
443
463
|
* Returns the details of a specific activity.
|