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
@@ -298,6 +298,20 @@ export const ProductsApiFp = function (configuration) {
298
298
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
299
299
  });
300
300
  },
301
+ /**
302
+ * Same as `addProductFollower`, but resolves with the response body together with the HTTP status and headers.
303
+ * @summary Add a follower to a product
304
+ * @param {number} id The ID of the product
305
+ * @param {AddProductFollowerRequest} [AddProductFollowerRequest]
306
+
307
+ * @throws {RequiredError}
308
+ */
309
+ addProductFollowerWithHttpInfo(id, AddProductFollowerRequest) {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProductFollower(id, AddProductFollowerRequest);
312
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
313
+ });
314
+ },
301
315
  /**
302
316
  * Deletes a follower from a product.
303
317
  * @summary Delete a follower from a product
@@ -312,6 +326,20 @@ export const ProductsApiFp = function (configuration) {
312
326
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
313
327
  });
314
328
  },
329
+ /**
330
+ * Same as `deleteProductFollower`, but resolves with the response body together with the HTTP status and headers.
331
+ * @summary Delete a follower from a product
332
+ * @param {number} id The ID of the product
333
+ * @param {number} follower_id The ID of the relationship between the follower and the product
334
+
335
+ * @throws {RequiredError}
336
+ */
337
+ deleteProductFollowerWithHttpInfo(id, follower_id) {
338
+ return __awaiter(this, void 0, void 0, function* () {
339
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductFollower(id, follower_id);
340
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
341
+ });
342
+ },
315
343
  /**
316
344
  * Returns data about deals that have a product attached to it.
317
345
  * @summary Get deals where a product is attached to
@@ -328,6 +356,22 @@ export const ProductsApiFp = function (configuration) {
328
356
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
329
357
  });
330
358
  },
359
+ /**
360
+ * Same as `getProductDeals`, but resolves with the response body together with the HTTP status and headers.
361
+ * @summary Get deals where a product is attached to
362
+ * @param {number} id The ID of the product
363
+ * @param {number} [start] Pagination start
364
+ * @param {number} [limit] Items shown per page
365
+ * @param {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
366
+
367
+ * @throws {RequiredError}
368
+ */
369
+ getProductDealsWithHttpInfo(id, start, limit, status) {
370
+ return __awaiter(this, void 0, void 0, function* () {
371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductDeals(id, start, limit, status);
372
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
373
+ });
374
+ },
331
375
  /**
332
376
  * Lists files associated with a product.
333
377
  * @summary List files attached to a product
@@ -344,6 +388,22 @@ export const ProductsApiFp = function (configuration) {
344
388
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
389
  });
346
390
  },
391
+ /**
392
+ * Same as `getProductFiles`, but resolves with the response body together with the HTTP status and headers.
393
+ * @summary List files attached to a product
394
+ * @param {number} id The ID of the product
395
+ * @param {number} [start] Pagination start
396
+ * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
397
+ * @param {string} [sort] Supported fields: `id`, `update_time`
398
+
399
+ * @throws {RequiredError}
400
+ */
401
+ getProductFilesWithHttpInfo(id, start, limit, sort) {
402
+ return __awaiter(this, void 0, void 0, function* () {
403
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductFiles(id, start, limit, sort);
404
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
405
+ });
406
+ },
347
407
  /**
348
408
  * Lists the followers of a product.
349
409
  * @summary List followers of a product
@@ -359,6 +419,21 @@ export const ProductsApiFp = function (configuration) {
359
419
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
420
  });
361
421
  },
422
+ /**
423
+ * Same as `getProductFollowers`, but resolves with the response body together with the HTTP status and headers.
424
+ * @summary List followers of a product
425
+ * @param {number} id The ID of the product
426
+ * @param {number} [start] Pagination start
427
+ * @param {number} [limit] Items shown per page
428
+
429
+ * @throws {RequiredError}
430
+ */
431
+ getProductFollowersWithHttpInfo(id, start, limit) {
432
+ return __awaiter(this, void 0, void 0, function* () {
433
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductFollowers(id, start, limit);
434
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
435
+ });
436
+ },
362
437
  /**
363
438
  * Lists users permitted to access a product.
364
439
  * @summary List permitted users
@@ -372,6 +447,19 @@ export const ProductsApiFp = function (configuration) {
372
447
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
373
448
  });
374
449
  },
450
+ /**
451
+ * Same as `getProductUsers`, but resolves with the response body together with the HTTP status and headers.
452
+ * @summary List permitted users
453
+ * @param {number} id The ID of the product
454
+
455
+ * @throws {RequiredError}
456
+ */
457
+ getProductUsersWithHttpInfo(id) {
458
+ return __awaiter(this, void 0, void 0, function* () {
459
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductUsers(id);
460
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
461
+ });
462
+ },
375
463
  };
