pipedrive 36.0.1 → 36.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/dist/esm/versions/v1/api/activity-fields-api.d.ts +17 -1
  2. package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
  3. package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
  5. package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
  6. package/dist/esm/versions/v1/api/billing-api.js +25 -0
  7. package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
  8. package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
  9. package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
  10. package/dist/esm/versions/v1/api/channels-api.js +109 -0
  11. package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
  12. package/dist/esm/versions/v1/api/currencies-api.js +27 -0
  13. package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
  14. package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
  15. package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
  16. package/dist/esm/versions/v1/api/deals-api.js +569 -0
  17. package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
  18. package/dist/esm/versions/v1/api/files-api.js +234 -0
  19. package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
  20. package/dist/esm/versions/v1/api/filters-api.js +191 -0
  21. package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
  22. package/dist/esm/versions/v1/api/goals-api.js +150 -0
  23. package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
  24. package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
  25. package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
  26. package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
  27. package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
  28. package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
  29. package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
  30. package/dist/esm/versions/v1/api/leads-api.js +237 -0
  31. package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
  32. package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
  33. package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
  34. package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
  35. package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
  36. package/dist/esm/versions/v1/api/meetings-api.js +54 -0
  37. package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
  38. package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
  39. package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
  40. package/dist/esm/versions/v1/api/notes-api.js +296 -0
  41. package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
  42. package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
  43. package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
  44. package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
  45. package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
  46. package/dist/esm/versions/v1/api/organizations-api.js +258 -0
  47. package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
  48. package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
  49. package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
  50. package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
  51. package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
  52. package/dist/esm/versions/v1/api/persons-api.js +370 -24
  53. package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
  54. package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
  55. package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
  56. package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
  57. package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
  58. package/dist/esm/versions/v1/api/products-api.js +172 -0
  59. package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
  60. package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
  61. package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
  62. package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
  63. package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
  64. package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
  65. package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
  66. package/dist/esm/versions/v1/api/projects-api.js +334 -0
  67. package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
  68. package/dist/esm/versions/v1/api/recents-api.js +30 -0
  69. package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
  70. package/dist/esm/versions/v1/api/roles-api.js +333 -0
  71. package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
  72. package/dist/esm/versions/v1/api/stages-api.js +32 -0
  73. package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
  74. package/dist/esm/versions/v1/api/tasks-api.js +141 -0
  75. package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
  76. package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
  77. package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
  78. package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
  79. package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
  80. package/dist/esm/versions/v1/api/users-api.js +270 -0
  81. package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
  82. package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
  83. package/dist/esm/versions/v1/base.d.ts +17 -0
  84. package/dist/esm/versions/v1/base.js +22 -0
  85. package/dist/esm/versions/v1/common.d.ts +1 -1
  86. package/dist/esm/versions/v1/common.js +7 -4
  87. package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
  88. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  89. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  90. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  91. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  92. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  93. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  94. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  95. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  96. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  97. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  98. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  99. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  100. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  101. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  102. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  103. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  104. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  105. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  106. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  107. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  108. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  109. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  112. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  113. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  114. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  115. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  116. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  117. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  118. package/dist/esm/versions/v2/api/products-api.js +541 -0
  119. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  120. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  121. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  122. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  123. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  124. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  125. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  126. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  127. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  128. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  129. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  130. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  131. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  132. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  133. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  134. package/dist/esm/versions/v2/api/users-api.js +29 -0
  135. package/dist/esm/versions/v2/base.d.ts +17 -0
  136. package/dist/esm/versions/v2/base.js +22 -0
  137. package/dist/esm/versions/v2/common.d.ts +1 -1
  138. package/dist/esm/versions/v2/common.js +7 -4
  139. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  140. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  141. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  142. package/dist/versions/v1/api/activity-types-api.js +107 -0
  143. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  144. package/dist/versions/v1/api/billing-api.js +25 -0
  145. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  146. package/dist/versions/v1/api/call-logs-api.js +137 -0
  147. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  148. package/dist/versions/v1/api/channels-api.js +109 -0
  149. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  150. package/dist/versions/v1/api/currencies-api.js +27 -0
  151. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  152. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  153. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  154. package/dist/versions/v1/api/deals-api.js +569 -0
  155. package/dist/versions/v1/api/files-api.d.ts +163 -1
  156. package/dist/versions/v1/api/files-api.js +234 -0
  157. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  158. package/dist/versions/v1/api/filters-api.js +191 -0
  159. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  160. package/dist/versions/v1/api/goals-api.js +150 -0
  161. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  162. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  163. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  164. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  165. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  166. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  167. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  168. package/dist/versions/v1/api/leads-api.js +237 -0
  169. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  170. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  171. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  172. package/dist/versions/v1/api/mailbox-api.js +170 -0
  173. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  174. package/dist/versions/v1/api/meetings-api.js +54 -0
  175. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  176. package/dist/versions/v1/api/note-fields-api.js +25 -0
  177. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  178. package/dist/versions/v1/api/notes-api.js +296 -0
  179. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  180. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  181. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  182. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  183. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  184. package/dist/versions/v1/api/organizations-api.js +258 -0
  185. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  186. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  187. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  188. package/dist/versions/v1/api/person-fields-api.js +164 -0
  189. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  190. package/dist/versions/v1/api/persons-api.js +370 -24
  191. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  192. package/dist/versions/v1/api/pipelines-api.js +95 -0
  193. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  194. package/dist/versions/v1/api/product-fields-api.js +164 -0
  195. package/dist/versions/v1/api/products-api.d.ts +119 -1
  196. package/dist/versions/v1/api/products-api.js +172 -0
  197. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  198. package/dist/versions/v1/api/project-boards-api.js +52 -0
  199. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  200. package/dist/versions/v1/api/project-phases-api.js +54 -0
  201. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  202. package/dist/versions/v1/api/project-templates-api.js +55 -0
  203. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  204. package/dist/versions/v1/api/projects-api.js +334 -0
  205. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  206. package/dist/versions/v1/api/recents-api.js +30 -0
  207. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  208. package/dist/versions/v1/api/roles-api.js +333 -0
  209. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  210. package/dist/versions/v1/api/stages-api.js +32 -0
  211. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  212. package/dist/versions/v1/api/tasks-api.js +141 -0
  213. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  214. package/dist/versions/v1/api/user-connections-api.js +25 -0
  215. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  216. package/dist/versions/v1/api/user-settings-api.js +25 -0
  217. package/dist/versions/v1/api/users-api.d.ts +181 -1
  218. package/dist/versions/v1/api/users-api.js +270 -0
  219. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  220. package/dist/versions/v1/api/webhooks-api.js +79 -0
  221. package/dist/versions/v1/base.d.ts +17 -0
  222. package/dist/versions/v1/base.js +24 -1
  223. package/dist/versions/v1/common.d.ts +1 -1
  224. package/dist/versions/v1/common.js +6 -3
  225. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  226. package/dist/versions/v2/api/activities-api.js +151 -0
  227. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  228. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  229. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  230. package/dist/versions/v2/api/beta-api.js +666 -0
  231. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  232. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  233. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  234. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  235. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  236. package/dist/versions/v2/api/deal-products-api.js +203 -0
  237. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  238. package/dist/versions/v2/api/deals-api.js +516 -1
  239. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  240. package/dist/versions/v2/api/item-search-api.js +66 -0
  241. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  242. package/dist/versions/v2/api/leads-api.js +90 -0
  243. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  244. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  245. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  246. package/dist/versions/v2/api/organizations-api.js +297 -0
  247. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  248. package/dist/versions/v2/api/person-fields-api.js +223 -0
  249. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  250. package/dist/versions/v2/api/persons-api.js +328 -0
  251. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  252. package/dist/versions/v2/api/pipelines-api.js +139 -0
  253. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  254. package/dist/versions/v2/api/product-fields-api.js +223 -0
  255. package/dist/versions/v2/api/products-api.d.ts +371 -1
  256. package/dist/versions/v2/api/products-api.js +541 -0
  257. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  258. package/dist/versions/v2/api/project-boards-api.js +134 -0
  259. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  260. package/dist/versions/v2/api/project-fields-api.js +221 -0
  261. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  262. package/dist/versions/v2/api/project-phases-api.js +136 -0
  263. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  264. package/dist/versions/v2/api/project-templates-api.js +55 -0
  265. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  266. package/dist/versions/v2/api/projects-api.js +290 -0
  267. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  268. package/dist/versions/v2/api/stages-api.js +140 -0
  269. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  270. package/dist/versions/v2/api/tasks-api.js +142 -0
  271. package/dist/versions/v2/api/users-api.d.ts +21 -1
  272. package/dist/versions/v2/api/users-api.js +29 -0
  273. package/dist/versions/v2/base.d.ts +17 -0
  274. package/dist/versions/v2/base.js +24 -1
  275. package/dist/versions/v2/common.d.ts +1 -1
  276. package/dist/versions/v2/common.js +6 -3
  277. package/package.json +1 -1
