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
@@ -35,7 +35,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
35
35
  /**
36
36
  * Adds a follower to a person.
37
37
  * @summary Add a follower to a person
38
- * @param {number} id The ID of the person
38
+ * @param {number} id The unique ID of the person
39
39
  * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
40
40
 
41
41
  * @throws {RequiredError}
@@ -72,7 +72,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
72
72
  /**
73
73
  * 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.
74
74
  * @summary Add person picture
75
- * @param {number} id The ID of the person
75
+ * @param {number} id The unique ID of the person
76
76
  * @param {File} file One image supplied in the multipart/form-data encoding
77
77
  * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
78
78
  * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
@@ -131,7 +131,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
131
131
  /**
132
132
  * Deletes a follower from a person.
133
133
  * @summary Delete a follower from a person
134
- * @param {number} id The ID of the person
134
+ * @param {number} id The unique ID of the person
135
135
  * @param {number} follower_id The ID of the relationship between the follower and the person
136
136
 
137
137
  * @throws {RequiredError}
@@ -169,7 +169,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
169
169
  /**
170
170
  * Deletes a person’s picture.
171
171
  * @summary Delete person picture
172
- * @param {number} id The ID of the person
172
+ * @param {number} id The unique ID of the person
173
173
 
174
174
  * @throws {RequiredError}
175
175
  */
@@ -203,7 +203,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
203
203
  /**
204
204
  * Lists updates about field values of a person.
205
205
  * @summary List updates about person field values
206
- * @param {number} id The ID of the person
206
+ * @param {number} id The unique ID of the person
207
207
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
208
208
  * @param {number} [limit] Items shown per page
209
209
 
@@ -245,7 +245,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
245
245
  /**
246
246
  * Lists files associated with a person.
247
247
  * @summary List files attached to a person
248
- * @param {number} id The ID of the person
248
+ * @param {number} id The unique ID of the person
249
249
  * @param {number} [start] Pagination start
250
250
  * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
251
251
  * @param {string} [sort] Supported fields: `id`, `update_time`
@@ -291,7 +291,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
291
291
  /**
292
292
  * Lists the followers of a person.
293
293
  * @summary List followers of a person
294
- * @param {number} id The ID of the person
294
+ * @param {number} id The unique ID of the person
295
295
 
296
296
  * @throws {RequiredError}
297
297
  */
@@ -325,7 +325,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
325
325
  /**
326
326
  * Lists mail messages associated with a person.
327
327
  * @summary List mail messages associated with a person
328
- * @param {number} id The ID of the person
328
+ * @param {number} id The unique ID of the person
329
329
  * @param {number} [start] Pagination start
330
330
  * @param {number} [limit] Items shown per page
331
331
  * @param {0 | 1} [include_body] Whether to include the mail message body content in the response. `0` = Don\'t include, `1` = Include.
@@ -371,7 +371,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
371
371
  /**
372
372
  * Lists products associated with a person.
373
373
  * @summary List products associated with a person
374
- * @param {number} id The ID of the person
374
+ * @param {number} id The unique ID of the person
375
375
  * @param {number} [start] Pagination start
376
376
  * @param {number} [limit] Items shown per page
377
377
 
@@ -413,7 +413,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
413
413
  /**
414
414
  * 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.
415
415
  * @summary List updates about a person
416
- * @param {number} id The ID of the person
416
+ * @param {number} id The unique ID of the person
417
417
  * @param {number} [start] Pagination start
418
418
  * @param {number} [limit] Items shown per page
419
419
  * @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.
@@ -463,7 +463,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
463
463
  /**
464
464
  * List users permitted to access a person.
465
465
  * @summary List permitted users
466
- * @param {number} id The ID of the person
466
+ * @param {number} id The unique ID of the person
467
467
 
468
468
  * @throws {RequiredError}
469
469
  */