376
464
  };
377
465
  /**
@@ -391,6 +479,9 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
391
479
  addProductFollower(requestParameters) {
392
480
  return localVarFp.addProductFollower(requestParameters.id, requestParameters.AddProductFollowerRequest).then((request) => request(axios, basePath));
393
481
  },
482
+ addProductFollowerWithHttpInfo(requestParameters) {
483
+ return localVarFp.addProductFollowerWithHttpInfo(requestParameters.id, requestParameters.AddProductFollowerRequest).then((request) => request(axios, basePath));
484
+ },
394
485
  /**
395
486
  * Deletes a follower from a product.
396
487
  * @summary Delete a follower from a product
@@ -401,6 +492,9 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
401
492
  deleteProductFollower(requestParameters) {
402
493
  return localVarFp.deleteProductFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
403
494
  },
495
+ deleteProductFollowerWithHttpInfo(requestParameters) {
496
+ return localVarFp.deleteProductFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
497
+ },
404
498
  /**
405
499
  * Returns data about deals that have a product attached to it.
406
500
  * @summary Get deals where a product is attached to
@@ -411,6 +505,9 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
411
505
  getProductDeals(requestParameters) {
412
506
  return localVarFp.getProductDeals(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.status).then((request) => request(axios, basePath));
413
507
  },
508
+ getProductDealsWithHttpInfo(requestParameters) {
509
+ return localVarFp.getProductDealsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.status).then((request) => request(axios, basePath));
510
+ },
414
511
  /**
415
512
  * Lists files associated with a product.
416
513
  * @summary List files attached to a product
@@ -421,6 +518,9 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
421
518
  getProductFiles(requestParameters) {
422
519
  return localVarFp.getProductFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(axios, basePath));
423
520
  },
521
+ getProductFilesWithHttpInfo(requestParameters) {
522
+ return localVarFp.getProductFilesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(axios, basePath));
523
+ },
424
524
  /**
425
525
  * Lists the followers of a product.
426
526
  * @summary List followers of a product
@@ -431,6 +531,9 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
431
531
  getProductFollowers(requestParameters) {
432
532
  return localVarFp.getProductFollowers(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
433
533
  },
534
+ getProductFollowersWithHttpInfo(requestParameters) {
535
+ return localVarFp.getProductFollowersWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
536
+ },
434
537
  /**
435
538
  * Lists users permitted to access a product.
436
539
  * @summary List permitted users
@@ -441,6 +544,9 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
441
544
  getProductUsers(requestParameters) {
442
545
  return localVarFp.getProductUsers(requestParameters.id).then((request) => request(axios, basePath));
443
546
  },
547
+ getProductUsersWithHttpInfo(requestParameters) {
548
+ return localVarFp.getProductUsersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
549
+ },
444
550
  };
445
551
  };
446
552
  /**
@@ -461,6 +567,17 @@ export class ProductsApi extends BaseAPI {
461
567
  addProductFollower(requestParameters) {
462
568
  return ProductsApiFp(this.configuration).addProductFollower(requestParameters.id, requestParameters.AddProductFollowerRequest).then((request) => request(this.axios, this.basePath));
463
569
  }
570
+ /**
571
+ * Same as `addProductFollower`, but resolves with the response body together with the HTTP status and headers.
572
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
573
+ * @param {ProductsApiAddProductFollowerRequest} requestParameters Request parameters.
574
+
575
+ * @throws {RequiredError}
576
+ * @memberof ProductsApi
577
+ */
578
+ addProductFollowerWithHttpInfo(requestParameters) {
579
+ return ProductsApiFp(this.configuration).addProductFollowerWithHttpInfo(requestParameters.id, requestParameters.AddProductFollowerRequest).then((request) => request(this.axios, this.basePath));
580
+ }
464
581
  /**
465
582
  * Deletes a follower from a product.
466
583
  * @summary Delete a follower from a product
@@ -472,6 +589,17 @@ export class ProductsApi extends BaseAPI {
472
589
  deleteProductFollower(requestParameters) {
473
590
  return ProductsApiFp(this.configuration).deleteProductFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
474
591
  }
592
+ /**
593
+ * Same as `deleteProductFollower`, but resolves with the response body together with the HTTP status and headers.
594
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
595
+ * @param {ProductsApiDeleteProductFollowerRequest} requestParameters Request parameters.
596
+
597
+ * @throws {RequiredError}
598
+ * @memberof ProductsApi
599
+ */
600
+ deleteProductFollowerWithHttpInfo(requestParameters) {
601
+ return ProductsApiFp(this.configuration).deleteProductFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
602
+ }
475
603
  /**
476
604
  * Returns data about deals that have a product attached to it.
477
605
  * @summary Get deals where a product is attached to
@@ -483,6 +611,17 @@ export class ProductsApi extends BaseAPI {
483
611
  getProductDeals(requestParameters) {
484
612
  return ProductsApiFp(this.configuration).getProductDeals(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.status).then((request) => request(this.axios, this.basePath));
485
613
  }
614
+ /**
615
+ * Same as `getProductDeals`, but resolves with the response body together with the HTTP status and headers.
616
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
617
+ * @param {ProductsApiGetProductDealsRequest} requestParameters Request parameters.
618
+
619
+ * @throws {RequiredError}
620
+ * @memberof ProductsApi
621
+ */
622
+ getProductDealsWithHttpInfo(requestParameters) {
623
+ return ProductsApiFp(this.configuration).getProductDealsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.status).then((request) => request(this.axios, this.basePath));
624
+ }
486
625
  /**
487
626
  * Lists files associated with a product.
488
627
  * @summary List files attached to a product
@@ -494,6 +633,17 @@ export class ProductsApi extends BaseAPI {
494
633
  getProductFiles(requestParameters) {
495
634
  return ProductsApiFp(this.configuration).getProductFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(this.axios, this.basePath));
496
635
  }
636
+ /**
637
+ * Same as `getProductFiles`, but resolves with the response body together with the HTTP status and headers.
638
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
639
+ * @param {ProductsApiGetProductFilesRequest} requestParameters Request parameters.
640
+
641
+ * @throws {RequiredError}
642
+ * @memberof ProductsApi
643
+ */
644
+ getProductFilesWithHttpInfo(requestParameters) {
645
+ return ProductsApiFp(this.configuration).getProductFilesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort).then((request) => request(this.axios, this.basePath));
646
+ }
497
647
  /**
498
648
  * Lists the followers of a product.
499
649
  * @summary List followers of a product
@@ -505,6 +655,17 @@ export class ProductsApi extends BaseAPI {
505
655
  getProductFollowers(requestParameters) {
506
656
  return ProductsApiFp(this.configuration).getProductFollowers(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
507
657
  }
658
+ /**
659
+ * Same as `getProductFollowers`, but resolves with the response body together with the HTTP status and headers.
660
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
661
+ * @param {ProductsApiGetProductFollowersRequest} requestParameters Request parameters.
662
+
663
+ * @throws {RequiredError}
664
+ * @memberof ProductsApi
665
+ */
666
+ getProductFollowersWithHttpInfo(requestParameters) {
667
+ return ProductsApiFp(this.configuration).getProductFollowersWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
668
+ }
508
669
  /**
509
670
  * Lists users permitted to access a product.
510
671
  * @summary List permitted users
@@ -516,4 +677,15 @@ export class ProductsApi extends BaseAPI {
516
677
  getProductUsers(requestParameters) {
517
678
  return ProductsApiFp(this.configuration).getProductUsers(requestParameters.id).then((request) => request(this.axios, this.basePath));
518
679
  }
680
+ /**
681
+ * Same as `getProductUsers`, but resolves with the response body together with the HTTP status and headers.
682
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
683
+ * @param {ProductsApiGetProductUsersRequest} requestParameters Request parameters.
684
+
685
+ * @throws {RequiredError}
686
+ * @memberof ProductsApi
687
+ */
688
+ getProductUsersWithHttpInfo(requestParameters) {
689
+ return ProductsApiFp(this.configuration).getProductUsersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
690
+ }
519
691
  }
