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
@@ -41,7 +41,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
41
41
  /**
42
42
  * Adds a follower to a person.
43
43
  * @summary Add a follower to a person
44
- * @param {number} id The ID of the person
44
+ * @param {number} id The unique ID of the person
45
45
  * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
46
46
 
47
47
  * @throws {RequiredError}
@@ -78,7 +78,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
78
78
  /**
79
79
  * 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.
80
80
  * @summary Add person picture
81
- * @param {number} id The ID of the person
81
+ * @param {number} id The unique ID of the person
82
82
  * @param {File} file One image supplied in the multipart/form-data encoding
83
83
  * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
84
84
  * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
@@ -137,7 +137,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
137
137
  /**
138
138
  * Deletes a follower from a person.
139
139
  * @summary Delete a follower from a person
140
- * @param {number} id The ID of the person
140
+ * @param {number} id The unique ID of the person
141
141
  * @param {number} follower_id The ID of the relationship between the follower and the person
142
142
 
143
143
  * @throws {RequiredError}
@@ -175,7 +175,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
175
175
  /**
176
176
  * Deletes a person’s picture.
177
177
  * @summary Delete person picture
178
- * @param {number} id The ID of the person
178
+ * @param {number} id The unique ID of the person
179
179
 
180
180
  * @throws {RequiredError}
181
181
  */
@@ -209,7 +209,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
209
209
  /**
210
210
  * Lists updates about field values of a person.
211
211
  * @summary List updates about person field values
212
- * @param {number} id The ID of the person
212
+ * @param {number} id The unique ID of the person
213
213
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
214
214
  * @param {number} [limit] Items shown per page
215
215
 
@@ -251,7 +251,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
251
251
  /**
252
252
  * Lists files associated with a person.
253
253
  * @summary List files attached to a person
254
- * @param {number} id The ID of the person
254
+ * @param {number} id The unique ID of the person
255
255
  * @param {number} [start] Pagination start
256
256
  * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
257
257
  * @param {string} [sort] Supported fields: `id`, `update_time`
@@ -297,7 +297,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
297
297
  /**
298
298
  * Lists the followers of a person.
299
299
  * @summary List followers of a person
300
- * @param {number} id The ID of the person
300
+ * @param {number} id The unique ID of the person
301
301
 
302
302
  * @throws {RequiredError}
303
303
  */
@@ -331,7 +331,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
331
331
  /**
332
332
  * Lists mail messages associated with a person.
333
333
  * @summary List mail messages associated with a person
334
- * @param {number} id The ID of the person
334
+ * @param {number} id The unique ID of the person
335
335
  * @param {number} [start] Pagination start
336
336
  * @param {number} [limit] Items shown per page
337
337
  * @param {0 | 1} [include_body] Whether to include the mail message body content in the response. `0` = Don\'t include, `1` = Include.
@@ -377,7 +377,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
377
377
  /**
378
378
  * Lists products associated with a person.
379
379
  * @summary List products associated with a person
380
- * @param {number} id The ID of the person
380
+ * @param {number} id The unique ID of the person
381
381
  * @param {number} [start] Pagination start
382
382
  * @param {number} [limit] Items shown per page
383
383
 
@@ -419,7 +419,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
419
419
  /**
420
420
  * 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.
421
421
  * @summary List updates about a person
422
- * @param {number} id The ID of the person
422
+ * @param {number} id The unique ID of the person
423
423
  * @param {number} [start] Pagination start
424
424
  * @param {number} [limit] Items shown per page
425
425
  * @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.
@@ -469,7 +469,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
469
469
  /**
470
470
  * List users permitted to access a person.
471
471
  * @summary List permitted users
472
- * @param {number} id The ID of the person
472
+ * @param {number} id The unique ID of the person
473
473
 
474
474
  * @throws {RequiredError}
475
475
  */