@@ -498,6 +498,19 @@ export const ProjectsApiFp = function (configuration) {
498
498
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
499
499
  });
500
500
  },
501
+ /**
502
+ * Same as `addProject`, but resolves with the response body together with the HTTP status and headers.
503
+ * @summary Add a project
504
+ * @param {AddProjectRequest} [AddProjectRequest]
505
+
506
+ * @throws {RequiredError}
507
+ */
508
+ addProjectWithHttpInfo(AddProjectRequest) {
509
+ return __awaiter(this, void 0, void 0, function* () {
510
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProject(AddProjectRequest);
511
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
512
+ });
513
+ },
501
514
  /**
502
515
  * Archives a project.
503
516
  * @summary Archive a project
@@ -511,6 +524,19 @@ export const ProjectsApiFp = function (configuration) {
511
524
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
512
525
  });
513
526
  },
527
+ /**
528
+ * Same as `archiveProject`, but resolves with the response body together with the HTTP status and headers.
529
+ * @summary Archive a project
530
+ * @param {number} id The ID of the project
531
+
532
+ * @throws {RequiredError}
533
+ */
534
+ archiveProjectWithHttpInfo(id) {
535
+ return __awaiter(this, void 0, void 0, function* () {
536
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.archiveProject(id);
537
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
538
+ });
539
+ },
514
540
  /**
515
541
  * Marks a project as deleted.
516
542
  * @summary Delete a project
@@ -524,6 +550,19 @@ export const ProjectsApiFp = function (configuration) {
524
550
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
525
551
  });
526
552
  },
553
+ /**
554
+ * Same as `deleteProject`, but resolves with the response body together with the HTTP status and headers.
555
+ * @summary Delete a project
556
+ * @param {number} id The ID of the project
557
+
558
+ * @throws {RequiredError}
559
+ */
560
+ deleteProjectWithHttpInfo(id) {
561
+ return __awaiter(this, void 0, void 0, function* () {
562
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProject(id);
563
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
564
+ });
565
+ },
527
566
  /**
528
567
  * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields.
529
568
  * @summary Get details of a project
@@ -537,6 +576,19 @@ export const ProjectsApiFp = function (configuration) {
537
576
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
538
577
  });
539
578
  },
579
+ /**
580
+ * Same as `getProject`, but resolves with the response body together with the HTTP status and headers.
581
+ * @summary Get details of a project
582
+ * @param {number} id The ID of the project
583
+
584
+ * @throws {RequiredError}
585
+ */
586
+ getProjectWithHttpInfo(id) {
587
+ return __awaiter(this, void 0, void 0, function* () {
588
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProject(id);
589
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
590
+ });
591
+ },
540
592
  /**
541
593
  * Returns activities linked to a specific project.
542
594
  * @summary Returns project activities
@@ -550,6 +602,19 @@ export const ProjectsApiFp = function (configuration) {
550
602
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
551
603
  });
552
604
  },
605
+ /**
606
+ * Same as `getProjectActivities`, but resolves with the response body together with the HTTP status and headers.
607
+ * @summary Returns project activities
608
+ * @param {number} id The ID of the project
609
+
610
+ * @throws {RequiredError}
611
+ */
612
+ getProjectActivitiesWithHttpInfo(id) {
613
+ return __awaiter(this, void 0, void 0, function* () {
614
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectActivities(id);
615
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
616
+ });
617
+ },
553
618
  /**
554
619
  * Returns all active groups under a specific project.
555
620
  * @summary Returns project groups
@@ -563,6 +628,19 @@ export const ProjectsApiFp = function (configuration) {
563
628
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
564
629
  });
565
630
  },
631
+ /**
632
+ * Same as `getProjectGroups`, but resolves with the response body together with the HTTP status and headers.
633
+ * @summary Returns project groups
634
+ * @param {number} id The ID of the project
635
+
636
+ * @throws {RequiredError}
637
+ */
638
+ getProjectGroupsWithHttpInfo(id) {
639
+ return __awaiter(this, void 0, void 0, function* () {
640
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectGroups(id);
641
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
642
+ });
643
+ },
566
644
  /**
567
645
  * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group.
568
646
  * @summary Returns project plan
@@ -576,6 +654,19 @@ export const ProjectsApiFp = function (configuration) {
576
654
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
577
655
  });
578
656
  },
657
+ /**
658
+ * Same as `getProjectPlan`, but resolves with the response body together with the HTTP status and headers.
659
+ * @summary Returns project plan
660
+ * @param {number} id The ID of the project
661
+
662
+ * @throws {RequiredError}
663
+ */
664
+ getProjectPlanWithHttpInfo(id) {
665
+ return __awaiter(this, void 0, void 0, function* () {
666
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectPlan(id);
667
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
668
+ });
669
+ },
579
670
  /**
580
671
  * Returns tasks linked to a specific project.
581
672
  * @summary Returns project tasks
@@ -589,6 +680,19 @@ export const ProjectsApiFp = function (configuration) {
589
680
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
590
681
  });
591
682
  },
683
+ /**
684
+ * Same as `getProjectTasks`, but resolves with the response body together with the HTTP status and headers.
685
+ * @summary Returns project tasks
686
+ * @param {number} id The ID of the project
687
+
688
+ * @throws {RequiredError}
689
+ */
690
+ getProjectTasksWithHttpInfo(id) {
691
+ return __awaiter(this, void 0, void 0, function* () {
692
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectTasks(id);
693
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
694
+ });
695
+ },
592
696
  /**
593
697
  * Returns all projects. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
594
698
  * @summary Get all projects
@@ -607,6 +711,24 @@ export const ProjectsApiFp = function (configuration) {
607
711
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
608
712
  });
609
713
  },
714
+ /**
715
+ * Same as `getProjects`, but resolves with the response body together with the HTTP status and headers.
716
+ * @summary Get all projects
717
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
718
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
719
+ * @param {number} [filter_id] The ID of the filter to use
720
+ * @param {string} [status] If supplied, includes only projects with the specified statuses. Possible values are &#x60;open&#x60;, &#x60;completed&#x60;, &#x60;canceled&#x60; and &#x60;deleted&#x60;. By default &#x60;deleted&#x60; projects are not returned.
721
+ * @param {number} [phase_id] If supplied, only projects in specified phase are returned
722
+ * @param {boolean} [include_archived] If supplied with &#x60;true&#x60; then archived projects are also included in the response. By default only not archived projects are returned.
723
+
724
+ * @throws {RequiredError}
725
+ */
726
+ getProjectsWithHttpInfo(cursor, limit, filter_id, status, phase_id, include_archived) {
727
+ return __awaiter(this, void 0, void 0, function* () {
728
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(cursor, limit, filter_id, status, phase_id, include_archived);
729
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
730
+ });
731
+ },
610
732
  /**
611
733
  * Updates an activity phase or group in a project.
612
734
  * @summary Update activity in project plan
@@ -622,6 +744,21 @@ export const ProjectsApiFp = function (configuration) {
622
744
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
623
745
  });
624
746
  },
747
+ /**
748
+ * Same as `putProjectPlanActivity`, but resolves with the response body together with the HTTP status and headers.
749
+ * @summary Update activity in project plan
750
+ * @param {number} id The ID of the project
751
+ * @param {number} activityId The ID of the activity
752
+ * @param {ProjectPutPlanItemBodyObject} [ProjectPutPlanItemBodyObject]
753
+
754
+ * @throws {RequiredError}
755
+ */
756
+ putProjectPlanActivityWithHttpInfo(id, activityId, ProjectPutPlanItemBodyObject) {
757
+ return __awaiter(this, void 0, void 0, function* () {
758
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.putProjectPlanActivity(id, activityId, ProjectPutPlanItemBodyObject);
759
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
760
+ });
761
+ },
625
762
  /**
626
763
  * Updates a task phase or group in a project.
627
764
  * @summary Update task in project plan
@@ -637,6 +774,21 @@ export const ProjectsApiFp = function (configuration) {
637
774
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
638
775
  });
639
776
  },
777
+ /**
778
+ * Same as `putProjectPlanTask`, but resolves with the response body together with the HTTP status and headers.
779
+ * @summary Update task in project plan
780
+ * @param {number} id The ID of the project
781
+ * @param {number} taskId The ID of the task
782
+ * @param {ProjectPutPlanItemBodyObject} [ProjectPutPlanItemBodyObject]
783
+
784
+ * @throws {RequiredError}
785
+ */
786
+ putProjectPlanTaskWithHttpInfo(id, taskId, ProjectPutPlanItemBodyObject) {
787
+ return __awaiter(this, void 0, void 0, function* () {
788
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.putProjectPlanTask(id, taskId, ProjectPutPlanItemBodyObject);
789
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
790
+ });
791
+ },
640
792
  /**
641
793
  * Updates a project.
642
794
  * @summary Update a project
@@ -651,6 +803,20 @@ export const ProjectsApiFp = function (configuration) {
651
803
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
652
804
  });
653
805
  },
806
+ /**
807
+ * Same as `updateProject`, but resolves with the response body together with the HTTP status and headers.
808
+ * @summary Update a project
809
+ * @param {number} id The ID of the project
810
+ * @param {UpdateProjectRequest} [UpdateProjectRequest]
811
+
812
+ * @throws {RequiredError}
813
+ */
814
+ updateProjectWithHttpInfo(id, UpdateProjectRequest) {
815
+ return __awaiter(this, void 0, void 0, function* () {
816
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProject(id, UpdateProjectRequest);
817
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
818
+ });
819
+ },
654
820
  };