@@ -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 { GetProjectBoardResponse } from '../models';
16
16
  import { GetProjectBoardsResponse } from '../models';
17
17
  /**
@@ -48,6 +48,14 @@ export declare const ProjectBoardsApiFp: (configuration?: Configuration) => {
48
48
  * @throws {RequiredError}
49
49
  */
50
50
  getProjectsBoard(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectBoardResponse>>;
51
+ /**
52
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
53
+ * @summary Get details of a board
54
+ * @param {number} id The ID of the project board
55
+
56
+ * @throws {RequiredError}
57
+ */
58
+ getProjectsBoardWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectBoardResponse>>>;
51
59
  /**
52
60
  * Returns all projects boards that are not deleted.
53
61
  * @summary Get all project boards
@@ -55,6 +63,13 @@ export declare const ProjectBoardsApiFp: (configuration?: Configuration) => {
55
63
  * @throws {RequiredError}
56
64
  */
57
65
  getProjectsBoards(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectBoardsResponse>>;
66
+ /**
67
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
68
+ * @summary Get all project boards
69
+
70
+ * @throws {RequiredError}
71
+ */
72
+ getProjectsBoardsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectBoardsResponse>>>;
58
73
  };
59
74
  /**
60
75
  * ProjectBoardsApi - factory interface
@@ -69,6 +84,7 @@ export declare const ProjectBoardsApiFactory: (configuration?: Configuration, ba
69
84
  * @throws {RequiredError}
70
85
  */
71
86
  getProjectsBoard(requestParameters: ProjectBoardsApiGetProjectsBoardRequest): Promise<GetProjectBoardResponse>;
87
+ getProjectsBoardWithHttpInfo(requestParameters: ProjectBoardsApiGetProjectsBoardRequest): Promise<ApiResponse<GetProjectBoardResponse>>;
72
88
  /**
73
89
  * Returns all projects boards that are not deleted.
74
90
  * @summary Get all project boards
@@ -76,6 +92,7 @@ export declare const ProjectBoardsApiFactory: (configuration?: Configuration, ba
76
92
  * @throws {RequiredError}
77
93
  */
78
94
  getProjectsBoards(): Promise<GetProjectBoardsResponse>;
95
+ getProjectsBoardsWithHttpInfo(): Promise<ApiResponse<GetProjectBoardsResponse>>;
79
96
  };
