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
@@ -351,6 +351,19 @@ export const ProjectFieldsApiFp = function (configuration) {
351
351
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
352
352
  });
353
353
  },
354
+ /**
355
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
356
+ * @summary Create one project field
357
+ * @param {AddProjectFieldRequest} AddProjectFieldRequest
358
+
359
+ * @throws {RequiredError}
360
+ */
361
+ addProjectFieldWithHttpInfo(AddProjectFieldRequest) {
362
+ return __awaiter(this, void 0, void 0, function* () {
363
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectField(AddProjectFieldRequest);
364
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
365
+ });
366
+ },
354
367
  /**
355
368
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
356
369
  * @summary Add project field options in bulk
@@ -365,6 +378,20 @@ export const ProjectFieldsApiFp = function (configuration) {
365
378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
379
  });
367
380
  },
381
+ /**
382
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
383
+ * @summary Add project field options in bulk
384
+ * @param {string} field_code The unique code identifying the field
385
+ * @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
386
+
387
+ * @throws {RequiredError}
388
+ */
389
+ addProjectFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
390
+ return __awaiter(this, void 0, void 0, function* () {
391
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectFieldOptions(field_code, AddDealFieldOptionsRequestInner);
392
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
393
+ });
394
+ },
368
395
  /**
369
396
  * Marks a custom field as deleted.
370
397
  * @summary Delete one project field
@@ -378,6 +405,19 @@ export const ProjectFieldsApiFp = function (configuration) {
378
405
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
379
406
  });
380
407
  },
408
+ /**
409
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
410
+ * @summary Delete one project field
411
+ * @param {string} field_code The unique code identifying the field
412
+
413
+ * @throws {RequiredError}
414
+ */
415
+ deleteProjectFieldWithHttpInfo(field_code) {
416
+ return __awaiter(this, void 0, void 0, function* () {
417
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectField(field_code);
418
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
419
+ });
420
+ },
381
421
  /**
382
422
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
383
423
  * @summary Delete project field options in bulk
@@ -392,6 +432,20 @@ export const ProjectFieldsApiFp = function (configuration) {
392
432
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
393
433
  });
394
434
  },
435
+ /**
436
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
437
+ * @summary Delete project field options in bulk
438
+ * @param {string} field_code The unique code identifying the field
439
+ * @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
440
+
441
+ * @throws {RequiredError}
442
+ */
443
+ deleteProjectFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
444
+ return __awaiter(this, void 0, void 0, function* () {
445
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
446
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
447
+ });
448
+ },
395
449
  /**
396
450
  * Returns metadata about a specific project field.
397
451
  * @summary Get one project field
@@ -405,6 +459,19 @@ export const ProjectFieldsApiFp = function (configuration) {
405
459
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
406
460
  });
407
461
  },
462
+ /**
463
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
464
+ * @summary Get one project field
465
+ * @param {string} field_code The unique code identifying the field
466
+
467
+ * @throws {RequiredError}
468
+ */
469
+ getProjectFieldWithHttpInfo(field_code) {
470
+ return __awaiter(this, void 0, void 0, function* () {
471
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectField(field_code);
472
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
473
+ });
474
+ },
408
475
  /**
409
476
  * Returns metadata about all project fields in the company.
410
477
  * @summary Get all project fields
@@ -419,6 +486,20 @@ export const ProjectFieldsApiFp = function (configuration) {
419
486
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
420
487
  });
421
488
  },
489
+ /**
490
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
491
+ * @summary Get all project fields
492
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
493
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
494
+
495
+ * @throws {RequiredError}
496
+ */
497
+ getProjectFieldsWithHttpInfo(limit, cursor) {
498
+ return __awaiter(this, void 0, void 0, function* () {
499
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectFields(limit, cursor);
500
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
501
+ });
502
+ },
422
503
  /**
423
504
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
424
505
  * @summary Update one project field
@@ -433,6 +514,20 @@ export const ProjectFieldsApiFp = function (configuration) {
433
514
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
434
515
  });
435
516
  },
517
+ /**
518
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
519
+ * @summary Update one project field
520
+ * @param {string} field_code The unique code identifying the field
521
+ * @param {UpdateProjectFieldRequest} UpdateProjectFieldRequest
522
+
523
+ * @throws {RequiredError}
524
+ */
525
+ updateProjectFieldWithHttpInfo(field_code, UpdateProjectFieldRequest) {
526
+ return __awaiter(this, void 0, void 0, function* () {
527
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectField(field_code, UpdateProjectFieldRequest);
528
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
529
+ });
530
+ },
436
531
  /**
437
532
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
438
533
  * @summary Update project field options in bulk
@@ -447,6 +542,20 @@ export const ProjectFieldsApiFp = function (configuration) {
447
542
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
448
543
  });
449
544
  },
545
+ /**
546
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
547
+ * @summary Update project field options in bulk
548
+ * @param {string} field_code The unique code identifying the field
549
+ * @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
550
+
551
+ * @throws {RequiredError}
552
+ */
553
+ updateProjectFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
554
+ return __awaiter(this, void 0, void 0, function* () {
555
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
556
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
557
+ });
558
+ },
450
559
  };