@@ -503,7 +503,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
503
503
  /**
504
504
  * 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>.
505
505
  * @summary Merge two persons
506
- * @param {number} id The ID of the person
506
+ * @param {number} id The unique ID of the person
507
507
  * @param {MergePersonsRequest} [MergePersonsRequest]
508
508
 
509
509
  * @throws {RequiredError}
@@ -550,7 +550,7 @@ const PersonsApiFp = function (configuration) {
550
550
  /**
551
551
  * Adds a follower to a person.
552
552
  * @summary Add a follower to a person
553
- * @param {number} id The ID of the person
553
+ * @param {number} id The unique ID of the person
554
554
  * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
555
555
 
556
556
  * @throws {RequiredError}
@@ -561,10 +561,24 @@ const PersonsApiFp = function (configuration) {
561
561
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
562
562
  });
563
563
  },
564
+ /**
565
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
566
+ * @summary Add a follower to a person
567
+ * @param {number} id The unique ID of the person
568
+ * @param {AddPersonFollowerRequest} [AddPersonFollowerRequest]
569
+
570
+ * @throws {RequiredError}
571
+ */
572
+ addPersonFollowerWithHttpInfo(id, AddPersonFollowerRequest) {
573
+ return __awaiter(this, void 0, void 0, function* () {
574
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonFollower(id, AddPersonFollowerRequest);
575
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
576
+ });
577
+ },
564
578
  /**
565
579
  * 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.
566
580
  * @summary Add person picture
567
- * @param {number} id The ID of the person
581
+ * @param {number} id The unique ID of the person
568
582
  * @param {File} file One image supplied in the multipart/form-data encoding
569
583
  * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
570
584
  * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
@@ -579,10 +593,28 @@ const PersonsApiFp = function (configuration) {
579
593
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
580
594
  });
581
595
  },
596
+ /**
597
+ * Same as `addPersonPicture`, but resolves with the response body together with the HTTP status and headers.
598
+ * @summary Add person picture
599
+ * @param {number} id The unique ID of the person
600
+ * @param {File} file One image supplied in the multipart/form-data encoding
601
+ * @param {number} [crop_x] X coordinate to where start cropping form (in pixels)
602
+ * @param {number} [crop_y] Y coordinate to where start cropping form (in pixels)
603
+ * @param {number} [crop_width] The width of the cropping area (in pixels)
604
+ * @param {number} [crop_height] The height of the cropping area (in pixels)
605
+
606
+ * @throws {RequiredError}
607
+ */
608
+ addPersonPictureWithHttpInfo(id, file, crop_x, crop_y, crop_width, crop_height) {
609
+ return __awaiter(this, void 0, void 0, function* () {
610
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonPicture(id, file, crop_x, crop_y, crop_width, crop_height);
611
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
612
+ });
613
+ },
582
614
  /**
583
615
  * Deletes a follower from a person.
584
616
  * @summary Delete a follower from a person
585
- * @param {number} id The ID of the person
617
+ * @param {number} id The unique ID of the person
586
618
  * @param {number} follower_id The ID of the relationship between the follower and the person
587
619
 
588
620
  * @throws {RequiredError}
@@ -593,10 +625,24 @@ const PersonsApiFp = function (configuration) {
593
625
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
594
626
  });
595
627
  },
628
+ /**
629
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
630
+ * @summary Delete a follower from a person
631
+ * @param {number} id The unique ID of the person
632
+ * @param {number} follower_id The ID of the relationship between the follower and the person
633
+
634
+ * @throws {RequiredError}
635
+ */
636
+ deletePersonFollowerWithHttpInfo(id, follower_id) {
637
+ return __awaiter(this, void 0, void 0, function* () {
638
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFollower(id, follower_id);
639
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
640
+ });
641
+ },
596
642
  /**
597
643
  * Deletes a person’s picture.
598
644
  * @summary Delete person picture
599
- * @param {number} id The ID of the person
645
+ * @param {number} id The unique ID of the person
600
646
 
601
647
  * @throws {RequiredError}
602
648
  */
@@ -606,10 +652,23 @@ const PersonsApiFp = function (configuration) {
606
652
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
607
653
  });
608
654
  },
