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
@@ -962,6 +962,19 @@ const BetaApiFp = function (configuration) {
962
962
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
963
963
  });
964
964
  },
965
+ /**
966
+ * Same as `addProjectBoard`, but resolves with the response body together with the HTTP status and headers.
967
+ * @summary Add a project board
968
+ * @param {AddProjectBoardRequest} AddProjectBoardRequest
969
+
970
+ * @throws {RequiredError}
971
+ */
972
+ addProjectBoardWithHttpInfo(AddProjectBoardRequest) {
973
+ return __awaiter(this, void 0, void 0, function* () {
974
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectBoard(AddProjectBoardRequest);
975
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
976
+ });
977
+ },
965
978
  /**
966
979
  * Creates a new project custom field.
967
980
  * @summary Create one project field
@@ -975,6 +988,19 @@ const BetaApiFp = function (configuration) {
975
988
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
976
989
  });
977
990
  },
991
+ /**
992
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
993
+ * @summary Create one project field
994
+ * @param {AddProjectFieldRequest} AddProjectFieldRequest
995
+
996
+ * @throws {RequiredError}
997
+ */
998
+ addProjectFieldWithHttpInfo(AddProjectFieldRequest) {
999
+ return __awaiter(this, void 0, void 0, function* () {
1000
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectField(AddProjectFieldRequest);
1001
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1002
+ });
1003
+ },
978
1004
  /**
979
1005
  * 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.
980
1006
  * @summary Add project field options in bulk
@@ -989,6 +1015,20 @@ const BetaApiFp = function (configuration) {
989
1015
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
990
1016
  });
991
1017
  },
1018
+ /**
1019
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1020
+ * @summary Add project field options in bulk
1021
+ * @param {string} field_code The unique code identifying the field
1022
+ * @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
1023
+
1024
+ * @throws {RequiredError}
1025
+ */
1026
+ addProjectFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
1027
+ return __awaiter(this, void 0, void 0, function* () {
1028
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectFieldOptions(field_code, AddDealFieldOptionsRequestInner);
1029
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1030
+ });
1031
+ },
992
1032
  /**
993
1033
  * Adds a new project phase to a board.
994
1034
  * @summary Add a project phase
@@ -1002,6 +1042,19 @@ const BetaApiFp = function (configuration) {
1002
1042
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1003
1043
  });
1004
1044
  },
1045
+ /**
1046
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
1047
+ * @summary Add a project phase
1048
+ * @param {AddProjectPhaseRequest} AddProjectPhaseRequest
1049
+
1050
+ * @throws {RequiredError}
1051
+ */
1052
+ addProjectPhaseWithHttpInfo(AddProjectPhaseRequest) {
1053
+ return __awaiter(this, void 0, void 0, function* () {
1054
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectPhase(AddProjectPhaseRequest);
1055
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1056
+ });
1057
+ },
1005
1058
  /**
1006
1059
  * Adds a new task.
1007
1060
  * @summary Add a task
@@ -1015,6 +1068,19 @@ const BetaApiFp = function (configuration) {
1015
1068
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1016
1069
  });
1017
1070
  },
1071
+ /**
1072
+ * Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
1073
+ * @summary Add a task
1074
+ * @param {AddTaskRequest} AddTaskRequest
1075
+
1076
+ * @throws {RequiredError}
1077
+ */
1078
+ addTaskWithHttpInfo(AddTaskRequest) {
1079
+ return __awaiter(this, void 0, void 0, function* () {
1080
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addTask(AddTaskRequest);
1081
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1082
+ });
1083
+ },
1018
1084
  /**
1019
1085
  * Marks a project board as deleted.
1020
1086
  * @summary Delete a project board
@@ -1028,6 +1094,19 @@ const BetaApiFp = function (configuration) {
1028
1094
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1029
1095
  });
1030
1096
  },
1097
+ /**
1098
+ * Same as `deleteProjectBoard`, but resolves with the response body together with the HTTP status and headers.
1099
+ * @summary Delete a project board
1100
+ * @param {number} id The ID of the project board
1101
+
1102
+ * @throws {RequiredError}
1103
+ */
1104
+ deleteProjectBoardWithHttpInfo(id) {
1105
+ return __awaiter(this, void 0, void 0, function* () {
1106
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectBoard(id);
1107
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1108
+ });
1109
+ },
1031
1110
  /**
1032
1111
  * Marks a custom field as deleted.
1033
1112
  * @summary Delete one project field
@@ -1041,6 +1120,19 @@ const BetaApiFp = function (configuration) {
1041
1120
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1042
1121
  });
1043
1122
  },
1123
+ /**
1124
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
1125
+ * @summary Delete one project field
1126
+ * @param {string} field_code The unique code identifying the field
1127
+
1128
+ * @throws {RequiredError}
1129
+ */
1130
+ deleteProjectFieldWithHttpInfo(field_code) {
1131
+ return __awaiter(this, void 0, void 0, function* () {
1132
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectField(field_code);
1133
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1134
+ });
1135
+ },
1044
1136
  /**
1045
1137
  * 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.
1046
1138
  * @summary Delete project field options in bulk
@@ -1055,6 +1147,20 @@ const BetaApiFp = function (configuration) {
1055
1147
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1056
1148
  });
1057
1149
  },
1150
+ /**
1151
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1152
+ * @summary Delete project field options in bulk
1153
+ * @param {string} field_code The unique code identifying the field
1154
+ * @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
1155
+
1156
+ * @throws {RequiredError}
1157
+ */
1158
+ deleteProjectFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
1159
+ return __awaiter(this, void 0, void 0, function* () {
1160
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
1161
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1162
+ });
1163
+ },
1058
1164
  /**
1059
1165
  * Marks a project phase as deleted.
1060
1166
  * @summary Delete a project phase
@@ -1068,6 +1174,19 @@ const BetaApiFp = function (configuration) {
1068
1174
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1069
1175
  });
1070
1176
  },
1177
+ /**
1178
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
1179
+ * @summary Delete a project phase
1180
+ * @param {number} id The ID of the project phase
1181
+
1182
+ * @throws {RequiredError}
1183
+ */
1184
+ deleteProjectPhaseWithHttpInfo(id) {
1185
+ return __awaiter(this, void 0, void 0, function* () {
1186
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectPhase(id);
1187
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1188
+ });
1189
+ },
1071
1190
  /**
1072
1191
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
1073
1192
  * @summary Delete a task
@@ -1081,6 +1200,19 @@ const BetaApiFp = function (configuration) {
1081
1200
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1082
1201
  });
1083
1202
  },
1203
+ /**
1204
+ * Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
1205
+ * @summary Delete a task
1206
+ * @param {number} id The ID of the task
1207
+
1208
+ * @throws {RequiredError}
1209
+ */
1210
+ deleteTaskWithHttpInfo(id) {
1211
+ return __awaiter(this, void 0, void 0, function* () {
1212
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(id);
1213
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1214
+ });
1215
+ },
1084
1216
  /**
1085
1217
  * Returns metadata about a specific project field.
1086
1218
  * @summary Get one project field
@@ -1094,6 +1226,19 @@ const BetaApiFp = function (configuration) {
1094
1226
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1095
1227
  });
1096
1228
  },
1229
+ /**
1230
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
1231
+ * @summary Get one project field
1232
+ * @param {string} field_code The unique code identifying the field
1233
+
1234
+ * @throws {RequiredError}
1235
+ */
1236
+ getProjectFieldWithHttpInfo(field_code) {
1237
+ return __awaiter(this, void 0, void 0, function* () {
1238
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectField(field_code);
1239
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1240
+ });
1241
+ },
1097
1242
  /**
1098
1243
  * Returns metadata about all project fields in the company.
1099
1244
  * @summary Get all project fields
@@ -1108,6 +1253,20 @@ const BetaApiFp = function (configuration) {
1108
1253
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1109
1254
  });
1110
1255
  },
1256
+ /**
1257
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
1258
+ * @summary Get all project fields
1259
+ * @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.
1260
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1261
+
1262
+ * @throws {RequiredError}
1263
+ */
1264
+ getProjectFieldsWithHttpInfo(limit, cursor) {
1265
+ return __awaiter(this, void 0, void 0, function* () {
1266
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectFields(limit, cursor);
1267
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1268
+ });
1269
+ },
1111
1270
  /**
1112
1271
  * Returns the details of a specific project board.
1113
1272
  * @summary Get details of a project board
@@ -1121,6 +1280,19 @@ const BetaApiFp = function (configuration) {
1121
1280
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1122
1281
  });
1123
1282
  },
1283
+ /**
1284
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
1285
+ * @summary Get details of a project board
1286
+ * @param {number} id The ID of the project board
1287
+
1288
+ * @throws {RequiredError}
1289
+ */
1290
+ getProjectsBoardWithHttpInfo(id) {
1291
+ return __awaiter(this, void 0, void 0, function* () {
1292
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsBoard(id);
1293
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1294
+ });
1295
+ },
1124
1296
  /**
1125
1297
  * Returns all active project boards.
1126
1298
  * @summary Get all project boards
@@ -1133,6 +1305,18 @@ const BetaApiFp = function (configuration) {
1133
1305
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1134
1306
  });
1135
1307
  },
1308
+ /**
1309
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
1310
+ * @summary Get all project boards
1311
+
1312
+ * @throws {RequiredError}
1313
+ */
1314
+ getProjectsBoardsWithHttpInfo() {
1315
+ return __awaiter(this, void 0, void 0, function* () {
1316
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsBoards();
1317
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1318
+ });
1319
+ },
1136
1320
  /**
1137
1321
  * Returns the details of a specific project phase.
1138
1322
  * @summary Get details of a project phase
@@ -1146,6 +1330,19 @@ const BetaApiFp = function (configuration) {
1146
1330
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1147
1331
  });
1148
1332
  },
1333
+ /**
1334
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
1335
+ * @summary Get details of a project phase
1336
+ * @param {number} id The ID of the project phase
1337
+
1338
+ * @throws {RequiredError}
1339
+ */
1340
+ getProjectsPhaseWithHttpInfo(id) {
1341
+ return __awaiter(this, void 0, void 0, function* () {
1342
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhase(id);
1343
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1344
+ });
1345
+ },
1149
1346
  /**
1150
1347
  * Returns all active project phases under a specific board.
1151
1348
  * @summary Get project phases
@@ -1159,6 +1356,19 @@ const BetaApiFp = function (configuration) {
1159
1356
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1160
1357
  });
1161
1358
  },
1359
+ /**
1360
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
1361
+ * @summary Get project phases
1362
+ * @param {number} board_id The ID of the board for which phases are requested
1363
+
1364
+ * @throws {RequiredError}
1365
+ */
1366
+ getProjectsPhasesWithHttpInfo(board_id) {
1367
+ return __awaiter(this, void 0, void 0, function* () {
1368
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhases(board_id);
1369
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1370
+ });
1371
+ },
1162
1372
  /**
1163
1373
  * Returns the details of a specific task.
1164
1374
  * @summary Get details of a task
@@ -1172,6 +1382,19 @@ const BetaApiFp = function (configuration) {
1172
1382
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1173
1383
  });
1174
1384
  },
1385
+ /**
1386
+ * Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
1387
+ * @summary Get details of a task
1388
+ * @param {number} id The ID of the task
1389
+
1390
+ * @throws {RequiredError}
1391
+ */
1392
+ getTaskWithHttpInfo(id) {
1393
+ return __awaiter(this, void 0, void 0, function* () {
1394
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(id);
1395
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1396
+ });
1397
+ },
1175
1398
  /**
1176
1399
  * Returns all tasks.
1177
1400
  * @summary Get all tasks
@@ -1191,6 +1414,25 @@ const BetaApiFp = function (configuration) {
1191
1414
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1192
1415
  });
1193
1416
  },
1417
+ /**
1418
+ * Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
1419
+ * @summary Get all tasks
1420
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1421
+ * @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.
1422
+ * @param {boolean} [is_done] Whether the task is done or not. If omitted, both done and not done tasks are returned.
1423
+ * @param {boolean} [is_milestone] Whether the task is a milestone or not. If omitted, both milestone and non-milestone tasks are returned.
1424
+ * @param {number} [assignee_id] If supplied, only tasks assigned to this user are returned
1425
+ * @param {number} [project_id] If supplied, only tasks belonging to this project are returned
1426
+ * @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.
1427
+
1428
+ * @throws {RequiredError}
1429
+ */
1430
+ getTasksWithHttpInfo(cursor, limit, is_done, is_milestone, assignee_id, project_id, parent_task_id) {
1431
+ return __awaiter(this, void 0, void 0, function* () {
1432
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTasks(cursor, limit, is_done, is_milestone, assignee_id, project_id, parent_task_id);
1433
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1434
+ });
1435
+ },
1194
1436
  /**
1195
1437
  * 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.
1196
1438
  * @summary Search projects
@@ -1210,6 +1452,25 @@ const BetaApiFp = function (configuration) {
1210
1452
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1211
1453
  });
1212
1454
  },
1455
+ /**
1456
+ * Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
1457
+ * @summary Search projects
1458
+ * @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.
1459
+ * @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;.
1460
+ * @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.
1461
+ * @param {number} [person_id] Will filter projects by the provided person ID
1462
+ * @param {number} [organization_id] Will filter projects by the provided organization ID
1463
+ * @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.
1464
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1465
+
1466
+ * @throws {RequiredError}
1467
+ */
1468
+ searchProjectsWithHttpInfo(term, fields, exact_match, person_id, organization_id, limit, cursor) {
1469
+ return __awaiter(this, void 0, void 0, function* () {
1470
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchProjects(term, fields, exact_match, person_id, organization_id, limit, cursor);
1471
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1472
+ });
1473
+ },
1213
1474
  /**
1214
1475
  * Updates the properties of a project board.
1215
1476
  * @summary Update a project board
@@ -1224,6 +1485,20 @@ const BetaApiFp = function (configuration) {
1224
1485
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1225
1486
  });
1226
1487
  },
1488
+ /**
1489
+ * Same as `updateProjectBoard`, but resolves with the response body together with the HTTP status and headers.
1490
+ * @summary Update a project board
1491
+ * @param {number} id The ID of the project board
1492
+ * @param {UpdateProjectBoardRequest} [UpdateProjectBoardRequest]
1493
+
1494
+ * @throws {RequiredError}
1495
+ */
1496
+ updateProjectBoardWithHttpInfo(id, UpdateProjectBoardRequest) {
1497
+ return __awaiter(this, void 0, void 0, function* () {
1498
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectBoard(id, UpdateProjectBoardRequest);
1499
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1500
+ });
1501
+ },
1227
1502
  /**
1228
1503
  * 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.
1229
1504
  * @summary Update one project field
@@ -1238,6 +1513,20 @@ const BetaApiFp = function (configuration) {
1238
1513
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1239
1514
  });
1240
1515
  },
1516
+ /**
1517
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
1518
+ * @summary Update one project field
1519
+ * @param {string} field_code The unique code identifying the field
1520
+ * @param {UpdateProjectFieldRequest} UpdateProjectFieldRequest
1521
+
1522
+ * @throws {RequiredError}
1523
+ */
1524
+ updateProjectFieldWithHttpInfo(field_code, UpdateProjectFieldRequest) {
1525
+ return __awaiter(this, void 0, void 0, function* () {
1526
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectField(field_code, UpdateProjectFieldRequest);
1527
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1528
+ });
1529
+ },
1241
1530
  /**
1242
1531
  * 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.
1243
1532
  * @summary Update project field options in bulk
@@ -1252,6 +1541,20 @@ const BetaApiFp = function (configuration) {
1252
1541
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1253
1542
  });
1254
1543
  },
1544
+ /**
1545
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
1546
+ * @summary Update project field options in bulk
1547
+ * @param {string} field_code The unique code identifying the field
1548
+ * @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
1549
+
1550
+ * @throws {RequiredError}
1551
+ */
1552
+ updateProjectFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
1553
+ return __awaiter(this, void 0, void 0, function* () {
1554
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
1555
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1556
+ });
1557
+ },
1255
1558
  /**
1256
1559
  * Updates the properties of a project phase.
1257
1560
  * @summary Update a project phase
@@ -1266,6 +1569,20 @@ const BetaApiFp = function (configuration) {
1266
1569
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1267
1570
  });
1268
1571
  },
1572
+ /**
1573
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
1574
+ * @summary Update a project phase
1575
+ * @param {number} id The ID of the project phase
1576
+ * @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
1577
+
1578
+ * @throws {RequiredError}
1579
+ */
1580
+ updateProjectPhaseWithHttpInfo(id, UpdateProjectPhaseRequest) {
1581
+ return __awaiter(this, void 0, void 0, function* () {
1582
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectPhase(id, UpdateProjectPhaseRequest);
1583
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1584
+ });
1585
+ },
1269
1586
  /**
1270
1587
  * Updates a task.
1271
1588
  * @summary Update a task
@@ -1280,6 +1597,20 @@ const BetaApiFp = function (configuration) {
1280
1597
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1281
1598
  });
1282
1599
  },
1600
+ /**
1601
+ * Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
1602
+ * @summary Update a task
1603
+ * @param {number} id The ID of the task
1604
+ * @param {UpdateTaskRequest} [UpdateTaskRequest]
1605
+
1606
+ * @throws {RequiredError}
1607
+ */
1608
+ updateTaskWithHttpInfo(id, UpdateTaskRequest) {
1609
+ return __awaiter(this, void 0, void 0, function* () {
1610
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(id, UpdateTaskRequest);
1611
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
1612
+ });
1613
+ },
1283
1614
  };