@@ -497,7 +497,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
497
497
  /**
498
498
  * 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>.
499
499
  * @summary Merge two persons
500
- * @param {number} id The ID of the person
500
+ * @param {number} id The unique ID of the person
501
501
  * @param {MergePersonsRequest} [MergePersonsRequest]
502
502
 
503
503
  * @throws {RequiredError}
@@ -543,7 +543,7 @@ export const PersonsApiFp = function (configuration) {
543
543
  /**
544
544
  * Adds a follower to a person.
545
545
  * @summary Add a follower to a person
546
- * @param {number} id The ID of the person
546
+ * @param {number} id The unique ID of the person
547
547
  * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
548
548
 
549
549
  * @throws {RequiredError}
@@ -554,10 +554,24 @@ export const PersonsApiFp = function (configuration) {
554
554
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
555
555
  });
556
556
  },
557
+ /**
558
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
559
+ * @summary Add a follower to a person
560
+ * @param {number} id The unique ID of the person
561
+ * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
562
+
563
+ * @throws {RequiredError}
564
+ */
565
+ addPersonFollowerWithHttpInfo(id, AddPersonFollowerRequest) {
566
+ return __awaiter(this, void 0, void 0, function* () {
567
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonFollower(id, AddPersonFollowerRequest);
568
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
569
+ });
570
+ },
557
571
  /**
558
572
  * 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.
559
573
  * @summary Add person picture
560
- * @param {number} id The ID of the person
574
+ * @param {number} id The unique ID of the person
561
575
  * @param {File} file One image supplied in the multipart/form-data encoding
562
576
  * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
563
577
  * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
@@ -572,10 +586,28 @@ export const PersonsApiFp = function (configuration) {
572
586
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
573
587
  });
574
588
  },
589
+ /**
590
+ * Same as `addPersonPicture`, but resolves with the response body together with the HTTP status and headers.
591
+ * @summary Add person picture
592
+ * @param {number} id The unique ID of the person
593
+ * @param {File} file One image supplied in the multipart/form-data encoding
594
+ * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
595
+ * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
596
+ * @param {number} [crop_width] The width of the cropping area (in pixels)
597
+ * @param {number} [crop_height] The height of the cropping area (in pixels)
598
+
599
+ * @throws {RequiredError}
600
+ */
601
+ addPersonPictureWithHttpInfo(id, file, crop_x, crop_y, crop_width, crop_height) {
602
+ return __awaiter(this, void 0, void 0, function* () {
603
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonPicture(id, file, crop_x, crop_y, crop_width, crop_height);
604
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
605
+ });
606
+ },
575
607
  /**
576
608
  * Deletes a follower from a person.
577
609
  * @summary Delete a follower from a person
578
- * @param {number} id The ID of the person
610
+ * @param {number} id The unique ID of the person
579
611
  * @param {number} follower_id The ID of the relationship between the follower and the person
580
612
 
581
613
  * @throws {RequiredError}
@@ -586,10 +618,24 @@ export const PersonsApiFp = function (configuration) {
586
618
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
587
619
  });
588
620
  },
621
+ /**
622
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
623
+ * @summary Delete a follower from a person
624
+ * @param {number} id The unique ID of the person
625
+ * @param {number} follower_id The ID of the relationship between the follower and the person
626
+
627
+ * @throws {RequiredError}
628
+ */
629
+ deletePersonFollowerWithHttpInfo(id, follower_id) {
630
+ return __awaiter(this, void 0, void 0, function* () {
631
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFollower(id, follower_id);
632
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
633
+ });
634
+ },
589
635
  /**
590
636
  * Deletes a person’s picture.
591
637
  * @summary Delete person picture
592
- * @param {number} id The ID of the person
638
+ * @param {number} id The unique ID of the person
593
639
 
594
640
  * @throws {RequiredError}
595
641
  */
@@ -599,10 +645,23 @@ export const PersonsApiFp = function (configuration) {
599
645
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
600
646
  });
601
647
  },
