pipedrive 36.0.0 → 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 (325) 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/v1/models/deal-all-of.d.ts +6 -6
  88. package/dist/esm/versions/v1/models/index.d.ts +0 -3
  89. package/dist/esm/versions/v1/models/index.js +0 -3
  90. package/dist/esm/versions/v1/models/note-deal.d.ts +11 -5
  91. package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
  92. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  93. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  94. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  95. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  96. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  97. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  98. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  99. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  100. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  101. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  102. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  103. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  104. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  105. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  106. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  107. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  108. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  109. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  112. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  113. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  114. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  115. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  116. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  117. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  118. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  119. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  120. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  121. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  122. package/dist/esm/versions/v2/api/products-api.js +541 -0
  123. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  124. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  125. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  126. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  127. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  128. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  129. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  130. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  131. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  132. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  133. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  134. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  135. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  136. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  137. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  138. package/dist/esm/versions/v2/api/users-api.js +29 -0
  139. package/dist/esm/versions/v2/base.d.ts +17 -0
  140. package/dist/esm/versions/v2/base.js +22 -0
  141. package/dist/esm/versions/v2/common.d.ts +1 -1
  142. package/dist/esm/versions/v2/common.js +7 -4
  143. package/dist/esm/versions/v2/models/index.d.ts +2 -5
  144. package/dist/esm/versions/v2/models/index.js +2 -5
  145. package/dist/esm/versions/v2/models/prices-array.d.ts +3 -3
  146. package/dist/esm/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
  147. package/dist/{versions/v2/models/prices-array-prices-inner-all-of.d.ts → esm/versions/v2/models/product-price.d.ts} +12 -2
  148. package/dist/esm/versions/v2/models/product-request.d.ts +3 -3
  149. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  150. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  151. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  152. package/dist/versions/v1/api/activity-types-api.js +107 -0
  153. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  154. package/dist/versions/v1/api/billing-api.js +25 -0
  155. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  156. package/dist/versions/v1/api/call-logs-api.js +137 -0
  157. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  158. package/dist/versions/v1/api/channels-api.js +109 -0
  159. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  160. package/dist/versions/v1/api/currencies-api.js +27 -0
  161. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  162. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  163. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  164. package/dist/versions/v1/api/deals-api.js +569 -0
  165. package/dist/versions/v1/api/files-api.d.ts +163 -1
  166. package/dist/versions/v1/api/files-api.js +234 -0
  167. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  168. package/dist/versions/v1/api/filters-api.js +191 -0
  169. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  170. package/dist/versions/v1/api/goals-api.js +150 -0
  171. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  172. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  173. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  174. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  175. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  176. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  177. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  178. package/dist/versions/v1/api/leads-api.js +237 -0
  179. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  180. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  181. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  182. package/dist/versions/v1/api/mailbox-api.js +170 -0
  183. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  184. package/dist/versions/v1/api/meetings-api.js +54 -0
  185. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  186. package/dist/versions/v1/api/note-fields-api.js +25 -0
  187. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  188. package/dist/versions/v1/api/notes-api.js +296 -0
  189. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  190. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  191. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  192. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  193. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  194. package/dist/versions/v1/api/organizations-api.js +258 -0
  195. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  196. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  197. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  198. package/dist/versions/v1/api/person-fields-api.js +164 -0
  199. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  200. package/dist/versions/v1/api/persons-api.js +370 -24
  201. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  202. package/dist/versions/v1/api/pipelines-api.js +95 -0
  203. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  204. package/dist/versions/v1/api/product-fields-api.js +164 -0
  205. package/dist/versions/v1/api/products-api.d.ts +119 -1
  206. package/dist/versions/v1/api/products-api.js +172 -0
  207. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  208. package/dist/versions/v1/api/project-boards-api.js +52 -0
  209. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  210. package/dist/versions/v1/api/project-phases-api.js +54 -0
  211. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  212. package/dist/versions/v1/api/project-templates-api.js +55 -0
  213. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  214. package/dist/versions/v1/api/projects-api.js +334 -0
  215. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  216. package/dist/versions/v1/api/recents-api.js +30 -0
  217. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  218. package/dist/versions/v1/api/roles-api.js +333 -0
  219. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  220. package/dist/versions/v1/api/stages-api.js +32 -0
  221. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  222. package/dist/versions/v1/api/tasks-api.js +141 -0
  223. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  224. package/dist/versions/v1/api/user-connections-api.js +25 -0
  225. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  226. package/dist/versions/v1/api/user-settings-api.js +25 -0
  227. package/dist/versions/v1/api/users-api.d.ts +181 -1
  228. package/dist/versions/v1/api/users-api.js +270 -0
  229. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  230. package/dist/versions/v1/api/webhooks-api.js +79 -0
  231. package/dist/versions/v1/base.d.ts +17 -0
  232. package/dist/versions/v1/base.js +24 -1
  233. package/dist/versions/v1/common.d.ts +1 -1
  234. package/dist/versions/v1/common.js +6 -3
  235. package/dist/versions/v1/models/deal-all-of.d.ts +6 -6
  236. package/dist/versions/v1/models/index.d.ts +0 -3
  237. package/dist/versions/v1/models/index.js +0 -3
  238. package/dist/versions/v1/models/note-deal.d.ts +11 -5
  239. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  240. package/dist/versions/v2/api/activities-api.js +151 -0
  241. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  242. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  243. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  244. package/dist/versions/v2/api/beta-api.js +666 -0
  245. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  246. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  247. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  248. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  249. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  250. package/dist/versions/v2/api/deal-products-api.js +203 -0
  251. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  252. package/dist/versions/v2/api/deals-api.js +516 -1
  253. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  254. package/dist/versions/v2/api/item-search-api.js +66 -0
  255. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  256. package/dist/versions/v2/api/leads-api.js +90 -0
  257. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  258. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  259. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  260. package/dist/versions/v2/api/organizations-api.js +297 -0
  261. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  262. package/dist/versions/v2/api/person-fields-api.js +223 -0
  263. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  264. package/dist/versions/v2/api/persons-api.js +328 -0
  265. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  266. package/dist/versions/v2/api/pipelines-api.js +139 -0
  267. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  268. package/dist/versions/v2/api/product-fields-api.js +223 -0
  269. package/dist/versions/v2/api/products-api.d.ts +371 -1
  270. package/dist/versions/v2/api/products-api.js +541 -0
  271. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  272. package/dist/versions/v2/api/project-boards-api.js +134 -0
  273. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  274. package/dist/versions/v2/api/project-fields-api.js +221 -0
  275. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  276. package/dist/versions/v2/api/project-phases-api.js +136 -0
  277. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  278. package/dist/versions/v2/api/project-templates-api.js +55 -0
  279. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  280. package/dist/versions/v2/api/projects-api.js +290 -0
  281. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  282. package/dist/versions/v2/api/stages-api.js +140 -0
  283. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  284. package/dist/versions/v2/api/tasks-api.js +142 -0
  285. package/dist/versions/v2/api/users-api.d.ts +21 -1
  286. package/dist/versions/v2/api/users-api.js +29 -0
  287. package/dist/versions/v2/base.d.ts +17 -0
  288. package/dist/versions/v2/base.js +24 -1
  289. package/dist/versions/v2/common.d.ts +1 -1
  290. package/dist/versions/v2/common.js +6 -3
  291. package/dist/versions/v2/models/index.d.ts +2 -5
  292. package/dist/versions/v2/models/index.js +2 -5
  293. package/dist/versions/v2/models/prices-array.d.ts +3 -3
  294. package/dist/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
  295. package/dist/{esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts → versions/v2/models/product-price.d.ts} +12 -2
  296. package/dist/versions/v2/models/product-request.d.ts +3 -3
  297. package/package.json +1 -1
  298. package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
  299. package/dist/esm/versions/v1/models/deal-all-of-org-id.js +0 -14
  300. package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
  301. package/dist/esm/versions/v1/models/deal-all-of-person-id.js +0 -14
  302. package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +0 -23
  303. package/dist/esm/versions/v1/models/note-deal-all-of.js +0 -14
  304. package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
  305. package/dist/esm/versions/v2/models/product-price-base.d.ts +0 -28
  306. package/dist/esm/versions/v2/models/product-price-base.js +0 -14
  307. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +0 -14
  308. package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +0 -18
  309. package/dist/esm/versions/v2/models/product-request-prices-inner.js +0 -14
  310. package/dist/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
  311. package/dist/versions/v1/models/deal-all-of-org-id.js +0 -15
  312. package/dist/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
  313. package/dist/versions/v1/models/deal-all-of-person-id.js +0 -15
  314. package/dist/versions/v1/models/note-deal-all-of.d.ts +0 -23
  315. package/dist/versions/v1/models/note-deal-all-of.js +0 -15
  316. package/dist/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
  317. package/dist/versions/v2/models/product-price-base.d.ts +0 -28
  318. package/dist/versions/v2/models/product-price-base.js +0 -15
  319. package/dist/versions/v2/models/product-request-prices-inner-all-of.js +0 -15
  320. package/dist/versions/v2/models/product-request-prices-inner.d.ts +0 -18
  321. package/dist/versions/v2/models/product-request-prices-inner.js +0 -15
  322. /package/dist/esm/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
  323. /package/dist/esm/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
  324. /package/dist/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
  325. /package/dist/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