80
97
  /**
81
98
  * Request parameters for getProjectsBoard operation in ProjectBoardsApi.
@@ -106,6 +123,15 @@ export declare class ProjectBoardsApi extends BaseAPI {
106
123
  * @memberof ProjectBoardsApi
107
124
  */
108
125
  getProjectsBoard(requestParameters: ProjectBoardsApiGetProjectsBoardRequest): Promise<GetProjectBoardResponse>;
126
+ /**
127
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
128
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
129
+ * @param {ProjectBoardsApiGetProjectsBoardRequest} requestParameters Request parameters.
130
+
131
+ * @throws {RequiredError}
132
+ * @memberof ProjectBoardsApi
133
+ */
134
+ getProjectsBoardWithHttpInfo(requestParameters: ProjectBoardsApiGetProjectsBoardRequest): Promise<ApiResponse<GetProjectBoardResponse>>;
109
135
  /**
110
136
  * Returns all projects boards that are not deleted.
111
137
  * @summary Get all project boards
@@ -114,4 +140,12 @@ export declare class ProjectBoardsApi extends BaseAPI {
114
140
  * @memberof ProjectBoardsApi
115
141
  */
116
142
  getProjectsBoards(): Promise<GetProjectBoardsResponse>;
143
+ /**
144
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
145
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
146
+
147
+ * @throws {RequiredError}
148
+ * @memberof ProjectBoardsApi
149
+ */
150
+ getProjectsBoardsWithHttpInfo(): Promise<ApiResponse<GetProjectBoardsResponse>>;
117
151
  }
