pipedrive 22.3.1-rc.2 → 22.3.1-rc.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -4
- package/README.md +29 -24
- package/api/activities-api.ts +1 -24
- package/api/activity-fields-api.ts +1 -24
- package/api/activity-types-api.ts +1 -21
- package/api/billing-api.ts +1 -24
- package/api/call-logs-api.ts +1 -24
- package/api/channels-api.ts +1 -24
- package/api/currencies-api.ts +1 -24
- package/api/deal-fields-api.ts +1 -24
- package/api/deals-api.ts +1 -24
- package/api/files-api.ts +1 -24
- package/api/filters-api.ts +1 -24
- package/api/goals-api.ts +1 -24
- package/api/item-search-api.ts +1 -24
- package/api/lead-labels-api.ts +1 -21
- package/api/lead-sources-api.ts +1 -24
- package/api/leads-api.ts +1 -24
- package/api/legacy-teams-api.ts +1 -24
- package/api/mailbox-api.ts +1 -24
- package/api/note-fields-api.ts +1 -24
- package/api/notes-api.ts +1 -21
- package/api/organization-fields-api.ts +1 -24
- package/api/organization-relationships-api.ts +1 -24
- package/api/organizations-api.ts +1 -24
- package/api/permission-sets-api.ts +1 -24
- package/api/person-fields-api.ts +1 -21
- package/api/persons-api.ts +1 -24
- package/api/pipelines-api.ts +1 -24
- package/api/product-fields-api.ts +1 -24
- package/api/products-api.ts +1 -24
- package/api/project-templates-api.ts +1 -24
- package/api/projects-api.ts +1 -24
- package/api/recents-api.ts +1 -24
- package/api/roles-api.ts +1 -24
- package/api/stages-api.ts +1 -24
- package/api/subscriptions-api.ts +1 -24
- package/api/tasks-api.ts +1 -24
- package/api/user-connections-api.ts +1 -24
- package/api/user-settings-api.ts +1 -24
- package/api/users-api.ts +1 -24
- package/api/webhooks-api.ts +1 -21
- package/base.ts +31 -0
- package/common.ts +0 -1
- package/configuration.ts +11 -2
- package/dist/api/activities-api.js +7 -30
- package/dist/api/activity-fields-api.js +1 -24
- package/dist/api/activity-types-api.js +0 -20
- package/dist/api/billing-api.js +1 -24
- package/dist/api/call-logs-api.js +5 -28
- package/dist/api/channels-api.js +4 -27
- package/dist/api/currencies-api.js +1 -24
- package/dist/api/deal-fields-api.js +6 -29
- package/dist/api/deals-api.js +28 -51
- package/dist/api/files-api.js +11 -34
- package/dist/api/filters-api.js +7 -30
- package/dist/api/goals-api.js +5 -28
- package/dist/api/item-search-api.js +2 -25
- package/dist/api/lead-labels-api.js +0 -20
- package/dist/api/lead-sources-api.js +1 -24
- package/dist/api/leads-api.js +7 -30
- package/dist/api/legacy-teams-api.js +8 -31
- package/dist/api/mailbox-api.js +7 -30
- package/dist/api/note-fields-api.js +1 -24
- package/dist/api/notes-api.js +0 -20
- package/dist/api/organization-fields-api.js +6 -29
- package/dist/api/organization-relationships-api.js +5 -28
- package/dist/api/organizations-api.js +19 -42
- package/dist/api/permission-sets-api.js +3 -26
- package/dist/api/person-fields-api.js +0 -20
- package/dist/api/persons-api.js +21 -44
- package/dist/api/pipelines-api.js +8 -31
- package/dist/api/product-fields-api.js +6 -29
- package/dist/api/products-api.js +12 -35
- package/dist/api/project-templates-api.js +4 -27
- package/dist/api/projects-api.js +14 -37
- package/dist/api/recents-api.js +1 -24
- package/dist/api/roles-api.js +12 -35
- package/dist/api/stages-api.js +7 -30
- package/dist/api/subscriptions-api.js +9 -32
- package/dist/api/tasks-api.js +5 -28
- package/dist/api/user-connections-api.js +1 -24
- package/dist/api/user-settings-api.js +1 -24
- package/dist/api/users-api.js +10 -33
- package/dist/api/webhooks-api.js +0 -20
- package/dist/base.js +26 -0
- package/dist/common.d.ts +0 -1
- package/dist/common.js +1 -2
- package/dist/configuration.d.ts +1 -0
- package/dist/configuration.js +8 -2
- package/dist/esm/api/activities-api.js +0 -23
- package/dist/esm/api/activity-fields-api.js +0 -23
- package/dist/esm/api/activity-types-api.js +0 -20
- package/dist/esm/api/billing-api.js +0 -23
- package/dist/esm/api/call-logs-api.js +0 -23
- package/dist/esm/api/channels-api.js +0 -23
- package/dist/esm/api/currencies-api.js +0 -23
- package/dist/esm/api/deal-fields-api.js +0 -23
- package/dist/esm/api/deals-api.js +0 -23
- package/dist/esm/api/files-api.js +0 -23
- package/dist/esm/api/filters-api.js +0 -23
- package/dist/esm/api/goals-api.js +0 -23
- package/dist/esm/api/item-search-api.js +0 -23
- package/dist/esm/api/lead-labels-api.js +0 -20
- package/dist/esm/api/lead-sources-api.js +0 -23
- package/dist/esm/api/leads-api.js +0 -23
- package/dist/esm/api/legacy-teams-api.js +0 -23
- package/dist/esm/api/mailbox-api.js +0 -23
- package/dist/esm/api/note-fields-api.js +0 -23
- package/dist/esm/api/notes-api.js +0 -20
- package/dist/esm/api/organization-fields-api.js +0 -23
- package/dist/esm/api/organization-relationships-api.js +0 -23
- package/dist/esm/api/organizations-api.js +0 -23
- package/dist/esm/api/permission-sets-api.js +0 -23
- package/dist/esm/api/person-fields-api.js +0 -20
- package/dist/esm/api/persons-api.js +0 -23
- package/dist/esm/api/pipelines-api.js +0 -23
- package/dist/esm/api/product-fields-api.js +0 -23
- package/dist/esm/api/products-api.js +0 -23
- package/dist/esm/api/project-templates-api.js +0 -23
- package/dist/esm/api/projects-api.js +0 -23
- package/dist/esm/api/recents-api.js +0 -23
- package/dist/esm/api/roles-api.js +0 -23
- package/dist/esm/api/stages-api.js +0 -23
- package/dist/esm/api/subscriptions-api.js +0 -23
- package/dist/esm/api/tasks-api.js +0 -23
- package/dist/esm/api/user-connections-api.js +0 -23
- package/dist/esm/api/user-settings-api.js +0 -23
- package/dist/esm/api/users-api.js +0 -23
- package/dist/esm/api/webhooks-api.js +0 -20
- package/dist/esm/base.js +26 -0
- package/dist/esm/common.d.ts +0 -1
- package/dist/esm/common.js +0 -1
- package/dist/esm/configuration.d.ts +1 -0
- package/dist/esm/configuration.js +8 -2
- package/docs/AddWebhookRequest.md +1 -1
- package/docs/BasicDeal.md +3 -0
- package/docs/CallLogObject.md +2 -1
- package/docs/DealParticipantsChangelog.md +12 -0
- package/docs/DealsApi.md +74 -8
- package/docs/FiltersApi.md +4 -1
- package/docs/GetDeal.md +1 -1
- package/docs/GetDealRelatedObjects.md +11 -0
- package/docs/GetDealsRelatedObjects.md +3 -3
- package/docs/ItemSearchApi.md +2 -2
- package/docs/LeadsApi.md +4 -1
- package/docs/MailboxApi.md +2 -2
- package/docs/MeetingsApi.md +118 -0
- package/docs/NewDeal.md +3 -0
- package/docs/OrganizationsApi.md +10 -4
- package/docs/ParticipantsChangelog.md +11 -0
- package/docs/ParticipantsChangelogItem.md +12 -0
- package/docs/PersonsApi.md +14 -5
- package/docs/PostDealParticipants.md +1 -1
- package/docs/PostDealParticipantsRelatedObjects.md +10 -0
- package/docs/ProductsApi.md +2 -2
- package/docs/RecentsApi.md +2 -2
- package/docs/ResponseCallLogObject.md +2 -1
- package/docs/UpdateDealRequest.md +3 -0
- package/docs/UserProviderLinkCreateRequest.md +12 -0
- package/docs/UserProviderLinkErrorResponse.md +10 -0
- package/docs/UserProviderLinkSuccessResponse.md +10 -0
- package/docs/UserProviderLinkSuccessResponseData.md +9 -0
- package/docs/UsersApi.md +2 -2
- package/migration.md +309 -0
- package/package.json +3 -3
- package/src/api/MeetingsApi.js +181 -0
- package/src/model/GetDealRelatedObjects.js +101 -0
- package/src/model/PostDealParticipantsRelatedObjects.js +90 -0
- package/src/model/UserProviderLinkCreateRequest.js +120 -0
- package/src/model/UserProviderLinkErrorResponse.js +90 -0
- package/src/model/UserProviderLinkSuccessResponse.js +90 -0
- package/src/model/UserProviderLinkSuccessResponseData.js +79 -0
- package/test/functional/access-token.test.js +5 -5
- package/test/functional/authorisation.test.js +5 -8
@@ -0,0 +1,118 @@
|
|
1
|
+
# Pipedrive.MeetingsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.pipedrive.com/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**deleteUserProviderLink**](MeetingsApi.md#deleteUserProviderLink) | **DELETE** /meetings/userProviderLinks/{id} | Delete the link between a user and the installed video call integration
|
8
|
+
[**saveUserProviderLink**](MeetingsApi.md#saveUserProviderLink) | **POST** /meetings/userProviderLinks | Link a user with the installed video call integration
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## deleteUserProviderLink
|
13
|
+
|
14
|
+
> UserProviderLinkSuccessResponse deleteUserProviderLink(id)
|
15
|
+
|
16
|
+
Delete the link between a user and the installed video call integration
|
17
|
+
|
18
|
+
A video calling provider must call this endpoint to remove the link between a user and the installed video calling app.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```javascript
|
23
|
+
import Pipedrive from 'pipedrive';
|
24
|
+
let apiClient = new Pipedrive.ApiClient();
|
25
|
+
// Configure API key authorization: api_key
|
26
|
+
let api_key = apiClient.authentications['api_key'];
|
27
|
+
api_key.apiKey = 'YOUR API KEY';
|
28
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
29
|
+
//api_key.apiKeyPrefix = 'Token';
|
30
|
+
// Configure OAuth2 access token for authorization: oauth2
|
31
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
32
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
33
|
+
|
34
|
+
let apiInstance = new Pipedrive.MeetingsApi(apiClient);
|
35
|
+
let id = "id_example"; // String | Unique identifier linking a user to the installed integration
|
36
|
+
apiInstance.deleteUserProviderLink(id).then((data) => {
|
37
|
+
console.log('API called successfully. Returned data: ' + data);
|
38
|
+
}, (error) => {
|
39
|
+
console.error(error);
|
40
|
+
});
|
41
|
+
|
42
|
+
```
|
43
|
+
|
44
|
+
### Parameters
|
45
|
+
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**id** | **String**| Unique identifier linking a user to the installed integration |
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
[**UserProviderLinkSuccessResponse**](UserProviderLinkSuccessResponse.md)
|
54
|
+
|
55
|
+
### Authorization
|
56
|
+
|
57
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
58
|
+
|
59
|
+
### HTTP request headers
|
60
|
+
|
61
|
+
- **Content-Type**: Not defined
|
62
|
+
- **Accept**: application/json
|
63
|
+
|
64
|
+
|
65
|
+
## saveUserProviderLink
|
66
|
+
|
67
|
+
> UserProviderLinkSuccessResponse saveUserProviderLink(opts)
|
68
|
+
|
69
|
+
Link a user with the installed video call integration
|
70
|
+
|
71
|
+
A video calling provider must call this endpoint after a user has installed the video calling app so that the new user's information is sent.
|
72
|
+
|
73
|
+
### Example
|
74
|
+
|
75
|
+
```javascript
|
76
|
+
import Pipedrive from 'pipedrive';
|
77
|
+
let apiClient = new Pipedrive.ApiClient();
|
78
|
+
// Configure API key authorization: api_key
|
79
|
+
let api_key = apiClient.authentications['api_key'];
|
80
|
+
api_key.apiKey = 'YOUR API KEY';
|
81
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
82
|
+
//api_key.apiKeyPrefix = 'Token';
|
83
|
+
// Configure OAuth2 access token for authorization: oauth2
|
84
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
85
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
86
|
+
|
87
|
+
let apiInstance = new Pipedrive.MeetingsApi(apiClient);
|
88
|
+
let opts = Pipedrive.UserProviderLinkCreateRequest.constructFromObject({
|
89
|
+
// Properties that you want to update
|
90
|
+
});
|
91
|
+
apiInstance.saveUserProviderLink(opts).then((data) => {
|
92
|
+
console.log('API called successfully. Returned data: ' + data);
|
93
|
+
}, (error) => {
|
94
|
+
console.error(error);
|
95
|
+
});
|
96
|
+
|
97
|
+
```
|
98
|
+
|
99
|
+
### Parameters
|
100
|
+
|
101
|
+
|
102
|
+
Name | Type | Description | Notes
|
103
|
+
------------- | ------------- | ------------- | -------------
|
104
|
+
**userProviderLinkCreateRequest** | [**UserProviderLinkCreateRequest**](UserProviderLinkCreateRequest.md)| | [optional]
|
105
|
+
|
106
|
+
### Return type
|
107
|
+
|
108
|
+
[**UserProviderLinkSuccessResponse**](UserProviderLinkSuccessResponse.md)
|
109
|
+
|
110
|
+
### Authorization
|
111
|
+
|
112
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
113
|
+
|
114
|
+
### HTTP request headers
|
115
|
+
|
116
|
+
- **Content-Type**: application/json
|
117
|
+
- **Accept**: application/json
|
118
|
+
|
package/docs/NewDeal.md
CHANGED
@@ -15,6 +15,9 @@ Name | Type | Description | Notes
|
|
15
15
|
**stageId** | **Number** | The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`. If omitted, the deal will be placed in the first stage of the default pipeline. | [optional]
|
16
16
|
**status** | **String** | open = Open, won = Won, lost = Lost, deleted = Deleted. If omitted, status will be set to open. | [optional]
|
17
17
|
**addTime** | **String** | The optional creation date & time of the deal in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS | [optional]
|
18
|
+
**wonTime** | **String** | The optional date and time of changing the deal status as won in UTC. Format: YYYY-MM-DD HH:MM:SS. Can be set only when deal `status` is already Won. Can not be used together with `lost_time`. | [optional]
|
19
|
+
**lostTime** | **String** | The optional date and time of changing the deal status as lost in UTC. Format: YYYY-MM-DD HH:MM:SS. Can be set only when deal `status` is already Lost. Can not be used together with `won_time`. | [optional]
|
20
|
+
**closeTime** | **String** | The optional date and time of closing the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. | [optional]
|
18
21
|
**expectedCloseDate** | **Date** | The expected close date of the deal. In ISO 8601 format: YYYY-MM-DD. | [optional]
|
19
22
|
**probability** | **Number** | The success probability percentage of the deal. Used/shown only when `deal_probability` for the pipeline of the deal is enabled. | [optional]
|
20
23
|
**lostReason** | **String** | The optional message about why the deal was lost (to be used when status = lost) | [optional]
|
package/docs/OrganizationsApi.md
CHANGED
@@ -209,6 +209,9 @@ let api_key = apiClient.authentications['api_key'];
|
|
209
209
|
api_key.apiKey = 'YOUR API KEY';
|
210
210
|
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
211
211
|
//api_key.apiKeyPrefix = 'Token';
|
212
|
+
// Configure OAuth2 access token for authorization: oauth2
|
213
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
214
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
212
215
|
|
213
216
|
let apiInstance = new Pipedrive.OrganizationsApi(apiClient);
|
214
217
|
let id = 56; // Number | The ID of the organization
|
@@ -235,7 +238,7 @@ Name | Type | Description | Notes
|
|
235
238
|
|
236
239
|
### Authorization
|
237
240
|
|
238
|
-
[api_key](../README.md#api_key)
|
241
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
239
242
|
|
240
243
|
### HTTP request headers
|
241
244
|
|
@@ -737,7 +740,7 @@ let opts = {
|
|
737
740
|
'start': 0, // Number | Pagination start
|
738
741
|
'limit': 56, // Number | Items shown per page
|
739
742
|
'allChanges': "allChanges_example", // String | Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns changes without custom field updates.
|
740
|
-
'items': "items_example" // String | A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document)
|
743
|
+
'items': "items_example" // String | A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document).
|
741
744
|
};
|
742
745
|
apiInstance.getOrganizationUpdates(id, opts).then((data) => {
|
743
746
|
console.log('API called successfully. Returned data: ' + data);
|
@@ -756,7 +759,7 @@ Name | Type | Description | Notes
|
|
756
759
|
**start** | **Number**| Pagination start | [optional] [default to 0]
|
757
760
|
**limit** | **Number**| Items shown per page | [optional]
|
758
761
|
**allChanges** | **String**| Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns changes without custom field updates. | [optional]
|
759
|
-
**items** | **String**| A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document) | [optional]
|
762
|
+
**items** | **String**| A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document). | [optional]
|
760
763
|
|
761
764
|
### Return type
|
762
765
|
|
@@ -790,6 +793,9 @@ let api_key = apiClient.authentications['api_key'];
|
|
790
793
|
api_key.apiKey = 'YOUR API KEY';
|
791
794
|
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
792
795
|
//api_key.apiKeyPrefix = 'Token';
|
796
|
+
// Configure OAuth2 access token for authorization: oauth2
|
797
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
798
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
793
799
|
|
794
800
|
let apiInstance = new Pipedrive.OrganizationsApi(apiClient);
|
795
801
|
let id = 56; // Number | The ID of the organization
|
@@ -814,7 +820,7 @@ Name | Type | Description | Notes
|
|
814
820
|
|
815
821
|
### Authorization
|
816
822
|
|
817
|
-
[api_key](../README.md#api_key)
|
823
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
818
824
|
|
819
825
|
### HTTP request headers
|
820
826
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Pipedrive.ParticipantsChangelog
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**success** | **Boolean** | If the request was successful or not | [optional]
|
8
|
+
**data** | [**[ParticipantsChangelogItem]**](ParticipantsChangelogItem.md) | The array of participant changelog | [optional]
|
9
|
+
**additionalData** | [**AdditionalData**](AdditionalData.md) | | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Pipedrive.ParticipantsChangelogItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**actorUserId** | **Number** | The ID of the user | [optional]
|
8
|
+
**personId** | **Number** | The ID of the person | [optional]
|
9
|
+
**action** | **String** | Deal participant action type | [optional]
|
10
|
+
**time** | **String** | The deal participant action log time | [optional]
|
11
|
+
|
12
|
+
|
package/docs/PersonsApi.md
CHANGED
@@ -276,6 +276,9 @@ let api_key = apiClient.authentications['api_key'];
|
|
276
276
|
api_key.apiKey = 'YOUR API KEY';
|
277
277
|
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
278
278
|
//api_key.apiKeyPrefix = 'Token';
|
279
|
+
// Configure OAuth2 access token for authorization: oauth2
|
280
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
281
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
279
282
|
|
280
283
|
let apiInstance = new Pipedrive.PersonsApi(apiClient);
|
281
284
|
let id = 56; // Number | The ID of the person
|
@@ -302,7 +305,7 @@ Name | Type | Description | Notes
|
|
302
305
|
|
303
306
|
### Authorization
|
304
307
|
|
305
|
-
[api_key](../README.md#api_key)
|
308
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
306
309
|
|
307
310
|
### HTTP request headers
|
308
311
|
|
@@ -786,6 +789,9 @@ let api_key = apiClient.authentications['api_key'];
|
|
786
789
|
api_key.apiKey = 'YOUR API KEY';
|
787
790
|
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
788
791
|
//api_key.apiKeyPrefix = 'Token';
|
792
|
+
// Configure OAuth2 access token for authorization: oauth2
|
793
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
794
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
789
795
|
|
790
796
|
let apiInstance = new Pipedrive.PersonsApi(apiClient);
|
791
797
|
let id = 56; // Number | The ID of the person
|
@@ -816,7 +822,7 @@ Name | Type | Description | Notes
|
|
816
822
|
|
817
823
|
### Authorization
|
818
824
|
|
819
|
-
[api_key](../README.md#api_key)
|
825
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
820
826
|
|
821
827
|
### HTTP request headers
|
822
828
|
|
@@ -852,7 +858,7 @@ let opts = {
|
|
852
858
|
'start': 0, // Number | Pagination start
|
853
859
|
'limit': 56, // Number | Items shown per page
|
854
860
|
'allChanges': "allChanges_example", // String | Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
855
|
-
'items': "items_example" // String | A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change)
|
861
|
+
'items': "items_example" // String | A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
|
856
862
|
};
|
857
863
|
apiInstance.getPersonUpdates(id, opts).then((data) => {
|
858
864
|
console.log('API called successfully. Returned data: ' + data);
|
@@ -871,7 +877,7 @@ Name | Type | Description | Notes
|
|
871
877
|
**start** | **Number**| Pagination start | [optional] [default to 0]
|
872
878
|
**limit** | **Number**| Items shown per page | [optional]
|
873
879
|
**allChanges** | **String**| Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates. | [optional]
|
874
|
-
**items** | **String**| A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change) | [optional]
|
880
|
+
**items** | **String**| A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change). | [optional]
|
875
881
|
|
876
882
|
### Return type
|
877
883
|
|
@@ -905,6 +911,9 @@ let api_key = apiClient.authentications['api_key'];
|
|
905
911
|
api_key.apiKey = 'YOUR API KEY';
|
906
912
|
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
907
913
|
//api_key.apiKeyPrefix = 'Token';
|
914
|
+
// Configure OAuth2 access token for authorization: oauth2
|
915
|
+
let oauth2 = apiClient.authentications['oauth2'];
|
916
|
+
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
908
917
|
|
909
918
|
let apiInstance = new Pipedrive.PersonsApi(apiClient);
|
910
919
|
let id = 56; // Number | The ID of the person
|
@@ -929,7 +938,7 @@ Name | Type | Description | Notes
|
|
929
938
|
|
930
939
|
### Authorization
|
931
940
|
|
932
|
-
[api_key](../README.md#api_key)
|
941
|
+
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
|
933
942
|
|
934
943
|
### HTTP request headers
|
935
944
|
|
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**success** | **Boolean** | If the request was successful or not | [optional]
|
8
8
|
**data** | [**PersonItem**](PersonItem.md) | The object of participant | [optional]
|
9
|
-
**relatedObjects** | [**
|
9
|
+
**relatedObjects** | [**PostDealParticipantsRelatedObjects**](PostDealParticipantsRelatedObjects.md) | | [optional]
|
10
10
|
|
11
11
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Pipedrive.PostDealParticipantsRelatedObjects
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**user** | [**RelatedUserData**](RelatedUserData.md) | | [optional]
|
8
|
+
**person** | [**RelatedPersonDataWithActiveFlag**](RelatedPersonDataWithActiveFlag.md) | | [optional]
|
9
|
+
|
10
|
+
|
package/docs/ProductsApi.md
CHANGED
@@ -380,7 +380,7 @@ let id = 56; // Number | The ID of the product
|
|
380
380
|
let opts = {
|
381
381
|
'start': 0, // Number | Pagination start
|
382
382
|
'limit': 56, // Number | Items shown per page
|
383
|
-
'sort': "sort_example" // String | The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id
|
383
|
+
'sort': "sort_example" // String | The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id`.
|
384
384
|
};
|
385
385
|
apiInstance.getProductFiles(id, opts).then((data) => {
|
386
386
|
console.log('API called successfully. Returned data: ' + data);
|
@@ -398,7 +398,7 @@ Name | Type | Description | Notes
|
|
398
398
|
**id** | **Number**| The ID of the product |
|
399
399
|
**start** | **Number**| Pagination start | [optional] [default to 0]
|
400
400
|
**limit** | **Number**| Items shown per page | [optional]
|
401
|
-
**sort** | **String**| The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id`
|
401
|
+
**sort** | **String**| The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id`. | [optional]
|
402
402
|
|
403
403
|
### Return type
|
404
404
|
|
package/docs/RecentsApi.md
CHANGED
@@ -31,7 +31,7 @@ let oauth2 = apiClient.authentications['oauth2'];
|
|
31
31
|
oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
32
32
|
|
33
33
|
let apiInstance = new Pipedrive.RecentsApi(apiClient);
|
34
|
-
let sinceTimestamp = "sinceTimestamp_example"; // String | The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS
|
34
|
+
let sinceTimestamp = "sinceTimestamp_example"; // String | The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS.
|
35
35
|
let opts = {
|
36
36
|
'items': "items_example", // String | Multiple selection of item types to include in the query (optional)
|
37
37
|
'start': 0, // Number | Pagination start
|
@@ -50,7 +50,7 @@ apiInstance.getRecents(sinceTimestamp, opts).then((data) => {
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**sinceTimestamp** | **String**| The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS |
|
53
|
+
**sinceTimestamp** | **String**| The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS. |
|
54
54
|
**items** | **String**| Multiple selection of item types to include in the query (optional) | [optional]
|
55
55
|
**start** | **Number**| Pagination start | [optional] [default to 0]
|
56
56
|
**limit** | **Number**| Items shown per page | [optional]
|
@@ -15,7 +15,8 @@ Name | Type | Description | Notes
|
|
15
15
|
**endTime** | **Date** | The date and time of the end of the call in UTC. Format: YYYY-MM-DD HH:MM:SS. |
|
16
16
|
**personId** | **Number** | The ID of the person this call is associated with | [optional]
|
17
17
|
**orgId** | **Number** | The ID of the organization this call is associated with | [optional]
|
18
|
-
**dealId** | **Number** | The ID of the deal this call is associated with | [optional]
|
18
|
+
**dealId** | **Number** | The ID of the deal this call is associated with. A call log can be associated with either a deal or a lead, but not both at once. | [optional]
|
19
|
+
**leadId** | **String** | The ID of the lead in the UUID format this call is associated with. A call log can be associated with either a deal or a lead, but not both at once. | [optional]
|
19
20
|
**note** | **String** | The note for the call log in HTML format | [optional]
|
20
21
|
**id** | **String** | The call log ID, generated when the call log was created | [optional]
|
21
22
|
**hasRecording** | **Boolean** | If the call log has an audio recording attached, the value should be true | [optional]
|
@@ -14,6 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
**pipelineId** | **Number** | The ID of the pipeline this deal will be added to. By default, the deal will be added to the first stage of the specified pipeline. Please note that `pipeline_id` and `stage_id` should not be used together as `pipeline_id` will be ignored. | [optional]
|
15
15
|
**stageId** | **Number** | The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`. | [optional]
|
16
16
|
**status** | **String** | open = Open, won = Won, lost = Lost, deleted = Deleted. | [optional]
|
17
|
+
**wonTime** | **String** | The optional date and time of changing the deal status as won in UTC. Format: YYYY-MM-DD HH:MM:SS. Can be set only when deal `status` is already Won. Can not be used together with `lost_time`. | [optional]
|
18
|
+
**lostTime** | **String** | The optional date and time of changing the deal status as lost in UTC. Format: YYYY-MM-DD HH:MM:SS. Can be set only when deal `status` is already Lost. Can not be used together with `won_time`. | [optional]
|
19
|
+
**closeTime** | **String** | The optional date and time of closing the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. | [optional]
|
17
20
|
**expectedCloseDate** | **Date** | The expected close date of the deal. In ISO 8601 format: YYYY-MM-DD. | [optional]
|
18
21
|
**probability** | **Number** | The success probability percentage of the deal. Used/shown only when `deal_probability` for the pipeline of the deal is enabled. | [optional]
|
19
22
|
**lostReason** | **String** | The optional message about why the deal was lost (to be used when status = lost) | [optional]
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Pipedrive.UserProviderLinkCreateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**userProviderId** | **String** | Unique identifier linking a user to the installed integration. Generated by the integration. |
|
8
|
+
**userId** | **Number** | Pipedrive user ID |
|
9
|
+
**companyId** | **Number** | Pipedrive company ID |
|
10
|
+
**marketplaceClientId** | **String** | Pipedrive Marketplace client ID of the installed integration |
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Pipedrive.UserProviderLinkErrorResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**success** | **Boolean** | Boolean that indicates whether the request was successful or not | [optional]
|
8
|
+
**message** | **String** | The error message of the request | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Pipedrive.UserProviderLinkSuccessResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**success** | **Boolean** | Boolean that indicates whether the request was successful or not | [optional]
|
8
|
+
**data** | [**UserProviderLinkSuccessResponseData**](UserProviderLinkSuccessResponseData.md) | | [optional]
|
9
|
+
|
10
|
+
|
package/docs/UsersApi.md
CHANGED
@@ -97,7 +97,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
|
|
97
97
|
let apiInstance = new Pipedrive.UsersApi(apiClient);
|
98
98
|
let term = "term_example"; // String | The search term to look for
|
99
99
|
let opts = {
|
100
|
-
'searchByEmail': new Pipedrive.NumberBooleanDefault0() // NumberBooleanDefault0 | When enabled, the term will only be matched against email addresses of users. Default: `false
|
100
|
+
'searchByEmail': new Pipedrive.NumberBooleanDefault0() // NumberBooleanDefault0 | When enabled, the term will only be matched against email addresses of users. Default: `false`.
|
101
101
|
};
|
102
102
|
apiInstance.findUsersByName(term, opts).then((data) => {
|
103
103
|
console.log('API called successfully. Returned data: ' + data);
|
@@ -113,7 +113,7 @@ apiInstance.findUsersByName(term, opts).then((data) => {
|
|
113
113
|
Name | Type | Description | Notes
|
114
114
|
------------- | ------------- | ------------- | -------------
|
115
115
|
**term** | **String**| The search term to look for |
|
116
|
-
**searchByEmail** | [**NumberBooleanDefault0**](.md)| When enabled, the term will only be matched against email addresses of users. Default: `false`
|
116
|
+
**searchByEmail** | [**NumberBooleanDefault0**](.md)| When enabled, the term will only be matched against email addresses of users. Default: `false`. | [optional]
|
117
117
|
|
118
118
|
### Return type
|
119
119
|
|