pipedrive 36.0.1 → 36.1.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 (277) hide show
  1. package/dist/esm/versions/v1/api/activity-fields-api.d.ts +17 -1
  2. package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
  3. package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
  5. package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
  6. package/dist/esm/versions/v1/api/billing-api.js +25 -0
  7. package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
  8. package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
  9. package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
  10. package/dist/esm/versions/v1/api/channels-api.js +109 -0
  11. package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
  12. package/dist/esm/versions/v1/api/currencies-api.js +27 -0
  13. package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
  14. package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
  15. package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
  16. package/dist/esm/versions/v1/api/deals-api.js +569 -0
  17. package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
  18. package/dist/esm/versions/v1/api/files-api.js +234 -0
  19. package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
  20. package/dist/esm/versions/v1/api/filters-api.js +191 -0
  21. package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
  22. package/dist/esm/versions/v1/api/goals-api.js +150 -0
  23. package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
  24. package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
  25. package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
  26. package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
  27. package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
  28. package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
  29. package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
  30. package/dist/esm/versions/v1/api/leads-api.js +237 -0
  31. package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
  32. package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
  33. package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
  34. package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
  35. package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
  36. package/dist/esm/versions/v1/api/meetings-api.js +54 -0
  37. package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
  38. package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
  39. package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
  40. package/dist/esm/versions/v1/api/notes-api.js +296 -0
  41. package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
  42. package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
  43. package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
  44. package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
  45. package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
  46. package/dist/esm/versions/v1/api/organizations-api.js +258 -0
  47. package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
  48. package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
  49. package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
  50. package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
  51. package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
  52. package/dist/esm/versions/v1/api/persons-api.js +370 -24
  53. package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
  54. package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
  55. package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
  56. package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
  57. package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
  58. package/dist/esm/versions/v1/api/products-api.js +172 -0
  59. package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
  60. package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
  61. package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
  62. package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
  63. package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
  64. package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
  65. package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
  66. package/dist/esm/versions/v1/api/projects-api.js +334 -0
  67. package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
  68. package/dist/esm/versions/v1/api/recents-api.js +30 -0
  69. package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
  70. package/dist/esm/versions/v1/api/roles-api.js +333 -0
  71. package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
  72. package/dist/esm/versions/v1/api/stages-api.js +32 -0
  73. package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
  74. package/dist/esm/versions/v1/api/tasks-api.js +141 -0
  75. package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
  76. package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
  77. package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
  78. package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
  79. package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
  80. package/dist/esm/versions/v1/api/users-api.js +270 -0
  81. package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
  82. package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
  83. package/dist/esm/versions/v1/base.d.ts +17 -0
  84. package/dist/esm/versions/v1/base.js +22 -0
  85. package/dist/esm/versions/v1/common.d.ts +1 -1
  86. package/dist/esm/versions/v1/common.js +7 -4
  87. package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
  88. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  89. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  90. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  91. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  92. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  93. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  94. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  95. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  96. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  97. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  98. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  99. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  100. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  101. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  102. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  103. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  104. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  105. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  106. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  107. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  108. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  109. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  112. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  113. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  114. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  115. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  116. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  117. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  118. package/dist/esm/versions/v2/api/products-api.js +541 -0
  119. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  120. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  121. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  122. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  123. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  124. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  125. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  126. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  127. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  128. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  129. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  130. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  131. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  132. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  133. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  134. package/dist/esm/versions/v2/api/users-api.js +29 -0
  135. package/dist/esm/versions/v2/base.d.ts +17 -0
  136. package/dist/esm/versions/v2/base.js +22 -0
  137. package/dist/esm/versions/v2/common.d.ts +1 -1
  138. package/dist/esm/versions/v2/common.js +7 -4
  139. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  140. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  141. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  142. package/dist/versions/v1/api/activity-types-api.js +107 -0
  143. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  144. package/dist/versions/v1/api/billing-api.js +25 -0
  145. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  146. package/dist/versions/v1/api/call-logs-api.js +137 -0
  147. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  148. package/dist/versions/v1/api/channels-api.js +109 -0
  149. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  150. package/dist/versions/v1/api/currencies-api.js +27 -0
  151. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  152. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  153. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  154. package/dist/versions/v1/api/deals-api.js +569 -0
  155. package/dist/versions/v1/api/files-api.d.ts +163 -1
  156. package/dist/versions/v1/api/files-api.js +234 -0
  157. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  158. package/dist/versions/v1/api/filters-api.js +191 -0
  159. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  160. package/dist/versions/v1/api/goals-api.js +150 -0
  161. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  162. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  163. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  164. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  165. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  166. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  167. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  168. package/dist/versions/v1/api/leads-api.js +237 -0
  169. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  170. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  171. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  172. package/dist/versions/v1/api/mailbox-api.js +170 -0
  173. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  174. package/dist/versions/v1/api/meetings-api.js +54 -0
  175. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  176. package/dist/versions/v1/api/note-fields-api.js +25 -0
  177. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  178. package/dist/versions/v1/api/notes-api.js +296 -0
  179. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  180. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  181. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  182. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  183. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  184. package/dist/versions/v1/api/organizations-api.js +258 -0
  185. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  186. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  187. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  188. package/dist/versions/v1/api/person-fields-api.js +164 -0
  189. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  190. package/dist/versions/v1/api/persons-api.js +370 -24
  191. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  192. package/dist/versions/v1/api/pipelines-api.js +95 -0
  193. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  194. package/dist/versions/v1/api/product-fields-api.js +164 -0
  195. package/dist/versions/v1/api/products-api.d.ts +119 -1
  196. package/dist/versions/v1/api/products-api.js +172 -0
  197. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  198. package/dist/versions/v1/api/project-boards-api.js +52 -0
  199. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  200. package/dist/versions/v1/api/project-phases-api.js +54 -0
  201. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  202. package/dist/versions/v1/api/project-templates-api.js +55 -0
  203. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  204. package/dist/versions/v1/api/projects-api.js +334 -0
  205. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  206. package/dist/versions/v1/api/recents-api.js +30 -0
  207. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  208. package/dist/versions/v1/api/roles-api.js +333 -0
  209. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  210. package/dist/versions/v1/api/stages-api.js +32 -0
  211. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  212. package/dist/versions/v1/api/tasks-api.js +141 -0
  213. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  214. package/dist/versions/v1/api/user-connections-api.js +25 -0
  215. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  216. package/dist/versions/v1/api/user-settings-api.js +25 -0
  217. package/dist/versions/v1/api/users-api.d.ts +181 -1
  218. package/dist/versions/v1/api/users-api.js +270 -0
  219. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  220. package/dist/versions/v1/api/webhooks-api.js +79 -0
  221. package/dist/versions/v1/base.d.ts +17 -0
  222. package/dist/versions/v1/base.js +24 -1
  223. package/dist/versions/v1/common.d.ts +1 -1
  224. package/dist/versions/v1/common.js +6 -3
  225. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  226. package/dist/versions/v2/api/activities-api.js +151 -0
  227. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  228. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  229. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  230. package/dist/versions/v2/api/beta-api.js +666 -0
  231. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  232. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  233. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  234. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  235. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  236. package/dist/versions/v2/api/deal-products-api.js +203 -0
  237. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  238. package/dist/versions/v2/api/deals-api.js +516 -1
  239. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  240. package/dist/versions/v2/api/item-search-api.js +66 -0
  241. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  242. package/dist/versions/v2/api/leads-api.js +90 -0
  243. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  244. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  245. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  246. package/dist/versions/v2/api/organizations-api.js +297 -0
  247. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  248. package/dist/versions/v2/api/person-fields-api.js +223 -0
  249. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  250. package/dist/versions/v2/api/persons-api.js +328 -0
  251. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  252. package/dist/versions/v2/api/pipelines-api.js +139 -0
  253. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  254. package/dist/versions/v2/api/product-fields-api.js +223 -0
  255. package/dist/versions/v2/api/products-api.d.ts +371 -1
  256. package/dist/versions/v2/api/products-api.js +541 -0
  257. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  258. package/dist/versions/v2/api/project-boards-api.js +134 -0
  259. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  260. package/dist/versions/v2/api/project-fields-api.js +221 -0
  261. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  262. package/dist/versions/v2/api/project-phases-api.js +136 -0
  263. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  264. package/dist/versions/v2/api/project-templates-api.js +55 -0
  265. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  266. package/dist/versions/v2/api/projects-api.js +290 -0
  267. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  268. package/dist/versions/v2/api/stages-api.js +140 -0
  269. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  270. package/dist/versions/v2/api/tasks-api.js +142 -0
  271. package/dist/versions/v2/api/users-api.d.ts +21 -1
  272. package/dist/versions/v2/api/users-api.js +29 -0
  273. package/dist/versions/v2/base.d.ts +17 -0
  274. package/dist/versions/v2/base.js +24 -1
  275. package/dist/versions/v2/common.d.ts +1 -1
  276. package/dist/versions/v2/common.js +6 -3
  277. package/package.json +1 -1
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs, BaseAPI, ApiResponse } from '../base';
15
15
  import { AddPersonFollowerRequest } from '../models';