@@ -118,6 +118,19 @@ export const ProjectBoardsApiFp = function (configuration) {
118
118
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
119
119
  });
120
120
  },
121
+ /**
122
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
123
+ * @summary Get details of a board
124
+ * @param {number} id The ID of the project board
125
+
126
+ * @throws {RequiredError}
127
+ */
128
+ getProjectsBoardWithHttpInfo(id) {
129
+ return __awaiter(this, void 0, void 0, function* () {
130
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsBoard(id);
131
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
132
+ });
133
+ },
121
134
  /**
122
135
  * Returns all projects boards that are not deleted.
123
136
  * @summary Get all project boards
@@ -130,6 +143,18 @@ export const ProjectBoardsApiFp = function (configuration) {
130
143
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
131
144
  });
132
145
  },
146
+ /**
147
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
148
+ * @summary Get all project boards
149
+
150
+ * @throws {RequiredError}
151
+ */
152
+ getProjectsBoardsWithHttpInfo() {
153
+ return __awaiter(this, void 0, void 0, function* () {
154
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsBoards();
155
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
156
+ });
157
+ },
133
158
  };
134
159
  };
135
160
  /**
@@ -149,6 +174,9 @@ export const ProjectBoardsApiFactory = function (configuration, basePath, axios)
149
174
  getProjectsBoard(requestParameters) {
150
175
  return localVarFp.getProjectsBoard(requestParameters.id).then((request) => request(axios, basePath));
151
176
  },
177
+ getProjectsBoardWithHttpInfo(requestParameters) {
178
+ return localVarFp.getProjectsBoardWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
179
+ },
152
180
  /**
153
181
  * Returns all projects boards that are not deleted.
154
182
  * @summary Get all project boards
@@ -158,6 +186,9 @@ export const ProjectBoardsApiFactory = function (configuration, basePath, axios)
158
186
  getProjectsBoards() {
159
187
  return localVarFp.getProjectsBoards().then((request) => request(axios, basePath));
160
188
  },
189
+ getProjectsBoardsWithHttpInfo() {
190
+ return localVarFp.getProjectsBoardsWithHttpInfo().then((request) => request(axios, basePath));
191
+ },
161
192
  };
162
193
  };
163
194
  /**
@@ -178,6 +209,17 @@ export class ProjectBoardsApi extends BaseAPI {
178
209
  getProjectsBoard(requestParameters) {
179
210
  return ProjectBoardsApiFp(this.configuration).getProjectsBoard(requestParameters.id).then((request) => request(this.axios, this.basePath));
180
211
  }
212
+ /**
213
+ * Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
214
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
215
+ * @param {ProjectBoardsApiGetProjectsBoardRequest} requestParameters Request parameters.
216
+
217
+ * @throws {RequiredError}
218
+ * @memberof ProjectBoardsApi
219
+ */
220
+ getProjectsBoardWithHttpInfo(requestParameters) {
221
+ return ProjectBoardsApiFp(this.configuration).getProjectsBoardWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
222
+ }
181
223
  /**
182
224
  * Returns all projects boards that are not deleted.
183
225
  * @summary Get all project boards
@@ -188,4 +230,14 @@ export class ProjectBoardsApi extends BaseAPI {
188
230
  getProjectsBoards() {
189
231
  return ProjectBoardsApiFp(this.configuration).getProjectsBoards().then((request) => request(this.axios, this.basePath));
190
232
  }
233
+ /**
234
+ * Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
235
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
236
+
237
+ * @throws {RequiredError}
238
+ * @memberof ProjectBoardsApi
239
+ */
240
+ getProjectsBoardsWithHttpInfo() {
241
+ return ProjectBoardsApiFp(this.configuration).getProjectsBoardsWithHttpInfo().then((request) => request(this.axios, this.basePath));
242
+ }
191
243
  }
