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
@@ -955,6 +955,19 @@ export const BetaApiFp = function (configuration) {
955
955
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
956
956
  });
957
957
  },
958
+ /**
959
+ * Same as `addProjectBoard`, but resolves with the response body together with the HTTP status and headers.
960
+ * @summary Add a project board
961
+ * @param {AddProjectBoardRequest} AddProjectBoardRequest
962
+
963
+ * @throws {RequiredError}
964
+ */
965
+ addProjectBoardWithHttpInfo(AddProjectBoardRequest) {
966
+ return __awaiter(this, void 0, void 0, function* () {
967
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectBoard(AddProjectBoardRequest);
968
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
969
+ });
970
+ },
958
971
  /**
959
972
  * Creates a new project custom field.
960
973
  * @summary Create one project field
@@ -968,6 +981,19 @@ export const BetaApiFp = function (configuration) {
968
981
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
969
982
  });
970
983
  },
984
+ /**
985
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
986
+ * @summary Create one project field
987
+ * @param {AddProjectFieldRequest} AddProjectFieldRequest
988
+
989
+ * @throws {RequiredError}
990
+ */
991
+ addProjectFieldWithHttpInfo(AddProjectFieldRequest) {
992
+ return __awaiter(this, void 0, void 0, function* () {
993
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectField(AddProjectFieldRequest);
994
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
995
+ });
996
+ },
971
997
  /**
972
998
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
973
999
  * @summary Add project field options in bulk
@@ -982,6 +1008,20 @@ export const BetaApiFp = function (configuration) {
982
1008
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
983
1009
  });
984
1010
  },
1011
+ /**
1012
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1013
+ * @summary Add project field options in bulk
1014
+ * @param {string} field_code The unique code identifying the field
1015
+ * @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
1016
+
1017
+ * @throws {RequiredError}
1018
+ */
1019
+ addProjectFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
1020
+ return __awaiter(this, void 0, void 0, function* () {
1021
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectFieldOptions(field_code, AddDealFieldOptionsRequestInner);
1022
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1023
+ });
1024
+ },
985
1025
  /**
986
1026
  * Adds a new project phase to a board.
987
1027
  * @summary Add a project phase
@@ -995,6 +1035,19 @@ export const BetaApiFp = function (configuration) {
995
1035
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
996
1036
  });
997
1037
  },
1038
+ /**
1039
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
1040
+ * @summary Add a project phase
1041
+ * @param {AddProjectPhaseRequest} AddProjectPhaseRequest
1042
+
1043
+ * @throws {RequiredError}
1044
+ */
1045
+ addProjectPhaseWithHttpInfo(AddProjectPhaseRequest) {
1046
+ return __awaiter(this, void 0, void 0, function* () {
1047
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectPhase(AddProjectPhaseRequest);
1048
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1049
+ });
1050
+ },
998
1051
  /**
999
1052
  * Adds a new task.
1000
1053
  * @summary Add a task
@@ -1008,6 +1061,19 @@ export const BetaApiFp = function (configuration) {
1008
1061
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1009
1062
  });
1010
1063
  },
1064
+ /**
1065
+ * Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
1066
+ * @summary Add a task
1067
+ * @param {AddTaskRequest} AddTaskRequest
1068
+
1069
+ * @throws {RequiredError}
1070
+ */
1071
+ addTaskWithHttpInfo(AddTaskRequest) {
1072
+ return __awaiter(this, void 0, void 0, function* () {
1073
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addTask(AddTaskRequest);
1074
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1075
+ });
1076
+ },
1011
1077
  /**
1012
1078
  * Marks a project board as deleted.
1013
1079
  * @summary Delete a project board
@@ -1021,6 +1087,19 @@ export const BetaApiFp = function (configuration) {
1021
1087
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1022
1088
  });
1023
1089
  },
1090
+ /**
1091
+ * Same as `deleteProjectBoard`, but resolves with the response body together with the HTTP status and headers.
1092
+ * @summary Delete a project board
1093
+ * @param {number} id The ID of the project board
1094
+
1095
+ * @throws {RequiredError}
1096
+ */
1097
+ deleteProjectBoardWithHttpInfo(id) {
1098
+ return __awaiter(this, void 0, void 0, function* () {
1099
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectBoard(id);
1100
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1101
+ });
1102
+ },
1024
1103
  /**
1025
1104
  * Marks a custom field as deleted.
1026
1105
  * @summary Delete one project field
@@ -1034,6 +1113,19 @@ export const BetaApiFp = function (configuration) {
1034
1113
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1035
1114
  });
1036
1115
  },
1116
+ /**
1117
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
1118
+ * @summary Delete one project field
1119
+ * @param {string} field_code The unique code identifying the field
1120
+
1121
+ * @throws {RequiredError}
1122
+ */
1123
+ deleteProjectFieldWithHttpInfo(field_code) {
1124
+ return __awaiter(this, void 0, void 0, function* () {
1125
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectField(field_code);
1126
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1127
+ });
1128
+ },
1037
1129
  /**
1038
1130
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
1039
1131
  * @summary Delete project field options in bulk
@@ -1048,6 +1140,20 @@ export const BetaApiFp = function (configuration) {
1048
1140
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1049
1141
  });
1050
1142
  },
1143
+ /**
1144
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1145
+ * @summary Delete project field options in bulk
1146
+ * @param {string} field_code The unique code identifying the field
1147
+ * @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
1148
+
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ deleteProjectFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
1152
+ return __awaiter(this, void 0, void 0, function* () {
1153
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
1154
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1155
+ });
1156
+ },
1051
1157
  /**
1052
1158
  * Marks a project phase as deleted.
1053
1159
  * @summary Delete a project phase
@@ -1061,6 +1167,19 @@ export const BetaApiFp = function (configuration) {
1061
1167
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1062
1168
  });
1063
1169
  },
1170
+ /**
1171
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
1172
+ * @summary Delete a project phase
1173
+ * @param {number} id The ID of the project phase
1174
+
1175
+ * @throws {RequiredError}
1176
+ */
1177
+ deleteProjectPhaseWithHttpInfo(id) {
1178
+ return __awaiter(this, void 0, void 0, function* () {
1179
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectPhase(id);
1180
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1181
+ });
1182
+ },
1064
1183
  /**
1065
1184
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
1066
1185
  * @summary Delete a task
@@ -1074,6 +1193,19 @@ export const BetaApiFp = function (configuration) {
1074
1193
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1075
1194
  });
1076
1195
  },
1196
+ /**
1197
+ * Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
1198
+ * @summary Delete a task
1199
+ * @param {number} id The ID of the task
1200
+
1201
+ * @throws {RequiredError}
1202
+ */
1203
+ deleteTaskWithHttpInfo(id) {
1204
+ return __awaiter(this, void 0, void 0, function* () {
1205
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(id);
1206
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1207
+ });
1208
+ },
1077
1209
  /**
1078
1210
  * Returns metadata about a specific project field.
1079
1211
  * @summary Get one project field
@@ -1087,6 +1219,19 @@ export const BetaApiFp = function (configuration) {
1087
1219
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1088
1220
  });
1089
1221
  },
1222
+ /**
1223
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
1224
+ * @summary Get one project field
1225
+ * @param {string} field_code The unique code identifying the field
1226
+
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ getProjectFieldWithHttpInfo(field_code) {
1230
+ return __awaiter(this, void 0, void 0, function* () {
1231
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectField(field_code);
1232
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1233
+ });
1234
+ },
1090
1235
  /**
1091
1236
  * Returns metadata about all project fields in the company.
1092
1237
  * @summary Get all project fields
@@ -1101,6 +1246,20 @@ export const BetaApiFp = function (configuration) {
1101
1246
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1102
1247
  });
1103
1248
  },
1249
+ /**
1250
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
1251
+ * @summary Get all project fields
1252
+ * @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.
1253
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1254
+
1255
+ * @throws {RequiredError}
1256
+ */
1257
+ getProjectFieldsWithHttpInfo(limit, cursor) {
1258
+ return __awaiter(this, void 0, void 0, function* () {
1259
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectFields(limit, cursor);
1260
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1261
+ });
1262
+ },
1104
1263
  /**
1105
1264
  * Returns the details of a specific project board.
1106
1265
  * @summary Get details of a project board
@@ -1114,6 +1273,19 @@ export const BetaApiFp = function (configuration) {
1114
1273
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1115
1274
  });
1116
1275
  },
1276
+ /**
1277
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
1278
+ * @summary Get details of a project board
1279
+ * @param {number} id The ID of the project board
1280
+
1281
+ * @throws {RequiredError}
1282
+ */
1283
+ getProjectsBoardWithHttpInfo(id) {
1284
+ return __awaiter(this, void 0, void 0, function* () {
1285
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsBoard(id);
1286
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1287
+ });
1288
+ },
1117
1289
  /**
1118
1290
  * Returns all active project boards.
1119
1291
  * @summary Get all project boards
@@ -1126,6 +1298,18 @@ export const BetaApiFp = function (configuration) {
1126
1298
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1127
1299
  });
1128
1300
  },
1301
+ /**
1302
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
1303
+ * @summary Get all project boards
1304
+
1305
+ * @throws {RequiredError}
1306
+ */
1307
+ getProjectsBoardsWithHttpInfo() {
1308
+ return __awaiter(this, void 0, void 0, function* () {
1309
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsBoards();
1310
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1311
+ });
1312
+ },
1129
1313
  /**
1130
1314
  * Returns the details of a specific project phase.
1131
1315
  * @summary Get details of a project phase
@@ -1139,6 +1323,19 @@ export const BetaApiFp = function (configuration) {
1139
1323
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1140
1324
  });
1141
1325
  },
1326
+ /**
1327
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
1328
+ * @summary Get details of a project phase
1329
+ * @param {number} id The ID of the project phase
1330
+
1331
+ * @throws {RequiredError}
1332
+ */
1333
+ getProjectsPhaseWithHttpInfo(id) {
1334
+ return __awaiter(this, void 0, void 0, function* () {
1335
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhase(id);
1336
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1337
+ });
1338
+ },
1142
1339
  /**
1143
1340
  * Returns all active project phases under a specific board.
1144
1341
  * @summary Get project phases
@@ -1152,6 +1349,19 @@ export const BetaApiFp = function (configuration) {
1152
1349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1153
1350
  });
1154
1351
  },
1352
+ /**
1353
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
1354
+ * @summary Get project phases
1355
+ * @param {number} board_id The ID of the board for which phases are requested
1356
+
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ getProjectsPhasesWithHttpInfo(board_id) {
1360
+ return __awaiter(this, void 0, void 0, function* () {
1361
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhases(board_id);
1362
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1363
+ });
1364
+ },
1155
1365
  /**
1156
1366
  * Returns the details of a specific task.
1157
1367
  * @summary Get details of a task
@@ -1165,6 +1375,19 @@ export const BetaApiFp = function (configuration) {
1165
1375
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1166
1376
  });
1167
1377
  },
1378
+ /**
1379
+ * Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
1380
+ * @summary Get details of a task
1381
+ * @param {number} id The ID of the task
1382
+
1383
+ * @throws {RequiredError}
1384
+ */
1385
+ getTaskWithHttpInfo(id) {
1386
+ return __awaiter(this, void 0, void 0, function* () {
1387
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(id);
1388
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1389
+ });
1390
+ },
1168
1391
  /**
1169
1392
  * Returns all tasks.
1170
1393
  * @summary Get all tasks
@@ -1184,6 +1407,25 @@ export const BetaApiFp = function (configuration) {
1184
1407
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1185
1408
  });
1186
1409
  },
1410
+ /**
1411
+ * Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
1412
+ * @summary Get all tasks
1413
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1414
+ * @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.
1415
+ * @param {boolean} [is_done] Whether the task is done or not. If omitted, both done and not done tasks are returned.
1416
+ * @param {boolean} [is_milestone] Whether the task is a milestone or not. If omitted, both milestone and non-milestone tasks are returned.
1417
+ * @param {number} [assignee_id] If supplied, only tasks assigned to this user are returned
1418
+ * @param {number} [project_id] If supplied, only tasks belonging to this project are returned
1419
+ * @param {string} [parent_task_id] If &#x60;null&#x60; is supplied, only root-level tasks (without a parent) are returned. If an integer is supplied, only subtasks of that specific task are returned. By default all tasks are returned.
1420
+
1421
+ * @throws {RequiredError}
1422
+ */
1423
+ getTasksWithHttpInfo(cursor, limit, is_done, is_milestone, assignee_id, project_id, parent_task_id) {
1424
+ return __awaiter(this, void 0, void 0, function* () {
1425
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTasks(cursor, limit, is_done, is_milestone, assignee_id, project_id, parent_task_id);
1426
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1427
+ });
1428
+ },
1187
1429
  /**
1188
1430
  * Searches all projects by title, description, 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 projects can be filtered by person ID or organization ID.
1189
1431
  * @summary Search projects
@@ -1203,6 +1445,25 @@ export const BetaApiFp = function (configuration) {
1203
1445
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1204
1446
  });
1205
1447
  },
1448
+ /**
1449
+ * Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
1450
+ * @summary Search projects
1451
+ * @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.
1452
+ * @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [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;.
1453
+ * @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.
1454
+ * @param {number} [person_id] Will filter projects by the provided person ID
1455
+ * @param {number} [organization_id] Will filter projects by the provided organization ID
1456
+ * @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.
1457
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1458
+
1459
+ * @throws {RequiredError}
1460
+ */
1461
+ searchProjectsWithHttpInfo(term, fields, exact_match, person_id, organization_id, limit, cursor) {
1462
+ return __awaiter(this, void 0, void 0, function* () {
1463
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchProjects(term, fields, exact_match, person_id, organization_id, limit, cursor);
1464
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1465
+ });
1466
+ },
1206
1467
  /**
1207
1468
  * Updates the properties of a project board.
1208
1469
  * @summary Update a project board
@@ -1217,6 +1478,20 @@ export const BetaApiFp = function (configuration) {
1217
1478
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1218
1479
  });
1219
1480
  },
1481
+ /**
1482
+ * Same as `updateProjectBoard`, but resolves with the response body together with the HTTP status and headers.
1483
+ * @summary Update a project board
1484
+ * @param {number} id The ID of the project board
1485
+ * @param {UpdateProjectBoardRequest} [UpdateProjectBoardRequest]
1486
+
1487
+ * @throws {RequiredError}
1488
+ */
1489
+ updateProjectBoardWithHttpInfo(id, UpdateProjectBoardRequest) {
1490
+ return __awaiter(this, void 0, void 0, function* () {
1491
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectBoard(id, UpdateProjectBoardRequest);
1492
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1493
+ });
1494
+ },
1220
1495
  /**
1221
1496
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
1222
1497
  * @summary Update one project field
@@ -1231,6 +1506,20 @@ export const BetaApiFp = function (configuration) {
1231
1506
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1232
1507
  });
1233
1508
  },
1509
+ /**
1510
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
1511
+ * @summary Update one project field
1512
+ * @param {string} field_code The unique code identifying the field
1513
+ * @param {UpdateProjectFieldRequest} UpdateProjectFieldRequest
1514
+
1515
+ * @throws {RequiredError}
1516
+ */
1517
+ updateProjectFieldWithHttpInfo(field_code, UpdateProjectFieldRequest) {
1518
+ return __awaiter(this, void 0, void 0, function* () {
1519
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectField(field_code, UpdateProjectFieldRequest);
1520
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1521
+ });
1522
+ },
1234
1523
  /**
1235
1524
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
1236
1525
  * @summary Update project field options in bulk
@@ -1245,6 +1534,20 @@ export const BetaApiFp = function (configuration) {
1245
1534
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1246
1535
  });
1247
1536
  },
1537
+ /**
1538
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1539
+ * @summary Update project field options in bulk
1540
+ * @param {string} field_code The unique code identifying the field
1541
+ * @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
1542
+
1543
+ * @throws {RequiredError}
1544
+ */
1545
+ updateProjectFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
1546
+ return __awaiter(this, void 0, void 0, function* () {
1547
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
1548
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1549
+ });
1550
+ },
1248
1551
  /**
1249
1552
  * Updates the properties of a project phase.
1250
1553
  * @summary Update a project phase
@@ -1259,6 +1562,20 @@ export const BetaApiFp = function (configuration) {
1259
1562
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1260
1563
  });
1261
1564
  },
1565
+ /**
1566
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
1567
+ * @summary Update a project phase
1568
+ * @param {number} id The ID of the project phase
1569
+ * @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
1570
+
1571
+ * @throws {RequiredError}
1572
+ */
1573
+ updateProjectPhaseWithHttpInfo(id, UpdateProjectPhaseRequest) {
1574
+ return __awaiter(this, void 0, void 0, function* () {
1575
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectPhase(id, UpdateProjectPhaseRequest);
1576
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1577
+ });
1578
+ },
1262
1579
  /**
1263
1580
  * Updates a task.
1264
1581
  * @summary Update a task
@@ -1273,6 +1590,20 @@ export const BetaApiFp = function (configuration) {
1273
1590
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1274
1591
  });
1275
1592
  },
1593
+ /**
1594
+ * Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
1595
+ * @summary Update a task
1596
+ * @param {number} id The ID of the task
1597
+ * @param {UpdateTaskRequest} [UpdateTaskRequest]
1598
+
1599
+ * @throws {RequiredError}
1600
+ */
1601
+ updateTaskWithHttpInfo(id, UpdateTaskRequest) {
1602
+ return __awaiter(this, void 0, void 0, function* () {
1603
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(id, UpdateTaskRequest);
1604
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
1605
+ });
1606
+ },
1276
1607
  };