451
560
  };
452
561
  /**
@@ -466,6 +575,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
466
575
  addProjectField(requestParameters) {
467
576
  return localVarFp.addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
468
577
  },
578
+ addProjectFieldWithHttpInfo(requestParameters) {
579
+ return localVarFp.addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
580
+ },
469
581
  /**
470
582
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
471
583
  * @summary Add project field options in bulk
@@ -476,6 +588,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
476
588
  addProjectFieldOptions(requestParameters) {
477
589
  return localVarFp.addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
478
590
  },
591
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
592
+ return localVarFp.addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
593
+ },
479
594
  /**
480
595
  * Marks a custom field as deleted.
481
596
  * @summary Delete one project field
@@ -486,6 +601,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
486
601
  deleteProjectField(requestParameters) {
487
602
  return localVarFp.deleteProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
488
603
  },
604
+ deleteProjectFieldWithHttpInfo(requestParameters) {
605
+ return localVarFp.deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
606
+ },
489
607
  /**
490
608
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
491
609
  * @summary Delete project field options in bulk
@@ -496,6 +614,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
496
614
  deleteProjectFieldOptions(requestParameters) {
497
615
  return localVarFp.deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
498
616
  },
617
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
618
+ return localVarFp.deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
619
+ },
499
620
  /**
500
621
  * Returns metadata about a specific project field.
501
622
  * @summary Get one project field
@@ -506,6 +627,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
506
627
  getProjectField(requestParameters) {
507
628
  return localVarFp.getProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
508
629
  },
630
+ getProjectFieldWithHttpInfo(requestParameters) {
631
+ return localVarFp.getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
632
+ },
509
633
  /**
510
634
  * Returns metadata about all project fields in the company.
511
635
  * @summary Get all project fields
@@ -516,6 +640,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
516
640
  getProjectFields(requestParameters = {}) {
517
641
  return localVarFp.getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
518
642
  },
643
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
644
+ return localVarFp.getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
645
+ },
519
646
  /**
520
647
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
521
648
  * @summary Update one project field
@@ -526,6 +653,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
526
653
  updateProjectField(requestParameters) {
527
654
  return localVarFp.updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
528
655
  },
656
+ updateProjectFieldWithHttpInfo(requestParameters) {
657
+ return localVarFp.updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
658
+ },
529
659
  /**
530
660
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
531
661
  * @summary Update project field options in bulk
@@ -536,6 +666,9 @@ export const ProjectFieldsApiFactory = function (configuration, basePath, axios)
536
666
  updateProjectFieldOptions(requestParameters) {
537
667
  return localVarFp.updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
538
668
  },
669
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
670
+ return localVarFp.updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
671
+ },
539
672
  };
540
673
  };
541
674
  /**
@@ -556,6 +689,17 @@ export class ProjectFieldsApi extends BaseAPI {
556
689
  addProjectField(requestParameters) {
557
690
  return ProjectFieldsApiFp(this.configuration).addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
558
691
  }
692
+ /**
693
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
694
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
695
+ * @param {ProjectFieldsApiAddProjectFieldRequest} requestParameters Request parameters.
696
+
697
+ * @throws {RequiredError}
698
+ * @memberof ProjectFieldsApi
699
+ */
700
+ addProjectFieldWithHttpInfo(requestParameters) {
701
+ return ProjectFieldsApiFp(this.configuration).addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
702
+ }
559
703
  /**
560
704
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
561
705
  * @summary Add project field options in bulk
@@ -567,6 +711,17 @@ export class ProjectFieldsApi extends BaseAPI {
567
711
  addProjectFieldOptions(requestParameters) {
568
712
  return ProjectFieldsApiFp(this.configuration).addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
569
713
  }
714
+ /**
715
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
716
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
717
+ * @param {ProjectFieldsApiAddProjectFieldOptionsRequest} requestParameters Request parameters.
718
+
719
+ * @throws {RequiredError}
720
+ * @memberof ProjectFieldsApi
721
+ */
722
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
723
+ return ProjectFieldsApiFp(this.configuration).addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
724
+ }
570
725
  /**
571
726
  * Marks a custom field as deleted.
572
727
  * @summary Delete one project field
@@ -578,6 +733,17 @@ export class ProjectFieldsApi extends BaseAPI {
578
733
  deleteProjectField(requestParameters) {
579
734
  return ProjectFieldsApiFp(this.configuration).deleteProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
580
735
  }
736
+ /**
737
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
738
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
739
+ * @param {ProjectFieldsApiDeleteProjectFieldRequest} requestParameters Request parameters.
740
+
741
+ * @throws {RequiredError}
742
+ * @memberof ProjectFieldsApi
743
+ */
744
+ deleteProjectFieldWithHttpInfo(requestParameters) {
745
+ return ProjectFieldsApiFp(this.configuration).deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
746
+ }
581
747
  /**
582
748
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
583
749
  * @summary Delete project field options in bulk
@@ -589,6 +755,17 @@ export class ProjectFieldsApi extends BaseAPI {
589
755
  deleteProjectFieldOptions(requestParameters) {
590
756
  return ProjectFieldsApiFp(this.configuration).deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
591
757
  }
758
+ /**
759
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
760
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
761
+ * @param {ProjectFieldsApiDeleteProjectFieldOptionsRequest} requestParameters Request parameters.
762
+
763
+ * @throws {RequiredError}
764
+ * @memberof ProjectFieldsApi
765
+ */
766
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
767
+ return ProjectFieldsApiFp(this.configuration).deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
768
+ }
592
769
  /**
593
770
  * Returns metadata about a specific project field.
594
771
  * @summary Get one project field
@@ -600,6 +777,17 @@ export class ProjectFieldsApi extends BaseAPI {
600
777
  getProjectField(requestParameters) {
601
778
  return ProjectFieldsApiFp(this.configuration).getProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
602
779
  }
780
+ /**
781
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
782
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
783
+ * @param {ProjectFieldsApiGetProjectFieldRequest} requestParameters Request parameters.
784
+
785
+ * @throws {RequiredError}
786
+ * @memberof ProjectFieldsApi
787
+ */
788
+ getProjectFieldWithHttpInfo(requestParameters) {
789
+ return ProjectFieldsApiFp(this.configuration).getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
790
+ }
603
791
  /**
604
792
  * Returns metadata about all project fields in the company.
605
793
  * @summary Get all project fields
@@ -611,6 +799,17 @@ export class ProjectFieldsApi extends BaseAPI {
611
799
  getProjectFields(requestParameters = {}) {
612
800
  return ProjectFieldsApiFp(this.configuration).getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
613
801
  }
802
+ /**
803
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
804
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
805
+ * @param {ProjectFieldsApiGetProjectFieldsRequest} requestParameters Request parameters.
806
+
807
+ * @throws {RequiredError}
808
+ * @memberof ProjectFieldsApi
809
+ */
810
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
811
+ return ProjectFieldsApiFp(this.configuration).getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
812
+ }
614
813
  /**
615
814
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
616
815
  * @summary Update one project field
@@ -622,6 +821,17 @@ export class ProjectFieldsApi extends BaseAPI {
622
821
  updateProjectField(requestParameters) {
623
822
  return ProjectFieldsApiFp(this.configuration).updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
624
823
  }
824
+ /**
825
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
826
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
827
+ * @param {ProjectFieldsApiUpdateProjectFieldRequest} requestParameters Request parameters.
828
+
829
+ * @throws {RequiredError}
830
+ * @memberof ProjectFieldsApi
831
+ */
832
+ updateProjectFieldWithHttpInfo(requestParameters) {
833
+ return ProjectFieldsApiFp(this.configuration).updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
834
+ }
625
835
  /**
626
836
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
627
837
  * @summary Update project field options in bulk
@@ -633,4 +843,15 @@ export class ProjectFieldsApi extends BaseAPI {
633
843
  updateProjectFieldOptions(requestParameters) {
634
844
  return ProjectFieldsApiFp(this.configuration).updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
635
845
  }
846
+ /**
847
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
848
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
849
+ * @param {ProjectFieldsApiUpdateProjectFieldOptionsRequest} requestParameters Request parameters.
850
+
851
+ * @throws {RequiredError}
852
+ * @memberof ProjectFieldsApi
853
+ */
854
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
855
+ return ProjectFieldsApiFp(this.configuration).updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
856
+ }
636
857
  }