655
+ /**
656
+ * Same as `deletePersonPicture`, but resolves with the response body together with the HTTP status and headers.
657
+ * @summary Delete person picture
658
+ * @param {number} id The unique ID of the person
659
+
660
+ * @throws {RequiredError}
661
+ */
662
+ deletePersonPictureWithHttpInfo(id) {
663
+ return __awaiter(this, void 0, void 0, function* () {
664
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonPicture(id);
665
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
666
+ });
667
+ },
609
668
  /**
610
669
  * Lists updates about field values of a person.
611
670
  * @summary List updates about person field values
612
- * @param {number} id The ID of the person
671
+ * @param {number} id The unique ID of the person
613
672
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
614
673
  * @param {number} [limit] Items shown per page
615
674
 
@@ -621,10 +680,25 @@ const PersonsApiFp = function (configuration) {
621
680
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
622
681
  });
623
682
  },
683
+ /**
684
+ * Same as `getPersonChangelog`, but resolves with the response body together with the HTTP status and headers.
685
+ * @summary List updates about person field values
686
+ * @param {number} id The unique ID of the person
687
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
688
+ * @param {number} [limit] Items shown per page
689
+
690
+ * @throws {RequiredError}
691
+ */
692
+ getPersonChangelogWithHttpInfo(id, cursor, limit) {
693
+ return __awaiter(this, void 0, void 0, function* () {
694
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonChangelog(id, cursor, limit);
695
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
696
+ });
697
+ },
624
698
  /**
625
699
  * Lists files associated with a person.
626
700
  * @summary List files attached to a person
627
- * @param {number} id The ID of the person
701
+ * @param {number} id The unique ID of the person
628
702
  * @param {number} [start] Pagination start
629
703
  * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
630
704
  * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
@@ -637,10 +711,26 @@ const PersonsApiFp = function (configuration) {
637
711
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
638
712
  });
639
713
  },
714
+ /**
715
+ * Same as `getPersonFiles`, but resolves with the response body together with the HTTP status and headers.
716
+ * @summary List files attached to a person
717
+ * @param {number} id The unique ID of the person
718
+ * @param {number} [start] Pagination start
719
+ * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
720
+ * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
721
+
722
+ * @throws {RequiredError}
723
+ */
724
+ getPersonFilesWithHttpInfo(id, start, limit, sort) {
725
+ return __awaiter(this, void 0, void 0, function* () {
726
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFiles(id, start, limit, sort);
727
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
728
+ });
729
+ },
640
730
  /**
641
731
  * Lists the followers of a person.
642
732
  * @summary List followers of a person
643
- * @param {number} id The ID of the person
733
+ * @param {number} id The unique ID of the person
644
734
 
645
735
  * @throws {RequiredError}
646
736
  */
@@ -650,10 +740,23 @@ const PersonsApiFp = function (configuration) {
650
740
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
651
741
  });
652
742
  },