@@ -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 { GetProjectPhaseResponse } from '../models';
16
16
  import { GetProjectPhasesResponse } from '../models';
17
17
  /**
@@ -49,6 +49,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
49
49
  * @throws {RequiredError}
50
50
  */
51
51
  getProjectsPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectPhaseResponse>>;
52
+ /**
53
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
54
+ * @summary Get details of a phase
55
+ * @param {number} id The ID of the project phase
56
+
57
+ * @throws {RequiredError}
58
+ */
59
+ getProjectsPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectPhaseResponse>>>;
52
60
  /**
53
61
  * Returns all active project phases under a specific board.
54
62
  * @summary Get project phases
@@ -57,6 +65,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
57
65
  * @throws {RequiredError}
58
66
  */
59
67
  getProjectsPhases(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectPhasesResponse>>;
68
+ /**
69
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
70
+ * @summary Get project phases
71
+ * @param {number} board_id ID of the board for which phases are requested
72
+
73
+ * @throws {RequiredError}
74
+ */
75
+ getProjectsPhasesWithHttpInfo(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectPhasesResponse>>>;
60
76
  };
61
77
  /**
62
78
  * ProjectPhasesApi - factory interface
@@ -71,6 +87,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
71
87
  * @throws {RequiredError}
72
88
  */
73
89
  getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<GetProjectPhaseResponse>;
90
+ getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<GetProjectPhaseResponse>>;
74
91
  /**
75
92
  * Returns all active project phases under a specific board.
76
93
  * @summary Get project phases
@@ -79,6 +96,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
79
96
  * @throws {RequiredError}
80
97
  */
81
98
  getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
99
+ getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
82
100
  };
83
101
  /**
84
102
  * Request parameters for getProjectsPhase operation in ProjectPhasesApi.
@@ -122,6 +140,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
122
140
  * @memberof ProjectPhasesApi
123
141
  */
124
142
  getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<GetProjectPhaseResponse>;
143
+ /**
144
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
145
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
146
+ * @param {ProjectPhasesApiGetProjectsPhaseRequest} requestParameters Request parameters.
147
+
148
+ * @throws {RequiredError}
149
+ * @memberof ProjectPhasesApi
150
+ */
151
+ getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<GetProjectPhaseResponse>>;
125
152
  /**
126
153
  * Returns all active project phases under a specific board.
127
154
  * @summary Get project phases
@@ -131,4 +158,13 @@ export declare class ProjectPhasesApi extends BaseAPI {
131
158
  * @memberof ProjectPhasesApi
132
159
  */
133
160
  getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