648
+ /**
649
+ * Same as `deletePersonPicture`, but resolves with the response body together with the HTTP status and headers.
650
+ * @summary Delete person picture
651
+ * @param {number} id The unique ID of the person
652
+
653
+ * @throws {RequiredError}
654
+ */
655
+ deletePersonPictureWithHttpInfo(id) {
656
+ return __awaiter(this, void 0, void 0, function* () {
657
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonPicture(id);
658
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
659
+ });
660
+ },
602
661
  /**
603
662
  * Lists updates about field values of a person.
604
663
  * @summary List updates about person field values
605
- * @param {number} id The ID of the person
664
+ * @param {number} id The unique ID of the person
606
665
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
607
666
  * @param {number} [limit] Items shown per page
608
667
 
@@ -614,10 +673,25 @@ export const PersonsApiFp = function (configuration) {
614
673
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
615
674
  });
616
675
  },
676
+ /**
677
+ * Same as `getPersonChangelog`, but resolves with the response body together with the HTTP status and headers.
678
+ * @summary List updates about person field values
679
+ * @param {number} id The unique ID of the person
680
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
681
+ * @param {number} [limit] Items shown per page
682
+
683
+ * @throws {RequiredError}
684
+ */
685
+ getPersonChangelogWithHttpInfo(id, cursor, limit) {
686
+ return __awaiter(this, void 0, void 0, function* () {
687
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonChangelog(id, cursor, limit);
688
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
689
+ });
690
+ },
617
691
  /**
618
692
  * Lists files associated with a person.
619
693
  * @summary List files attached to a person
620
- * @param {number} id The ID of the person
694
+ * @param {number} id The unique ID of the person
621
695
  * @param {number} [start] Pagination start
622
696
  * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
623
697
  * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
@@ -630,10 +704,26 @@ export const PersonsApiFp = function (configuration) {
630
704
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
631
705
  });
632
706
  },
707
+ /**
708
+ * Same as `getPersonFiles`, but resolves with the response body together with the HTTP status and headers.
709
+ * @summary List files attached to a person
710
+ * @param {number} id The unique ID of the person
711
+ * @param {number} [start] Pagination start
712
+ * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
713
+ * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
714
+
715
+ * @throws {RequiredError}
716
+ */
717
+ getPersonFilesWithHttpInfo(id, start, limit, sort) {
718
+ return __awaiter(this, void 0, void 0, function* () {
719
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFiles(id, start, limit, sort);
720
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
721
+ });
722
+ },
633
723
  /**
634
724
  * Lists the followers of a person.
635
725
  * @summary List followers of a person
636
- * @param {number} id The ID of the person
726
+ * @param {number} id The unique ID of the person
637
727
 
638
728
  * @throws {RequiredError}
639
729
  */
@@ -643,10 +733,23 @@ export const PersonsApiFp = function (configuration) {
643
733
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
644
734
  });
645
735
  },