655
821
  };
656
822
  /**
@@ -670,6 +836,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
670
836
  addProject(requestParameters = {}) {
671
837
  return localVarFp.addProject(requestParameters.AddProjectRequest).then((request) => request(axios, basePath));
672
838
  },
839
+ addProjectWithHttpInfo(requestParameters = {}) {
840
+ return localVarFp.addProjectWithHttpInfo(requestParameters.AddProjectRequest).then((request) => request(axios, basePath));
841
+ },
673
842
  /**
674
843
  * Archives a project.
675
844
  * @summary Archive a project
@@ -680,6 +849,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
680
849
  archiveProject(requestParameters) {
681
850
  return localVarFp.archiveProject(requestParameters.id).then((request) => request(axios, basePath));
682
851
  },
852
+ archiveProjectWithHttpInfo(requestParameters) {
853
+ return localVarFp.archiveProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
854
+ },
683
855
  /**
684
856
  * Marks a project as deleted.
685
857
  * @summary Delete a project
@@ -690,6 +862,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
690
862
  deleteProject(requestParameters) {
691
863
  return localVarFp.deleteProject(requestParameters.id).then((request) => request(axios, basePath));
692
864
  },
865
+ deleteProjectWithHttpInfo(requestParameters) {
866
+ return localVarFp.deleteProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
867
+ },
693
868
  /**
694
869
  * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields.
695
870
  * @summary Get details of a project
@@ -700,6 +875,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
700
875
  getProject(requestParameters) {
701
876
  return localVarFp.getProject(requestParameters.id).then((request) => request(axios, basePath));
702
877
  },
878
+ getProjectWithHttpInfo(requestParameters) {
879
+ return localVarFp.getProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
880
+ },
703
881
  /**
704
882
  * Returns activities linked to a specific project.
705
883
  * @summary Returns project activities
@@ -710,6 +888,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
710
888
  getProjectActivities(requestParameters) {
711
889
  return localVarFp.getProjectActivities(requestParameters.id).then((request) => request(axios, basePath));
712
890
  },
891
+ getProjectActivitiesWithHttpInfo(requestParameters) {
892
+ return localVarFp.getProjectActivitiesWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
893
+ },
713
894
  /**
714
895
  * Returns all active groups under a specific project.
715
896
  * @summary Returns project groups
@@ -720,6 +901,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
720
901
  getProjectGroups(requestParameters) {
721
902
  return localVarFp.getProjectGroups(requestParameters.id).then((request) => request(axios, basePath));
722
903
  },
904
+ getProjectGroupsWithHttpInfo(requestParameters) {
905
+ return localVarFp.getProjectGroupsWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
906
+ },
723
907
  /**
724
908
  * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group.
725
909
  * @summary Returns project plan
@@ -730,6 +914,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
730
914
  getProjectPlan(requestParameters) {
731
915
  return localVarFp.getProjectPlan(requestParameters.id).then((request) => request(axios, basePath));
732
916
  },
917
+ getProjectPlanWithHttpInfo(requestParameters) {
918
+ return localVarFp.getProjectPlanWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
919
+ },
733
920
  /**
734
921
  * Returns tasks linked to a specific project.
735
922
  * @summary Returns project tasks
@@ -740,6 +927,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
740
927
  getProjectTasks(requestParameters) {
741
928
  return localVarFp.getProjectTasks(requestParameters.id).then((request) => request(axios, basePath));
742
929
  },
930
+ getProjectTasksWithHttpInfo(requestParameters) {
931
+ return localVarFp.getProjectTasksWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
932
+ },
743
933
  /**
744
934
  * Returns all projects. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
745
935
  * @summary Get all projects
@@ -750,6 +940,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
750
940
  getProjects(requestParameters = {}) {
751
941
  return localVarFp.getProjects(requestParameters.cursor, requestParameters.limit, requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.include_archived).then((request) => request(axios, basePath));
752
942
  },
943
+ getProjectsWithHttpInfo(requestParameters = {}) {
944
+ return localVarFp.getProjectsWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.include_archived).then((request) => request(axios, basePath));
945
+ },
753
946
  /**
754
947
  * Updates an activity phase or group in a project.
755
948
  * @summary Update activity in project plan
@@ -760,6 +953,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
760
953
  putProjectPlanActivity(requestParameters) {
761
954
  return localVarFp.putProjectPlanActivity(requestParameters.id, requestParameters.activityId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(axios, basePath));
762
955
  },
956
+ putProjectPlanActivityWithHttpInfo(requestParameters) {
957
+ return localVarFp.putProjectPlanActivityWithHttpInfo(requestParameters.id, requestParameters.activityId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(axios, basePath));
958
+ },
763
959
  /**
764
960
  * Updates a task phase or group in a project.
765
961
  * @summary Update task in project plan
@@ -770,6 +966,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
770
966
  putProjectPlanTask(requestParameters) {
771
967
  return localVarFp.putProjectPlanTask(requestParameters.id, requestParameters.taskId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(axios, basePath));
772
968
  },
969
+ putProjectPlanTaskWithHttpInfo(requestParameters) {
970
+ return localVarFp.putProjectPlanTaskWithHttpInfo(requestParameters.id, requestParameters.taskId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(axios, basePath));
971
+ },
773
972
  /**
774
973
  * Updates a project.
775
974
  * @summary Update a project
@@ -780,6 +979,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
780
979
  updateProject(requestParameters) {
781
980
  return localVarFp.updateProject(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(axios, basePath));
782
981
  },
982
+ updateProjectWithHttpInfo(requestParameters) {
983
+ return localVarFp.updateProjectWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(axios, basePath));
984
+ },
783
985
  };
784
986
  };
785
987
  /**
@@ -800,6 +1002,17 @@ export class ProjectsApi extends BaseAPI {
800
1002
  addProject(requestParameters = {}) {
801
1003
  return ProjectsApiFp(this.configuration).addProject(requestParameters.AddProjectRequest).then((request) => request(this.axios, this.basePath));
802
1004
  }
1005
+ /**
1006
+ * Same as `addProject`, but resolves with the response body together with the HTTP status and headers.
1007
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1008
+ * @param {ProjectsApiAddProjectRequest} requestParameters Request parameters.
1009
+
1010
+ * @throws {RequiredError}
1011
+ * @memberof ProjectsApi
1012
+ */
1013
+ addProjectWithHttpInfo(requestParameters = {}) {
1014
+ return ProjectsApiFp(this.configuration).addProjectWithHttpInfo(requestParameters.AddProjectRequest).then((request) => request(this.axios, this.basePath));
1015
+ }
803
1016
  /**
804
1017
  * Archives a project.
805
1018
  * @summary Archive a project
@@ -811,6 +1024,17 @@ export class ProjectsApi extends BaseAPI {
811
1024
  archiveProject(requestParameters) {
812
1025
  return ProjectsApiFp(this.configuration).archiveProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
813
1026
  }
1027
+ /**
1028
+ * Same as `archiveProject`, but resolves with the response body together with the HTTP status and headers.
1029
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1030
+ * @param {ProjectsApiArchiveProjectRequest} requestParameters Request parameters.
1031
+
1032
+ * @throws {RequiredError}
1033
+ * @memberof ProjectsApi
1034
+ */
1035
+ archiveProjectWithHttpInfo(requestParameters) {
1036
+ return ProjectsApiFp(this.configuration).archiveProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1037
+ }
814
1038
  /**
815
1039
  * Marks a project as deleted.
816
1040
  * @summary Delete a project
@@ -822,6 +1046,17 @@ export class ProjectsApi extends BaseAPI {
822
1046
  deleteProject(requestParameters) {
823
1047
  return ProjectsApiFp(this.configuration).deleteProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
824
1048
  }
1049
+ /**
1050
+ * Same as `deleteProject`, but resolves with the response body together with the HTTP status and headers.
1051
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1052
+ * @param {ProjectsApiDeleteProjectRequest} requestParameters Request parameters.
1053
+
1054
+ * @throws {RequiredError}
1055
+ * @memberof ProjectsApi
1056
+ */
1057
+ deleteProjectWithHttpInfo(requestParameters) {
1058
+ return ProjectsApiFp(this.configuration).deleteProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1059
+ }
825
1060
  /**
826
1061
  * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields.
827
1062
  * @summary Get details of a project
@@ -833,6 +1068,17 @@ export class ProjectsApi extends BaseAPI {
833
1068
  getProject(requestParameters) {
834
1069
  return ProjectsApiFp(this.configuration).getProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
835
1070
  }
1071
+ /**
1072
+ * Same as `getProject`, but resolves with the response body together with the HTTP status and headers.
1073
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1074
+ * @param {ProjectsApiGetProjectRequest} requestParameters Request parameters.
1075
+
1076
+ * @throws {RequiredError}
1077
+ * @memberof ProjectsApi
1078
+ */
1079
+ getProjectWithHttpInfo(requestParameters) {
1080
+ return ProjectsApiFp(this.configuration).getProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1081
+ }
836
1082
  /**
837
1083
  * Returns activities linked to a specific project.
838
1084
  * @summary Returns project activities
@@ -844,6 +1090,17 @@ export class ProjectsApi extends BaseAPI {
844
1090
  getProjectActivities(requestParameters) {
845
1091
  return ProjectsApiFp(this.configuration).getProjectActivities(requestParameters.id).then((request) => request(this.axios, this.basePath));
846
1092
  }
1093
+ /**
1094
+ * Same as `getProjectActivities`, but resolves with the response body together with the HTTP status and headers.
1095
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1096
+ * @param {ProjectsApiGetProjectActivitiesRequest} requestParameters Request parameters.
1097
+
1098
+ * @throws {RequiredError}
1099
+ * @memberof ProjectsApi
1100
+ */
1101
+ getProjectActivitiesWithHttpInfo(requestParameters) {
1102
+ return ProjectsApiFp(this.configuration).getProjectActivitiesWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1103
+ }
847
1104
  /**
848
1105
  * Returns all active groups under a specific project.
849
1106
  * @summary Returns project groups
@@ -855,6 +1112,17 @@ export class ProjectsApi extends BaseAPI {
855
1112
  getProjectGroups(requestParameters) {
856
1113
  return ProjectsApiFp(this.configuration).getProjectGroups(requestParameters.id).then((request) => request(this.axios, this.basePath));
857
1114
  }
1115
+ /**
1116
+ * Same as `getProjectGroups`, but resolves with the response body together with the HTTP status and headers.
1117
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1118
+ * @param {ProjectsApiGetProjectGroupsRequest} requestParameters Request parameters.
1119
+
1120
+ * @throws {RequiredError}
1121
+ * @memberof ProjectsApi
1122
+ */
1123
+ getProjectGroupsWithHttpInfo(requestParameters) {
1124
+ return ProjectsApiFp(this.configuration).getProjectGroupsWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1125
+ }
858
1126
  /**
859
1127
  * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group.
860
1128
  * @summary Returns project plan
@@ -866,6 +1134,17 @@ export class ProjectsApi extends BaseAPI {
866
1134
  getProjectPlan(requestParameters) {
867
1135
  return ProjectsApiFp(this.configuration).getProjectPlan(requestParameters.id).then((request) => request(this.axios, this.basePath));
868
1136
  }
1137
+ /**
1138
+ * Same as `getProjectPlan`, but resolves with the response body together with the HTTP status and headers.
1139
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1140
+ * @param {ProjectsApiGetProjectPlanRequest} requestParameters Request parameters.
1141
+
1142
+ * @throws {RequiredError}
1143
+ * @memberof ProjectsApi
1144
+ */
1145
+ getProjectPlanWithHttpInfo(requestParameters) {
1146
+ return ProjectsApiFp(this.configuration).getProjectPlanWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1147
+ }
869
1148
  /**
870
1149
  * Returns tasks linked to a specific project.
871
1150
  * @summary Returns project tasks
@@ -877,6 +1156,17 @@ export class ProjectsApi extends BaseAPI {
877
1156
  getProjectTasks(requestParameters) {
878
1157
  return ProjectsApiFp(this.configuration).getProjectTasks(requestParameters.id).then((request) => request(this.axios, this.basePath));
879
1158
  }
1159
+ /**
1160
+ * Same as `getProjectTasks`, but resolves with the response body together with the HTTP status and headers.
1161
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1162
+ * @param {ProjectsApiGetProjectTasksRequest} requestParameters Request parameters.
1163
+
1164
+ * @throws {RequiredError}
1165
+ * @memberof ProjectsApi
1166
+ */
1167
+ getProjectTasksWithHttpInfo(requestParameters) {
1168
+ return ProjectsApiFp(this.configuration).getProjectTasksWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1169
+ }
880
1170
  /**
881
1171
  * Returns all projects. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
882
1172
  * @summary Get all projects
@@ -888,6 +1178,17 @@ export class ProjectsApi extends BaseAPI {
888
1178
  getProjects(requestParameters = {}) {
889
1179
  return ProjectsApiFp(this.configuration).getProjects(requestParameters.cursor, requestParameters.limit, requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.include_archived).then((request) => request(this.axios, this.basePath));
890
1180
  }
1181
+ /**
1182
+ * Same as `getProjects`, but resolves with the response body together with the HTTP status and headers.
1183
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1184
+ * @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
1185
+
1186
+ * @throws {RequiredError}
1187
+ * @memberof ProjectsApi
1188
+ */
1189
+ getProjectsWithHttpInfo(requestParameters = {}) {
1190
+ return ProjectsApiFp(this.configuration).getProjectsWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.include_archived).then((request) => request(this.axios, this.basePath));
1191
+ }
891
1192
  /**
892
1193
  * Updates an activity phase or group in a project.
893
1194
  * @summary Update activity in project plan
@@ -899,6 +1200,17 @@ export class ProjectsApi extends BaseAPI {
899
1200
  putProjectPlanActivity(requestParameters) {
900
1201
  return ProjectsApiFp(this.configuration).putProjectPlanActivity(requestParameters.id, requestParameters.activityId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(this.axios, this.basePath));
901
1202
  }
1203
+ /**
1204
+ * Same as `putProjectPlanActivity`, but resolves with the response body together with the HTTP status and headers.
1205
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1206
+ * @param {ProjectsApiPutProjectPlanActivityRequest} requestParameters Request parameters.
1207
+
1208
+ * @throws {RequiredError}
1209
+ * @memberof ProjectsApi
1210
+ */
1211
+ putProjectPlanActivityWithHttpInfo(requestParameters) {
1212
+ return ProjectsApiFp(this.configuration).putProjectPlanActivityWithHttpInfo(requestParameters.id, requestParameters.activityId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(this.axios, this.basePath));
1213
+ }
902
1214
  /**
903
1215
  * Updates a task phase or group in a project.
904
1216
  * @summary Update task in project plan
@@ -910,6 +1222,17 @@ export class ProjectsApi extends BaseAPI {
910
1222
  putProjectPlanTask(requestParameters) {
911
1223
  return ProjectsApiFp(this.configuration).putProjectPlanTask(requestParameters.id, requestParameters.taskId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(this.axios, this.basePath));
912
1224
  }
1225
+ /**
1226
+ * Same as `putProjectPlanTask`, but resolves with the response body together with the HTTP status and headers.
1227
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1228
+ * @param {ProjectsApiPutProjectPlanTaskRequest} requestParameters Request parameters.
1229
+
1230
+ * @throws {RequiredError}
1231
+ * @memberof ProjectsApi
1232
+ */
1233
+ putProjectPlanTaskWithHttpInfo(requestParameters) {
1234
+ return ProjectsApiFp(this.configuration).putProjectPlanTaskWithHttpInfo(requestParameters.id, requestParameters.taskId, requestParameters.ProjectPutPlanItemBodyObject).then((request) => request(this.axios, this.basePath));
1235
+ }
913
1236
  /**
914
1237
  * Updates a project.
915
1238
  * @summary Update a project
@@ -921,4 +1244,15 @@ export class ProjectsApi extends BaseAPI {
921
1244
  updateProject(requestParameters) {
922
1245
  return ProjectsApiFp(this.configuration).updateProject(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(this.axios, this.basePath));
923
1246
  }
1247
+ /**
1248
+ * Same as `updateProject`, but resolves with the response body together with the HTTP status and headers.
1249
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1250
+ * @param {ProjectsApiUpdateProjectRequest} requestParameters Request parameters.
1251
+
1252
+ * @throws {RequiredError}
1253
+ * @memberof ProjectsApi
1254
+ */
1255
+ updateProjectWithHttpInfo(requestParameters) {
1256
+ return ProjectsApiFp(this.configuration).updateProjectWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(this.axios, this.basePath));
1257
+ }
924
1258
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs, BaseAPI, ApiResponse } from '../base';
15
15
  import { GetRecentsResponse } from '../models';