743
+ /**
744
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
745
+ * @summary List followers of a person
746
+ * @param {number} id The unique ID of the person
747
+
748
+ * @throws {RequiredError}
749
+ */
750
+ getPersonFollowersWithHttpInfo(id) {
751
+ return __awaiter(this, void 0, void 0, function* () {
752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFollowers(id);
753
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
754
+ });
755
+ },
653
756
  /**
654
757
  * Lists mail messages associated with a person.
655
758
  * @summary List mail messages associated with a person
656
- * @param {number} id The ID of the person
759
+ * @param {number} id The unique ID of the person
657
760
  * @param {number} [start] Pagination start
658
761
  * @param {number} [limit] Items shown per page
659
762
  * @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.
@@ -666,10 +769,26 @@ const PersonsApiFp = function (configuration) {
666
769
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
667
770
  });
668
771
  },
772
+ /**
773
+ * Same as `getPersonMailMessages`, but resolves with the response body together with the HTTP status and headers.
774
+ * @summary List mail messages associated with a person
775
+ * @param {number} id The unique ID of the person
776
+ * @param {number} [start] Pagination start
777
+ * @param {number} [limit] Items shown per page
778
+ * @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.
779
+
780
+ * @throws {RequiredError}
781
+ */
782
+ getPersonMailMessagesWithHttpInfo(id, start, limit, include_body) {
783
+ return __awaiter(this, void 0, void 0, function* () {
784
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonMailMessages(id, start, limit, include_body);
785
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
786
+ });
787
+ },
669
788
  /**
670
789
  * Lists products associated with a person.
671
790
  * @summary List products associated with a person
672
- * @param {number} id The ID of the person
791
+ * @param {number} id The unique ID of the person
673
792
  * @param {number} [start] Pagination start
674
793
  * @param {number} [limit] Items shown per page
675
794
 
@@ -681,10 +800,25 @@ const PersonsApiFp = function (configuration) {
681
800
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
682
801
  });
683
802
  },
803
+ /**
804
+ * Same as `getPersonProducts`, but resolves with the response body together with the HTTP status and headers.
805
+ * @summary List products associated with a person
806
+ * @param {number} id The unique ID of the person
807
+ * @param {number} [start] Pagination start
808
+ * @param {number} [limit] Items shown per page
809
+
810
+ * @throws {RequiredError}
811
+ */
812
+ getPersonProductsWithHttpInfo(id, start, limit) {
813
+ return __awaiter(this, void 0, void 0, function* () {
814
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonProducts(id, start, limit);
815
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
816
+ });
817
+ },
684
818
  /**
685
819
  * 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.
686
820
  * @summary List updates about a person
687
- * @param {number} id The ID of the person
821
+ * @param {number} id The unique ID of the person
688
822
  * @param {number} [start] Pagination start
689
823
  * @param {number} [limit] Items shown per page
690
824
  * @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.
@@ -698,10 +832,27 @@ const PersonsApiFp = function (configuration) {
698
832
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
699
833
  });
700
834
  },
835
+ /**
836
+ * Same as `getPersonUpdates`, but resolves with the response body together with the HTTP status and headers.
837
+ * @summary List updates about a person
838
+ * @param {number} id The unique ID of the person
839
+ * @param {number} [start] Pagination start
840
+ * @param {number} [limit] Items shown per page
841
+ * @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.
842
+ * @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).
843
+
844
+ * @throws {RequiredError}
845
+ */
846
+ getPersonUpdatesWithHttpInfo(id, start, limit, all_changes, items) {
847
+ return __awaiter(this, void 0, void 0, function* () {
848
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonUpdates(id, start, limit, all_changes, items);
849
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
850
+ });
851
+ },
701
852
  /**
702
853
  * List users permitted to access a person.
703
854
  * @summary List permitted users
704
- * @param {number} id The ID of the person
855
+ * @param {number} id The unique ID of the person
705
856
 
706
857
  * @throws {RequiredError}
707
858
  */
@@ -711,10 +862,23 @@ const PersonsApiFp = function (configuration) {
711
862
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
712
863
  });
713
864
  },
865
+ /**
866
+ * Same as `getPersonUsers`, but resolves with the response body together with the HTTP status and headers.
867
+ * @summary List permitted users
868
+ * @param {number} id The unique ID of the person
869
+
870
+ * @throws {RequiredError}
871
+ */
872
+ getPersonUsersWithHttpInfo(id) {
873
+ return __awaiter(this, void 0, void 0, function* () {
874
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonUsers(id);
875
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
876
+ });
877
+ },
714
878
  /**
715
879
  * 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>.
716
880
  * @summary Merge two persons
717
- * @param {number} id The ID of the person
881
+ * @param {number} id The unique ID of the person
718
882
  * @param {MergePersonsRequest} [MergePersonsRequest]
719
883
 
720
884
  * @throws {RequiredError}
@@ -725,6 +889,20 @@ const PersonsApiFp = function (configuration) {
725
889
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
726
890
  });
727
891
  },
892
+ /**
893
+ * Same as `mergePersons`, but resolves with the response body together with the HTTP status and headers.
894
+ * @summary Merge two persons
895
+ * @param {number} id The unique ID of the person
896
+ * @param {MergePersonsRequest} [MergePersonsRequest]
897
+
898
+ * @throws {RequiredError}
899
+ */
900
+ mergePersonsWithHttpInfo(id, MergePersonsRequest) {
901
+ return __awaiter(this, void 0, void 0, function* () {
902
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.mergePersons(id, MergePersonsRequest);
903
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
904
+ });
905
+ },
728
906
  };
729
907
  };
730
908
  exports.PersonsApiFp = PersonsApiFp;
