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.
Files changed (213) hide show
  1. package/dist/esm/versions/v1/api/activities-api.d.ts +40 -40
  2. package/dist/esm/versions/v1/api/activities-api.js +47 -47
  3. package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
  5. package/dist/esm/versions/v1/api/billing-api.js +1 -1
  6. package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
  7. package/dist/esm/versions/v1/api/channels-api.js +4 -4
  8. package/dist/esm/versions/v1/api/currencies-api.js +1 -1
  9. package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
  10. package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
  11. package/dist/esm/versions/v1/api/deals-api.js +447 -118
  12. package/dist/esm/versions/v1/api/files-api.js +8 -8
  13. package/dist/esm/versions/v1/api/filters-api.js +7 -7
  14. package/dist/esm/versions/v1/api/goals-api.js +5 -5
  15. package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
  16. package/dist/esm/versions/v1/api/item-search-api.js +10 -10
  17. package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
  18. package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
  19. package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
  20. package/dist/esm/versions/v1/api/leads-api.js +114 -21
  21. package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
  22. package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
  23. package/dist/esm/versions/v1/api/meetings-api.js +2 -2
  24. package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
  25. package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
  26. package/dist/esm/versions/v1/api/notes-api.js +25 -15
  27. package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
  28. package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
  29. package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
  30. package/dist/esm/versions/v1/api/organizations-api.js +88 -88
  31. package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
  32. package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
  33. package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
  34. package/dist/esm/versions/v1/api/persons-api.js +78 -78
  35. package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
  36. package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
  37. package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
  38. package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
  39. package/dist/esm/versions/v1/api/products-api.js +36 -36
  40. package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
  41. package/dist/esm/versions/v1/api/projects-api.js +14 -14
  42. package/dist/esm/versions/v1/api/recents-api.js +1 -1
  43. package/dist/esm/versions/v1/api/roles-api.js +12 -12
  44. package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
  45. package/dist/esm/versions/v1/api/stages-api.js +43 -43
  46. package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
  47. package/dist/esm/versions/v1/api/tasks-api.js +5 -5
  48. package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
  49. package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
  50. package/dist/esm/versions/v1/api/users-api.js +10 -10
  51. package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
  52. package/dist/esm/versions/v1/base.d.ts +2 -3
  53. package/dist/esm/versions/v1/configuration.d.ts +2 -2
  54. package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  55. package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  56. package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
  57. package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  58. package/dist/esm/versions/v1/models/index.d.ts +1 -0
  59. package/dist/esm/versions/v1/models/index.js +1 -0
  60. package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
  61. package/dist/esm/versions/v1/models/note-project.js +14 -0
  62. package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
  63. package/dist/esm/versions/v1/models/note.d.ts +16 -0
  64. package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
  65. package/dist/esm/versions/v2/api/activities-api.js +17 -12
  66. package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
  67. package/dist/esm/versions/v2/api/beta-api.js +290 -4
  68. package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
  69. package/dist/esm/versions/v2/api/deals-api.js +311 -27
  70. package/dist/esm/versions/v2/api/item-search-api.js +2 -2
  71. package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
  72. package/dist/esm/versions/v2/api/leads-api.js +147 -2
  73. package/dist/esm/versions/v2/api/organizations-api.js +10 -10
  74. package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
  75. package/dist/esm/versions/v2/api/persons-api.js +18 -18
  76. package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
  77. package/dist/esm/versions/v2/api/products-api.js +15 -15
  78. package/dist/esm/versions/v2/api/stages-api.js +5 -5
  79. package/dist/esm/versions/v2/api/users-api.js +1 -1
  80. package/dist/esm/versions/v2/base.d.ts +2 -3
  81. package/dist/esm/versions/v2/configuration.d.ts +2 -2
  82. package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
  83. package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
  84. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  85. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
  86. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  87. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
  88. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  89. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
  90. package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
  91. package/dist/esm/versions/v2/models/add-person-request.js +6 -1
  92. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  93. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
  94. package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
  95. package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
  96. package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
  97. package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
  98. package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  99. package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
  100. package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
  101. package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
  102. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  103. package/dist/esm/versions/v2/models/index.d.ts +7 -0
  104. package/dist/esm/versions/v2/models/index.js +7 -0
  105. package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
  106. package/dist/esm/versions/v2/models/update-person-request.js +6 -1
  107. package/dist/versions/v1/api/activities-api.d.ts +40 -40
  108. package/dist/versions/v1/api/activities-api.js +47 -47
  109. package/dist/versions/v1/api/activity-fields-api.js +1 -1
  110. package/dist/versions/v1/api/activity-types-api.js +5 -5
  111. package/dist/versions/v1/api/billing-api.js +1 -1
  112. package/dist/versions/v1/api/call-logs-api.js +5 -5
  113. package/dist/versions/v1/api/channels-api.js +4 -4
  114. package/dist/versions/v1/api/currencies-api.js +1 -1
  115. package/dist/versions/v1/api/deal-fields-api.js +6 -6
  116. package/dist/versions/v1/api/deals-api.d.ts +410 -88
  117. package/dist/versions/v1/api/deals-api.js +447 -118
  118. package/dist/versions/v1/api/files-api.js +8 -8
  119. package/dist/versions/v1/api/filters-api.js +7 -7
  120. package/dist/versions/v1/api/goals-api.js +5 -5
  121. package/dist/versions/v1/api/item-search-api.d.ts +8 -8
  122. package/dist/versions/v1/api/item-search-api.js +10 -10
  123. package/dist/versions/v1/api/lead-labels-api.js +4 -4
  124. package/dist/versions/v1/api/lead-sources-api.js +1 -1
  125. package/dist/versions/v1/api/leads-api.d.ts +100 -14
  126. package/dist/versions/v1/api/leads-api.js +114 -21
  127. package/dist/versions/v1/api/legacy-teams-api.js +8 -8
  128. package/dist/versions/v1/api/mailbox-api.js +6 -6
  129. package/dist/versions/v1/api/meetings-api.js +2 -2
  130. package/dist/versions/v1/api/note-fields-api.js +1 -1
  131. package/dist/versions/v1/api/notes-api.d.ts +18 -2
  132. package/dist/versions/v1/api/notes-api.js +25 -15
  133. package/dist/versions/v1/api/organization-fields-api.js +6 -6
  134. package/dist/versions/v1/api/organization-relationships-api.js +5 -5
  135. package/dist/versions/v1/api/organizations-api.d.ts +68 -68
  136. package/dist/versions/v1/api/organizations-api.js +88 -88
  137. package/dist/versions/v1/api/permission-sets-api.js +3 -3
  138. package/dist/versions/v1/api/person-fields-api.js +6 -6
  139. package/dist/versions/v1/api/persons-api.d.ts +56 -56
  140. package/dist/versions/v1/api/persons-api.js +78 -78
  141. package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
  142. package/dist/versions/v1/api/pipelines-api.js +36 -36
  143. package/dist/versions/v1/api/product-fields-api.js +6 -6
  144. package/dist/versions/v1/api/products-api.d.ts +24 -24
  145. package/dist/versions/v1/api/products-api.js +36 -36
  146. package/dist/versions/v1/api/project-templates-api.js +4 -4
  147. package/dist/versions/v1/api/projects-api.js +14 -14
  148. package/dist/versions/v1/api/recents-api.js +1 -1
  149. package/dist/versions/v1/api/roles-api.js +12 -12
  150. package/dist/versions/v1/api/stages-api.d.ts +36 -36
  151. package/dist/versions/v1/api/stages-api.js +43 -43
  152. package/dist/versions/v1/api/subscriptions-api.js +9 -9
  153. package/dist/versions/v1/api/tasks-api.js +5 -5
  154. package/dist/versions/v1/api/user-connections-api.js +1 -1
  155. package/dist/versions/v1/api/user-settings-api.js +1 -1
  156. package/dist/versions/v1/api/users-api.js +10 -10
  157. package/dist/versions/v1/api/webhooks-api.js +3 -3
  158. package/dist/versions/v1/base.d.ts +2 -3
  159. package/dist/versions/v1/configuration.d.ts +2 -2
  160. package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  161. package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  162. package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
  163. package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  164. package/dist/versions/v1/models/index.d.ts +1 -0
  165. package/dist/versions/v1/models/index.js +1 -0
  166. package/dist/versions/v1/models/note-project.d.ts +23 -0
  167. package/dist/versions/v1/models/note-project.js +15 -0
  168. package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
  169. package/dist/versions/v1/models/note.d.ts +16 -0
  170. package/dist/versions/v2/api/activities-api.d.ts +15 -7
  171. package/dist/versions/v2/api/activities-api.js +17 -12
  172. package/dist/versions/v2/api/beta-api.d.ts +212 -0
  173. package/dist/versions/v2/api/beta-api.js +290 -4
  174. package/dist/versions/v2/api/deals-api.d.ts +272 -4
  175. package/dist/versions/v2/api/deals-api.js +311 -27
  176. package/dist/versions/v2/api/item-search-api.js +2 -2
  177. package/dist/versions/v2/api/leads-api.d.ts +111 -0
  178. package/dist/versions/v2/api/leads-api.js +146 -1
  179. package/dist/versions/v2/api/organizations-api.js +10 -10
  180. package/dist/versions/v2/api/persons-api.d.ts +8 -8
  181. package/dist/versions/v2/api/persons-api.js +18 -18
  182. package/dist/versions/v2/api/pipelines-api.js +5 -5
  183. package/dist/versions/v2/api/products-api.js +15 -15
  184. package/dist/versions/v2/api/stages-api.js +5 -5
  185. package/dist/versions/v2/api/users-api.js +1 -1
  186. package/dist/versions/v2/base.d.ts +2 -3
  187. package/dist/versions/v2/configuration.d.ts +2 -2
  188. package/dist/versions/v2/models/activity-item.d.ts +5 -0
  189. package/dist/versions/v2/models/activity-item1.d.ts +5 -0
  190. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  191. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
  192. package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  193. package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
  194. package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  195. package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
  196. package/dist/versions/v2/models/add-person-request.d.ts +12 -0
  197. package/dist/versions/v2/models/add-person-request.js +7 -0
  198. package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  199. package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
  200. package/dist/versions/v2/models/deal-item.d.ts +5 -0
  201. package/dist/versions/v2/models/deal-item1.d.ts +5 -0
  202. package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
  203. package/dist/versions/v2/models/get-convert-response.js +15 -0
  204. package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  205. package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
  206. package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
  207. package/dist/versions/v2/models/get-convert-response1.js +15 -0
  208. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  209. package/dist/versions/v2/models/index.d.ts +7 -0
  210. package/dist/versions/v2/models/index.js +7 -0
  211. package/dist/versions/v2/models/update-person-request.d.ts +12 -0
  212. package/dist/versions/v2/models/update-person-request.js +7 -0
  213. package/package.json +1 -1