16
16
  /**
17
17
  * RecentsApi - axios parameter creator
@@ -46,6 +46,17 @@ export declare const RecentsApiFp: (configuration?: Configuration) => {
46
46
  * @throws {RequiredError}
47
47
  */
48
48
  getRecents(since_timestamp: string, items?: 'activity' | 'activityType' | 'deal' | 'file' | 'filter' | 'note' | 'person' | 'organization' | 'pipeline' | 'product' | 'stage' | 'user', start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetRecentsResponse>>;
49
+ /**
50
+ * Same as `getRecents`, but resolves with the response body together with the HTTP status and headers.
51
+ * @summary Get recents
52
+ * @param {string} since_timestamp The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS.
53
+ * @param {'activity' | 'activityType' | 'deal' | 'file' | 'filter' | 'note' | 'person' | 'organization' | 'pipeline' | 'product' | 'stage' | 'user'} [items] Multiple selection of item types to include in the query (optional)
54
+ * @param {number} [start] Pagination start
55
+ * @param {number} [limit] Items shown per page
56
+
57
+ * @throws {RequiredError}
58
+ */
59
+ getRecentsWithHttpInfo(since_timestamp: string, items?: 'activity' | 'activityType' | 'deal' | 'file' | 'filter' | 'note' | 'person' | 'organization' | 'pipeline' | 'product' | 'stage' | 'user', start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetRecentsResponse>>>;
49
60
  };
50
61
  /**
51
62
  * RecentsApi - factory interface
@@ -60,6 +71,7 @@ export declare const RecentsApiFactory: (configuration?: Configuration, basePath
60
71
  * @throws {RequiredError}
61
72
  */
62
73
  getRecents(requestParameters: RecentsApiGetRecentsRequest): Promise<GetRecentsResponse>;
74
+ getRecentsWithHttpInfo(requestParameters: RecentsApiGetRecentsRequest): Promise<ApiResponse<GetRecentsResponse>>;
63
75
  };