@@ -745,6 +923,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
745
923
  addPersonFollower(requestParameters) {
746
924
  return localVarFp.addPersonFollower(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(axios, basePath));
747
925
  },
926
+ addPersonFollowerWithHttpInfo(requestParameters) {
927
+ return localVarFp.addPersonFollowerWithHttpInfo(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(axios, basePath));
928
+ },
748
929
  /**
749
930
  * 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.
750
931
  * @summary Add person picture
@@ -755,6 +936,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
755
936
  addPersonPicture(requestParameters) {
756
937
  return localVarFp.addPersonPicture(requestParameters.id, requestParameters.file, requestParameters.crop_x, requestParameters.crop_y, requestParameters.crop_width, requestParameters.crop_height).then((request) => request(axios, basePath));
757
938
  },
939
+ addPersonPictureWithHttpInfo(requestParameters) {
940
+ return localVarFp.addPersonPictureWithHttpInfo(requestParameters.id, requestParameters.file, requestParameters.crop_x, requestParameters.crop_y, requestParameters.crop_width, requestParameters.crop_height).then((request) => request(axios, basePath));
941
+ },
758
942
  /**
759
943
  * Deletes a follower from a person.
760
944
  * @summary Delete a follower from a person
@@ -765,6 +949,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
765
949
  deletePersonFollower(requestParameters) {
766
950
  return localVarFp.deletePersonFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
767
951
  },
952
+ deletePersonFollowerWithHttpInfo(requestParameters) {
953
+ return localVarFp.deletePersonFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
954
+ },
768
955
  /**
769
956
  * Deletes a person’s picture.
770
957
  * @summary Delete person picture
@@ -775,6 +962,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
775
962
  deletePersonPicture(requestParameters) {
776
963
  return localVarFp.deletePersonPicture(requestParameters.id).then((request) => request(axios, basePath));
777
964
  },
965
+ deletePersonPictureWithHttpInfo(requestParameters) {
966
+ return localVarFp.deletePersonPictureWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
967
+ },
778
968
  /**
779
969
  * Lists updates about field values of a person.
780
970
  * @summary List updates about person field values
@@ -785,6 +975,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
785
975
  getPersonChangelog(requestParameters) {
786
976
  return localVarFp.getPersonChangelog(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(axios, basePath));
787
977
  },
978
+ getPersonChangelogWithHttpInfo(requestParameters) {
979
+ return localVarFp.getPersonChangelogWithHttpInfo(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(axios, basePath));
980
+ },
788
981
  /**
789
982
  * Lists files associated with a person.
790
983
  * @summary List files attached to a person
@@ -795,6 +988,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
795
988
  getPersonFiles(requestParameters) {
796
989
  return localVarFp.getPersonFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(axios, basePath));
797
990
  },
991
+ getPersonFilesWithHttpInfo(requestParameters) {
992
+ return localVarFp.getPersonFilesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(axios, basePath));
993
+ },
798
994
  /**
799
995
  * Lists the followers of a person.
800
996
  * @summary List followers of a person
@@ -805,6 +1001,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
805
1001
  getPersonFollowers(requestParameters) {
806
1002
  return localVarFp.getPersonFollowers(requestParameters.id).then((request) => request(axios, basePath));
807
1003
  },
1004
+ getPersonFollowersWithHttpInfo(requestParameters) {
1005
+ return localVarFp.getPersonFollowersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1006
+ },
808
1007
  /**
809
1008
  * Lists mail messages associated with a person.
810
1009
  * @summary List mail messages associated with a person
@@ -815,6 +1014,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
815
1014
  getPersonMailMessages(requestParameters) {
816
1015
  return localVarFp.getPersonMailMessages(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(axios, basePath));
817
1016
  },
1017
+ getPersonMailMessagesWithHttpInfo(requestParameters) {
1018
+ return localVarFp.getPersonMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(axios, basePath));
1019
+ },
818
1020
  /**
819
1021
  * Lists products associated with a person.
820
1022
  * @summary List products associated with a person
@@ -825,6 +1027,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
825
1027
  getPersonProducts(requestParameters) {
826
1028
  return localVarFp.getPersonProducts(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
827
1029
  },
1030
+ getPersonProductsWithHttpInfo(requestParameters) {
1031
+ return localVarFp.getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
1032
+ },
828
1033
  /**
829
1034
  * 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.
830
1035
  * @summary List updates about a person
@@ -835,6 +1040,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
835
1040
  getPersonUpdates(requestParameters) {
836
1041
  return localVarFp.getPersonUpdates(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(axios, basePath));
837
1042
  },
1043
+ getPersonUpdatesWithHttpInfo(requestParameters) {
1044
+ return localVarFp.getPersonUpdatesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(axios, basePath));
1045
+ },
838
1046
  /**
839
1047
  * List users permitted to access a person.
840
1048
  * @summary List permitted users
@@ -845,6 +1053,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
845
1053
  getPersonUsers(requestParameters) {
846
1054
  return localVarFp.getPersonUsers(requestParameters.id).then((request) => request(axios, basePath));
847
1055
  },
1056
+ getPersonUsersWithHttpInfo(requestParameters) {
1057
+ return localVarFp.getPersonUsersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1058
+ },
848
1059
  /**
849
1060
  * 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>.
850
1061
  * @summary Merge two persons
@@ -855,6 +1066,9 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
855
1066
  mergePersons(requestParameters) {
856
1067
  return localVarFp.mergePersons(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(axios, basePath));
857
1068
  },
1069
+ mergePersonsWithHttpInfo(requestParameters) {
1070
+ return localVarFp.mergePersonsWithHttpInfo(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(axios, basePath));
1071
+ },
858
1072
  };
859
1073
  };
860
1074
  exports.PersonsApiFactory = PersonsApiFactory;
@@ -876,6 +1090,17 @@ class PersonsApi extends base_1.BaseAPI {
876
1090
  addPersonFollower(requestParameters) {
877
1091
  return (0, exports.PersonsApiFp)(this.configuration).addPersonFollower(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(this.axios, this.basePath));
878
1092
  }
1093
+ /**
1094
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
1095
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1096
+ * @param {PersonsApiAddPersonFollowerRequest} requestParameters Request parameters.
1097
+
1098
+ * @throws {RequiredError}
1099
+ * @memberof PersonsApi
1100
+ */
1101
+ addPersonFollowerWithHttpInfo(requestParameters) {
1102
+ return (0, exports.PersonsApiFp)(this.configuration).addPersonFollowerWithHttpInfo(requestParameters.id, requestParameters.AddPersonFollowerRequest).then((request) => request(this.axios, this.basePath));
1103
+ }
879
1104
  /**
880
1105
  * 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.
881
1106
  * @summary Add person picture
@@ -887,6 +1112,17 @@ class PersonsApi extends base_1.BaseAPI {
887
1112
  addPersonPicture(requestParameters) {
888
1113
  return (0, exports.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));
889
1114
  }
1115
+ /**
1116
+ * Same as `addPersonPicture`, but resolves with the response body together with the HTTP status and headers.
1117
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1118
+ * @param {PersonsApiAddPersonPictureRequest} requestParameters Request parameters.
1119
+
1120
+ * @throws {RequiredError}
1121
+ * @memberof PersonsApi
1122
+ */
1123
+ addPersonPictureWithHttpInfo(requestParameters) {
1124
+ return (0, exports.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));
1125
+ }
890
1126
  /**
891
1127
  * Deletes a follower from a person.
892
1128
  * @summary Delete a follower from a person
@@ -898,6 +1134,17 @@ class PersonsApi extends base_1.BaseAPI {
898
1134
  deletePersonFollower(requestParameters) {
899
1135
  return (0, exports.PersonsApiFp)(this.configuration).deletePersonFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
900
1136
  }
1137
+ /**
1138
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
1139
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1140
+ * @param {PersonsApiDeletePersonFollowerRequest} requestParameters Request parameters.
1141
+
1142
+ * @throws {RequiredError}
1143
+ * @memberof PersonsApi
1144
+ */
1145
+ deletePersonFollowerWithHttpInfo(requestParameters) {
1146
+ return (0, exports.PersonsApiFp)(this.configuration).deletePersonFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
1147
+ }
901
1148
  /**
902
1149
  * Deletes a person’s picture.
903
1150
  * @summary Delete person picture
@@ -909,6 +1156,17 @@ class PersonsApi extends base_1.BaseAPI {
909
1156
  deletePersonPicture(requestParameters) {
910
1157
  return (0, exports.PersonsApiFp)(this.configuration).deletePersonPicture(requestParameters.id).then((request) => request(this.axios, this.basePath));
911
1158
  }
1159
+ /**
1160
+ * Same as `deletePersonPicture`, but resolves with the response body together with the HTTP status and headers.
1161
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1162
+ * @param {PersonsApiDeletePersonPictureRequest} requestParameters Request parameters.
1163
+
1164
+ * @throws {RequiredError}
1165
+ * @memberof PersonsApi
1166
+ */
1167
+ deletePersonPictureWithHttpInfo(requestParameters) {
1168
+ return (0, exports.PersonsApiFp)(this.configuration).deletePersonPictureWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1169
+ }
912
1170
  /**
913
1171
  * Lists updates about field values of a person.
914
1172
  * @summary List updates about person field values
@@ -920,6 +1178,17 @@ class PersonsApi extends base_1.BaseAPI {
920
1178
  getPersonChangelog(requestParameters) {
921
1179
  return (0, exports.PersonsApiFp)(this.configuration).getPersonChangelog(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(this.axios, this.basePath));
922
1180
  }
1181
+ /**
1182
+ * Same as `getPersonChangelog`, but resolves with the response body together with the HTTP status and headers.
1183
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1184
+ * @param {PersonsApiGetPersonChangelogRequest} requestParameters Request parameters.
1185
+
1186
+ * @throws {RequiredError}
1187
+ * @memberof PersonsApi
1188
+ */
1189
+ getPersonChangelogWithHttpInfo(requestParameters) {
1190
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonChangelogWithHttpInfo(requestParameters.id, requestParameters.cursor, requestParameters.limit).then((request) => request(this.axios, this.basePath));
1191
+ }
923
1192
  /**
924
1193
  * Lists files associated with a person.
925
1194
  * @summary List files attached to a person
@@ -931,6 +1200,17 @@ class PersonsApi extends base_1.BaseAPI {
931
1200
  getPersonFiles(requestParameters) {
932
1201
  return (0, exports.PersonsApiFp)(this.configuration).getPersonFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(this.axios, this.basePath));
933
1202
  }
1203
+ /**
1204
+ * Same as `getPersonFiles`, but resolves with the response body together with the HTTP status and headers.
1205
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1206
+ * @param {PersonsApiGetPersonFilesRequest} requestParameters Request parameters.
1207
+
1208
+ * @throws {RequiredError}
1209
+ * @memberof PersonsApi
1210
+ */
1211
+ getPersonFilesWithHttpInfo(requestParameters) {
1212
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonFilesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(this.axios, this.basePath));
1213
+ }
934
1214
  /**
935
1215
  * Lists the followers of a person.
936
1216
  * @summary List followers of a person
@@ -942,6 +1222,17 @@ class PersonsApi extends base_1.BaseAPI {
942
1222
  getPersonFollowers(requestParameters) {
943
1223
  return (0, exports.PersonsApiFp)(this.configuration).getPersonFollowers(requestParameters.id).then((request) => request(this.axios, this.basePath));
944
1224
  }
1225
+ /**
1226
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
1227
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1228
+ * @param {PersonsApiGetPersonFollowersRequest} requestParameters Request parameters.
1229
+
1230
+ * @throws {RequiredError}
1231
+ * @memberof PersonsApi
1232
+ */
1233
+ getPersonFollowersWithHttpInfo(requestParameters) {
1234
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonFollowersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1235
+ }
945
1236
  /**
946
1237
  * Lists mail messages associated with a person.
947
1238
  * @summary List mail messages associated with a person
@@ -953,6 +1244,17 @@ class PersonsApi extends base_1.BaseAPI {
953
1244
  getPersonMailMessages(requestParameters) {
954
1245
  return (0, exports.PersonsApiFp)(this.configuration).getPersonMailMessages(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
955
1246
  }
1247
+ /**
1248
+ * Same as `getPersonMailMessages`, but resolves with the response body together with the HTTP status and headers.
1249
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1250
+ * @param {PersonsApiGetPersonMailMessagesRequest} requestParameters Request parameters.
1251
+
1252
+ * @throws {RequiredError}
1253
+ * @memberof PersonsApi
1254
+ */
1255
+ getPersonMailMessagesWithHttpInfo(requestParameters) {
1256
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
1257
+ }
956
1258
  /**
957
1259
  * Lists products associated with a person.
958
1260
  * @summary List products associated with a person
@@ -964,6 +1266,17 @@ class PersonsApi extends base_1.BaseAPI {
964
1266
  getPersonProducts(requestParameters) {
965
1267
  return (0, exports.PersonsApiFp)(this.configuration).getPersonProducts(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
966
1268
  }
1269
+ /**
1270
+ * Same as `getPersonProducts`, but resolves with the response body together with the HTTP status and headers.
1271
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1272
+ * @param {PersonsApiGetPersonProductsRequest} requestParameters Request parameters.
1273
+
1274
+ * @throws {RequiredError}
1275
+ * @memberof PersonsApi
1276
+ */
1277
+ getPersonProductsWithHttpInfo(requestParameters) {
1278
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
1279
+ }
967
1280
  /**
968
1281
  * 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.
969
1282
  * @summary List updates about a person
@@ -975,6 +1288,17 @@ class PersonsApi extends base_1.BaseAPI {
975
1288
  getPersonUpdates(requestParameters) {
976
1289
  return (0, exports.PersonsApiFp)(this.configuration).getPersonUpdates(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(this.axios, this.basePath));
977
1290
  }
1291
+ /**
1292
+ * Same as `getPersonUpdates`, but resolves with the response body together with the HTTP status and headers.
1293
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1294
+ * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
1295
+
1296
+ * @throws {RequiredError}
1297
+ * @memberof PersonsApi
1298
+ */
1299
+ getPersonUpdatesWithHttpInfo(requestParameters) {
1300
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonUpdatesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items).then((request) => request(this.axios, this.basePath));
1301
+ }
978
1302
  /**
979
1303
  * List users permitted to access a person.
980
1304
  * @summary List permitted users
@@ -986,6 +1310,17 @@ class PersonsApi extends base_1.BaseAPI {
986
1310
  getPersonUsers(requestParameters) {
987
1311
  return (0, exports.PersonsApiFp)(this.configuration).getPersonUsers(requestParameters.id).then((request) => request(this.axios, this.basePath));
988
1312
  }
1313
+ /**
1314
+ * Same as `getPersonUsers`, but resolves with the response body together with the HTTP status and headers.
1315
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1316
+ * @param {PersonsApiGetPersonUsersRequest} requestParameters Request parameters.
1317
+
1318
+ * @throws {RequiredError}
1319
+ * @memberof PersonsApi
1320
+ */
1321
+ getPersonUsersWithHttpInfo(requestParameters) {
1322
+ return (0, exports.PersonsApiFp)(this.configuration).getPersonUsersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1323
+ }
989
1324
  /**
990
1325
  * 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>.
991
1326
  * @summary Merge two persons
@@ -997,5 +1332,16 @@ class PersonsApi extends base_1.BaseAPI {
997
1332
  mergePersons(requestParameters) {
998
1333
  return (0, exports.PersonsApiFp)(this.configuration).mergePersons(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(this.axios, this.basePath));
999
1334
  }
1335
+ /**
1336
+ * Same as `mergePersons`, but resolves with the response body together with the HTTP status and headers.
1337
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1338
+ * @param {PersonsApiMergePersonsRequest} requestParameters Request parameters.
1339
+
1340
+ * @throws {RequiredError}
1341
+ * @memberof PersonsApi
1342
+ */
1343
+ mergePersonsWithHttpInfo(requestParameters) {
1344
+ return (0, exports.PersonsApiFp)(this.configuration).mergePersonsWithHttpInfo(requestParameters.id, requestParameters.MergePersonsRequest).then((request) => request(this.axios, this.basePath));
1345
+ }
1000
1346
  }
1001
1347
  exports.PersonsApi = PersonsApi;