736
+ /**
737
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
738
+ * @summary List followers of a person
739
+ * @param {number} id The unique ID of the person
740
+
741
+ * @throws {RequiredError}
742
+ */
743
+ getPersonFollowersWithHttpInfo(id) {
744
+ return __awaiter(this, void 0, void 0, function* () {
745
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFollowers(id);
746
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
747
+ });
748
+ },
646
749
  /**
647
750
  * Lists mail messages associated with a person.
648
751
  * @summary List mail messages associated with a person
649
- * @param {number} id The ID of the person
752
+ * @param {number} id The unique ID of the person
650
753
  * @param {number} [start] Pagination start
651
754
  * @param {number} [limit] Items shown per page
652
755
  * @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.
@@ -659,10 +762,26 @@ export const PersonsApiFp = function (configuration) {
659
762
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
660
763
  });
661
764
  },
765
+ /**
766
+ * Same as `getPersonMailMessages`, but resolves with the response body together with the HTTP status and headers.
767
+ * @summary List mail messages associated with a person
768
+ * @param {number} id The unique ID of the person
769
+ * @param {number} [start] Pagination start
770
+ * @param {number} [limit] Items shown per page
771
+ * @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.
772
+
773
+ * @throws {RequiredError}
774
+ */
775
+ getPersonMailMessagesWithHttpInfo(id, start, limit, include_body) {
776
+ return __awaiter(this, void 0, void 0, function* () {
777
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonMailMessages(id, start, limit, include_body);
778
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
779
+ });
780
+ },
662
781
  /**
663
782
  * Lists products associated with a person.
664
783
  * @summary List products associated with a person
665
- * @param {number} id The ID of the person
784
+ * @param {number} id The unique ID of the person
666
785
  * @param {number} [start] Pagination start
667
786
  * @param {number} [limit] Items shown per page
668
787
 
@@ -674,10 +793,25 @@ export const PersonsApiFp = function (configuration) {
674
793
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
675
794
  });
676
795
  },
796
+ /**
797
+ * Same as `getPersonProducts`, but resolves with the response body together with the HTTP status and headers.
798
+ * @summary List products associated with a person
799
+ * @param {number} id The unique ID of the person
800
+ * @param {number} [start] Pagination start
801
+ * @param {number} [limit] Items shown per page
802
+
803
+ * @throws {RequiredError}
804
+ */
805
+ getPersonProductsWithHttpInfo(id, start, limit) {
806
+ return __awaiter(this, void 0, void 0, function* () {
807
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonProducts(id, start, limit);
808
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
809
+ });
810
+ },
677
811
  /**
678
812
  * 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.
679
813
  * @summary List updates about a person
680
- * @param {number} id The ID of the person
814
+ * @param {number} id The unique ID of the person
681
815
  * @param {number} [start] Pagination start
682
816
  * @param {number} [limit] Items shown per page
683
817
  * @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.
@@ -691,10 +825,27 @@ export const PersonsApiFp = function (configuration) {
691
825
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
692
826
  });
693
827
  },
828
+ /**
829
+ * Same as `getPersonUpdates`, but resolves with the response body together with the HTTP status and headers.
830
+ * @summary List updates about a person
831
+ * @param {number} id The unique ID of the person
832
+ * @param {number} [start] Pagination start
833
+ * @param {number} [limit] Items shown per page
834
+ * @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.
835
+ * @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).
836
+
837
+ * @throws {RequiredError}
838
+ */
839
+ getPersonUpdatesWithHttpInfo(id, start, limit, all_changes, items) {
840
+ return __awaiter(this, void 0, void 0, function* () {
841
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonUpdates(id, start, limit, all_changes, items);
842
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
843
+ });
844
+ },
694
845
  /**
695
846
  * List users permitted to access a person.
696
847
  * @summary List permitted users
697
- * @param {number} id The ID of the person
848
+ * @param {number} id The unique ID of the person
698
849
 
699
850
  * @throws {RequiredError}
700
851
  */
@@ -704,10 +855,23 @@ export const PersonsApiFp = function (configuration) {
704
855
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
705
856
  });
706
857
  },
858
+ /**
859
+ * Same as `getPersonUsers`, but resolves with the response body together with the HTTP status and headers.
860
+ * @summary List permitted users
861
+ * @param {number} id The unique ID of the person
862
+
863
+ * @throws {RequiredError}
864
+ */
865
+ getPersonUsersWithHttpInfo(id) {
866
+ return __awaiter(this, void 0, void 0, function* () {
867
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonUsers(id);
868
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
869
+ });
870
+ },
707
871
  /**
708
872
  * 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>.
709
873
  * @summary Merge two persons
710
- * @param {number} id The ID of the person
874
+ * @param {number} id The unique ID of the person
711
875
  * @param {MergePersonsRequest} [MergePersonsRequest]
712
876
 
713
877
  * @throws {RequiredError}
@@ -718,6 +882,20 @@ export const PersonsApiFp = function (configuration) {
718
882
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
719
883
  });
720
884
  },
885
+ /**
886
+ * Same as `mergePersons`, but resolves with the response body together with the HTTP status and headers.
887
+ * @summary Merge two persons
888
+ * @param {number} id The unique ID of the person
889
+ * @param {MergePersonsRequest} [MergePersonsRequest]
890
+
891
+ * @throws {RequiredError}
892
+ */
893
+ mergePersonsWithHttpInfo(id, MergePersonsRequest) {
894
+ return __awaiter(this, void 0, void 0, function* () {
895
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.mergePersons(id, MergePersonsRequest);
896
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
897
+ });
898
+ },
721
899
  };
722
900
  };