161
+ /**
162
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
163
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
164
+ * @param {ProjectPhasesApiGetProjectsPhasesRequest} requestParameters Request parameters.
165
+
166
+ * @throws {RequiredError}
167
+ * @memberof ProjectPhasesApi
168
+ */
169
+ getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
134
170
  }
@@ -124,6 +124,19 @@ export const ProjectPhasesApiFp = function (configuration) {
124
124
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
125
125
  });
126
126
  },
127
+ /**
128
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
129
+ * @summary Get details of a phase
130
+ * @param {number} id The ID of the project phase
131
+
132
+ * @throws {RequiredError}
133
+ */
134
+ getProjectsPhaseWithHttpInfo(id) {
135
+ return __awaiter(this, void 0, void 0, function* () {
136
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhase(id);
137
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
138
+ });
139
+ },
127
140
  /**
128
141
  * Returns all active project phases under a specific board.
129
142
  * @summary Get project phases
@@ -137,6 +150,19 @@ export const ProjectPhasesApiFp = function (configuration) {
137
150
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
138
151
  });
139
152
  },
153
+ /**
154
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
155
+ * @summary Get project phases
156
+ * @param {number} board_id ID of the board for which phases are requested
157
+
158
+ * @throws {RequiredError}
159
+ */
160
+ getProjectsPhasesWithHttpInfo(board_id) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhases(board_id);
163
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
164
+ });
165
+ },
140
166
  };
141
167
  };
142
168
  /**
@@ -156,6 +182,9 @@ export const ProjectPhasesApiFactory = function (configuration, basePath, axios)
156
182
  getProjectsPhase(requestParameters) {
157
183
  return localVarFp.getProjectsPhase(requestParameters.id).then((request) => request(axios, basePath));
158
184
  },
185
+ getProjectsPhaseWithHttpInfo(requestParameters) {
186
+ return localVarFp.getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
187
+ },
159
188
  /**
160
189
  * Returns all active project phases under a specific board.
161
190
  * @summary Get project phases
@@ -166,6 +195,9 @@ export const ProjectPhasesApiFactory = function (configuration, basePath, axios)
166
195
  getProjectsPhases(requestParameters) {
167
196
  return localVarFp.getProjectsPhases(requestParameters.board_id).then((request) => request(axios, basePath));
168
197
  },
198
+ getProjectsPhasesWithHttpInfo(requestParameters) {
199
+ return localVarFp.getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(axios, basePath));
200
+ },
169
201
  };
170
202
  };
171
203
  /**
@@ -186,6 +218,17 @@ export class ProjectPhasesApi extends BaseAPI {
186
218
  getProjectsPhase(requestParameters) {
187
219
  return ProjectPhasesApiFp(this.configuration).getProjectsPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
188
220
  }
221
+ /**
222
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
223
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
224
+ * @param {ProjectPhasesApiGetProjectsPhaseRequest} requestParameters Request parameters.
225
+
226
+ * @throws {RequiredError}
227
+ * @memberof ProjectPhasesApi
228
+ */
229
+ getProjectsPhaseWithHttpInfo(requestParameters) {
230
+ return ProjectPhasesApiFp(this.configuration).getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
231
+ }
189
232
  /**
190
233
  * Returns all active project phases under a specific board.
191
234
  * @summary Get project phases
@@ -197,4 +240,15 @@ export class ProjectPhasesApi extends BaseAPI {
197
240
  getProjectsPhases(requestParameters) {
198
241
  return ProjectPhasesApiFp(this.configuration).getProjectsPhases(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
199
242
  }
243
+ /**
244
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
245
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
246
+ * @param {ProjectPhasesApiGetProjectsPhasesRequest} requestParameters Request parameters.
247
+
248
+ * @throws {RequiredError}
249
+ * @memberof ProjectPhasesApi
250
+ */
251
+ getProjectsPhasesWithHttpInfo(requestParameters) {
252
+ return ProjectPhasesApiFp(this.configuration).getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
253
+ }
200
254
  }