@@ -60,7 +60,7 @@ const PermissionSetsApiAxiosParamCreator = function (configuration) {
60
60
  const localVarHeaderParameter = {};
61
61
  const localVarQueryParameter = {};
62
62
  // authentication api_key required
63
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
63
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
64
64
  // authentication oauth2 required
65
65
  // oauth required
66
66
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -96,7 +96,7 @@ const PermissionSetsApiAxiosParamCreator = function (configuration) {
96
96
  const localVarHeaderParameter = {};
97
97
  const localVarQueryParameter = {};
98
98
  // authentication api_key required
99
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
99
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
100
100
  // authentication oauth2 required
101
101
  // oauth required
102
102
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -133,7 +133,7 @@ const PermissionSetsApiAxiosParamCreator = function (configuration) {
133
133
  const localVarHeaderParameter = {};
134
134
  const localVarQueryParameter = {};
135
135
  // authentication api_key required
136
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
136
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
137
137
  // authentication oauth2 required
138
138
  // oauth required
139
139
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -57,7 +57,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
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", ["admin"], configuration);
@@ -93,7 +93,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
93
93
  const localVarHeaderParameter = {};
94
94
  const localVarQueryParameter = {};
95
95
  // authentication api_key required
96
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
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", ["admin"], configuration);
@@ -126,7 +126,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
126
126
  const localVarHeaderParameter = {};
127
127
  const localVarQueryParameter = {};
128
128
  // authentication api_key required
129
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
129
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
130
130
  // authentication oauth2 required
131
131
  // oauth required
132
132
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -163,7 +163,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
163
163
  const localVarHeaderParameter = {};
164
164
  const localVarQueryParameter = {};
165
165
  // authentication api_key required
166
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
166
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
167
167
  // authentication oauth2 required
168
168
  // oauth required
169
169
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "admin"], configuration);
@@ -195,7 +195,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
195
195
  const localVarHeaderParameter = {};
196
196
  const localVarQueryParameter = {};
197
197
  // authentication api_key required
198
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
198
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
199
199
  // authentication oauth2 required
200
200
  // oauth required
201
201
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "admin"], configuration);
@@ -236,7 +236,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
236
236
  const localVarHeaderParameter = {};