723
901
  /**
@@ -737,6 +915,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
737
915
  addPersonFollower(requestParameters) {
738
916
  return localVarFp.addPersonFollower(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(axios, basePath));
739
917
  },
918
+ addPersonFollowerWithHttpInfo(requestParameters) {
919
+ return localVarFp.addPersonFollowerWithHttpInfo(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(axios, basePath));
920
+ },
740
921
  /**
741
922
  * 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.
742
923
  * @summary Add person picture
@@ -747,6 +928,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
747
928
  addPersonPicture(requestParameters) {
748
929
  return localVarFp.addPersonPicture(requestParameters.id, requestParameters.file, requestParameters.crop_x, requestParameters.crop_y, requestParameters.crop_width, requestParameters.crop_height).then((request) => request(axios, basePath));
749
930
  },
931
+ addPersonPictureWithHttpInfo(requestParameters) {
932
+ return localVarFp.addPersonPictureWithHttpInfo(requestParameters.id, requestParameters.file, requestParameters.crop_x, requestParameters.crop_y, requestParameters.crop_width, requestParameters.crop_height).then((request) => request(axios, basePath));
933
+ },
750
934
  /**
751
935
  * Deletes a follower from a person.
752
936
  * @summary Delete a follower from a person
@@ -757,6 +941,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
757
941
  deletePersonFollower(requestParameters) {
758
942
  return localVarFp.deletePersonFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
759
943
  },
944
+ deletePersonFollowerWithHttpInfo(requestParameters) {
945
+ return localVarFp.deletePersonFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
946
+ },
760
947
  /**
761
948
  * Deletes a person’s picture.
762
949
  * @summary Delete person picture
@@ -767,6 +954,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
767
954
  deletePersonPicture(requestParameters) {
768
955
  return localVarFp.deletePersonPicture(requestParameters.id).then((request) => request(axios, basePath));
769
956
  },
957
+ deletePersonPictureWithHttpInfo(requestParameters) {
958
+ return localVarFp.deletePersonPictureWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
959
+ },
770
960
  /**
771
961
  * Lists updates about field values of a person.
772
962
  * @summary List updates about person field values
@@ -777,6 +967,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
777
967
  getPersonChangelog(requestParameters) {
778
968
  return localVarFp.getPersonChangelog(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(axios, basePath));
779
969
  },
970
+ getPersonChangelogWithHttpInfo(requestParameters) {
971
+ return localVarFp.getPersonChangelogWithHttpInfo(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(axios, basePath));
972
+ },
780
973
  /**
781
974
  * Lists files associated with a person.
782
975
  * @summary List files attached to a person
@@ -787,6 +980,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
787
980
  getPersonFiles(requestParameters) {
788
981
  return localVarFp.getPersonFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(axios, basePath));
789
982
  },
983
+ getPersonFilesWithHttpInfo(requestParameters) {
984
+ return localVarFp.getPersonFilesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(axios, basePath));
985
+ },
790
986
  /**
791
987
  * Lists the followers of a person.
792
988
  * @summary List followers of a person
@@ -797,6 +993,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
797
993
  getPersonFollowers(requestParameters) {
798
994
  return localVarFp.getPersonFollowers(requestParameters.id).then((request) => request(axios, basePath));
799
995
  },
996
+ getPersonFollowersWithHttpInfo(requestParameters) {
997
+ return localVarFp.getPersonFollowersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
998
+ },
800
999
  /**
801
1000
  * Lists mail messages associated with a person.
802
1001
  * @summary List mail messages associated with a person
@@ -807,6 +1006,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
807
1006
  getPersonMailMessages(requestParameters) {
808
1007
  return localVarFp.getPersonMailMessages(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(axios, basePath));
809
1008
  },
1009
+ getPersonMailMessagesWithHttpInfo(requestParameters) {
1010
+ return localVarFp.getPersonMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(axios, basePath));
1011
+ },
810
1012
  /**
811
1013
  * Lists products associated with a person.
812
1014
  * @summary List products associated with a person
@@ -817,6 +1019,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
817
1019
  getPersonProducts(requestParameters) {
818
1020
  return localVarFp.getPersonProducts(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
819
1021
  },
1022
+ getPersonProductsWithHttpInfo(requestParameters) {
1023
+ return localVarFp.getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
1024
+ },
820
1025
  /**
821
1026
  * 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.
822
1027
  * @summary List updates about a person
@@ -827,6 +1032,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
827
1032
  getPersonUpdates(requestParameters) {
828
1033
  return localVarFp.getPersonUpdates(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(axios, basePath));
829
1034
  },
1035
+ getPersonUpdatesWithHttpInfo(requestParameters) {
1036
+ return localVarFp.getPersonUpdatesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(axios, basePath));
1037
+ },
830
1038
  /**
831
1039
  * List users permitted to access a person.
832
1040
  * @summary List permitted users
@@ -837,6 +1045,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
837
1045
  getPersonUsers(requestParameters) {
838
1046
  return localVarFp.getPersonUsers(requestParameters.id).then((request) => request(axios, basePath));
839
1047
  },
1048
+ getPersonUsersWithHttpInfo(requestParameters) {
1049
+ return localVarFp.getPersonUsersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1050
+ },
840
1051
  /**
841
1052
  * 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>.
842
1053
  * @summary Merge two persons
@@ -847,6 +1058,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
847
1058
  mergePersons(requestParameters) {
848
1059
  return localVarFp.mergePersons(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(axios, basePath));
849
1060
  },
1061
+ mergePersonsWithHttpInfo(requestParameters) {
1062
+ return localVarFp.mergePersonsWithHttpInfo(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(axios, basePath));
1063
+ },
850
1064
  };
851
1065
  };
852
1066
  /**
@@ -867,6 +1081,17 @@ export class PersonsApi extends BaseAPI {
867
1081
  addPersonFollower(requestParameters) {
868
1082
  return PersonsApiFp(this.configuration).addPersonFollower(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(this.axios, this.basePath));
869
1083
  }
1084
+ /**
1085
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
1086
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1087
+ * @param {PersonsApiAddPersonFollowerRequest} requestParameters Request parameters.
1088
+
1089
+ * @throws {RequiredError}
1090
+ * @memberof PersonsApi
1091
+ */
1092
+ addPersonFollowerWithHttpInfo(requestParameters) {
1093
+ return PersonsApiFp(this.configuration).addPersonFollowerWithHttpInfo(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(this.axios, this.basePath));
1094
+ }
870
1095
  /**
871
1096
  * 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.
872
1097
  * @summary Add person picture
@@ -878,6 +1103,17 @@ export class PersonsApi extends BaseAPI {
878
1103
  addPersonPicture(requestParameters) {
879
1104
  return PersonsApiFp(this.configuration).addPersonPicture(requestParameters.id, requestParameters.file, requestParameters.crop_x, requestParameters.crop_y, requestParameters.crop_width, requestParameters.crop_height).then((request) => request(this.axios, this.basePath));
880
1105
  }
1106
+ /**
1107
+ * Same as `addPersonPicture`, but resolves with the response body together with the HTTP status and headers.
1108
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1109
+ * @param {PersonsApiAddPersonPictureRequest} requestParameters Request parameters.
1110
+
1111
+ * @throws {RequiredError}
1112
+ * @memberof PersonsApi
1113
+ */
1114
+ addPersonPictureWithHttpInfo(requestParameters) {
1115
+ return PersonsApiFp(this.configuration).addPersonPictureWithHttpInfo(requestParameters.id, requestParameters.file, requestParameters.crop_x, requestParameters.crop_y, requestParameters.crop_width, requestParameters.crop_height).then((request) => request(this.axios, this.basePath));
1116
+ }
881
1117
  /**
882
1118
  * Deletes a follower from a person.
883
1119
  * @summary Delete a follower from a person
@@ -889,6 +1125,17 @@ export class PersonsApi extends BaseAPI {
889
1125
  deletePersonFollower(requestParameters) {
890
1126
  return PersonsApiFp(this.configuration).deletePersonFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
891
1127
  }
1128
+ /**
1129
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
1130
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1131
+ * @param {PersonsApiDeletePersonFollowerRequest} requestParameters Request parameters.
1132
+
1133
+ * @throws {RequiredError}
1134
+ * @memberof PersonsApi
1135
+ */
1136
+ deletePersonFollowerWithHttpInfo(requestParameters) {
1137
+ return PersonsApiFp(this.configuration).deletePersonFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
1138
+ }
892
1139
  /**
893
1140
  * Deletes a person’s picture.
894
1141
  * @summary Delete person picture
@@ -900,6 +1147,17 @@ export class PersonsApi extends BaseAPI {
900
1147
  deletePersonPicture(requestParameters) {
901
1148
  return PersonsApiFp(this.configuration).deletePersonPicture(requestParameters.id).then((request) => request(this.axios, this.basePath));
902
1149
  }
1150
+ /**
1151
+ * Same as `deletePersonPicture`, but resolves with the response body together with the HTTP status and headers.
1152
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1153
+ * @param {PersonsApiDeletePersonPictureRequest} requestParameters Request parameters.
1154
+
1155
+ * @throws {RequiredError}
1156
+ * @memberof PersonsApi
1157
+ */
1158
+ deletePersonPictureWithHttpInfo(requestParameters) {
1159
+ return PersonsApiFp(this.configuration).deletePersonPictureWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1160
+ }
903
1161
  /**
904
1162
  * Lists updates about field values of a person.
905
1163
  * @summary List updates about person field values
@@ -911,6 +1169,17 @@ export class PersonsApi extends BaseAPI {
911
1169
  getPersonChangelog(requestParameters) {
912
1170
  return PersonsApiFp(this.configuration).getPersonChangelog(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(this.axios, this.basePath));
913
1171
  }
1172
+ /**
1173
+ * Same as `getPersonChangelog`, but resolves with the response body together with the HTTP status and headers.
1174
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1175
+ * @param {PersonsApiGetPersonChangelogRequest} requestParameters Request parameters.
1176
+
1177
+ * @throws {RequiredError}
1178
+ * @memberof PersonsApi
1179
+ */
1180
+ getPersonChangelogWithHttpInfo(requestParameters) {
1181
+ return PersonsApiFp(this.configuration).getPersonChangelogWithHttpInfo(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(this.axios, this.basePath));
1182
+ }
914
1183
  /**
915
1184
  * Lists files associated with a person.
916
1185
  * @summary List files attached to a person
@@ -922,6 +1191,17 @@ export class PersonsApi extends BaseAPI {
922
1191
  getPersonFiles(requestParameters) {
923
1192
  return PersonsApiFp(this.configuration).getPersonFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(this.axios, this.basePath));
924
1193
  }
1194
+ /**
1195
+ * Same as `getPersonFiles`, but resolves with the response body together with the HTTP status and headers.
1196
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1197
+ * @param {PersonsApiGetPersonFilesRequest} requestParameters Request parameters.
1198
+
1199
+ * @throws {RequiredError}
1200
+ * @memberof PersonsApi
1201
+ */
1202
+ getPersonFilesWithHttpInfo(requestParameters) {
1203
+ return PersonsApiFp(this.configuration).getPersonFilesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(this.axios, this.basePath));
1204
+ }
925
1205
  /**
926
1206
  * Lists the followers of a person.
927
1207
  * @summary List followers of a person
@@ -933,6 +1213,17 @@ export class PersonsApi extends BaseAPI {
933
1213
  getPersonFollowers(requestParameters) {
934
1214
  return PersonsApiFp(this.configuration).getPersonFollowers(requestParameters.id).then((request) => request(this.axios, this.basePath));
935
1215
  }
1216
+ /**
1217
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
1218
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1219
+ * @param {PersonsApiGetPersonFollowersRequest} requestParameters Request parameters.
1220
+
1221
+ * @throws {RequiredError}
1222
+ * @memberof PersonsApi
1223
+ */
1224
+ getPersonFollowersWithHttpInfo(requestParameters) {
1225
+ return PersonsApiFp(this.configuration).getPersonFollowersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1226
+ }
936
1227
  /**
937
1228
  * Lists mail messages associated with a person.
938
1229
  * @summary List mail messages associated with a person
@@ -944,6 +1235,17 @@ export class PersonsApi extends BaseAPI {
944
1235
  getPersonMailMessages(requestParameters) {
945
1236
  return PersonsApiFp(this.configuration).getPersonMailMessages(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
946
1237
  }
1238
+ /**
1239
+ * Same as `getPersonMailMessages`, but resolves with the response body together with the HTTP status and headers.
1240
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1241
+ * @param {PersonsApiGetPersonMailMessagesRequest} requestParameters Request parameters.
1242
+
1243
+ * @throws {RequiredError}
1244
+ * @memberof PersonsApi
1245
+ */
1246
+ getPersonMailMessagesWithHttpInfo(requestParameters) {
1247
+ return PersonsApiFp(this.configuration).getPersonMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
1248
+ }
947
1249
  /**
948
1250
  * Lists products associated with a person.
949
1251
  * @summary List products associated with a person
@@ -955,6 +1257,17 @@ export class PersonsApi extends BaseAPI {
955
1257
  getPersonProducts(requestParameters) {
956
1258
  return PersonsApiFp(this.configuration).getPersonProducts(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
957
1259
  }
1260
+ /**
1261
+ * Same as `getPersonProducts`, but resolves with the response body together with the HTTP status and headers.
1262
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1263
+ * @param {PersonsApiGetPersonProductsRequest} requestParameters Request parameters.
1264
+
1265
+ * @throws {RequiredError}
1266
+ * @memberof PersonsApi
1267
+ */
1268
+ getPersonProductsWithHttpInfo(requestParameters) {
1269
+ return PersonsApiFp(this.configuration).getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
1270
+ }
958
1271
  /**
959
1272
  * 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.
960
1273
  * @summary List updates about a person
@@ -966,6 +1279,17 @@ export class PersonsApi extends BaseAPI {
966
1279
  getPersonUpdates(requestParameters) {
967
1280
  return PersonsApiFp(this.configuration).getPersonUpdates(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(this.axios, this.basePath));
968
1281
  }
1282
+ /**
1283
+ * Same as `getPersonUpdates`, but resolves with the response body together with the HTTP status and headers.
1284
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1285
+ * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
1286
+
1287
+ * @throws {RequiredError}
1288
+ * @memberof PersonsApi
1289
+ */
1290
+ getPersonUpdatesWithHttpInfo(requestParameters) {
1291
+ return PersonsApiFp(this.configuration).getPersonUpdatesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(this.axios, this.basePath));
1292
+ }
969
1293
  /**
970
1294
  * List users permitted to access a person.
971
1295
  * @summary List permitted users
@@ -977,6 +1301,17 @@ export class PersonsApi extends BaseAPI {
977
1301
  getPersonUsers(requestParameters) {
978
1302
  return PersonsApiFp(this.configuration).getPersonUsers(requestParameters.id).then((request) => request(this.axios, this.basePath));
979
1303
  }
1304
+ /**
1305
+ * Same as `getPersonUsers`, but resolves with the response body together with the HTTP status and headers.
1306
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1307
+ * @param {PersonsApiGetPersonUsersRequest} requestParameters Request parameters.
1308
+
1309
+ * @throws {RequiredError}
1310
+ * @memberof PersonsApi
1311
+ */
1312
+ getPersonUsersWithHttpInfo(requestParameters) {
1313
+ return PersonsApiFp(this.configuration).getPersonUsersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1314
+ }
980
1315
  /**
981
1316
  * 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>.
982
1317
  * @summary Merge two persons
@@ -988,4 +1323,15 @@ export class PersonsApi extends BaseAPI {
988
1323
  mergePersons(requestParameters) {
989
1324
  return PersonsApiFp(this.configuration).mergePersons(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(this.axios, this.basePath));
990
1325
  }
1326
+ /**
1327
+ * Same as `mergePersons`, but resolves with the response body together with the HTTP status and headers.
1328
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1329
+ * @param {PersonsApiMergePersonsRequest} requestParameters Request parameters.
1330
+
1331
+ * @throws {RequiredError}
1332
+ * @memberof PersonsApi
1333
+ */
1334
+ mergePersonsWithHttpInfo(requestParameters) {
1335
+ return PersonsApiFp(this.configuration).mergePersonsWithHttpInfo(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(this.axios, this.basePath));
1336
+ }
991
1337
  }