16
16
  import { AddPersonFollowerResponse } from '../models';
17
17
  import { AddPersonPictureResponse } from '../models';
@@ -33,7 +33,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
33
33
  /**
34
34
  * Adds a follower to a person.
35
35
  * @summary Add a follower to a person
36
- * @param {number} id The ID of the person
36
+ * @param {number} id The unique ID of the person
37
37
  * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
38
38
 
39
39
  * @throws {RequiredError}
@@ -42,7 +42,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
42
42
  /**
43
43
  * Adds a picture to a person. If a picture is already set, the old picture will be replaced. Added image (or the cropping parameters supplied with the request) should have an equal width and height and should be at least 128 pixels. GIF, JPG and PNG are accepted. All added images will be resized to 128 and 512 pixel wide squares.
44
44
  * @summary Add person picture
45
- * @param {number} id The ID of the person
45
+ * @param {number} id The unique ID of the person
46
46
  * @param {File} file One image supplied in the multipart/form-data encoding
47
47
  * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
48
48
  * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
@@ -55,7 +55,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
55
55
  /**
56
56
  * Deletes a follower from a person.
57
57
  * @summary Delete a follower from a person
58
- * @param {number} id The ID of the person
58
+ * @param {number} id The unique ID of the person
59
59
  * @param {number} follower_id The ID of the relationship between the follower and the person
60
60
 
61
61
  * @throws {RequiredError}
@@ -64,7 +64,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
64
64
  /**
65
65
  * Deletes a person’s picture.
66
66
  * @summary Delete person picture
67
- * @param {number} id The ID of the person
67
+ * @param {number} id The unique ID of the person
68
68
 
69
69
  * @throws {RequiredError}
70
70
  */
@@ -72,7 +72,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
72
72
  /**
73
73
  * Lists updates about field values of a person.
74
74
  * @summary List updates about person field values
75
- * @param {number} id The ID of the person
75
+ * @param {number} id The unique ID of the person
76
76
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
77
77
  * @param {number} [limit] Items shown per page
78
78
 
@@ -82,7 +82,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
82
82
  /**
83
83
  * Lists files associated with a person.
84
84
  * @summary List files attached to a person
85
- * @param {number} id The ID of the person
85
+ * @param {number} id The unique ID of the person
86
86
  * @param {number} [start] Pagination start
87
87
  * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
88
88
  * @param {string} [sort] Supported fields: `id`, `update_time`
@@ -93,7 +93,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
93
93
  /**
94
94
  * Lists the followers of a person.
95
95
  * @summary List followers of a person
96
- * @param {number} id The ID of the person
96
+ * @param {number} id The unique ID of the person
97
97
 
98
98
  * @throws {RequiredError}
99
99
  */