1277
1608
  };
1278
1609
  /**
@@ -1292,6 +1623,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1292
1623
  addProjectBoard(requestParameters) {
1293
1624
  return localVarFp.addProjectBoard(requestParameters.AddProjectBoardRequest).then((request) => request(axios, basePath));
1294
1625
  },
1626
+ addProjectBoardWithHttpInfo(requestParameters) {
1627
+ return localVarFp.addProjectBoardWithHttpInfo(requestParameters.AddProjectBoardRequest).then((request) => request(axios, basePath));
1628
+ },
1295
1629
  /**
1296
1630
  * Creates a new project custom field.
1297
1631
  * @summary Create one project field
@@ -1302,6 +1636,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1302
1636
  addProjectField(requestParameters) {
1303
1637
  return localVarFp.addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
1304
1638
  },
1639
+ addProjectFieldWithHttpInfo(requestParameters) {
1640
+ return localVarFp.addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
1641
+ },
1305
1642
  /**
1306
1643
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
1307
1644
  * @summary Add project field options in bulk
@@ -1312,6 +1649,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1312
1649
  addProjectFieldOptions(requestParameters) {
1313
1650
  return localVarFp.addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1314
1651
  },
1652
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
1653
+ return localVarFp.addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1654
+ },
1315
1655
  /**
1316
1656
  * Adds a new project phase to a board.
1317
1657
  * @summary Add a project phase
@@ -1322,6 +1662,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1322
1662
  addProjectPhase(requestParameters) {
1323
1663
  return localVarFp.addProjectPhase(requestParameters.AddProjectPhaseRequest).then((request) => request(axios, basePath));
1324
1664
  },
1665
+ addProjectPhaseWithHttpInfo(requestParameters) {
1666
+ return localVarFp.addProjectPhaseWithHttpInfo(requestParameters.AddProjectPhaseRequest).then((request) => request(axios, basePath));
1667
+ },
1325
1668
  /**
1326
1669
  * Adds a new task.
1327
1670
  * @summary Add a task
@@ -1332,6 +1675,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1332
1675
  addTask(requestParameters) {
1333
1676
  return localVarFp.addTask(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
1334
1677
  },
1678
+ addTaskWithHttpInfo(requestParameters) {
1679
+ return localVarFp.addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
1680
+ },
1335
1681
  /**
1336
1682
  * Marks a project board as deleted.
1337
1683
  * @summary Delete a project board
@@ -1342,6 +1688,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1342
1688
  deleteProjectBoard(requestParameters) {
1343
1689
  return localVarFp.deleteProjectBoard(requestParameters.id).then((request) => request(axios, basePath));
1344
1690
  },
1691
+ deleteProjectBoardWithHttpInfo(requestParameters) {
1692
+ return localVarFp.deleteProjectBoardWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1693
+ },
1345
1694
  /**
1346
1695
  * Marks a custom field as deleted.
1347
1696
  * @summary Delete one project field
@@ -1352,6 +1701,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1352
1701
  deleteProjectField(requestParameters) {
1353
1702
  return localVarFp.deleteProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
1354
1703
  },
1704
+ deleteProjectFieldWithHttpInfo(requestParameters) {
1705
+ return localVarFp.deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
1706
+ },
1355
1707
  /**
1356
1708
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
1357
1709
  * @summary Delete project field options in bulk
@@ -1362,6 +1714,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1362
1714
  deleteProjectFieldOptions(requestParameters) {
1363
1715
  return localVarFp.deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1364
1716
  },
1717
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
1718
+ return localVarFp.deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1719
+ },
1365
1720
  /**
1366
1721
  * Marks a project phase as deleted.
1367
1722
  * @summary Delete a project phase
@@ -1372,6 +1727,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1372
1727
  deleteProjectPhase(requestParameters) {
1373
1728
  return localVarFp.deleteProjectPhase(requestParameters.id).then((request) => request(axios, basePath));
1374
1729
  },
1730
+ deleteProjectPhaseWithHttpInfo(requestParameters) {
1731
+ return localVarFp.deleteProjectPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1732
+ },
1375
1733
  /**
1376
1734
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
1377
1735
  * @summary Delete a task
@@ -1382,6 +1740,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1382
1740
  deleteTask(requestParameters) {
1383
1741
  return localVarFp.deleteTask(requestParameters.id).then((request) => request(axios, basePath));
1384
1742
  },
1743
+ deleteTaskWithHttpInfo(requestParameters) {
1744
+ return localVarFp.deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1745
+ },
1385
1746
  /**
1386
1747
  * Returns metadata about a specific project field.
1387
1748
  * @summary Get one project field
@@ -1392,6 +1753,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1392
1753
  getProjectField(requestParameters) {
1393
1754
  return localVarFp.getProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
1394
1755
  },
1756
+ getProjectFieldWithHttpInfo(requestParameters) {
1757
+ return localVarFp.getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
1758
+ },
1395
1759
  /**
1396
1760
  * Returns metadata about all project fields in the company.
1397
1761
  * @summary Get all project fields
@@ -1402,6 +1766,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1402
1766
  getProjectFields(requestParameters = {}) {
1403
1767
  return localVarFp.getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1404
1768
  },
1769
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
1770
+ return localVarFp.getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1771
+ },
1405
1772
  /**
1406
1773
  * Returns the details of a specific project board.
1407
1774
  * @summary Get details of a project board
@@ -1412,6 +1779,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1412
1779
  getProjectsBoard(requestParameters) {
1413
1780
  return localVarFp.getProjectsBoard(requestParameters.id).then((request) => request(axios, basePath));
1414
1781
  },
1782
+ getProjectsBoardWithHttpInfo(requestParameters) {
1783
+ return localVarFp.getProjectsBoardWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1784
+ },
1415
1785
  /**
1416
1786
  * Returns all active project boards.
1417
1787
  * @summary Get all project boards
@@ -1421,6 +1791,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1421
1791
  getProjectsBoards() {
1422
1792
  return localVarFp.getProjectsBoards().then((request) => request(axios, basePath));
1423
1793
  },
1794
+ getProjectsBoardsWithHttpInfo() {
1795
+ return localVarFp.getProjectsBoardsWithHttpInfo().then((request) => request(axios, basePath));
1796
+ },
1424
1797
  /**
1425
1798
  * Returns the details of a specific project phase.
1426
1799
  * @summary Get details of a project phase
@@ -1431,6 +1804,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1431
1804
  getProjectsPhase(requestParameters) {
1432
1805
  return localVarFp.getProjectsPhase(requestParameters.id).then((request) => request(axios, basePath));
1433
1806
  },
1807
+ getProjectsPhaseWithHttpInfo(requestParameters) {
1808
+ return localVarFp.getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1809
+ },
1434
1810
  /**
1435
1811
  * Returns all active project phases under a specific board.
1436
1812
  * @summary Get project phases
@@ -1441,6 +1817,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1441
1817
  getProjectsPhases(requestParameters) {
1442
1818
  return localVarFp.getProjectsPhases(requestParameters.board_id).then((request) => request(axios, basePath));
1443
1819
  },
1820
+ getProjectsPhasesWithHttpInfo(requestParameters) {
1821
+ return localVarFp.getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(axios, basePath));
1822
+ },
1444
1823
  /**
1445
1824
  * Returns the details of a specific task.
1446
1825
  * @summary Get details of a task
@@ -1451,6 +1830,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1451
1830
  getTask(requestParameters) {
1452
1831
  return localVarFp.getTask(requestParameters.id).then((request) => request(axios, basePath));
1453
1832
  },
1833
+ getTaskWithHttpInfo(requestParameters) {
1834
+ return localVarFp.getTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1835
+ },
1454
1836
  /**
1455
1837
  * Returns all tasks.
1456
1838
  * @summary Get all tasks
@@ -1461,6 +1843,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1461
1843
  getTasks(requestParameters = {}) {
1462
1844
  return localVarFp.getTasks(requestParameters.cursor, requestParameters.limit, requestParameters.is_done, requestParameters.is_milestone, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id).then((request) => request(axios, basePath));
1463
1845
  },
1846
+ getTasksWithHttpInfo(requestParameters = {}) {
1847
+ return localVarFp.getTasksWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.is_done, requestParameters.is_milestone, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id).then((request) => request(axios, basePath));
1848
+ },
1464
1849
  /**
1465
1850
  * Searches all projects by title, description, 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 projects can be filtered by person ID or organization ID.
1466
1851
  * @summary Search projects
@@ -1471,6 +1856,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1471
1856
  searchProjects(requestParameters) {
1472
1857
  return localVarFp.searchProjects(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1473
1858
  },
1859
+ searchProjectsWithHttpInfo(requestParameters) {
1860
+ return localVarFp.searchProjectsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1861
+ },
1474
1862
  /**
1475
1863
  * Updates the properties of a project board.
1476
1864
  * @summary Update a project board
@@ -1481,6 +1869,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1481
1869
  updateProjectBoard(requestParameters) {
1482
1870
  return localVarFp.updateProjectBoard(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(axios, basePath));
1483
1871
  },
1872
+ updateProjectBoardWithHttpInfo(requestParameters) {
1873
+ return localVarFp.updateProjectBoardWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(axios, basePath));
1874
+ },
1484
1875
  /**
1485
1876
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
1486
1877
  * @summary Update one project field
@@ -1491,6 +1882,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1491
1882
  updateProjectField(requestParameters) {
1492
1883
  return localVarFp.updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
1493
1884
  },
1885
+ updateProjectFieldWithHttpInfo(requestParameters) {
1886
+ return localVarFp.updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
1887
+ },
1494
1888
  /**
1495
1889
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
1496
1890
  * @summary Update project field options in bulk
@@ -1501,6 +1895,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1501
1895
  updateProjectFieldOptions(requestParameters) {
1502
1896
  return localVarFp.updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1503
1897
  },
1898
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
1899
+ return localVarFp.updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1900
+ },
1504
1901
  /**
1505
1902
  * Updates the properties of a project phase.
1506
1903
  * @summary Update a project phase
@@ -1511,6 +1908,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1511
1908
  updateProjectPhase(requestParameters) {
1512
1909
  return localVarFp.updateProjectPhase(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(axios, basePath));
1513
1910
  },
1911
+ updateProjectPhaseWithHttpInfo(requestParameters) {
1912
+ return localVarFp.updateProjectPhaseWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(axios, basePath));
1913
+ },
1514
1914
  /**
1515
1915
  * Updates a task.
1516
1916
  * @summary Update a task
@@ -1521,6 +1921,9 @@ export const BetaApiFactory = function (configuration, basePath, axios) {
1521
1921
  updateTask(requestParameters) {
1522
1922
  return localVarFp.updateTask(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(axios, basePath));
1523
1923
  },
1924
+ updateTaskWithHttpInfo(requestParameters) {
1925
+ return localVarFp.updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(axios, basePath));
1926
+ },
1524
1927
  };
1525
1928
  };
1526
1929
  /**
@@ -1541,6 +1944,17 @@ export class BetaApi extends BaseAPI {
1541
1944
  addProjectBoard(requestParameters) {
1542
1945
  return BetaApiFp(this.configuration).addProjectBoard(requestParameters.AddProjectBoardRequest).then((request) => request(this.axios, this.basePath));
1543
1946
  }
1947
+ /**
1948
+ * Same as `addProjectBoard`, but resolves with the response body together with the HTTP status and headers.
1949
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1950
+ * @param {BetaApiAddProjectBoardRequest} requestParameters Request parameters.
1951
+
1952
+ * @throws {RequiredError}
1953
+ * @memberof BetaApi
1954
+ */
1955
+ addProjectBoardWithHttpInfo(requestParameters) {
1956
+ return BetaApiFp(this.configuration).addProjectBoardWithHttpInfo(requestParameters.AddProjectBoardRequest).then((request) => request(this.axios, this.basePath));
1957
+ }
1544
1958
  /**
1545
1959
  * Creates a new project custom field.
1546
1960
  * @summary Create one project field
@@ -1552,6 +1966,17 @@ export class BetaApi extends BaseAPI {
1552
1966
  addProjectField(requestParameters) {
1553
1967
  return BetaApiFp(this.configuration).addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
1554
1968
  }
1969
+ /**
1970
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
1971
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1972
+ * @param {BetaApiAddProjectFieldRequest} requestParameters Request parameters.
1973
+
1974
+ * @throws {RequiredError}
1975
+ * @memberof BetaApi
1976
+ */
1977
+ addProjectFieldWithHttpInfo(requestParameters) {
1978
+ return BetaApiFp(this.configuration).addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
1979
+ }
1555
1980
  /**
1556
1981
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
1557
1982
  * @summary Add project field options in bulk
@@ -1563,6 +1988,17 @@ export class BetaApi extends BaseAPI {
1563
1988
  addProjectFieldOptions(requestParameters) {
1564
1989
  return BetaApiFp(this.configuration).addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
1565
1990
  }
1991
+ /**
1992
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1993
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1994
+ * @param {BetaApiAddProjectFieldOptionsRequest} requestParameters Request parameters.
1995
+
1996
+ * @throws {RequiredError}
1997
+ * @memberof BetaApi
1998
+ */
1999
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
2000
+ return BetaApiFp(this.configuration).addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
2001
+ }
1566
2002
  /**
1567
2003
  * Adds a new project phase to a board.
1568
2004
  * @summary Add a project phase
@@ -1574,6 +2010,17 @@ export class BetaApi extends BaseAPI {
1574
2010
  addProjectPhase(requestParameters) {
1575
2011
  return BetaApiFp(this.configuration).addProjectPhase(requestParameters.AddProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
1576
2012
  }
2013
+ /**
2014
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
2015
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2016
+ * @param {BetaApiAddProjectPhaseRequest} requestParameters Request parameters.
2017
+
2018
+ * @throws {RequiredError}
2019
+ * @memberof BetaApi
2020
+ */
2021
+ addProjectPhaseWithHttpInfo(requestParameters) {
2022
+ return BetaApiFp(this.configuration).addProjectPhaseWithHttpInfo(requestParameters.AddProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
2023
+ }
1577
2024
  /**
1578
2025
  * Adds a new task.
1579
2026
  * @summary Add a task
@@ -1585,6 +2032,17 @@ export class BetaApi extends BaseAPI {
1585
2032
  addTask(requestParameters) {
1586
2033
  return BetaApiFp(this.configuration).addTask(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
1587
2034
  }
2035
+ /**
2036
+ * Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
2037
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2038
+ * @param {BetaApiAddTaskRequest} requestParameters Request parameters.
2039
+
2040
+ * @throws {RequiredError}
2041
+ * @memberof BetaApi
2042
+ */
2043
+ addTaskWithHttpInfo(requestParameters) {
2044
+ return BetaApiFp(this.configuration).addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
2045
+ }
1588
2046
  /**
1589
2047
  * Marks a project board as deleted.
1590
2048
  * @summary Delete a project board
@@ -1596,6 +2054,17 @@ export class BetaApi extends BaseAPI {
1596
2054
  deleteProjectBoard(requestParameters) {
1597
2055
  return BetaApiFp(this.configuration).deleteProjectBoard(requestParameters.id).then((request) => request(this.axios, this.basePath));
1598
2056
  }
2057
+ /**
2058
+ * Same as `deleteProjectBoard`, but resolves with the response body together with the HTTP status and headers.
2059
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2060
+ * @param {BetaApiDeleteProjectBoardRequest} requestParameters Request parameters.
2061
+
2062
+ * @throws {RequiredError}
2063
+ * @memberof BetaApi
2064
+ */
2065
+ deleteProjectBoardWithHttpInfo(requestParameters) {
2066
+ return BetaApiFp(this.configuration).deleteProjectBoardWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2067
+ }
1599
2068
  /**
1600
2069
  * Marks a custom field as deleted.
1601
2070
  * @summary Delete one project field
@@ -1607,6 +2076,17 @@ export class BetaApi extends BaseAPI {
1607
2076
  deleteProjectField(requestParameters) {
1608
2077
  return BetaApiFp(this.configuration).deleteProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
1609
2078
  }
2079
+ /**
2080
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
2081
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2082
+ * @param {BetaApiDeleteProjectFieldRequest} requestParameters Request parameters.
2083
+
2084
+ * @throws {RequiredError}
2085
+ * @memberof BetaApi
2086
+ */
2087
+ deleteProjectFieldWithHttpInfo(requestParameters) {
2088
+ return BetaApiFp(this.configuration).deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
2089
+ }
1610
2090
  /**
1611
2091
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
1612
2092
  * @summary Delete project field options in bulk
@@ -1618,6 +2098,17 @@ export class BetaApi extends BaseAPI {
1618
2098
  deleteProjectFieldOptions(requestParameters) {
1619
2099
  return BetaApiFp(this.configuration).deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
1620
2100
  }
2101
+ /**
2102
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
2103
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2104
+ * @param {BetaApiDeleteProjectFieldOptionsRequest} requestParameters Request parameters.
2105
+
2106
+ * @throws {RequiredError}
2107
+ * @memberof BetaApi
2108
+ */
2109
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
2110
+ return BetaApiFp(this.configuration).deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
2111
+ }
1621
2112
  /**
1622
2113
  * Marks a project phase as deleted.
1623
2114
  * @summary Delete a project phase
@@ -1629,6 +2120,17 @@ export class BetaApi extends BaseAPI {
1629
2120
  deleteProjectPhase(requestParameters) {
1630
2121
  return BetaApiFp(this.configuration).deleteProjectPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
1631
2122
  }
2123
+ /**
2124
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
2125
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2126
+ * @param {BetaApiDeleteProjectPhaseRequest} requestParameters Request parameters.
2127
+
2128
+ * @throws {RequiredError}
2129
+ * @memberof BetaApi
2130
+ */
2131
+ deleteProjectPhaseWithHttpInfo(requestParameters) {
2132
+ return BetaApiFp(this.configuration).deleteProjectPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2133
+ }
1632
2134
  /**
1633
2135
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
1634
2136
  * @summary Delete a task
@@ -1640,6 +2142,17 @@ export class BetaApi extends BaseAPI {
1640
2142
  deleteTask(requestParameters) {
1641
2143
  return BetaApiFp(this.configuration).deleteTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
1642
2144
  }
2145
+ /**
2146
+ * Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
2147
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2148
+ * @param {BetaApiDeleteTaskRequest} requestParameters Request parameters.
2149
+
2150
+ * @throws {RequiredError}
2151
+ * @memberof BetaApi
2152
+ */
2153
+ deleteTaskWithHttpInfo(requestParameters) {
2154
+ return BetaApiFp(this.configuration).deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2155
+ }
1643
2156
  /**
1644
2157
  * Returns metadata about a specific project field.
1645
2158
  * @summary Get one project field
@@ -1651,6 +2164,17 @@ export class BetaApi extends BaseAPI {
1651
2164
  getProjectField(requestParameters) {
1652
2165
  return BetaApiFp(this.configuration).getProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
1653
2166
  }
2167
+ /**
2168
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
2169
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2170
+ * @param {BetaApiGetProjectFieldRequest} requestParameters Request parameters.
2171
+
2172
+ * @throws {RequiredError}
2173
+ * @memberof BetaApi
2174
+ */
2175
+ getProjectFieldWithHttpInfo(requestParameters) {
2176
+ return BetaApiFp(this.configuration).getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
2177
+ }
1654
2178
  /**
1655
2179
  * Returns metadata about all project fields in the company.
1656
2180
  * @summary Get all project fields
@@ -1662,6 +2186,17 @@ export class BetaApi extends BaseAPI {
1662
2186
  getProjectFields(requestParameters = {}) {
1663
2187
  return BetaApiFp(this.configuration).getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1664
2188
  }
2189
+ /**
2190
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
2191
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2192
+ * @param {BetaApiGetProjectFieldsRequest} requestParameters Request parameters.
2193
+
2194
+ * @throws {RequiredError}
2195
+ * @memberof BetaApi
2196
+ */
2197
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
2198
+ return BetaApiFp(this.configuration).getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
2199
+ }
1665
2200
  /**
1666
2201
  * Returns the details of a specific project board.
1667
2202
  * @summary Get details of a project board
@@ -1673,6 +2208,17 @@ export class BetaApi extends BaseAPI {
1673
2208
  getProjectsBoard(requestParameters) {
1674
2209
  return BetaApiFp(this.configuration).getProjectsBoard(requestParameters.id).then((request) => request(this.axios, this.basePath));
1675
2210
  }
2211
+ /**
2212
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
2213
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2214
+ * @param {BetaApiGetProjectsBoardRequest} requestParameters Request parameters.
2215
+
2216
+ * @throws {RequiredError}
2217
+ * @memberof BetaApi
2218
+ */
2219
+ getProjectsBoardWithHttpInfo(requestParameters) {
2220
+ return BetaApiFp(this.configuration).getProjectsBoardWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2221
+ }
1676
2222
  /**
1677
2223
  * Returns all active project boards.
1678
2224
  * @summary Get all project boards
@@ -1683,6 +2229,16 @@ export class BetaApi extends BaseAPI {
1683
2229
  getProjectsBoards() {
1684
2230
  return BetaApiFp(this.configuration).getProjectsBoards().then((request) => request(this.axios, this.basePath));
1685
2231
  }
2232
+ /**
2233
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
2234
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2235
+
2236
+ * @throws {RequiredError}
2237
+ * @memberof BetaApi
2238
+ */
2239
+ getProjectsBoardsWithHttpInfo() {
2240
+ return BetaApiFp(this.configuration).getProjectsBoardsWithHttpInfo().then((request) => request(this.axios, this.basePath));
2241
+ }
1686
2242
  /**
1687
2243
  * Returns the details of a specific project phase.
1688
2244
  * @summary Get details of a project phase
@@ -1694,6 +2250,17 @@ export class BetaApi extends BaseAPI {
1694
2250
  getProjectsPhase(requestParameters) {
1695
2251
  return BetaApiFp(this.configuration).getProjectsPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
1696
2252
  }
2253
+ /**
2254
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
2255
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2256
+ * @param {BetaApiGetProjectsPhaseRequest} requestParameters Request parameters.
2257
+
2258
+ * @throws {RequiredError}
2259
+ * @memberof BetaApi
2260
+ */
2261
+ getProjectsPhaseWithHttpInfo(requestParameters) {
2262
+ return BetaApiFp(this.configuration).getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2263
+ }
1697
2264
  /**
1698
2265
  * Returns all active project phases under a specific board.
1699
2266
  * @summary Get project phases
@@ -1705,6 +2272,17 @@ export class BetaApi extends BaseAPI {
1705
2272
  getProjectsPhases(requestParameters) {
1706
2273
  return BetaApiFp(this.configuration).getProjectsPhases(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
1707
2274
  }
2275
+ /**
2276
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
2277
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2278
+ * @param {BetaApiGetProjectsPhasesRequest} requestParameters Request parameters.
2279
+
2280
+ * @throws {RequiredError}
2281
+ * @memberof BetaApi
2282
+ */
2283
+ getProjectsPhasesWithHttpInfo(requestParameters) {
2284
+ return BetaApiFp(this.configuration).getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
2285
+ }
1708
2286
  /**
1709
2287
  * Returns the details of a specific task.
1710
2288
  * @summary Get details of a task
@@ -1716,6 +2294,17 @@ export class BetaApi extends BaseAPI {
1716
2294
  getTask(requestParameters) {
1717
2295
  return BetaApiFp(this.configuration).getTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
1718
2296
  }
2297
+ /**
2298
+ * Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
2299
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2300
+ * @param {BetaApiGetTaskRequest} requestParameters Request parameters.
2301
+
2302
+ * @throws {RequiredError}
2303
+ * @memberof BetaApi
2304
+ */
2305
+ getTaskWithHttpInfo(requestParameters) {
2306
+ return BetaApiFp(this.configuration).getTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2307
+ }
1719
2308
  /**
1720
2309
  * Returns all tasks.
1721
2310
  * @summary Get all tasks
@@ -1727,6 +2316,17 @@ export class BetaApi extends BaseAPI {
1727
2316
  getTasks(requestParameters = {}) {
1728
2317
  return BetaApiFp(this.configuration).getTasks(requestParameters.cursor, requestParameters.limit, requestParameters.is_done, requestParameters.is_milestone, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id).then((request) => request(this.axios, this.basePath));
1729
2318
  }
2319
+ /**
2320
+ * Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
2321
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2322
+ * @param {BetaApiGetTasksRequest} requestParameters Request parameters.
2323
+
2324
+ * @throws {RequiredError}
2325
+ * @memberof BetaApi
2326
+ */
2327
+ getTasksWithHttpInfo(requestParameters = {}) {
2328
+ return BetaApiFp(this.configuration).getTasksWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.is_done, requestParameters.is_milestone, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id).then((request) => request(this.axios, this.basePath));
2329
+ }
1730
2330
  /**
1731
2331
  * Searches all projects by title, description, 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 projects can be filtered by person ID or organization ID.
1732
2332
  * @summary Search projects
@@ -1738,6 +2338,17 @@ export class BetaApi extends BaseAPI {
1738
2338
  searchProjects(requestParameters) {
1739
2339
  return BetaApiFp(this.configuration).searchProjects(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1740
2340
  }
2341
+ /**
2342
+ * Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
2343
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2344
+ * @param {BetaApiSearchProjectsRequest} requestParameters Request parameters.
2345
+
2346
+ * @throws {RequiredError}
2347
+ * @memberof BetaApi
2348
+ */
2349
+ searchProjectsWithHttpInfo(requestParameters) {
2350
+ return BetaApiFp(this.configuration).searchProjectsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
2351
+ }
1741
2352
  /**
1742
2353
  * Updates the properties of a project board.
1743
2354
  * @summary Update a project board
@@ -1749,6 +2360,17 @@ export class BetaApi extends BaseAPI {
1749
2360
  updateProjectBoard(requestParameters) {
1750
2361
  return BetaApiFp(this.configuration).updateProjectBoard(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(this.axios, this.basePath));
1751
2362
  }
2363
+ /**
2364
+ * Same as `updateProjectBoard`, but resolves with the response body together with the HTTP status and headers.
2365
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2366
+ * @param {BetaApiUpdateProjectBoardRequest} requestParameters Request parameters.
2367
+
2368
+ * @throws {RequiredError}
2369
+ * @memberof BetaApi
2370
+ */
2371
+ updateProjectBoardWithHttpInfo(requestParameters) {
2372
+ return BetaApiFp(this.configuration).updateProjectBoardWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(this.axios, this.basePath));
2373
+ }
1752
2374
  /**
1753
2375
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
1754
2376
  * @summary Update one project field
@@ -1760,6 +2382,17 @@ export class BetaApi extends BaseAPI {
1760
2382
  updateProjectField(requestParameters) {
1761
2383
  return BetaApiFp(this.configuration).updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
1762
2384
  }
2385
+ /**
2386
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
2387
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2388
+ * @param {BetaApiUpdateProjectFieldRequest} requestParameters Request parameters.
2389
+
2390
+ * @throws {RequiredError}
2391
+ * @memberof BetaApi
2392
+ */
2393
+ updateProjectFieldWithHttpInfo(requestParameters) {
2394
+ return BetaApiFp(this.configuration).updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
2395
+ }
1763
2396
  /**
1764
2397
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
1765
2398
  * @summary Update project field options in bulk
@@ -1771,6 +2404,17 @@ export class BetaApi extends BaseAPI {
1771
2404
  updateProjectFieldOptions(requestParameters) {
1772
2405
  return BetaApiFp(this.configuration).updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
1773
2406
  }
2407
+ /**
2408
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
2409
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2410
+ * @param {BetaApiUpdateProjectFieldOptionsRequest} requestParameters Request parameters.
2411
+
2412
+ * @throws {RequiredError}
2413
+ * @memberof BetaApi
2414
+ */
2415
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
2416
+ return BetaApiFp(this.configuration).updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
2417
+ }
1774
2418
  /**
1775
2419
  * Updates the properties of a project phase.
1776
2420
  * @summary Update a project phase
@@ -1782,6 +2426,17 @@ export class BetaApi extends BaseAPI {
1782
2426
  updateProjectPhase(requestParameters) {
1783
2427
  return BetaApiFp(this.configuration).updateProjectPhase(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
1784
2428
  }
2429
+ /**
2430
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
2431
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2432
+ * @param {BetaApiUpdateProjectPhaseRequest} requestParameters Request parameters.
2433
+
2434
+ * @throws {RequiredError}
2435
+ * @memberof BetaApi
2436
+ */
2437
+ updateProjectPhaseWithHttpInfo(requestParameters) {
2438
+ return BetaApiFp(this.configuration).updateProjectPhaseWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
2439
+ }
1785
2440
  /**
1786
2441
  * Updates a task.
1787
2442
  * @summary Update a task
@@ -1793,4 +2448,15 @@ export class BetaApi extends BaseAPI {
1793
2448
  updateTask(requestParameters) {
1794
2449
  return BetaApiFp(this.configuration).updateTask(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(this.axios, this.basePath));
1795
2450
  }
2451
+ /**
2452
+ * Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
2453
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2454
+ * @param {BetaApiUpdateTaskRequest} requestParameters Request parameters.
2455
+
2456
+ * @throws {RequiredError}
2457
+ * @memberof BetaApi
2458
+ */
2459
+ updateTaskWithHttpInfo(requestParameters) {
2460
+ return BetaApiFp(this.configuration).updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(this.axios, this.basePath));
2461
+ }
1796
2462
  }