@@ -551,6 +551,19 @@ export const PersonsApiFp = function (configuration) {
551
551
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
552
552
  });
553
553
  },
554
+ /**
555
+ * Same as `addPerson`, but resolves with the response body together with the HTTP status and headers.
556
+ * @summary Add a new person
557
+ * @param {AddPersonRequest} [AddPersonRequest]
558
+
559
+ * @throws {RequiredError}
560
+ */
561
+ addPersonWithHttpInfo(AddPersonRequest) {
562
+ return __awaiter(this, void 0, void 0, function* () {
563
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPerson(AddPersonRequest);
564
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
565
+ });
566
+ },
554
567
  /**
555
568
  * Adds a user as a follower to the person.
556
569
  * @summary Add a follower to a person
@@ -565,6 +578,20 @@ export const PersonsApiFp = function (configuration) {
565
578
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
566
579
  });
567
580
  },
581
+ /**
582
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
583
+ * @summary Add a follower to a person
584
+ * @param {number} id The ID of the person
585
+ * @param {AddDealFollowerRequest} [AddDealFollowerRequest]
586
+
587
+ * @throws {RequiredError}
588
+ */
589
+ addPersonFollowerWithHttpInfo(id, AddDealFollowerRequest) {
590
+ return __awaiter(this, void 0, void 0, function* () {
591
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonFollower(id, AddDealFollowerRequest);
592
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
593
+ });
594
+ },
568
595
  /**
569
596
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
570
597
  * @summary Delete a person
@@ -578,6 +605,19 @@ export const PersonsApiFp = function (configuration) {
578
605
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
579
606
  });
580
607
  },
608
+ /**
609
+ * Same as `deletePerson`, but resolves with the response body together with the HTTP status and headers.
610
+ * @summary Delete a person
611
+ * @param {number} id The ID of the person
612
+
613
+ * @throws {RequiredError}
614
+ */
615
+ deletePersonWithHttpInfo(id) {
616
+ return __awaiter(this, void 0, void 0, function* () {
617
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePerson(id);
618
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
619
+ });
620
+ },
581
621
  /**
582
622
  * Deletes a user follower from the person.
583
623
  * @summary Delete a follower from a person
@@ -592,6 +632,20 @@ export const PersonsApiFp = function (configuration) {
592
632
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
593
633
  });
594
634
  },
635
+ /**
636
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
637
+ * @summary Delete a follower from a person
638
+ * @param {number} id The ID of the person
639
+ * @param {number} follower_id The ID of the following user
640
+
641
+ * @throws {RequiredError}
642
+ */
643
+ deletePersonFollowerWithHttpInfo(id, follower_id) {
644
+ return __awaiter(this, void 0, void 0, function* () {
645
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFollower(id, follower_id);
646
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
647
+ });
648
+ },
595
649
  /**
596
650
  * Returns the details of a specific person. Fields `ims`, `postal_address`, `notes`, `birthday`, and `job_title` are only included if contact sync is enabled for the company.
597
651
  * @summary Get details of a person
@@ -609,6 +663,23 @@ export const PersonsApiFp = function (configuration) {
609
663
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
610
664
  });
611
665
  },
666
+ /**
667
+ * Same as `getPerson`, but resolves with the response body together with the HTTP status and headers.
668
+ * @summary Get details of a person
669
+ * @param {number} id The ID of the person
670
+ * @param {Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'participant_open_deals_count' | 'participant_closed_deals_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'marketing_status' | 'doi_status' | 'smart_bcc_email'>} [include_fields] Optional comma separated string array of additional fields to include. &#x60;marketing_status&#x60; and &#x60;doi_status&#x60; can only be included if the company has marketing app enabled.
671
+ * @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.&lt;br/&gt;A maximum of 15 keys is allowed.
672
+ * @param {boolean} [include_option_labels] When provided with a \&#39;true\&#39; value, single option and multiple option custom fields values contain objects in the form of \&#39;{ id: number, label: string }\&#39; instead of plain id
673
+ * @param {boolean} [include_labels] When provided with \&#39;true\&#39; value, response will include an array of label objects in the form of \&#39;{ id: number, label: string }\&#39;
674
+
675
+ * @throws {RequiredError}
676
+ */
677
+ getPersonWithHttpInfo(id, include_fields, custom_fields, include_option_labels, include_labels) {
678
+ return __awaiter(this, void 0, void 0, function* () {
679
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPerson(id, include_fields, custom_fields, include_option_labels, include_labels);
680
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
681
+ });
682
+ },
612
683
  /**
613
684
  * Lists users who are following the person.
614
685
  * @summary List followers of a person
@@ -624,6 +695,21 @@ export const PersonsApiFp = function (configuration) {
624
695
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
625
696
  });
626
697
  },
698
+ /**
699
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
700
+ * @summary List followers of a person
701
+ * @param {number} id The ID of the person
702
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
703
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
704
+
705
+ * @throws {RequiredError}
706
+ */
707
+ getPersonFollowersWithHttpInfo(id, limit, cursor) {
708
+ return __awaiter(this, void 0, void 0, function* () {
709
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFollowers(id, limit, cursor);
710
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
711
+ });
712
+ },
627
713
  /**
628
714
  * Lists changelogs about users have followed the person.
629
715
  * @summary List followers changelog of a person
@@ -639,6 +725,21 @@ export const PersonsApiFp = function (configuration) {
639
725
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
640
726
  });
641
727
  },
728
+ /**
729
+ * Same as `getPersonFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
730
+ * @summary List followers changelog of a person
731
+ * @param {number} id The ID of the person
732
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
733
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
734
+
735
+ * @throws {RequiredError}
736
+ */
737
+ getPersonFollowersChangelogWithHttpInfo(id, limit, cursor) {
738
+ return __awaiter(this, void 0, void 0, function* () {
739
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFollowersChangelog(id, limit, cursor);
740
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
741
+ });
742
+ },
642
743
  /**
643
744
  * Returns the picture associated with a person. The picture URLs include both 128x128 and 512x512 pixel versions.
644
745
  * @summary Get picture of a person
@@ -652,6 +753,19 @@ export const PersonsApiFp = function (configuration) {
652
753
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
653
754
  });
654
755
  },
756
+ /**
757
+ * Same as `getPersonPicture`, but resolves with the response body together with the HTTP status and headers.
758
+ * @summary Get picture of a person
759
+ * @param {number} id The ID of the person
760
+
761
+ * @throws {RequiredError}
762
+ */
763
+ getPersonPictureWithHttpInfo(id) {
764
+ return __awaiter(this, void 0, void 0, function* () {
765
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonPicture(id);
766
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
767
+ });
768
+ },
655
769
  /**
656
770
  * Returns data about all persons. Fields `ims`, `postal_address`, `notes`, `birthday`, and `job_title` are only included if contact sync is enabled for the company.
657
771
  * @summary Get all persons
@@ -679,6 +793,33 @@ export const PersonsApiFp = function (configuration) {
679
793
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
680
794
  });
681
795
  },
796
+ /**
797
+ * Same as `getPersons`, but resolves with the response body together with the HTTP status and headers.
798
+ * @summary Get all persons
799
+ * @param {number} [filter_id] If supplied, only persons matching the specified filter are returned
800
+ * @param {Set<number>} [ids] Optional comma separated array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
801
+ * @param {number} [owner_id] If supplied, only persons owned by the specified user are returned. If filter_id is provided, this is ignored.
802
+ * @param {number} [org_id] If supplied, only persons linked to the specified organization are returned. If filter_id is provided, this is ignored.
803
+ * @param {number} [deal_id] If supplied, only persons linked to the specified deal are returned. If filter_id is provided, this is ignored.
804
+ * @param {string} [updated_since] If set, only persons with an &#x60;update_time&#x60; later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
805
+ * @param {string} [updated_until] If set, only persons with an &#x60;update_time&#x60; earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
806
+ * @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;.
807
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
808
+ * @param {Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'participant_open_deals_count' | 'participant_closed_deals_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'marketing_status' | 'doi_status' | 'smart_bcc_email'>} [include_fields] Optional comma separated string array of additional fields to include. &#x60;marketing_status&#x60; and &#x60;doi_status&#x60; can only be included if the company has marketing app enabled.
809
+ * @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.&lt;br/&gt;A maximum of 15 keys is allowed.
810
+ * @param {boolean} [include_option_labels] When provided with a \&#39;true\&#39; value, single option and multiple option custom fields values contain objects in the form of \&#39;{ id: number, label: string }\&#39; instead of plain id
811
+ * @param {boolean} [include_labels] When provided with \&#39;true\&#39; value, response will include an array of label objects in the form of \&#39;{ id: number, label: string }\&#39;
812
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
813
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
814
+
815
+ * @throws {RequiredError}
816
+ */
817
+ getPersonsWithHttpInfo(filter_id, ids, owner_id, org_id, deal_id, updated_since, updated_until, sort_by, sort_direction, include_fields, custom_fields, include_option_labels, include_labels, limit, cursor) {
818
+ return __awaiter(this, void 0, void 0, function* () {
819
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersons(filter_id, ids, owner_id, org_id, deal_id, updated_since, updated_until, sort_by, sort_direction, include_fields, custom_fields, include_option_labels, include_labels, limit, cursor);
820
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
821
+ });
822
+ },
682
823
  /**
683
824
  * Searches all persons by name, email, phone, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found persons can be filtered by organization ID.
684
825
  * @summary Search persons
@@ -698,6 +839,25 @@ export const PersonsApiFp = function (configuration) {
698
839
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
699
840
  });
700
841
  },
842
+ /**
843
+ * Same as `searchPersons`, but resolves with the response body together with the HTTP status and headers.
844
+ * @summary Search persons
845
+ * @param {string} term The search term to look for. Minimum 2 characters (or 1 if using &#x60;exact_match&#x60;). Please note that the search term has to be URL encoded.
846
+ * @param {Set<'custom_fields' | 'email' | 'notes' | 'phone' | 'name'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: &#x60;address&#x60;, &#x60;varchar&#x60;, &#x60;text&#x60;, &#x60;varchar_auto&#x60;, &#x60;double&#x60;, &#x60;monetary&#x60; and &#x60;phone&#x60;. Read more about searching by custom fields &lt;a href&#x3D;\&quot;https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\&quot; target&#x3D;\&quot;_blank\&quot; rel&#x3D;\&quot;noopener noreferrer\&quot;&gt;here&lt;/a&gt;.
847
+ * @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is &lt;b&gt;not&lt;/b&gt; case sensitive.
848
+ * @param {number} [organization_id] Will filter persons by the provided organization ID. The upper limit of found persons associated with the organization is 2000.
849
+ * @param {Set<'person.picture'>} [include_fields] Supports including optional fields in the results which are not provided by default
850
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 100 is allowed.
851
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
852
+
853
+ * @throws {RequiredError}
854
+ */
855
+ searchPersonsWithHttpInfo(term, fields, exact_match, organization_id, include_fields, limit, cursor) {
856
+ return __awaiter(this, void 0, void 0, function* () {
857
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPersons(term, fields, exact_match, organization_id, include_fields, limit, cursor);
858
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
859
+ });
860
+ },
701
861
  /**
702
862
  * Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field. <br>The `im`, `postal_address`, `notes`, `birthday` and `job_title` fields don\'t exist by default in Pipedrive and are only created when you set up your contact sync — attempting to set any of them without contact sync enabled returns a 403.
703
863
  * @summary Update a person
@@ -712,6 +872,20 @@ export const PersonsApiFp = function (configuration) {
712
872
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
713
873
  });
714
874
  },
875
+ /**
876
+ * Same as `updatePerson`, but resolves with the response body together with the HTTP status and headers.
877
+ * @summary Update a person
878
+ * @param {number} id The ID of the person
879
+ * @param {UpdatePersonRequest} [UpdatePersonRequest]
880
+
881
+ * @throws {RequiredError}
882
+ */
883
+ updatePersonWithHttpInfo(id, UpdatePersonRequest) {
884
+ return __awaiter(this, void 0, void 0, function* () {
885
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePerson(id, UpdatePersonRequest);
886
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
887
+ });
888
+ },
715
889
  };