1284
1615
  };
1285
1616
  exports.BetaApiFp = BetaApiFp;
@@ -1300,6 +1631,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1300
1631
  addProjectBoard(requestParameters) {
1301
1632
  return localVarFp.addProjectBoard(requestParameters.AddProjectBoardRequest).then((request) => request(axios, basePath));
1302
1633
  },
1634
+ addProjectBoardWithHttpInfo(requestParameters) {
1635
+ return localVarFp.addProjectBoardWithHttpInfo(requestParameters.AddProjectBoardRequest).then((request) => request(axios, basePath));
1636
+ },
1303
1637
  /**
1304
1638
  * Creates a new project custom field.
1305
1639
  * @summary Create one project field
@@ -1310,6 +1644,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1310
1644
  addProjectField(requestParameters) {
1311
1645
  return localVarFp.addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
1312
1646
  },
1647
+ addProjectFieldWithHttpInfo(requestParameters) {
1648
+ return localVarFp.addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
1649
+ },
1313
1650
  /**
1314
1651
  * 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.
1315
1652
  * @summary Add project field options in bulk
@@ -1320,6 +1657,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1320
1657
  addProjectFieldOptions(requestParameters) {
1321
1658
  return localVarFp.addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1322
1659
  },
1660
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
1661
+ return localVarFp.addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1662
+ },
1323
1663
  /**
1324
1664
  * Adds a new project phase to a board.
1325
1665
  * @summary Add a project phase
@@ -1330,6 +1670,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1330
1670
  addProjectPhase(requestParameters) {
1331
1671
  return localVarFp.addProjectPhase(requestParameters.AddProjectPhaseRequest).then((request) => request(axios, basePath));
1332
1672
  },
1673
+ addProjectPhaseWithHttpInfo(requestParameters) {
1674
+ return localVarFp.addProjectPhaseWithHttpInfo(requestParameters.AddProjectPhaseRequest).then((request) => request(axios, basePath));
1675
+ },
1333
1676
  /**
1334
1677
  * Adds a new task.
1335
1678
  * @summary Add a task
@@ -1340,6 +1683,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1340
1683
  addTask(requestParameters) {
1341
1684
  return localVarFp.addTask(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
1342
1685
  },
1686
+ addTaskWithHttpInfo(requestParameters) {
1687
+ return localVarFp.addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
1688
+ },
1343
1689
  /**
1344
1690
  * Marks a project board as deleted.
1345
1691
  * @summary Delete a project board
@@ -1350,6 +1696,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1350
1696
  deleteProjectBoard(requestParameters) {
1351
1697
  return localVarFp.deleteProjectBoard(requestParameters.id).then((request) => request(axios, basePath));
1352
1698
  },
1699
+ deleteProjectBoardWithHttpInfo(requestParameters) {
1700
+ return localVarFp.deleteProjectBoardWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1701
+ },
1353
1702
  /**
1354
1703
  * Marks a custom field as deleted.
1355
1704
  * @summary Delete one project field
@@ -1360,6 +1709,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1360
1709
  deleteProjectField(requestParameters) {
1361
1710
  return localVarFp.deleteProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
1362
1711
  },
1712
+ deleteProjectFieldWithHttpInfo(requestParameters) {
1713
+ return localVarFp.deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
1714
+ },
1363
1715
  /**
1364
1716
  * 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.
1365
1717
  * @summary Delete project field options in bulk
@@ -1370,6 +1722,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1370
1722
  deleteProjectFieldOptions(requestParameters) {
1371
1723
  return localVarFp.deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1372
1724
  },
1725
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
1726
+ return localVarFp.deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1727
+ },
1373
1728
  /**
1374
1729
  * Marks a project phase as deleted.
1375
1730
  * @summary Delete a project phase
@@ -1380,6 +1735,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1380
1735
  deleteProjectPhase(requestParameters) {
1381
1736
  return localVarFp.deleteProjectPhase(requestParameters.id).then((request) => request(axios, basePath));
1382
1737
  },
1738
+ deleteProjectPhaseWithHttpInfo(requestParameters) {
1739
+ return localVarFp.deleteProjectPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1740
+ },
1383
1741
  /**
1384
1742
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
1385
1743
  * @summary Delete a task
@@ -1390,6 +1748,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1390
1748
  deleteTask(requestParameters) {
1391
1749
  return localVarFp.deleteTask(requestParameters.id).then((request) => request(axios, basePath));
1392
1750
  },
1751
+ deleteTaskWithHttpInfo(requestParameters) {
1752
+ return localVarFp.deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1753
+ },
1393
1754
  /**
1394
1755
  * Returns metadata about a specific project field.
1395
1756
  * @summary Get one project field
@@ -1400,6 +1761,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1400
1761
  getProjectField(requestParameters) {
1401
1762
  return localVarFp.getProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
1402
1763
  },
1764
+ getProjectFieldWithHttpInfo(requestParameters) {
1765
+ return localVarFp.getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
1766
+ },
1403
1767
  /**
1404
1768
  * Returns metadata about all project fields in the company.
1405
1769
  * @summary Get all project fields
@@ -1410,6 +1774,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1410
1774
  getProjectFields(requestParameters = {}) {
1411
1775
  return localVarFp.getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1412
1776
  },
1777
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
1778
+ return localVarFp.getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
1779
+ },
1413
1780
  /**
1414
1781
  * Returns the details of a specific project board.
1415
1782
  * @summary Get details of a project board
@@ -1420,6 +1787,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1420
1787
  getProjectsBoard(requestParameters) {
1421
1788
  return localVarFp.getProjectsBoard(requestParameters.id).then((request) => request(axios, basePath));
1422
1789
  },
1790
+ getProjectsBoardWithHttpInfo(requestParameters) {
1791
+ return localVarFp.getProjectsBoardWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1792
+ },
1423
1793
  /**
1424
1794
  * Returns all active project boards.
1425
1795
  * @summary Get all project boards
@@ -1429,6 +1799,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1429
1799
  getProjectsBoards() {
1430
1800
  return localVarFp.getProjectsBoards().then((request) => request(axios, basePath));
1431
1801
  },
1802
+ getProjectsBoardsWithHttpInfo() {
1803
+ return localVarFp.getProjectsBoardsWithHttpInfo().then((request) => request(axios, basePath));
1804
+ },
1432
1805
  /**
1433
1806
  * Returns the details of a specific project phase.
1434
1807
  * @summary Get details of a project phase
@@ -1439,6 +1812,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1439
1812
  getProjectsPhase(requestParameters) {
1440
1813
  return localVarFp.getProjectsPhase(requestParameters.id).then((request) => request(axios, basePath));
1441
1814
  },
1815
+ getProjectsPhaseWithHttpInfo(requestParameters) {
1816
+ return localVarFp.getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1817
+ },
1442
1818
  /**
1443
1819
  * Returns all active project phases under a specific board.
1444
1820
  * @summary Get project phases
@@ -1449,6 +1825,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1449
1825
  getProjectsPhases(requestParameters) {
1450
1826
  return localVarFp.getProjectsPhases(requestParameters.board_id).then((request) => request(axios, basePath));
1451
1827
  },
1828
+ getProjectsPhasesWithHttpInfo(requestParameters) {
1829
+ return localVarFp.getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(axios, basePath));
1830
+ },
1452
1831
  /**
1453
1832
  * Returns the details of a specific task.
1454
1833
  * @summary Get details of a task
@@ -1459,6 +1838,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1459
1838
  getTask(requestParameters) {
1460
1839
  return localVarFp.getTask(requestParameters.id).then((request) => request(axios, basePath));
1461
1840
  },
1841
+ getTaskWithHttpInfo(requestParameters) {
1842
+ return localVarFp.getTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
1843
+ },
1462
1844
  /**
1463
1845
  * Returns all tasks.
1464
1846
  * @summary Get all tasks
@@ -1469,6 +1851,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1469
1851
  getTasks(requestParameters = {}) {
1470
1852
  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));
1471
1853
  },
1854
+ getTasksWithHttpInfo(requestParameters = {}) {
1855
+ 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));
1856
+ },
1472
1857
  /**
1473
1858
  * 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.
1474
1859
  * @summary Search projects
@@ -1479,6 +1864,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1479
1864
  searchProjects(requestParameters) {
1480
1865
  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));
1481
1866
  },
1867
+ searchProjectsWithHttpInfo(requestParameters) {
1868
+ 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));
1869
+ },
1482
1870
  /**
1483
1871
  * Updates the properties of a project board.
1484
1872
  * @summary Update a project board
@@ -1489,6 +1877,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1489
1877
  updateProjectBoard(requestParameters) {
1490
1878
  return localVarFp.updateProjectBoard(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(axios, basePath));
1491
1879
  },
1880
+ updateProjectBoardWithHttpInfo(requestParameters) {
1881
+ return localVarFp.updateProjectBoardWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(axios, basePath));
1882
+ },
1492
1883
  /**
1493
1884
  * 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.
1494
1885
  * @summary Update one project field
@@ -1499,6 +1890,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1499
1890
  updateProjectField(requestParameters) {
1500
1891
  return localVarFp.updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
1501
1892
  },
1893
+ updateProjectFieldWithHttpInfo(requestParameters) {
1894
+ return localVarFp.updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
1895
+ },
1502
1896
  /**
1503
1897
  * 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.
1504
1898
  * @summary Update project field options in bulk
@@ -1509,6 +1903,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1509
1903
  updateProjectFieldOptions(requestParameters) {
1510
1904
  return localVarFp.updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1511
1905
  },
1906
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
1907
+ return localVarFp.updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
1908
+ },
1512
1909
  /**
1513
1910
  * Updates the properties of a project phase.
1514
1911
  * @summary Update a project phase
@@ -1519,6 +1916,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1519
1916
  updateProjectPhase(requestParameters) {
1520
1917
  return localVarFp.updateProjectPhase(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(axios, basePath));
1521
1918
  },
1919
+ updateProjectPhaseWithHttpInfo(requestParameters) {
1920
+ return localVarFp.updateProjectPhaseWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(axios, basePath));
1921
+ },
1522
1922
  /**
1523
1923
  * Updates a task.
1524
1924
  * @summary Update a task
@@ -1529,6 +1929,9 @@ const BetaApiFactory = function (configuration, basePath, axios) {
1529
1929
  updateTask(requestParameters) {
1530
1930
  return localVarFp.updateTask(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(axios, basePath));
1531
1931
  },
1932
+ updateTaskWithHttpInfo(requestParameters) {
1933
+ return localVarFp.updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(axios, basePath));
1934
+ },
1532
1935
  };
1533
1936
  };
1534
1937
  exports.BetaApiFactory = BetaApiFactory;
@@ -1550,6 +1953,17 @@ class BetaApi extends base_1.BaseAPI {
1550
1953
  addProjectBoard(requestParameters) {
1551
1954
  return (0, exports.BetaApiFp)(this.configuration).addProjectBoard(requestParameters.AddProjectBoardRequest).then((request) => request(this.axios, this.basePath));
1552
1955
  }
1956
+ /**
1957
+ * Same as `addProjectBoard`, but resolves with the response body together with the HTTP status and headers.
1958
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1959
+ * @param {BetaApiAddProjectBoardRequest} requestParameters Request parameters.
1960
+
1961
+ * @throws {RequiredError}
1962
+ * @memberof BetaApi
1963
+ */
1964
+ addProjectBoardWithHttpInfo(requestParameters) {
1965
+ return (0, exports.BetaApiFp)(this.configuration).addProjectBoardWithHttpInfo(requestParameters.AddProjectBoardRequest).then((request) => request(this.axios, this.basePath));
1966
+ }
1553
1967
  /**
1554
1968
  * Creates a new project custom field.
1555
1969
  * @summary Create one project field
@@ -1561,6 +1975,17 @@ class BetaApi extends base_1.BaseAPI {
1561
1975
  addProjectField(requestParameters) {
1562
1976
  return (0, exports.BetaApiFp)(this.configuration).addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
1563
1977
  }
1978
+ /**
1979
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
1980
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1981
+ * @param {BetaApiAddProjectFieldRequest} requestParameters Request parameters.
1982
+
1983
+ * @throws {RequiredError}
1984
+ * @memberof BetaApi
1985
+ */
1986
+ addProjectFieldWithHttpInfo(requestParameters) {
1987
+ return (0, exports.BetaApiFp)(this.configuration).addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
1988
+ }
1564
1989
  /**
1565
1990
  * 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.
1566
1991
  * @summary Add project field options in bulk
@@ -1572,6 +1997,17 @@ class BetaApi extends base_1.BaseAPI {
1572
1997
  addProjectFieldOptions(requestParameters) {
1573
1998
  return (0, exports.BetaApiFp)(this.configuration).addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
1574
1999
  }
2000
+ /**
2001
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
2002
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2003
+ * @param {BetaApiAddProjectFieldOptionsRequest} requestParameters Request parameters.
2004
+
2005
+ * @throws {RequiredError}
2006
+ * @memberof BetaApi
2007
+ */
2008
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
2009
+ return (0, exports.BetaApiFp)(this.configuration).addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
2010
+ }
1575
2011
  /**
1576
2012
  * Adds a new project phase to a board.
1577
2013
  * @summary Add a project phase
@@ -1583,6 +2019,17 @@ class BetaApi extends base_1.BaseAPI {
1583
2019
  addProjectPhase(requestParameters) {
1584
2020
  return (0, exports.BetaApiFp)(this.configuration).addProjectPhase(requestParameters.AddProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
1585
2021
  }
2022
+ /**
2023
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
2024
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2025
+ * @param {BetaApiAddProjectPhaseRequest} requestParameters Request parameters.
2026
+
2027
+ * @throws {RequiredError}
2028
+ * @memberof BetaApi
2029
+ */
2030
+ addProjectPhaseWithHttpInfo(requestParameters) {
2031
+ return (0, exports.BetaApiFp)(this.configuration).addProjectPhaseWithHttpInfo(requestParameters.AddProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
2032
+ }
1586
2033
  /**
1587
2034
  * Adds a new task.
1588
2035
  * @summary Add a task
@@ -1594,6 +2041,17 @@ class BetaApi extends base_1.BaseAPI {
1594
2041
  addTask(requestParameters) {
1595
2042
  return (0, exports.BetaApiFp)(this.configuration).addTask(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
1596
2043
  }
2044
+ /**
2045
+ * Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
2046
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2047
+ * @param {BetaApiAddTaskRequest} requestParameters Request parameters.
2048
+
2049
+ * @throws {RequiredError}
2050
+ * @memberof BetaApi
2051
+ */
2052
+ addTaskWithHttpInfo(requestParameters) {
2053
+ return (0, exports.BetaApiFp)(this.configuration).addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
2054
+ }
1597
2055
  /**
1598
2056
  * Marks a project board as deleted.
1599
2057
  * @summary Delete a project board
@@ -1605,6 +2063,17 @@ class BetaApi extends base_1.BaseAPI {
1605
2063
  deleteProjectBoard(requestParameters) {
1606
2064
  return (0, exports.BetaApiFp)(this.configuration).deleteProjectBoard(requestParameters.id).then((request) => request(this.axios, this.basePath));
1607
2065
  }
2066
+ /**
2067
+ * Same as `deleteProjectBoard`, but resolves with the response body together with the HTTP status and headers.
2068
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2069
+ * @param {BetaApiDeleteProjectBoardRequest} requestParameters Request parameters.
2070
+
2071
+ * @throws {RequiredError}
2072
+ * @memberof BetaApi
2073
+ */
2074
+ deleteProjectBoardWithHttpInfo(requestParameters) {
2075
+ return (0, exports.BetaApiFp)(this.configuration).deleteProjectBoardWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2076
+ }
1608
2077
  /**
1609
2078
  * Marks a custom field as deleted.
1610
2079
  * @summary Delete one project field
@@ -1616,6 +2085,17 @@ class BetaApi extends base_1.BaseAPI {
1616
2085
  deleteProjectField(requestParameters) {
1617
2086
  return (0, exports.BetaApiFp)(this.configuration).deleteProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
1618
2087
  }
2088
+ /**
2089
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
2090
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2091
+ * @param {BetaApiDeleteProjectFieldRequest} requestParameters Request parameters.
2092
+
2093
+ * @throws {RequiredError}
2094
+ * @memberof BetaApi
2095
+ */
2096
+ deleteProjectFieldWithHttpInfo(requestParameters) {
2097
+ return (0, exports.BetaApiFp)(this.configuration).deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
2098
+ }
1619
2099
  /**
1620
2100
  * 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.
1621
2101
  * @summary Delete project field options in bulk
@@ -1627,6 +2107,17 @@ class BetaApi extends base_1.BaseAPI {
1627
2107
  deleteProjectFieldOptions(requestParameters) {
1628
2108
  return (0, exports.BetaApiFp)(this.configuration).deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
1629
2109
  }
2110
+ /**
2111
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
2112
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2113
+ * @param {BetaApiDeleteProjectFieldOptionsRequest} requestParameters Request parameters.
2114
+
2115
+ * @throws {RequiredError}
2116
+ * @memberof BetaApi
2117
+ */
2118
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
2119
+ return (0, exports.BetaApiFp)(this.configuration).deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
2120
+ }
1630
2121
  /**
1631
2122
  * Marks a project phase as deleted.
1632
2123
  * @summary Delete a project phase
@@ -1638,6 +2129,17 @@ class BetaApi extends base_1.BaseAPI {
1638
2129
  deleteProjectPhase(requestParameters) {
1639
2130
  return (0, exports.BetaApiFp)(this.configuration).deleteProjectPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
1640
2131
  }
2132
+ /**
2133
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
2134
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2135
+ * @param {BetaApiDeleteProjectPhaseRequest} requestParameters Request parameters.
2136
+
2137
+ * @throws {RequiredError}
2138
+ * @memberof BetaApi
2139
+ */
2140
+ deleteProjectPhaseWithHttpInfo(requestParameters) {
2141
+ return (0, exports.BetaApiFp)(this.configuration).deleteProjectPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2142
+ }
1641
2143
  /**
1642
2144
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
1643
2145
  * @summary Delete a task
@@ -1649,6 +2151,17 @@ class BetaApi extends base_1.BaseAPI {
1649
2151
  deleteTask(requestParameters) {
1650
2152
  return (0, exports.BetaApiFp)(this.configuration).deleteTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
1651
2153
  }
2154
+ /**
2155
+ * Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
2156
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2157
+ * @param {BetaApiDeleteTaskRequest} requestParameters Request parameters.
2158
+
2159
+ * @throws {RequiredError}
2160
+ * @memberof BetaApi
2161
+ */
2162
+ deleteTaskWithHttpInfo(requestParameters) {
2163
+ return (0, exports.BetaApiFp)(this.configuration).deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2164
+ }
1652
2165
  /**
1653
2166
  * Returns metadata about a specific project field.
1654
2167
  * @summary Get one project field
@@ -1660,6 +2173,17 @@ class BetaApi extends base_1.BaseAPI {
1660
2173
  getProjectField(requestParameters) {
1661
2174
  return (0, exports.BetaApiFp)(this.configuration).getProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
1662
2175
  }
2176
+ /**
2177
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
2178
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2179
+ * @param {BetaApiGetProjectFieldRequest} requestParameters Request parameters.
2180
+
2181
+ * @throws {RequiredError}
2182
+ * @memberof BetaApi
2183
+ */
2184
+ getProjectFieldWithHttpInfo(requestParameters) {
2185
+ return (0, exports.BetaApiFp)(this.configuration).getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
2186
+ }
1663
2187
  /**
1664
2188
  * Returns metadata about all project fields in the company.
1665
2189
  * @summary Get all project fields
@@ -1671,6 +2195,17 @@ class BetaApi extends base_1.BaseAPI {
1671
2195
  getProjectFields(requestParameters = {}) {
1672
2196
  return (0, exports.BetaApiFp)(this.configuration).getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1673
2197
  }
2198
+ /**
2199
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
2200
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2201
+ * @param {BetaApiGetProjectFieldsRequest} requestParameters Request parameters.
2202
+
2203
+ * @throws {RequiredError}
2204
+ * @memberof BetaApi
2205
+ */
2206
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
2207
+ return (0, exports.BetaApiFp)(this.configuration).getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
2208
+ }
1674
2209
  /**
1675
2210
  * Returns the details of a specific project board.
1676
2211
  * @summary Get details of a project board
@@ -1682,6 +2217,17 @@ class BetaApi extends base_1.BaseAPI {
1682
2217
  getProjectsBoard(requestParameters) {
1683
2218
  return (0, exports.BetaApiFp)(this.configuration).getProjectsBoard(requestParameters.id).then((request) => request(this.axios, this.basePath));
1684
2219
  }
2220
+ /**
2221
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
2222
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2223
+ * @param {BetaApiGetProjectsBoardRequest} requestParameters Request parameters.
2224
+
2225
+ * @throws {RequiredError}
2226
+ * @memberof BetaApi
2227
+ */
2228
+ getProjectsBoardWithHttpInfo(requestParameters) {
2229
+ return (0, exports.BetaApiFp)(this.configuration).getProjectsBoardWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2230
+ }
1685
2231
  /**
1686
2232
  * Returns all active project boards.
1687
2233
  * @summary Get all project boards
@@ -1692,6 +2238,16 @@ class BetaApi extends base_1.BaseAPI {
1692
2238
  getProjectsBoards() {
1693
2239
  return (0, exports.BetaApiFp)(this.configuration).getProjectsBoards().then((request) => request(this.axios, this.basePath));
1694
2240
  }
2241
+ /**
2242
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
2243
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2244
+
2245
+ * @throws {RequiredError}
2246
+ * @memberof BetaApi
2247
+ */
2248
+ getProjectsBoardsWithHttpInfo() {
2249
+ return (0, exports.BetaApiFp)(this.configuration).getProjectsBoardsWithHttpInfo().then((request) => request(this.axios, this.basePath));
2250
+ }
1695
2251
  /**
1696
2252
  * Returns the details of a specific project phase.
1697
2253
  * @summary Get details of a project phase
@@ -1703,6 +2259,17 @@ class BetaApi extends base_1.BaseAPI {
1703
2259
  getProjectsPhase(requestParameters) {
1704
2260
  return (0, exports.BetaApiFp)(this.configuration).getProjectsPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
1705
2261
  }
2262
+ /**
2263
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
2264
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2265
+ * @param {BetaApiGetProjectsPhaseRequest} requestParameters Request parameters.
2266
+
2267
+ * @throws {RequiredError}
2268
+ * @memberof BetaApi
2269
+ */
2270
+ getProjectsPhaseWithHttpInfo(requestParameters) {
2271
+ return (0, exports.BetaApiFp)(this.configuration).getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2272
+ }
1706
2273
  /**
1707
2274
  * Returns all active project phases under a specific board.
1708
2275
  * @summary Get project phases
@@ -1714,6 +2281,17 @@ class BetaApi extends base_1.BaseAPI {
1714
2281
  getProjectsPhases(requestParameters) {
1715
2282
  return (0, exports.BetaApiFp)(this.configuration).getProjectsPhases(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
1716
2283
  }
2284
+ /**
2285
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
2286
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2287
+ * @param {BetaApiGetProjectsPhasesRequest} requestParameters Request parameters.
2288
+
2289
+ * @throws {RequiredError}
2290
+ * @memberof BetaApi
2291
+ */
2292
+ getProjectsPhasesWithHttpInfo(requestParameters) {
2293
+ return (0, exports.BetaApiFp)(this.configuration).getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
2294
+ }
1717
2295
  /**
1718
2296
  * Returns the details of a specific task.
1719
2297
  * @summary Get details of a task
@@ -1725,6 +2303,17 @@ class BetaApi extends base_1.BaseAPI {
1725
2303
  getTask(requestParameters) {
1726
2304
  return (0, exports.BetaApiFp)(this.configuration).getTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
1727
2305
  }
2306
+ /**
2307
+ * Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
2308
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2309
+ * @param {BetaApiGetTaskRequest} requestParameters Request parameters.
2310
+
2311
+ * @throws {RequiredError}
2312
+ * @memberof BetaApi
2313
+ */
2314
+ getTaskWithHttpInfo(requestParameters) {
2315
+ return (0, exports.BetaApiFp)(this.configuration).getTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
2316
+ }
1728
2317
  /**
1729
2318
  * Returns all tasks.
1730
2319
  * @summary Get all tasks
@@ -1736,6 +2325,17 @@ class BetaApi extends base_1.BaseAPI {
1736
2325
  getTasks(requestParameters = {}) {
1737
2326
  return (0, exports.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));
1738
2327
  }
2328
+ /**
2329
+ * Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
2330
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2331
+ * @param {BetaApiGetTasksRequest} requestParameters Request parameters.
2332
+
2333
+ * @throws {RequiredError}
2334
+ * @memberof BetaApi
2335
+ */
2336
+ getTasksWithHttpInfo(requestParameters = {}) {
2337
+ return (0, exports.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));
2338
+ }
1739
2339
  /**
1740
2340
  * 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.
1741
2341
  * @summary Search projects
@@ -1747,6 +2347,17 @@ class BetaApi extends base_1.BaseAPI {
1747
2347
  searchProjects(requestParameters) {
1748
2348
  return (0, exports.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));
1749
2349
  }
2350
+ /**
2351
+ * Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
2352
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2353
+ * @param {BetaApiSearchProjectsRequest} requestParameters Request parameters.
2354
+
2355
+ * @throws {RequiredError}
2356
+ * @memberof BetaApi
2357
+ */
2358
+ searchProjectsWithHttpInfo(requestParameters) {
2359
+ return (0, exports.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));
2360
+ }
1750
2361
  /**
1751
2362
  * Updates the properties of a project board.
1752
2363
  * @summary Update a project board
@@ -1758,6 +2369,17 @@ class BetaApi extends base_1.BaseAPI {
1758
2369
  updateProjectBoard(requestParameters) {
1759
2370
  return (0, exports.BetaApiFp)(this.configuration).updateProjectBoard(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(this.axios, this.basePath));
1760
2371
  }
2372
+ /**
2373
+ * Same as `updateProjectBoard`, but resolves with the response body together with the HTTP status and headers.
2374
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2375
+ * @param {BetaApiUpdateProjectBoardRequest} requestParameters Request parameters.
2376
+
2377
+ * @throws {RequiredError}
2378
+ * @memberof BetaApi
2379
+ */
2380
+ updateProjectBoardWithHttpInfo(requestParameters) {
2381
+ return (0, exports.BetaApiFp)(this.configuration).updateProjectBoardWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectBoardRequest).then((request) => request(this.axios, this.basePath));
2382
+ }
1761
2383
  /**
1762
2384
  * 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.
1763
2385
  * @summary Update one project field
@@ -1769,6 +2391,17 @@ class BetaApi extends base_1.BaseAPI {
1769
2391
  updateProjectField(requestParameters) {
1770
2392
  return (0, exports.BetaApiFp)(this.configuration).updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
1771
2393
  }
2394
+ /**
2395
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
2396
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2397
+ * @param {BetaApiUpdateProjectFieldRequest} requestParameters Request parameters.
2398
+
2399
+ * @throws {RequiredError}
2400
+ * @memberof BetaApi
2401
+ */
2402
+ updateProjectFieldWithHttpInfo(requestParameters) {
2403
+ return (0, exports.BetaApiFp)(this.configuration).updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
2404
+ }
1772
2405
  /**
1773
2406
  * 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.
1774
2407
  * @summary Update project field options in bulk
@@ -1780,6 +2413,17 @@ class BetaApi extends base_1.BaseAPI {
1780
2413
  updateProjectFieldOptions(requestParameters) {
1781
2414
  return (0, exports.BetaApiFp)(this.configuration).updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
1782
2415
  }
2416
+ /**
2417
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
2418
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2419
+ * @param {BetaApiUpdateProjectFieldOptionsRequest} requestParameters Request parameters.
2420
+
2421
+ * @throws {RequiredError}
2422
+ * @memberof BetaApi
2423
+ */
2424
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
2425
+ return (0, exports.BetaApiFp)(this.configuration).updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
2426
+ }
1783
2427
  /**
1784
2428
  * Updates the properties of a project phase.
1785
2429
  * @summary Update a project phase
@@ -1791,6 +2435,17 @@ class BetaApi extends base_1.BaseAPI {
1791
2435
  updateProjectPhase(requestParameters) {
1792
2436
  return (0, exports.BetaApiFp)(this.configuration).updateProjectPhase(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
1793
2437
  }
2438
+ /**
2439
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
2440
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2441
+ * @param {BetaApiUpdateProjectPhaseRequest} requestParameters Request parameters.
2442
+
2443
+ * @throws {RequiredError}
2444
+ * @memberof BetaApi
2445
+ */
2446
+ updateProjectPhaseWithHttpInfo(requestParameters) {
2447
+ return (0, exports.BetaApiFp)(this.configuration).updateProjectPhaseWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
2448
+ }
1794
2449
  /**
1795
2450
  * Updates a task.
1796
2451
  * @summary Update a task
@@ -1802,5 +2457,16 @@ class BetaApi extends base_1.BaseAPI {
1802
2457
  updateTask(requestParameters) {
1803
2458
  return (0, exports.BetaApiFp)(this.configuration).updateTask(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(this.axios, this.basePath));
1804
2459
  }
2460
+ /**
2461
+ * Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
2462
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
2463
+ * @param {BetaApiUpdateTaskRequest} requestParameters Request parameters.
2464
+
2465
+ * @throws {RequiredError}
2466
+ * @memberof BetaApi
2467
+ */
2468
+ updateTaskWithHttpInfo(requestParameters) {
2469
+ return (0, exports.BetaApiFp)(this.configuration).updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateTaskRequest).then((request) => request(this.axios, this.basePath));
2470
+ }
1805
2471
  }
1806
2472
  exports.BetaApi = BetaApi;