64
76
  /**
65
77
  * Request parameters for getRecents operation in RecentsApi.
@@ -108,4 +120,13 @@ export declare class RecentsApi extends BaseAPI {
108
120
  * @memberof RecentsApi
109
121
  */
110
122
  getRecents(requestParameters: RecentsApiGetRecentsRequest): Promise<GetRecentsResponse>;
123
+ /**
124
+ * Same as `getRecents`, but resolves with the response body together with the HTTP status and headers.
125
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
126
+ * @param {RecentsApiGetRecentsRequest} requestParameters Request parameters.
127
+
128
+ * @throws {RequiredError}
129
+ * @memberof RecentsApi
130
+ */
131
+ getRecentsWithHttpInfo(requestParameters: RecentsApiGetRecentsRequest): Promise<ApiResponse<GetRecentsResponse>>;
111
132
  }
@@ -105,6 +105,22 @@ export const RecentsApiFp = function (configuration) {
105
105
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
106
106
  });
107
107
  },
108
+ /**
109
+ * Same as `getRecents`, but resolves with the response body together with the HTTP status and headers.
110
+ * @summary Get recents
111
+ * @param {string} since_timestamp The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS.
112
+ * @param {'activity' | 'activityType' | 'deal' | 'file' | 'filter' | 'note' | 'person' | 'organization' | 'pipeline' | 'product' | 'stage' | 'user'} [items] Multiple selection of item types to include in the query (optional)
113
+ * @param {number} [start] Pagination start
114
+ * @param {number} [limit] Items shown per page
115
+
116
+ * @throws {RequiredError}
117
+ */
118
+ getRecentsWithHttpInfo(since_timestamp, items, start, limit) {
119
+ return __awaiter(this, void 0, void 0, function* () {
120
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecents(since_timestamp, items, start, limit);
121
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
122
+ });
123
+ },
108
124
  };