237
237
  const localVarQueryParameter = {};
238
238
  // authentication api_key required
239
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
239
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
240
240
  // authentication oauth2 required
241
241
  // oauth required
242
242
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -45,7 +45,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
45
45
  * Adds a new person. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the personFields and look for `key` values.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `data.marketing_status` field.
46
46
  * @summary Add a person
47
47
  * @param {AddPersonRequest} [AddPersonRequest]
48
-
48
+ * @deprecated
49
49
  * @throws {RequiredError}
50
50
  */
51
51
  addPerson: (AddPersonRequest?: AddPersonRequest) => Promise<RequestArgs>;
@@ -75,7 +75,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
75
75
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
76
76
  * @summary Delete a person
77
77
  * @param {number} id The ID of the person
78
-
78
+ * @deprecated
79
79
  * @throws {RequiredError}
80
80
  */
81
81
  deletePerson: (id: number) => Promise<RequestArgs>;
@@ -97,10 +97,10 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
97
97
  */
98
98
  deletePersonPicture: (id: number) => Promise<RequestArgs>;
99
99
  /**
100
- * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted.
100
+ * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#deletePerson\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/persons/{id}</a> instead.
101
101
  * @summary Delete multiple persons in bulk
102
102
  * @param {string} ids The comma-separated IDs that will be deleted
103
-
103
+ * @deprecated
104
104
  * @throws {RequiredError}
105
105
  */