@@ -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 { AddProjectPhaseRequest } from '../models';
16
16
  import { DeleteProjectPhaseResponse } from '../models';
17
17
  import { GetProjectPhasesResponse } from '../models';
@@ -77,6 +77,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
77
77
  * @throws {RequiredError}
78
78
  */
79
79
  addProjectPhase(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
80
+ /**
81
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
82
+ * @summary Add a project phase
83
+ * @param {AddProjectPhaseRequest} AddProjectPhaseRequest
84
+
85
+ * @throws {RequiredError}
86
+ */
87
+ addProjectPhaseWithHttpInfo(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
80
88
  /**
81
89
  * Marks a project phase as deleted.
82
90
  * @summary Delete a project phase
@@ -85,6 +93,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
85
93
  * @throws {RequiredError}
86
94
  */
87
95
  deleteProjectPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProjectPhaseResponse>>;
96
+ /**
97
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
98
+ * @summary Delete a project phase
99
+ * @param {number} id The ID of the project phase
100
+
101
+ * @throws {RequiredError}
102
+ */
103
+ deleteProjectPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProjectPhaseResponse>>>;
88
104
  /**
89
105
  * Returns the details of a specific project phase.
90
106
  * @summary Get details of a project phase
@@ -93,6 +109,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
93
109
  * @throws {RequiredError}
94
110
  */
95
111
  getProjectsPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
112
+ /**
113
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
114
+ * @summary Get details of a project phase
115
+ * @param {number} id The ID of the project phase
116
+
117
+ * @throws {RequiredError}
118
+ */
119
+ getProjectsPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
96
120
  /**
97
121
  * Returns all active project phases under a specific board.
98
122
  * @summary Get project phases
@@ -101,6 +125,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
101
125
  * @throws {RequiredError}
102
126
  */
103
127
  getProjectsPhases(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectPhasesResponse>>;
128
+ /**
129
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
130
+ * @summary Get project phases
131
+ * @param {number} board_id The ID of the board for which phases are requested
132
+
133
+ * @throws {RequiredError}
134
+ */
135
+ getProjectsPhasesWithHttpInfo(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectPhasesResponse>>>;
104
136
  /**
105
137
  * Updates the properties of a project phase.
106
138
  * @summary Update a project phase
@@ -110,6 +142,15 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
110
142
  * @throws {RequiredError}
111
143
  */
112
144
  updateProjectPhase(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
145
+ /**
146
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
147
+ * @summary Update a project phase
148
+ * @param {number} id The ID of the project phase
149
+ * @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
150
+
151
+ * @throws {RequiredError}
152
+ */
153
+ updateProjectPhaseWithHttpInfo(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
113
154
  };
114
155
  /**
115
156
  * ProjectPhasesApi - factory interface
@@ -124,6 +165,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
124
165
  * @throws {RequiredError}
125
166
  */
126
167
  addProjectPhase(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
168
+ addProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
127
169
  /**
128
170
  * Marks a project phase as deleted.
129
171
  * @summary Delete a project phase
@@ -132,6 +174,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
132
174
  * @throws {RequiredError}
133
175
  */
134
176
  deleteProjectPhase(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
177
+ deleteProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
135
178
  /**
136
179
  * Returns the details of a specific project phase.
137
180
  * @summary Get details of a project phase
@@ -140,6 +183,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
140
183
  * @throws {RequiredError}
141
184
  */
142
185
  getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
186
+ getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
143
187
  /**
144
188
  * Returns all active project phases under a specific board.
145
189
  * @summary Get project phases
@@ -148,6 +192,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
148
192
  * @throws {RequiredError}
149
193
  */
150
194
  getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
195
+ getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
151
196
  /**
152
197
  * Updates the properties of a project phase.
153
198
  * @summary Update a project phase
@@ -156,6 +201,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
156
201
  * @throws {RequiredError}
157
202
  */
158
203
  updateProjectPhase(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
204
+ updateProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
159
205
  };
160
206
  /**
161
207
  * Request parameters for addProjectPhase operation in ProjectPhasesApi.
@@ -244,6 +290,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
244
290
  * @memberof ProjectPhasesApi
245
291
  */
246
292
  addProjectPhase(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
293
+ /**
294
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
295
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
296
+ * @param {ProjectPhasesApiAddProjectPhaseRequest} requestParameters Request parameters.
297
+
298
+ * @throws {RequiredError}
299
+ * @memberof ProjectPhasesApi
300
+ */
301
+ addProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
247
302
  /**
248
303
  * Marks a project phase as deleted.
249
304
  * @summary Delete a project phase
@@ -253,6 +308,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
253
308
  * @memberof ProjectPhasesApi
254
309
  */
255
310
  deleteProjectPhase(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
311
+ /**
312
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
313
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
314
+ * @param {ProjectPhasesApiDeleteProjectPhaseRequest} requestParameters Request parameters.
315
+
316
+ * @throws {RequiredError}
317
+ * @memberof ProjectPhasesApi
318
+ */
319
+ deleteProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
256
320
  /**
257
321
  * Returns the details of a specific project phase.
258
322
  * @summary Get details of a project phase
@@ -262,6 +326,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
262
326
  * @memberof ProjectPhasesApi
263
327
  */
264
328
  getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
329
+ /**
330
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
331
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
332
+ * @param {ProjectPhasesApiGetProjectsPhaseRequest} requestParameters Request parameters.
333
+
334
+ * @throws {RequiredError}
335
+ * @memberof ProjectPhasesApi
336
+ */
337
+ getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
265
338
  /**
266
339
  * Returns all active project phases under a specific board.
267
340
  * @summary Get project phases
@@ -271,6 +344,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
271
344
  * @memberof ProjectPhasesApi
272
345
  */
273
346
  getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
347
+ /**
348
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
349
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
350
+ * @param {ProjectPhasesApiGetProjectsPhasesRequest} requestParameters Request parameters.
351
+
352
+ * @throws {RequiredError}
353
+ * @memberof ProjectPhasesApi
354
+ */
355
+ getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
274
356
  /**
275
357
  * Updates the properties of a project phase.
276
358
  * @summary Update a project phase
@@ -280,4 +362,13 @@ export declare class ProjectPhasesApi extends BaseAPI {
280
362
  * @memberof ProjectPhasesApi
281
363
  */
282
364
  updateProjectPhase(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
365
+ /**
366
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
367
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
368
+ * @param {ProjectPhasesApiUpdateProjectPhaseRequest} requestParameters Request parameters.
369
+
370
+ * @throws {RequiredError}
371
+ * @memberof ProjectPhasesApi
372
+ */
373
+ updateProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
283
374
  }