109
125
  };
110
126
  /**
@@ -124,6 +140,9 @@ export const RecentsApiFactory = function (configuration, basePath, axios) {
124
140
  getRecents(requestParameters) {
125
141
  return localVarFp.getRecents(requestParameters.since_timestamp, requestParameters.items, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
126
142
  },
143
+ getRecentsWithHttpInfo(requestParameters) {
144
+ return localVarFp.getRecentsWithHttpInfo(requestParameters.since_timestamp, requestParameters.items, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
145
+ },
127
146
  };
128
147
  };
129
148
  /**
@@ -144,4 +163,15 @@ export class RecentsApi extends BaseAPI {
144
163
  getRecents(requestParameters) {
145
164
  return RecentsApiFp(this.configuration).getRecents(requestParameters.since_timestamp, requestParameters.items, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
146
165
  }
166
+ /**
167
+ * Same as `getRecents`, but resolves with the response body together with the HTTP status and headers.
168
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
169
+ * @param {RecentsApiGetRecentsRequest} requestParameters Request parameters.
170
+
171
+ * @throws {RequiredError}
172
+ * @memberof RecentsApi
173
+ */
174
+ getRecentsWithHttpInfo(requestParameters) {
175
+ return RecentsApiFp(this.configuration).getRecentsWithHttpInfo(requestParameters.since_timestamp, requestParameters.items, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
176
+ }
147
177
  }