716
890
  };
717
891
  /**
@@ -731,6 +905,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
731
905
  addPerson(requestParameters = {}) {
732
906
  return localVarFp.addPerson(requestParameters.AddPersonRequest).then((request) => request(axios, basePath));
733
907
  },
908
+ addPersonWithHttpInfo(requestParameters = {}) {
909
+ return localVarFp.addPersonWithHttpInfo(requestParameters.AddPersonRequest).then((request) => request(axios, basePath));
910
+ },
734
911
  /**
735
912
  * Adds a user as a follower to the person.
736
913
  * @summary Add a follower to a person
@@ -741,6 +918,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
741
918
  addPersonFollower(requestParameters) {
742
919
  return localVarFp.addPersonFollower(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(axios, basePath));
743
920
  },
921
+ addPersonFollowerWithHttpInfo(requestParameters) {
922
+ return localVarFp.addPersonFollowerWithHttpInfo(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(axios, basePath));
923
+ },
744
924
  /**
745
925
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
746
926
  * @summary Delete a person
@@ -751,6 +931,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
751
931
  deletePerson(requestParameters) {
752
932
  return localVarFp.deletePerson(requestParameters.id).then((request) => request(axios, basePath));
753
933
  },
934
+ deletePersonWithHttpInfo(requestParameters) {
935
+ return localVarFp.deletePersonWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
936
+ },
754
937
  /**
755
938
  * Deletes a user follower from the person.
756
939
  * @summary Delete a follower from a person
@@ -761,6 +944,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
761
944
  deletePersonFollower(requestParameters) {
762
945
  return localVarFp.deletePersonFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
763
946
  },
947
+ deletePersonFollowerWithHttpInfo(requestParameters) {
948
+ return localVarFp.deletePersonFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
949
+ },
764
950
  /**
765
951
  * Returns the details of a specific person. Fields `ims`, `postal_address`, `notes`, `birthday`, and `job_title` are only included if contact sync is enabled for the company.
766
952
  * @summary Get details of a person
@@ -771,6 +957,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
771
957
  getPerson(requestParameters) {
772
958
  return localVarFp.getPerson(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(axios, basePath));
773
959
  },
960
+ getPersonWithHttpInfo(requestParameters) {
961
+ return localVarFp.getPersonWithHttpInfo(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(axios, basePath));
962
+ },
774
963
  /**
775
964
  * Lists users who are following the person.
776
965
  * @summary List followers of a person
@@ -781,6 +970,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
781
970
  getPersonFollowers(requestParameters) {
782
971
  return localVarFp.getPersonFollowers(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
783
972
  },
973
+ getPersonFollowersWithHttpInfo(requestParameters) {
974
+ return localVarFp.getPersonFollowersWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
975
+ },
784
976
  /**
785
977
  * Lists changelogs about users have followed the person.
786
978
  * @summary List followers changelog of a person
@@ -791,6 +983,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
791
983
  getPersonFollowersChangelog(requestParameters) {
792
984
  return localVarFp.getPersonFollowersChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
793
985
  },
986
+ getPersonFollowersChangelogWithHttpInfo(requestParameters) {
987
+ return localVarFp.getPersonFollowersChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
988
+ },
794
989
  /**
795
990
  * Returns the picture associated with a person. The picture URLs include both 128x128 and 512x512 pixel versions.
796
991
  * @summary Get picture of a person
@@ -801,6 +996,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
801
996
  getPersonPicture(requestParameters) {
802
997
  return localVarFp.getPersonPicture(requestParameters.id).then((request) => request(axios, basePath));
803
998
  },
999
+ getPersonPictureWithHttpInfo(requestParameters) {
1000
+ return localVarFp.getPersonPictureWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1001
+ },
804
1002
  /**
805
1003
  * Returns data about all persons. Fields `ims`, `postal_address`, `notes`, `birthday`, and `job_title` are only included if contact sync is enabled for the company.
806
1004
  * @summary Get all persons
@@ -811,6 +1009,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
811
1009
  getPersons(requestParameters = {}) {
812
1010
  return localVarFp.getPersons(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.org_id, requestParameters.deal_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
813
1011
  },
1012
+ getPersonsWithHttpInfo(requestParameters = {}) {
1013
+ return localVarFp.getPersonsWithHttpInfo(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.org_id, requestParameters.deal_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1014
+ },
814
1015
  /**
815
1016
  * Searches all persons by name, email, phone, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found persons can be filtered by organization ID.
816
1017
  * @summary Search persons
@@ -821,6 +1022,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
821
1022
  searchPersons(requestParameters) {
822
1023
  return localVarFp.searchPersons(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.organization_id, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
823
1024
  },
1025
+ searchPersonsWithHttpInfo(requestParameters) {
1026
+ return localVarFp.searchPersonsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.organization_id, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1027
+ },
824
1028
  /**
825
1029
  * Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field. <br>The `im`, `postal_address`, `notes`, `birthday` and `job_title` fields don\'t exist by default in Pipedrive and are only created when you set up your contact sync — attempting to set any of them without contact sync enabled returns a 403.
826
1030
  * @summary Update a person
@@ -831,6 +1035,9 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
831
1035
  updatePerson(requestParameters) {
832
1036
  return localVarFp.updatePerson(requestParameters.id, requestParameters.UpdatePersonRequest).then((request) => request(axios, basePath));
833
1037
  },
1038
+ updatePersonWithHttpInfo(requestParameters) {
1039
+ return localVarFp.updatePersonWithHttpInfo(requestParameters.id, requestParameters.UpdatePersonRequest).then((request) => request(axios, basePath));
1040
+ },
834
1041
  };
835
1042
  };
836
1043
  /**
@@ -851,6 +1058,17 @@ export class PersonsApi extends BaseAPI {
851
1058
  addPerson(requestParameters = {}) {
852
1059
  return PersonsApiFp(this.configuration).addPerson(requestParameters.AddPersonRequest).then((request) => request(this.axios, this.basePath));
853
1060
  }
1061
+ /**
1062
+ * Same as `addPerson`, but resolves with the response body together with the HTTP status and headers.
1063
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1064
+ * @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
1065
+
1066
+ * @throws {RequiredError}
1067
+ * @memberof PersonsApi
1068
+ */
1069
+ addPersonWithHttpInfo(requestParameters = {}) {
1070
+ return PersonsApiFp(this.configuration).addPersonWithHttpInfo(requestParameters.AddPersonRequest).then((request) => request(this.axios, this.basePath));
1071
+ }
854
1072
  /**
855
1073
  * Adds a user as a follower to the person.
856
1074
  * @summary Add a follower to a person
@@ -862,6 +1080,17 @@ export class PersonsApi extends BaseAPI {
862
1080
  addPersonFollower(requestParameters) {
863
1081
  return PersonsApiFp(this.configuration).addPersonFollower(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(this.axios, this.basePath));
864
1082
  }
1083
+ /**
1084
+ * Same as `addPersonFollower`, but resolves with the response body together with the HTTP status and headers.
1085
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1086
+ * @param {PersonsApiAddPersonFollowerRequest} requestParameters Request parameters.
1087
+
1088
+ * @throws {RequiredError}
1089
+ * @memberof PersonsApi
1090
+ */
1091
+ addPersonFollowerWithHttpInfo(requestParameters) {
1092
+ return PersonsApiFp(this.configuration).addPersonFollowerWithHttpInfo(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(this.axios, this.basePath));
1093
+ }
865
1094
  /**
866
1095
  * Marks a person as deleted. After 30 days, the person will be permanently deleted.
867
1096
  * @summary Delete a person
@@ -873,6 +1102,17 @@ export class PersonsApi extends BaseAPI {
873
1102
  deletePerson(requestParameters) {
874
1103
  return PersonsApiFp(this.configuration).deletePerson(requestParameters.id).then((request) => request(this.axios, this.basePath));
875
1104
  }
1105
+ /**
1106
+ * Same as `deletePerson`, but resolves with the response body together with the HTTP status and headers.
1107
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1108
+ * @param {PersonsApiDeletePersonRequest} requestParameters Request parameters.
1109
+
1110
+ * @throws {RequiredError}
1111
+ * @memberof PersonsApi
1112
+ */
1113
+ deletePersonWithHttpInfo(requestParameters) {
1114
+ return PersonsApiFp(this.configuration).deletePersonWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1115
+ }
876
1116
  /**
877
1117
  * Deletes a user follower from the person.
878
1118
  * @summary Delete a follower from a person
@@ -884,6 +1124,17 @@ export class PersonsApi extends BaseAPI {
884
1124
  deletePersonFollower(requestParameters) {
885
1125
  return PersonsApiFp(this.configuration).deletePersonFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
886
1126
  }
1127
+ /**
1128
+ * Same as `deletePersonFollower`, but resolves with the response body together with the HTTP status and headers.
1129
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1130
+ * @param {PersonsApiDeletePersonFollowerRequest} requestParameters Request parameters.
1131
+
1132
+ * @throws {RequiredError}
1133
+ * @memberof PersonsApi
1134
+ */
1135
+ deletePersonFollowerWithHttpInfo(requestParameters) {
1136
+ return PersonsApiFp(this.configuration).deletePersonFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
1137
+ }
887
1138
  /**
888
1139
  * Returns the details of a specific person. Fields `ims`, `postal_address`, `notes`, `birthday`, and `job_title` are only included if contact sync is enabled for the company.
889
1140
  * @summary Get details of a person
@@ -895,6 +1146,17 @@ export class PersonsApi extends BaseAPI {
895
1146
  getPerson(requestParameters) {
896
1147
  return PersonsApiFp(this.configuration).getPerson(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(this.axios, this.basePath));
897
1148
  }
1149
+ /**
1150
+ * Same as `getPerson`, but resolves with the response body together with the HTTP status and headers.
1151
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1152
+ * @param {PersonsApiGetPersonRequest} requestParameters Request parameters.
1153
+
1154
+ * @throws {RequiredError}
1155
+ * @memberof PersonsApi
1156
+ */
1157
+ getPersonWithHttpInfo(requestParameters) {
1158
+ return PersonsApiFp(this.configuration).getPersonWithHttpInfo(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(this.axios, this.basePath));
1159
+ }
898
1160
  /**
899
1161
  * Lists users who are following the person.
900
1162
  * @summary List followers of a person
@@ -906,6 +1168,17 @@ export class PersonsApi extends BaseAPI {
906
1168
  getPersonFollowers(requestParameters) {
907
1169
  return PersonsApiFp(this.configuration).getPersonFollowers(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
908
1170
  }
1171
+ /**
1172
+ * Same as `getPersonFollowers`, but resolves with the response body together with the HTTP status and headers.
1173
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1174
+ * @param {PersonsApiGetPersonFollowersRequest} requestParameters Request parameters.
1175
+
1176
+ * @throws {RequiredError}
1177
+ * @memberof PersonsApi
1178
+ */
1179
+ getPersonFollowersWithHttpInfo(requestParameters) {
1180
+ return PersonsApiFp(this.configuration).getPersonFollowersWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1181
+ }
909
1182
  /**
910
1183
  * Lists changelogs about users have followed the person.
911
1184
  * @summary List followers changelog of a person
@@ -917,6 +1190,17 @@ export class PersonsApi extends BaseAPI {
917
1190
  getPersonFollowersChangelog(requestParameters) {
918
1191
  return PersonsApiFp(this.configuration).getPersonFollowersChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
919
1192
  }
1193
+ /**
1194
+ * Same as `getPersonFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
1195
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1196
+ * @param {PersonsApiGetPersonFollowersChangelogRequest} requestParameters Request parameters.
1197
+
1198
+ * @throws {RequiredError}
1199
+ * @memberof PersonsApi
1200
+ */
1201
+ getPersonFollowersChangelogWithHttpInfo(requestParameters) {
1202
+ return PersonsApiFp(this.configuration).getPersonFollowersChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1203
+ }
920
1204
  /**
921
1205
  * Returns the picture associated with a person. The picture URLs include both 128x128 and 512x512 pixel versions.
922
1206
  * @summary Get picture of a person
@@ -928,6 +1212,17 @@ export class PersonsApi extends BaseAPI {
928
1212
  getPersonPicture(requestParameters) {
929
1213
  return PersonsApiFp(this.configuration).getPersonPicture(requestParameters.id).then((request) => request(this.axios, this.basePath));
930
1214
  }
1215
+ /**
1216
+ * Same as `getPersonPicture`, but resolves with the response body together with the HTTP status and headers.
1217
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1218
+ * @param {PersonsApiGetPersonPictureRequest} requestParameters Request parameters.
1219
+
1220
+ * @throws {RequiredError}
1221
+ * @memberof PersonsApi
1222
+ */
1223
+ getPersonPictureWithHttpInfo(requestParameters) {
1224
+ return PersonsApiFp(this.configuration).getPersonPictureWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1225
+ }
931
1226
  /**
932
1227
  * Returns data about all persons. Fields `ims`, `postal_address`, `notes`, `birthday`, and `job_title` are only included if contact sync is enabled for the company.
933
1228
  * @summary Get all persons
@@ -939,6 +1234,17 @@ export class PersonsApi extends BaseAPI {
939
1234
  getPersons(requestParameters = {}) {
940
1235
  return PersonsApiFp(this.configuration).getPersons(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.org_id, requestParameters.deal_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
941
1236
  }
1237
+ /**
1238
+ * Same as `getPersons`, but resolves with the response body together with the HTTP status and headers.
1239
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1240
+ * @param {PersonsApiGetPersonsRequest} requestParameters Request parameters.
1241
+
1242
+ * @throws {RequiredError}
1243
+ * @memberof PersonsApi
1244
+ */
1245
+ getPersonsWithHttpInfo(requestParameters = {}) {
1246
+ return PersonsApiFp(this.configuration).getPersonsWithHttpInfo(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.org_id, requestParameters.deal_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1247
+ }
942
1248
  /**
943
1249
  * Searches all persons by name, email, phone, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found persons can be filtered by organization ID.
944
1250
  * @summary Search persons
@@ -950,6 +1256,17 @@ export class PersonsApi extends BaseAPI {
950
1256
  searchPersons(requestParameters) {
951
1257
  return PersonsApiFp(this.configuration).searchPersons(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.organization_id, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
952
1258
  }
1259
+ /**
1260
+ * Same as `searchPersons`, but resolves with the response body together with the HTTP status and headers.
1261
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1262
+ * @param {PersonsApiSearchPersonsRequest} requestParameters Request parameters.
1263
+
1264
+ * @throws {RequiredError}
1265
+ * @memberof PersonsApi
1266
+ */
1267
+ searchPersonsWithHttpInfo(requestParameters) {
1268
+ return PersonsApiFp(this.configuration).searchPersonsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.organization_id, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1269
+ }
953
1270
  /**
954
1271
  * Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field. <br>The `im`, `postal_address`, `notes`, `birthday` and `job_title` fields don\'t exist by default in Pipedrive and are only created when you set up your contact sync — attempting to set any of them without contact sync enabled returns a 403.
955
1272
  * @summary Update a person
@@ -961,4 +1278,15 @@ export class PersonsApi extends BaseAPI {
961
1278
  updatePerson(requestParameters) {
962
1279
  return PersonsApiFp(this.configuration).updatePerson(requestParameters.id, requestParameters.UpdatePersonRequest).then((request) => request(this.axios, this.basePath));
963
1280
  }
1281
+ /**
1282
+ * Same as `updatePerson`, but resolves with the response body together with the HTTP status and headers.
1283
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1284
+ * @param {PersonsApiUpdatePersonRequest} requestParameters Request parameters.
1285
+
1286
+ * @throws {RequiredError}
1287
+ * @memberof PersonsApi
1288
+ */
1289
+ updatePersonWithHttpInfo(requestParameters) {
1290
+ return PersonsApiFp(this.configuration).updatePersonWithHttpInfo(requestParameters.id, requestParameters.UpdatePersonRequest).then((request) => request(this.axios, this.basePath));
1291
+ }
964
1292
  }