@@ -101,7 +101,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
101
101
  /**
102
102
  * Lists mail messages associated with a person.
103
103
  * @summary List mail messages associated with a person
104
- * @param {number} id The ID of the person
104
+ * @param {number} id The unique ID of the person
105
105
  * @param {number} [start] Pagination start
106
106
  * @param {number} [limit] Items shown per page
107
107
  * @param {0 | 1} [include_body] Whether to include the mail message body content in the response. `0` = Don\'t include, `1` = Include.
@@ -112,7 +112,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
112
112
  /**
113
113
  * Lists products associated with a person.
114
114
  * @summary List products associated with a person
115
- * @param {number} id The ID of the person
115
+ * @param {number} id The unique ID of the person
116
116
  * @param {number} [start] Pagination start
117
117
  * @param {number} [limit] Items shown per page
118
118
 
@@ -122,7 +122,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
122
122
  /**
123
123
  * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
124
124
  * @summary List updates about a person
125
- * @param {number} id The ID of the person
125
+ * @param {number} id The unique ID of the person
126
126
  * @param {number} [start] Pagination start
127
127
  * @param {number} [limit] Items shown per page
128
128
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
@@ -134,7 +134,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
134
134
  /**
135
135
  * List users permitted to access a person.
136
136
  * @summary List permitted users
137
- * @param {number} id The ID of the person
137
+ * @param {number} id The unique ID of the person
138
138
 
139
139
  * @throws {RequiredError}
140
140
  */
@@ -142,7 +142,7 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
142
142
  /**
143
143
  * Merges a person with another person. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-persons\" target=\"_blank\" rel=\"noopener noreferrer\">merging two persons</a>.
144
144
  * @summary Merge two persons
145
- * @param {number} id The ID of the person
145
+ * @param {number} id The unique ID of the person
146
146
  * @param {MergePersonsRequest} [MergePersonsRequest]
147
147
 
148
148
  * @throws {RequiredError}
@@ -157,16 +157,25 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
157
157
  /**
158
158
  * Adds a follower to a person.
159
159
  * @summary Add a follower to a person
160
- * @param {number} id The ID of the person
160
+ * @param {number} id The unique ID of the person
161
161
  * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
162
162
 
163
163
  * @throws {RequiredError}
164
164
  */