106
106
  deletePersons: (ids: string) => Promise<RequestArgs>;
@@ -108,19 +108,19 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
108
108
  * Returns the details of a person. Note that this also returns some additional fields which are not present when asking for all persons. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of personFields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
109
109
  * @summary Get details of a person
110
110
  * @param {number} id The ID of the person
111
-
111
+ * @deprecated
112
112
  * @throws {RequiredError}
113
113
  */
114
114
  getPerson: (id: number) => Promise<RequestArgs>;
115
115
  /**
116
- * Lists activities associated with a person.
116
+ * Lists activities associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities?person_id={id}</a> instead.
117
117
  * @summary List activities associated with a person
118
118
  * @param {number} id The ID of the person
119
119
  * @param {number} [start] Pagination start
120
120
  * @param {number} [limit] Items shown per page
121
121
  * @param {0 | 1} [done] Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted, returns both Done and Not done activities.
122
122
  * @param {string} [exclude] A comma-separated string of activity IDs to exclude from result
123
-
123
+ * @deprecated
124
124
  * @throws {RequiredError}
125
125
  */
126
126
  getPersonActivities: (id: number, start?: number, limit?: number, done?: 0 | 1, exclude?: string) => Promise<RequestArgs>;
@@ -135,14 +135,14 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
135
135
  */
136
136
  getPersonChangelog: (id: number, cursor?: string, limit?: number) => Promise<RequestArgs>;
137
137
  /**
138
- * Lists deals associated with a person.
138
+ * Lists deals associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?person_id={id}</a> instead.
139
139
  * @summary List deals associated with a person
140
140
  * @param {number} id The ID of the person
141
141
  * @param {number} [start] Pagination start
142
142
  * @param {number} [limit] Items shown per page
143
143
  * @param {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
144
144
  * @param {string} [sort] The field names and sorting mode separated by a comma (&#x60;field_name_1 ASC&#x60;, &#x60;field_name_2 DESC&#x60;). Only first-level field keys are supported (no nested keys).
145
-
145
+ * @deprecated
146
146
  * @throws {RequiredError}
147
147
  */