165
165
  addPersonFollower(id: number, AddPersonFollowerRequest?: AddPersonFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddPersonFollowerResponse>>;
166
+ /**
167
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
168
+ * @summary Add a follower to a person
169
+ * @param {number} id The unique ID of the person
170
+ * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
171
+
172
+ * @throws {RequiredError}
173
+ */
174
+ addPersonFollowerWithHttpInfo(id: number, AddPersonFollowerRequest?: AddPersonFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddPersonFollowerResponse>>>;
166
175
  /**
167
176
  * Adds a picture to a person. If a picture is already set, the old picture will be replaced. Added image (or the cropping parameters supplied with the request) should have an equal width and height and should be at least 128 pixels. GIF, JPG and PNG are accepted. All added images will be resized to 128 and 512 pixel wide squares.
168
177
  * @summary Add person picture
169
- * @param {number} id The ID of the person
178
+ * @param {number} id The unique ID of the person
170
179
  * @param {File} file One image supplied in the multipart/form-data encoding
171
180
  * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
172
181
  * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
@@ -176,37 +185,77 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
176
185
  * @throws {RequiredError}
177
186
  */
178
187
  addPersonPicture(id: number, file: File, crop_x?: number, crop_y?: number, crop_width?: number, crop_height?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddPersonPictureResponse>>;
188
+ /**
189
+ * Same as `addPersonPicture`, but resolves with the response body together with the HTTP status and headers.
190
+ * @summary Add person picture
191
+ * @param {number} id The unique ID of the person
192
+ * @param {File} file One image supplied in the multipart/form-data encoding
193
+ * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
194
+ * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
195
+ * @param {number} [crop_width] The width of the cropping area (in pixels)
196
+ * @param {number} [crop_height] The height of the cropping area (in pixels)
197
+
198
+ * @throws {RequiredError}
199
+ */
200
+ addPersonPictureWithHttpInfo(id: number, file: File, crop_x?: number, crop_y?: number, crop_width?: number, crop_height?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddPersonPictureResponse>>>;
179
201
  /**
180
202
  * Deletes a follower from a person.
181
203
  * @summary Delete a follower from a person
182
- * @param {number} id The ID of the person
204
+ * @param {number} id The unique ID of the person
183
205
  * @param {number} follower_id The ID of the relationship between the follower and the person
184
206
 
185
207
  * @throws {RequiredError}
186
208
  */
187
209
  deletePersonFollower(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePersonResponse>>;
210
+ /**
211
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
212
+ * @summary Delete a follower from a person
213
+ * @param {number} id The unique ID of the person
214
+ * @param {number} follower_id The ID of the relationship between the follower and the person
215
+
216
+ * @throws {RequiredError}
217
+ */
218
+ deletePersonFollowerWithHttpInfo(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeletePersonResponse>>>;
188
219
  /**
189
220
  * Deletes a person’s picture.
190
221
  * @summary Delete person picture
191
- * @param {number} id The ID of the person
222
+ * @param {number} id The unique ID of the person
192
223
 
193
224
  * @throws {RequiredError}
194
225
  */
195
226
  deletePersonPicture(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePersonResponse>>;
227
+ /**
228
+ * Same as `deletePersonPicture`, but resolves with the response body together with the HTTP status and headers.
229
+ * @summary Delete person picture
230
+ * @param {number} id The unique ID of the person
231
+
232
+ * @throws {RequiredError}
233
+ */
234
+ deletePersonPictureWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeletePersonResponse>>>;
196
235
  /**
197
236
  * Lists updates about field values of a person.
198
237
  * @summary List updates about person field values
199
- * @param {number} id The ID of the person
238
+ * @param {number} id The unique ID of the person
200
239
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
201
240
  * @param {number} [limit] Items shown per page
202
241
 
203
242
  * @throws {RequiredError}
204
243
  */
205
244
  getPersonChangelog(id: number, cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetChangelogResponse>>;
245
+ /**
246
+ * Same as `getPersonChangelog`, but resolves with the response body together with the HTTP status and headers.
247
+ * @summary List updates about person field values
248
+ * @param {number} id The unique ID of the person
249
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
250
+ * @param {number} [limit] Items shown per page
251
+
252
+ * @throws {RequiredError}
253
+ */
254
+ getPersonChangelogWithHttpInfo(id: number, cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetChangelogResponse>>>;
206
255
  /**
207
256
  * Lists files associated with a person.
208
257
  * @summary List files attached to a person
209
- * @param {number} id The ID of the person
258
+ * @param {number} id The unique ID of the person
210
259
  * @param {number} [start] Pagination start
211
260
  * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
212
261
  * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
@@ -214,18 +263,37 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
214
263
  * @throws {RequiredError}
215
264
  */
216
265
  getPersonFiles(id: number, start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedFilesResponse>>;
266
+ /**
267
+ * Same as `getPersonFiles`, but resolves with the response body together with the HTTP status and headers.
268
+ * @summary List files attached to a person
269
+ * @param {number} id The unique ID of the person
270
+ * @param {number} [start] Pagination start
271
+ * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
272
+ * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
273
+
274
+ * @throws {RequiredError}
275
+ */
276
+ getPersonFilesWithHttpInfo(id: number, start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetAssociatedFilesResponse>>>;
217
277
  /**
218
278
  * Lists the followers of a person.
219
279
  * @summary List followers of a person
220
- * @param {number} id The ID of the person
280
+ * @param {number} id The unique ID of the person
221
281
 
222
282
  * @throws {RequiredError}
223
283
  */
224
284
  getPersonFollowers(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetListFollowersResponse>>;
285
+ /**
286
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
287
+ * @summary List followers of a person
288
+ * @param {number} id The unique ID of the person
289
+
290
+ * @throws {RequiredError}
291
+ */
292
+ getPersonFollowersWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetListFollowersResponse>>>;
225
293
  /**
226
294
  * Lists mail messages associated with a person.
227
295
  * @summary List mail messages associated with a person
228
- * @param {number} id The ID of the person
296
+ * @param {number} id The unique ID of the person
229
297
  * @param {number} [start] Pagination start
230
298
  * @param {number} [limit] Items shown per page
231
299
  * @param {0 | 1} [include_body] Whether to include the mail message body content in the response. &#x60;0&#x60; &#x3D; Don\&#39;t include, &#x60;1&#x60; &#x3D; Include.
@@ -233,20 +301,41 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
233
301
  * @throws {RequiredError}
234
302
  */
235
303
  getPersonMailMessages(id: number, start?: number, limit?: number, include_body?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedMailMessagesResponse>>;
304
+ /**
305
+ * Same as `getPersonMailMessages`, but resolves with the response body together with the HTTP status and headers.
306
+ * @summary List mail messages associated with a person
307
+ * @param {number} id The unique ID of the person
308
+ * @param {number} [start] Pagination start
309
+ * @param {number} [limit] Items shown per page
310
+ * @param {0 | 1} [include_body] Whether to include the mail message body content in the response. &#x60;0&#x60; &#x3D; Don\&#39;t include, &#x60;1&#x60; &#x3D; Include.
311
+
312
+ * @throws {RequiredError}
313
+ */
314
+ getPersonMailMessagesWithHttpInfo(id: number, start?: number, limit?: number, include_body?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetAssociatedMailMessagesResponse>>>;
236
315
  /**
237
316
  * Lists products associated with a person.
238
317
  * @summary List products associated with a person
239
- * @param {number} id The ID of the person
318
+ * @param {number} id The unique ID of the person
240
319
  * @param {number} [start] Pagination start
241
320
  * @param {number} [limit] Items shown per page
242
321
 
243
322
  * @throws {RequiredError}
244
323
  */
245
324
  getPersonProducts(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPersonProductsResponse>>;
325
+ /**
326
+ * Same as `getPersonProducts`, but resolves with the response body together with the HTTP status and headers.
327
+ * @summary List products associated with a person
328
+ * @param {number} id The unique ID of the person
329
+ * @param {number} [start] Pagination start
330
+ * @param {number} [limit] Items shown per page
331
+
332
+ * @throws {RequiredError}
333
+ */
334
+ getPersonProductsWithHttpInfo(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPersonProductsResponse>>>;
246
335
  /**
247
336
  * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
248
337
  * @summary List updates about a person
249
- * @param {number} id The ID of the person
338
+ * @param {number} id The unique ID of the person
250
339
  * @param {number} [start] Pagination start
251
340
  * @param {number} [limit] Items shown per page
252
341
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
@@ -255,23 +344,52 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
255
344
  * @throws {RequiredError}
256
345
  */
257
346
  getPersonUpdates(id: number, start?: number, limit?: number, all_changes?: string, items?: Set<string>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedPersonUpdatesResponse>>;
347
+ /**
348
+ * Same as `getPersonUpdates`, but resolves with the response body together with the HTTP status and headers.
349
+ * @summary List updates about a person
350
+ * @param {number} id The unique ID of the person
351
+ * @param {number} [start] Pagination start
352
+ * @param {number} [limit] Items shown per page
353
+ * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
354
+ * @param {Set<string>} [items] 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).
355
+
356
+ * @throws {RequiredError}
357
+ */
358
+ getPersonUpdatesWithHttpInfo(id: number, start?: number, limit?: number, all_changes?: string, items?: Set<string>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetAssociatedPersonUpdatesResponse>>>;
258
359
  /**
259
360
  * List users permitted to access a person.
260
361
  * @summary List permitted users
261
- * @param {number} id The ID of the person
362
+ * @param {number} id The unique ID of the person
262
363
 
263
364
  * @throws {RequiredError}
264
365
  */
265
366
  getPersonUsers(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPermittedUsersResponse1>>;
367
+ /**
368
+ * Same as `getPersonUsers`, but resolves with the response body together with the HTTP status and headers.
369
+ * @summary List permitted users
370
+ * @param {number} id The unique ID of the person
371
+
372
+ * @throws {RequiredError}
373
+ */
374
+ getPersonUsersWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPermittedUsersResponse1>>>;
266
375
  /**
267
376
  * Merges a person with another person. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-persons\" target=\"_blank\" rel=\"noopener noreferrer\">merging two persons</a>.
268
377
  * @summary Merge two persons
269
- * @param {number} id The ID of the person
378
+ * @param {number} id The unique ID of the person
270
379
  * @param {MergePersonsRequest} [MergePersonsRequest]
271
380
 
272
381
  * @throws {RequiredError}
273
382
  */
274
383
  mergePersons(id: number, MergePersonsRequest?: MergePersonsRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<MergePersonsResponse>>;
384
+ /**
385
+ * Same as `mergePersons`, but resolves with the response body together with the HTTP status and headers.
386
+ * @summary Merge two persons
387
+ * @param {number} id The unique ID of the person
388
+ * @param {MergePersonsRequest} [MergePersonsRequest]
389
+
390
+ * @throws {RequiredError}
391
+ */
392
+ mergePersonsWithHttpInfo(id: number, MergePersonsRequest?: MergePersonsRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<MergePersonsResponse>>>;
275
393
  };
276
394
  /**
277
395
  * PersonsApi - factory interface
@@ -286,6 +404,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
286
404
  * @throws {RequiredError}
287
405
  */
288
406
  addPersonFollower(requestParameters: PersonsApiAddPersonFollowerRequest): Promise<AddPersonFollowerResponse>;
407
+ addPersonFollowerWithHttpInfo(requestParameters: PersonsApiAddPersonFollowerRequest): Promise<ApiResponse<AddPersonFollowerResponse>>;
289
408
  /**
290
409
  * Adds a picture to a person. If a picture is already set, the old picture will be replaced. Added image (or the cropping parameters supplied with the request) should have an equal width and height and should be at least 128 pixels. GIF, JPG and PNG are accepted. All added images will be resized to 128 and 512 pixel wide squares.
291
410
  * @summary Add person picture
@@ -294,6 +413,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
294
413
  * @throws {RequiredError}
295
414
  */
296
415
  addPersonPicture(requestParameters: PersonsApiAddPersonPictureRequest): Promise<AddPersonPictureResponse>;
416
+ addPersonPictureWithHttpInfo(requestParameters: PersonsApiAddPersonPictureRequest): Promise<ApiResponse<AddPersonPictureResponse>>;
297
417
  /**
298
418
  * Deletes a follower from a person.
299
419
  * @summary Delete a follower from a person
@@ -302,6 +422,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
302
422
  * @throws {RequiredError}
303
423
  */
304
424
  deletePersonFollower(requestParameters: PersonsApiDeletePersonFollowerRequest): Promise<DeletePersonResponse>;
425
+ deletePersonFollowerWithHttpInfo(requestParameters: PersonsApiDeletePersonFollowerRequest): Promise<ApiResponse<DeletePersonResponse>>;
305
426
  /**
306
427
  * Deletes a person’s picture.
307
428
  * @summary Delete person picture
@@ -310,6 +431,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
310
431
  * @throws {RequiredError}
311
432
  */
312
433
  deletePersonPicture(requestParameters: PersonsApiDeletePersonPictureRequest): Promise<DeletePersonResponse>;
434
+ deletePersonPictureWithHttpInfo(requestParameters: PersonsApiDeletePersonPictureRequest): Promise<ApiResponse<DeletePersonResponse>>;
313
435
  /**
314
436
  * Lists updates about field values of a person.
315
437
  * @summary List updates about person field values
@@ -318,6 +440,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
318
440
  * @throws {RequiredError}
319
441
  */
320
442
  getPersonChangelog(requestParameters: PersonsApiGetPersonChangelogRequest): Promise<GetChangelogResponse>;
443
+ getPersonChangelogWithHttpInfo(requestParameters: PersonsApiGetPersonChangelogRequest): Promise<ApiResponse<GetChangelogResponse>>;
321
444
  /**
322
445
  * Lists files associated with a person.
323
446
  * @summary List files attached to a person
@@ -326,6 +449,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
326
449
  * @throws {RequiredError}
327
450
  */
328
451
  getPersonFiles(requestParameters: PersonsApiGetPersonFilesRequest): Promise<GetAssociatedFilesResponse>;
452
+ getPersonFilesWithHttpInfo(requestParameters: PersonsApiGetPersonFilesRequest): Promise<ApiResponse<GetAssociatedFilesResponse>>;
329
453
  /**
330
454
  * Lists the followers of a person.
331
455
  * @summary List followers of a person
@@ -334,6 +458,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
334
458
  * @throws {RequiredError}
335
459
  */
336
460
  getPersonFollowers(requestParameters: PersonsApiGetPersonFollowersRequest): Promise<GetListFollowersResponse>;
461
+ getPersonFollowersWithHttpInfo(requestParameters: PersonsApiGetPersonFollowersRequest): Promise<ApiResponse<GetListFollowersResponse>>;
337
462
  /**
338
463
  * Lists mail messages associated with a person.
339
464
  * @summary List mail messages associated with a person
@@ -342,6 +467,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
342
467
  * @throws {RequiredError}
343
468
  */
344
469
  getPersonMailMessages(requestParameters: PersonsApiGetPersonMailMessagesRequest): Promise<GetAssociatedMailMessagesResponse>;
470
+ getPersonMailMessagesWithHttpInfo(requestParameters: PersonsApiGetPersonMailMessagesRequest): Promise<ApiResponse<GetAssociatedMailMessagesResponse>>;
345
471
  /**
346
472
  * Lists products associated with a person.
347
473
  * @summary List products associated with a person
@@ -350,6 +476,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
350
476
  * @throws {RequiredError}
351
477
  */
352
478
  getPersonProducts(requestParameters: PersonsApiGetPersonProductsRequest): Promise<GetPersonProductsResponse>;
479
+ getPersonProductsWithHttpInfo(requestParameters: PersonsApiGetPersonProductsRequest): Promise<ApiResponse<GetPersonProductsResponse>>;
353
480
  /**
354
481
  * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
355
482
  * @summary List updates about a person
@@ -358,6 +485,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
358
485
  * @throws {RequiredError}
359
486
  */
360
487
  getPersonUpdates(requestParameters: PersonsApiGetPersonUpdatesRequest): Promise<GetAssociatedPersonUpdatesResponse>;
488
+ getPersonUpdatesWithHttpInfo(requestParameters: PersonsApiGetPersonUpdatesRequest): Promise<ApiResponse<GetAssociatedPersonUpdatesResponse>>;
361
489
  /**
362
490
  * List users permitted to access a person.
363
491
  * @summary List permitted users
@@ -366,6 +494,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
366
494
  * @throws {RequiredError}
367
495
  */
368
496
  getPersonUsers(requestParameters: PersonsApiGetPersonUsersRequest): Promise<GetPermittedUsersResponse1>;
497
+ getPersonUsersWithHttpInfo(requestParameters: PersonsApiGetPersonUsersRequest): Promise<ApiResponse<GetPermittedUsersResponse1>>;
369
498
  /**
370
499
  * Merges a person with another person. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-persons\" target=\"_blank\" rel=\"noopener noreferrer\">merging two persons</a>.
371
500
  * @summary Merge two persons
@@ -374,6 +503,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
374
503
  * @throws {RequiredError}
375
504
  */
376
505
  mergePersons(requestParameters: PersonsApiMergePersonsRequest): Promise<MergePersonsResponse>;
506
+ mergePersonsWithHttpInfo(requestParameters: PersonsApiMergePersonsRequest): Promise<ApiResponse<MergePersonsResponse>>;
377
507
  };
378
508
  /**
379
509
  * Request parameters for addPersonFollower operation in PersonsApi.
@@ -382,7 +512,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
382
512
  */
383
513
  export interface PersonsApiAddPersonFollowerRequest {
384
514
  /**
385
- * The ID of the person
515
+ * The unique ID of the person
386
516
  * @type {number}
387
517
  * @memberof PersonsApiAddPersonFollower
388
518
  */
@@ -401,7 +531,7 @@ export interface PersonsApiAddPersonFollowerRequest {
401
531
  */
402
532
  export interface PersonsApiAddPersonPictureRequest {
403
533
  /**
404
- * The ID of the person
534
+ * The unique ID of the person
405
535
  * @type {number}
406
536
  * @memberof PersonsApiAddPersonPicture
407
537
  */
@@ -444,7 +574,7 @@ export interface PersonsApiAddPersonPictureRequest {
444
574
  */
445
575
  export interface PersonsApiDeletePersonFollowerRequest {
446
576
  /**
447
- * The ID of the person
577
+ * The unique ID of the person
448
578
  * @type {number}
449
579
  * @memberof PersonsApiDeletePersonFollower
450
580
  */
@@ -463,7 +593,7 @@ export interface PersonsApiDeletePersonFollowerRequest {
463
593
  */
464
594
  export interface PersonsApiDeletePersonPictureRequest {
465
595
  /**
466
- * The ID of the person
596
+ * The unique ID of the person
467
597
  * @type {number}
468
598
  * @memberof PersonsApiDeletePersonPicture
469
599
  */
@@ -476,7 +606,7 @@ export interface PersonsApiDeletePersonPictureRequest {
476
606
  */
477
607
  export interface PersonsApiGetPersonChangelogRequest {
478
608
  /**
479
- * The ID of the person
609
+ * The unique ID of the person
480
610
  * @type {number}
481
611
  * @memberof PersonsApiGetPersonChangelog
482
612
  */
@@ -501,7 +631,7 @@ export interface PersonsApiGetPersonChangelogRequest {
501
631
  */
502
632
  export interface PersonsApiGetPersonFilesRequest {
503
633
  /**
504
- * The ID of the person
634
+ * The unique ID of the person
505
635
  * @type {number}
506
636
  * @memberof PersonsApiGetPersonFiles
507
637
  */
@@ -532,7 +662,7 @@ export interface PersonsApiGetPersonFilesRequest {
532
662
  */
533
663
  export interface PersonsApiGetPersonFollowersRequest {
534
664
  /**
535
- * The ID of the person
665
+ * The unique ID of the person
536
666
  * @type {number}
537
667
  * @memberof PersonsApiGetPersonFollowers
538
668
  */
@@ -545,7 +675,7 @@ export interface PersonsApiGetPersonFollowersRequest {
545
675
  */
546
676
  export interface PersonsApiGetPersonMailMessagesRequest {
547
677
  /**
548
- * The ID of the person
678
+ * The unique ID of the person
549
679
  * @type {number}
550
680
  * @memberof PersonsApiGetPersonMailMessages
551
681
  */
@@ -576,7 +706,7 @@ export interface PersonsApiGetPersonMailMessagesRequest {
576
706
  */
577
707
  export interface PersonsApiGetPersonProductsRequest {
578
708
  /**
579
- * The ID of the person
709
+ * The unique ID of the person
580
710
  * @type {number}
581
711
  * @memberof PersonsApiGetPersonProducts
582
712
  */
@@ -601,7 +731,7 @@ export interface PersonsApiGetPersonProductsRequest {
601
731
  */
602
732
  export interface PersonsApiGetPersonUpdatesRequest {
603
733
  /**
604
- * The ID of the person
734
+ * The unique ID of the person
605
735
  * @type {number}
606
736
  * @memberof PersonsApiGetPersonUpdates
607
737
  */
@@ -638,7 +768,7 @@ export interface PersonsApiGetPersonUpdatesRequest {
638
768
  */
639
769
  export interface PersonsApiGetPersonUsersRequest {
640
770
  /**
641
- * The ID of the person
771
+ * The unique ID of the person
642
772
  * @type {number}
643
773
  * @memberof PersonsApiGetPersonUsers
644
774
  */
@@ -651,7 +781,7 @@ export interface PersonsApiGetPersonUsersRequest {
651
781
  */
652
782
  export interface PersonsApiMergePersonsRequest {
653
783
  /**
654
- * The ID of the person
784
+ * The unique ID of the person
655
785
  * @type {number}
656
786
  * @memberof PersonsApiMergePersons
657
787
  */
@@ -679,6 +809,15 @@ export declare class PersonsApi extends BaseAPI {
679
809
  * @memberof PersonsApi
680
810
  */
681
811
  addPersonFollower(requestParameters: PersonsApiAddPersonFollowerRequest): Promise<AddPersonFollowerResponse>;
812
+ /**
813
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
814
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
815
+ * @param {PersonsApiAddPersonFollowerRequest} requestParameters Request parameters.
816
+
817
+ * @throws {RequiredError}
818
+ * @memberof PersonsApi
819
+ */
820
+ addPersonFollowerWithHttpInfo(requestParameters: PersonsApiAddPersonFollowerRequest): Promise<ApiResponse<AddPersonFollowerResponse>>;
682
821
  /**
683
822
  * Adds a picture to a person. If a picture is already set, the old picture will be replaced. Added image (or the cropping parameters supplied with the request) should have an equal width and height and should be at least 128 pixels. GIF, JPG and PNG are accepted. All added images will be resized to 128 and 512 pixel wide squares.
684
823
  * @summary Add person picture
@@ -688,6 +827,15 @@ export declare class PersonsApi extends BaseAPI {
688
827
  * @memberof PersonsApi
689
828
  */
690
829
  addPersonPicture(requestParameters: PersonsApiAddPersonPictureRequest): Promise<AddPersonPictureResponse>;
830
+ /**
831
+ * Same as `addPersonPicture`, but resolves with the response body together with the HTTP status and headers.
832
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
833
+ * @param {PersonsApiAddPersonPictureRequest} requestParameters Request parameters.
834
+
835
+ * @throws {RequiredError}
836
+ * @memberof PersonsApi
837
+ */
838
+ addPersonPictureWithHttpInfo(requestParameters: PersonsApiAddPersonPictureRequest): Promise<ApiResponse<AddPersonPictureResponse>>;
691
839
  /**
692
840
  * Deletes a follower from a person.
693
841
  * @summary Delete a follower from a person
@@ -697,6 +845,15 @@ export declare class PersonsApi extends BaseAPI {
697
845
  * @memberof PersonsApi
698
846
  */
699
847
  deletePersonFollower(requestParameters: PersonsApiDeletePersonFollowerRequest): Promise<DeletePersonResponse>;
848
+ /**
849
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
850
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
851
+ * @param {PersonsApiDeletePersonFollowerRequest} requestParameters Request parameters.
852
+
853
+ * @throws {RequiredError}
854
+ * @memberof PersonsApi
855
+ */
856
+ deletePersonFollowerWithHttpInfo(requestParameters: PersonsApiDeletePersonFollowerRequest): Promise<ApiResponse<DeletePersonResponse>>;
700
857
  /**
701
858
  * Deletes a person’s picture.
702
859
  * @summary Delete person picture
@@ -706,6 +863,15 @@ export declare class PersonsApi extends BaseAPI {
706
863
  * @memberof PersonsApi
707
864
  */
708
865
  deletePersonPicture(requestParameters: PersonsApiDeletePersonPictureRequest): Promise<DeletePersonResponse>;
866
+ /**
867
+ * Same as `deletePersonPicture`, but resolves with the response body together with the HTTP status and headers.
868
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
869
+ * @param {PersonsApiDeletePersonPictureRequest} requestParameters Request parameters.
870
+
871
+ * @throws {RequiredError}
872
+ * @memberof PersonsApi
873
+ */
874
+ deletePersonPictureWithHttpInfo(requestParameters: PersonsApiDeletePersonPictureRequest): Promise<ApiResponse<DeletePersonResponse>>;
709
875
  /**
710
876
  * Lists updates about field values of a person.
711
877
  * @summary List updates about person field values
@@ -715,6 +881,15 @@ export declare class PersonsApi extends BaseAPI {
715
881
  * @memberof PersonsApi
716
882
  */
717
883
  getPersonChangelog(requestParameters: PersonsApiGetPersonChangelogRequest): Promise<GetChangelogResponse>;
884
+ /**
885
+ * Same as `getPersonChangelog`, but resolves with the response body together with the HTTP status and headers.
886
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
887
+ * @param {PersonsApiGetPersonChangelogRequest} requestParameters Request parameters.
888
+
889
+ * @throws {RequiredError}
890
+ * @memberof PersonsApi
891
+ */
892
+ getPersonChangelogWithHttpInfo(requestParameters: PersonsApiGetPersonChangelogRequest): Promise<ApiResponse<GetChangelogResponse>>;
718
893
  /**
719
894
  * Lists files associated with a person.
720
895
  * @summary List files attached to a person
@@ -724,6 +899,15 @@ export declare class PersonsApi extends BaseAPI {
724
899
  * @memberof PersonsApi
725
900
  */
726
901
  getPersonFiles(requestParameters: PersonsApiGetPersonFilesRequest): Promise<GetAssociatedFilesResponse>;
902
+ /**
903
+ * Same as `getPersonFiles`, but resolves with the response body together with the HTTP status and headers.
904
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
905
+ * @param {PersonsApiGetPersonFilesRequest} requestParameters Request parameters.
906
+
907
+ * @throws {RequiredError}
908
+ * @memberof PersonsApi
909
+ */
910
+ getPersonFilesWithHttpInfo(requestParameters: PersonsApiGetPersonFilesRequest): Promise<ApiResponse<GetAssociatedFilesResponse>>;
727
911
  /**
728
912
  * Lists the followers of a person.
729
913
  * @summary List followers of a person
@@ -733,6 +917,15 @@ export declare class PersonsApi extends BaseAPI {
733
917
  * @memberof PersonsApi
734
918
  */
735
919
  getPersonFollowers(requestParameters: PersonsApiGetPersonFollowersRequest): Promise<GetListFollowersResponse>;
920
+ /**
921
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
922
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
923
+ * @param {PersonsApiGetPersonFollowersRequest} requestParameters Request parameters.
924
+
925
+ * @throws {RequiredError}
926
+ * @memberof PersonsApi
927
+ */
928
+ getPersonFollowersWithHttpInfo(requestParameters: PersonsApiGetPersonFollowersRequest): Promise<ApiResponse<GetListFollowersResponse>>;
736
929
  /**
737
930
  * Lists mail messages associated with a person.
738
931
  * @summary List mail messages associated with a person
@@ -742,6 +935,15 @@ export declare class PersonsApi extends BaseAPI {
742
935
  * @memberof PersonsApi
743
936
  */
744
937
  getPersonMailMessages(requestParameters: PersonsApiGetPersonMailMessagesRequest): Promise<GetAssociatedMailMessagesResponse>;
938
+ /**
939
+ * Same as `getPersonMailMessages`, but resolves with the response body together with the HTTP status and headers.
940
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
941
+ * @param {PersonsApiGetPersonMailMessagesRequest} requestParameters Request parameters.
942
+
943
+ * @throws {RequiredError}
944
+ * @memberof PersonsApi
945
+ */
946
+ getPersonMailMessagesWithHttpInfo(requestParameters: PersonsApiGetPersonMailMessagesRequest): Promise<ApiResponse<GetAssociatedMailMessagesResponse>>;
745
947
  /**
746
948
  * Lists products associated with a person.
747
949
  * @summary List products associated with a person
@@ -751,6 +953,15 @@ export declare class PersonsApi extends BaseAPI {
751
953
  * @memberof PersonsApi
752
954
  */
753
955
  getPersonProducts(requestParameters: PersonsApiGetPersonProductsRequest): Promise<GetPersonProductsResponse>;
956
+ /**
957
+ * Same as `getPersonProducts`, but resolves with the response body together with the HTTP status and headers.
958
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
959
+ * @param {PersonsApiGetPersonProductsRequest} requestParameters Request parameters.
960
+
961
+ * @throws {RequiredError}
962
+ * @memberof PersonsApi
963
+ */
964
+ getPersonProductsWithHttpInfo(requestParameters: PersonsApiGetPersonProductsRequest): Promise<ApiResponse<GetPersonProductsResponse>>;
754
965
  /**
755
966
  * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
756
967
  * @summary List updates about a person
@@ -760,6 +971,15 @@ export declare class PersonsApi extends BaseAPI {
760
971
  * @memberof PersonsApi
761
972
  */
762
973
  getPersonUpdates(requestParameters: PersonsApiGetPersonUpdatesRequest): Promise<GetAssociatedPersonUpdatesResponse>;
974
+ /**
975
+ * Same as `getPersonUpdates`, but resolves with the response body together with the HTTP status and headers.
976
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
977
+ * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
978
+
979
+ * @throws {RequiredError}
980
+ * @memberof PersonsApi
981
+ */
982
+ getPersonUpdatesWithHttpInfo(requestParameters: PersonsApiGetPersonUpdatesRequest): Promise<ApiResponse<GetAssociatedPersonUpdatesResponse>>;
763
983
  /**
764
984
  * List users permitted to access a person.
765
985
  * @summary List permitted users
@@ -769,6 +989,15 @@ export declare class PersonsApi extends BaseAPI {
769
989
  * @memberof PersonsApi
770
990
  */
771
991
  getPersonUsers(requestParameters: PersonsApiGetPersonUsersRequest): Promise<GetPermittedUsersResponse1>;
992
+ /**
993
+ * Same as `getPersonUsers`, but resolves with the response body together with the HTTP status and headers.
994
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
995
+ * @param {PersonsApiGetPersonUsersRequest} requestParameters Request parameters.
996
+
997
+ * @throws {RequiredError}
998
+ * @memberof PersonsApi
999
+ */
1000
+ getPersonUsersWithHttpInfo(requestParameters: PersonsApiGetPersonUsersRequest): Promise<ApiResponse<GetPermittedUsersResponse1>>;
772
1001
  /**
773
1002
  * Merges a person with another person. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-persons\" target=\"_blank\" rel=\"noopener noreferrer\">merging two persons</a>.
774
1003
  * @summary Merge two persons
@@ -778,4 +1007,13 @@ export declare class PersonsApi extends BaseAPI {
778
1007
  * @memberof PersonsApi
779
1008
  */
780
1009
  mergePersons(requestParameters: PersonsApiMergePersonsRequest): Promise<MergePersonsResponse>;
1010
+ /**
1011
+ * Same as `mergePersons`, but resolves with the response body together with the HTTP status and headers.
1012
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1013
+ * @param {PersonsApiMergePersonsRequest} requestParameters Request parameters.
1014
+
1015
+ * @throws {RequiredError}
1016
+ * @memberof PersonsApi
1017
+ */
1018
+ mergePersonsWithHttpInfo(requestParameters: PersonsApiMergePersonsRequest): Promise<ApiResponse<MergePersonsResponse>>;
781
1019
  }