148
148
  getPersonDeals: (id: number, start?: number, limit?: number, status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted', sort?: string) => Promise<RequestArgs>;
@@ -214,20 +214,20 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
214
214
  * @param {number} [start] Pagination start
215
215
  * @param {number} [limit] Items shown per page
216
216
  * @param {string} [sort] The field names and sorting mode separated by a comma (&#x60;field_name_1 ASC&#x60;, &#x60;field_name_2 DESC&#x60;). Only first-level field keys are supported (no nested keys).
217
-
217
+ * @deprecated
218
218
  * @throws {RequiredError}
219
219
  */
220
220
  getPersons: (user_id?: number, filter_id?: number, first_char?: string, start?: number, limit?: number, sort?: string) => Promise<RequestArgs>;
221
221
  /**
222
- * Returns all persons. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
223
- * @summary Get all persons (BETA)
222
+ * Returns all persons. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#getPersons\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/persons</a> instead.
223
+ * @summary Get all persons collection
224
224
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
225
225
  * @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.
226
226
  * @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
227
227
  * @param {string} [until] The time boundary that points to the end of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
228
228
  * @param {number} [owner_id] If supplied, only persons owned by the given user will be returned
229
229
  * @param {string} [first_char] If supplied, only persons whose name starts with the specified letter will be returned (case-insensitive)
230
-
230
+ * @deprecated
231
231
  * @throws {RequiredError}
232
232
  */
233
233
  getPersonsCollection: (cursor?: string, limit?: number, since?: string, until?: string, owner_id?: number, first_char?: string) => Promise<RequestArgs>;
@@ -250,7 +250,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
250
250
  * @param {'person.picture'} [include_fields] Supports including optional fields in the results which are not provided by default
251
251
  * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
252
252
  * @param {number} [limit] Items shown per page
253
-
253
+ * @deprecated
254
254
  * @throws {RequiredError}
255
255
  */
256
256
  searchPersons: (term: string, fields?: 'custom_fields' | 'email' | 'notes' | 'phone' | 'name', exact_match?: boolean, organization_id?: number, include_fields?: 'person.picture', start?: number, limit?: number) => Promise<RequestArgs>;
@@ -273,7 +273,7 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
273
273
  * Adds a new person. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the personFields and look for `key` values.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `data.marketing_status` field.
274
274
  * @summary Add a person
275
275
  * @param {AddPersonRequest} [AddPersonRequest]
276
-
276
+ * @deprecated
277
277
  * @throws {RequiredError}
278
278
  */
279
279
  addPerson(AddPersonRequest?: AddPersonRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddPersonResponse>>;
@@ -303,7 +303,7 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
303
303
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
304
304
  * @summary Delete a person
305
305
  * @param {number} id The ID of the person
306
-
306
+ * @deprecated
307
307
  * @throws {RequiredError}
308
308
  */
309
309
  deletePerson(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePersonResponse>>;
@@ -325,10 +325,10 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
325
325
  */
326
326
  deletePersonPicture(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePersonResponse>>;
327
327
  /**
328
- * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted.
328
+ * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#deletePerson\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/persons/{id}</a> instead.
329
329
  * @summary Delete multiple persons in bulk
330
330
  * @param {string} ids The comma-separated IDs that will be deleted
331
-
331
+ * @deprecated
332
332
  * @throws {RequiredError}
333
333
  */
334
334
  deletePersons(ids: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePersonsResponse>>;
@@ -336,19 +336,19 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
336
336
  * Returns the details of a person. Note that this also returns some additional fields which are not present when asking for all persons. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of personFields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
337
337
  * @summary Get details of a person
338
338
  * @param {number} id The ID of the person
339
-
339
+ * @deprecated
340
340
  * @throws {RequiredError}
341
341
  */
342
342
  getPerson(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPersonDetailsResponse>>;
343
343
  /**
344
- * Lists activities associated with a person.
344
+ * Lists activities associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities?person_id={id}</a> instead.
345
345
  * @summary List activities associated with a person
346
346
  * @param {number} id The ID of the person
347
347
  * @param {number} [start] Pagination start
348
348
  * @param {number} [limit] Items shown per page
349
349
  * @param {0 | 1} [done] Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted, returns both Done and Not done activities.
350
350
  * @param {string} [exclude] A comma-separated string of activity IDs to exclude from result
351
-
351
+ * @deprecated
352
352
  * @throws {RequiredError}
353
353
  */
354
354
  getPersonActivities(id: number, start?: number, limit?: number, done?: 0 | 1, exclude?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedActivitiesResponse>>;
@@ -363,14 +363,14 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
363
363
  */
364
364
  getPersonChangelog(id: number, cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetChangelogResponse>>;
365
365
  /**
366
- * Lists deals associated with a person.
366
+ * Lists deals associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?person_id={id}</a> instead.
367
367
  * @summary List deals associated with a person
368
368
  * @param {number} id The ID of the person
369
369
  * @param {number} [start] Pagination start
370
370
  * @param {number} [limit] Items shown per page
371
371
  * @param {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
372
372
  * @param {string} [sort] The field names and sorting mode separated by a comma (&#x60;field_name_1 ASC&#x60;, &#x60;field_name_2 DESC&#x60;). Only first-level field keys are supported (no nested keys).
373
-
373
+ * @deprecated
374
374
  * @throws {RequiredError}
375
375
  */
376
376
  getPersonDeals(id: number, start?: number, limit?: number, status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted', sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedDealsResponse>>;
@@ -442,20 +442,20 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
442
442
  * @param {number} [start] Pagination start
443
443
  * @param {number} [limit] Items shown per page
444
444
  * @param {string} [sort] The field names and sorting mode separated by a comma (&#x60;field_name_1 ASC&#x60;, &#x60;field_name_2 DESC&#x60;). Only first-level field keys are supported (no nested keys).
445
-
445
+ * @deprecated
446
446
  * @throws {RequiredError}
447
447
  */
448
448
  getPersons(user_id?: number, filter_id?: number, first_char?: string, start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPersonsResponse1>>;
449
449
  /**
450
- * Returns all persons. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
451
- * @summary Get all persons (BETA)
450
+ * Returns all persons. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#getPersons\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/persons</a> instead.
451
+ * @summary Get all persons collection
452
452
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
453
453
  * @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.
454
454
  * @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
455
455
  * @param {string} [until] The time boundary that points to the end of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
456
456
  * @param {number} [owner_id] If supplied, only persons owned by the given user will be returned
457
457
  * @param {string} [first_char] If supplied, only persons whose name starts with the specified letter will be returned (case-insensitive)
458
-
458
+ * @deprecated
459
459
  * @throws {RequiredError}
460
460
  */
461
461
  getPersonsCollection(cursor?: string, limit?: number, since?: string, until?: string, owner_id?: number, first_char?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPersonsCollection200Response>>;
@@ -478,7 +478,7 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
478
478
  * @param {'person.picture'} [include_fields] Supports including optional fields in the results which are not provided by default
479
479
  * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
480
480
  * @param {number} [limit] Items shown per page
481
-
481
+ * @deprecated
482
482
  * @throws {RequiredError}
483
483
  */
484
484
  searchPersons(term: string, fields?: 'custom_fields' | 'email' | 'notes' | 'phone' | 'name', exact_match?: boolean, organization_id?: number, include_fields?: 'person.picture', start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPersonSearchResponse>>;
@@ -501,7 +501,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
501
501
  * Adds a new person. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the personFields and look for `key` values.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `data.marketing_status` field.
502
502
  * @summary Add a person
503
503
  * @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
504
-
504
+ * @deprecated
505
505
  * @throws {RequiredError}
506
506
  */
507
507
  addPerson(requestParameters?: PersonsApiAddPersonRequest): Promise<AddPersonResponse>;
@@ -525,7 +525,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
525
525
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
526
526
  * @summary Delete a person
527
527
  * @param {PersonsApiDeletePersonRequest} requestParameters Request parameters.
528
-
528
+ * @deprecated
529
529
  * @throws {RequiredError}
530
530
  */
531
531
  deletePerson(requestParameters: PersonsApiDeletePersonRequest): Promise<DeletePersonResponse>;
@@ -546,10 +546,10 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
546
546
  */
547
547
  deletePersonPicture(requestParameters: PersonsApiDeletePersonPictureRequest): Promise<DeletePersonResponse>;
548
548
  /**
549
- * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted.
549
+ * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#deletePerson\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/persons/{id}</a> instead.
550
550
  * @summary Delete multiple persons in bulk
551
551
  * @param {PersonsApiDeletePersonsRequest} requestParameters Request parameters.
552
-
552
+ * @deprecated
553
553
  * @throws {RequiredError}
554
554
  */
555
555
  deletePersons(requestParameters: PersonsApiDeletePersonsRequest): Promise<DeletePersonsResponse>;
@@ -557,15 +557,15 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
557
557
  * Returns the details of a person. Note that this also returns some additional fields which are not present when asking for all persons. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of personFields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
558
558
  * @summary Get details of a person
559
559
  * @param {PersonsApiGetPersonRequest} requestParameters Request parameters.
560
-
560
+ * @deprecated
561
561
  * @throws {RequiredError}
562
562
  */
563
563
  getPerson(requestParameters: PersonsApiGetPersonRequest): Promise<GetPersonDetailsResponse>;
564
564
  /**
565
- * Lists activities associated with a person.
565
+ * Lists activities associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities?person_id={id}</a> instead.
566
566
  * @summary List activities associated with a person
567
567
  * @param {PersonsApiGetPersonActivitiesRequest} requestParameters Request parameters.
568
-
568
+ * @deprecated
569
569
  * @throws {RequiredError}
570
570
  */
571
571
  getPersonActivities(requestParameters: PersonsApiGetPersonActivitiesRequest): Promise<GetAssociatedActivitiesResponse>;
@@ -578,10 +578,10 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
578
578
  */
579
579
  getPersonChangelog(requestParameters: PersonsApiGetPersonChangelogRequest): Promise<GetChangelogResponse>;
580
580
  /**
581
- * Lists deals associated with a person.
581
+ * Lists deals associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?person_id={id}</a> instead.
582
582
  * @summary List deals associated with a person
583
583
  * @param {PersonsApiGetPersonDealsRequest} requestParameters Request parameters.
584
-
584
+ * @deprecated
585
585
  * @throws {RequiredError}
586
586
  */
587
587
  getPersonDeals(requestParameters: PersonsApiGetPersonDealsRequest): Promise<GetAssociatedDealsResponse>;
@@ -637,15 +637,15 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
637
637
  * Returns all persons.
638
638
  * @summary Get all persons
639
639
  * @param {PersonsApiGetPersonsRequest} requestParameters Request parameters.
640
-
640
+ * @deprecated
641
641
  * @throws {RequiredError}
642
642
  */
643
643
  getPersons(requestParameters?: PersonsApiGetPersonsRequest): Promise<GetPersonsResponse1>;
644
644
  /**
645
- * Returns all persons. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
646
- * @summary Get all persons (BETA)
645
+ * Returns all persons. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#getPersons\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/persons</a> instead.
646
+ * @summary Get all persons collection
647
647
  * @param {PersonsApiGetPersonsCollectionRequest} requestParameters Request parameters.
648
-
648
+ * @deprecated
649
649
  * @throws {RequiredError}
650
650
  */
651
651
  getPersonsCollection(requestParameters?: PersonsApiGetPersonsCollectionRequest): Promise<GetPersonsCollection200Response>;
@@ -661,7 +661,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
661
661
  * Searches all persons by name, email, phone, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found persons can be filtered by organization ID.
662
662
  * @summary Search persons
663
663
  * @param {PersonsApiSearchPersonsRequest} requestParameters Request parameters.
664
-
664
+ * @deprecated
665
665
  * @throws {RequiredError}
666
666
  */
667
667
  searchPersons(requestParameters: PersonsApiSearchPersonsRequest): Promise<GetPersonSearchResponse>;
@@ -1247,7 +1247,7 @@ export declare class PersonsApi extends BaseAPI {
1247
1247
  * Adds a new person. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the personFields and look for `key` values.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `data.marketing_status` field.
1248
1248
  * @summary Add a person
1249
1249
  * @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
1250
-
1250
+ * @deprecated
1251
1251
  * @throws {RequiredError}
1252
1252
  * @memberof PersonsApi
1253
1253
  */
@@ -1274,7 +1274,7 @@ export declare class PersonsApi extends BaseAPI {
1274
1274
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
1275
1275
  * @summary Delete a person
1276
1276
  * @param {PersonsApiDeletePersonRequest} requestParameters Request parameters.
1277
-
1277
+ * @deprecated
1278
1278
  * @throws {RequiredError}
1279
1279
  * @memberof PersonsApi
1280
1280
  */
@@ -1298,10 +1298,10 @@ export declare class PersonsApi extends BaseAPI {
1298
1298
  */
1299
1299
  deletePersonPicture(requestParameters: PersonsApiDeletePersonPictureRequest): Promise<DeletePersonResponse>;
1300
1300
  /**
1301
- * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted.
1301
+ * Marks multiple persons as deleted. After 30 days, the persons will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#deletePerson\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/persons/{id}</a> instead.
1302
1302
  * @summary Delete multiple persons in bulk
1303
1303
  * @param {PersonsApiDeletePersonsRequest} requestParameters Request parameters.
1304
-
1304
+ * @deprecated
1305
1305
  * @throws {RequiredError}
1306
1306
  * @memberof PersonsApi
1307
1307
  */
@@ -1310,16 +1310,16 @@ export declare class PersonsApi extends BaseAPI {
1310
1310
  * Returns the details of a person. Note that this also returns some additional fields which are not present when asking for all persons. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of personFields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
1311
1311
  * @summary Get details of a person
1312
1312
  * @param {PersonsApiGetPersonRequest} requestParameters Request parameters.
1313
-
1313
+ * @deprecated
1314
1314
  * @throws {RequiredError}
1315
1315
  * @memberof PersonsApi
1316
1316
  */
1317
1317
  getPerson(requestParameters: PersonsApiGetPersonRequest): Promise<GetPersonDetailsResponse>;
1318
1318
  /**
1319
- * Lists activities associated with a person.
1319
+ * Lists activities associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities?person_id={id}</a> instead.
1320
1320
  * @summary List activities associated with a person
1321
1321
  * @param {PersonsApiGetPersonActivitiesRequest} requestParameters Request parameters.
1322
-
1322
+ * @deprecated
1323
1323
  * @throws {RequiredError}
1324
1324
  * @memberof PersonsApi
1325
1325
  */
@@ -1334,10 +1334,10 @@ export declare class PersonsApi extends BaseAPI {
1334
1334
  */
1335
1335
  getPersonChangelog(requestParameters: PersonsApiGetPersonChangelogRequest): Promise<GetChangelogResponse>;
1336
1336
  /**
1337
- * Lists deals associated with a person.
1337
+ * Lists deals associated with a person. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?person_id={id}</a> instead.
1338
1338
  * @summary List deals associated with a person
1339
1339
  * @param {PersonsApiGetPersonDealsRequest} requestParameters Request parameters.
1340
-
1340
+ * @deprecated
1341
1341
  * @throws {RequiredError}
1342
1342
  * @memberof PersonsApi
1343
1343
  */
@@ -1400,16 +1400,16 @@ export declare class PersonsApi extends BaseAPI {
1400
1400
  * Returns all persons.
1401
1401
  * @summary Get all persons
1402
1402
  * @param {PersonsApiGetPersonsRequest} requestParameters Request parameters.
1403
-
1403
+ * @deprecated
1404
1404
  * @throws {RequiredError}
1405
1405
  * @memberof PersonsApi
1406
1406
  */
1407
1407
  getPersons(requestParameters?: PersonsApiGetPersonsRequest): Promise<GetPersonsResponse1>;
1408
1408
  /**
1409
- * Returns all persons. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
1410
- * @summary Get all persons (BETA)
1409
+ * Returns all persons. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#getPersons\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/persons</a> instead.
1410
+ * @summary Get all persons collection
1411
1411
  * @param {PersonsApiGetPersonsCollectionRequest} requestParameters Request parameters.
1412
-
1412
+ * @deprecated
1413
1413
  * @throws {RequiredError}
1414
1414
  * @memberof PersonsApi
1415
1415
  */
@@ -1427,7 +1427,7 @@ export declare class PersonsApi extends BaseAPI {
1427
1427
  * Searches all persons by name, email, phone, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found persons can be filtered by organization ID.
1428
1428
  * @summary Search persons
1429
1429
  * @param {PersonsApiSearchPersonsRequest} requestParameters Request parameters.
1430
-
1430
+ * @deprecated
1431
1431
  * @throws {RequiredError}
1432
1432
  * @memberof PersonsApi
1433
1433
  */