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
@@ -237,6 +237,19 @@ const ProjectPhasesApiFp = function (configuration) {
237
237
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
238
238
  });
239
239
  },
240
+ /**
241
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
242
+ * @summary Add a project phase
243
+ * @param {AddProjectPhaseRequest} AddProjectPhaseRequest
244
+
245
+ * @throws {RequiredError}
246
+ */
247
+ addProjectPhaseWithHttpInfo(AddProjectPhaseRequest) {
248
+ return __awaiter(this, void 0, void 0, function* () {
249
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectPhase(AddProjectPhaseRequest);
250
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
251
+ });
252
+ },
240
253
  /**
241
254
  * Marks a project phase as deleted.
242
255
  * @summary Delete a project phase
@@ -250,6 +263,19 @@ const ProjectPhasesApiFp = function (configuration) {
250
263
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
251
264
  });
252
265
  },
266
+ /**
267
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
268
+ * @summary Delete a project phase
269
+ * @param {number} id The ID of the project phase
270
+
271
+ * @throws {RequiredError}
272
+ */
273
+ deleteProjectPhaseWithHttpInfo(id) {
274
+ return __awaiter(this, void 0, void 0, function* () {
275
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectPhase(id);
276
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
277
+ });
278
+ },
253
279
  /**
254
280
  * Returns the details of a specific project phase.
255
281
  * @summary Get details of a project phase
@@ -263,6 +289,19 @@ const ProjectPhasesApiFp = function (configuration) {
263
289
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
264
290
  });
265
291
  },
292
+ /**
293
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
294
+ * @summary Get details of a project phase
295
+ * @param {number} id The ID of the project phase
296
+
297
+ * @throws {RequiredError}
298
+ */
299
+ getProjectsPhaseWithHttpInfo(id) {
300
+ return __awaiter(this, void 0, void 0, function* () {
301
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhase(id);
302
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
303
+ });
304
+ },
266
305
  /**
267
306
  * Returns all active project phases under a specific board.
268
307
  * @summary Get project phases
@@ -276,6 +315,19 @@ const ProjectPhasesApiFp = function (configuration) {
276
315
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
277
316
  });
278
317
  },
318
+ /**
319
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
320
+ * @summary Get project phases
321
+ * @param {number} board_id The ID of the board for which phases are requested
322
+
323
+ * @throws {RequiredError}
324
+ */
325
+ getProjectsPhasesWithHttpInfo(board_id) {
326
+ return __awaiter(this, void 0, void 0, function* () {
327
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectsPhases(board_id);
328
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
329
+ });
330
+ },
279
331
  /**
280
332
  * Updates the properties of a project phase.
281
333
  * @summary Update a project phase
@@ -290,6 +342,20 @@ const ProjectPhasesApiFp = function (configuration) {
290
342
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
291
343
  });
292
344
  },
345
+ /**
346
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
347
+ * @summary Update a project phase
348
+ * @param {number} id The ID of the project phase
349
+ * @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
350
+
351
+ * @throws {RequiredError}
352
+ */
353
+ updateProjectPhaseWithHttpInfo(id, UpdateProjectPhaseRequest) {
354
+ return __awaiter(this, void 0, void 0, function* () {
355
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectPhase(id, UpdateProjectPhaseRequest);
356
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
357
+ });
358
+ },
293
359
  };
294
360
  };
295
361
  exports.ProjectPhasesApiFp = ProjectPhasesApiFp;
@@ -310,6 +376,9 @@ const ProjectPhasesApiFactory = function (configuration, basePath, axios) {
310
376
  addProjectPhase(requestParameters) {
311
377
  return localVarFp.addProjectPhase(requestParameters.AddProjectPhaseRequest).then((request) => request(axios, basePath));
312
378
  },
379
+ addProjectPhaseWithHttpInfo(requestParameters) {
380
+ return localVarFp.addProjectPhaseWithHttpInfo(requestParameters.AddProjectPhaseRequest).then((request) => request(axios, basePath));
381
+ },
313
382
  /**
314
383
  * Marks a project phase as deleted.
315
384
  * @summary Delete a project phase
@@ -320,6 +389,9 @@ const ProjectPhasesApiFactory = function (configuration, basePath, axios) {
320
389
  deleteProjectPhase(requestParameters) {
321
390
  return localVarFp.deleteProjectPhase(requestParameters.id).then((request) => request(axios, basePath));
322
391
  },
392
+ deleteProjectPhaseWithHttpInfo(requestParameters) {
393
+ return localVarFp.deleteProjectPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
394
+ },
323
395
  /**
324
396
  * Returns the details of a specific project phase.
325
397
  * @summary Get details of a project phase
@@ -330,6 +402,9 @@ const ProjectPhasesApiFactory = function (configuration, basePath, axios) {
330
402
  getProjectsPhase(requestParameters) {
331
403
  return localVarFp.getProjectsPhase(requestParameters.id).then((request) => request(axios, basePath));
332
404
  },
405
+ getProjectsPhaseWithHttpInfo(requestParameters) {
406
+ return localVarFp.getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
407
+ },
333
408
  /**
334
409
  * Returns all active project phases under a specific board.
335
410
  * @summary Get project phases
@@ -340,6 +415,9 @@ const ProjectPhasesApiFactory = function (configuration, basePath, axios) {
340
415
  getProjectsPhases(requestParameters) {
341
416
  return localVarFp.getProjectsPhases(requestParameters.board_id).then((request) => request(axios, basePath));
342
417
  },
418
+ getProjectsPhasesWithHttpInfo(requestParameters) {
419
+ return localVarFp.getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(axios, basePath));
420
+ },
343
421
  /**
344
422
  * Updates the properties of a project phase.
345
423
  * @summary Update a project phase
@@ -350,6 +428,9 @@ const ProjectPhasesApiFactory = function (configuration, basePath, axios) {
350
428
  updateProjectPhase(requestParameters) {
351
429
  return localVarFp.updateProjectPhase(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(axios, basePath));
352
430
  },
431
+ updateProjectPhaseWithHttpInfo(requestParameters) {
432
+ return localVarFp.updateProjectPhaseWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(axios, basePath));
433
+ },
353
434
  };
354
435
  };
355
436
  exports.ProjectPhasesApiFactory = ProjectPhasesApiFactory;
@@ -371,6 +452,17 @@ class ProjectPhasesApi extends base_1.BaseAPI {
371
452
  addProjectPhase(requestParameters) {
372
453
  return (0, exports.ProjectPhasesApiFp)(this.configuration).addProjectPhase(requestParameters.AddProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
373
454
  }
455
+ /**
456
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
457
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
458
+ * @param {ProjectPhasesApiAddProjectPhaseRequest} requestParameters Request parameters.
459
+
460
+ * @throws {RequiredError}
461
+ * @memberof ProjectPhasesApi
462
+ */
463
+ addProjectPhaseWithHttpInfo(requestParameters) {
464
+ return (0, exports.ProjectPhasesApiFp)(this.configuration).addProjectPhaseWithHttpInfo(requestParameters.AddProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
465
+ }
374
466
  /**
375
467
  * Marks a project phase as deleted.
376
468
  * @summary Delete a project phase
@@ -382,6 +474,17 @@ class ProjectPhasesApi extends base_1.BaseAPI {
382
474
  deleteProjectPhase(requestParameters) {
383
475
  return (0, exports.ProjectPhasesApiFp)(this.configuration).deleteProjectPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
384
476
  }
477
+ /**
478
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
479
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
480
+ * @param {ProjectPhasesApiDeleteProjectPhaseRequest} requestParameters Request parameters.
481
+
482
+ * @throws {RequiredError}
483
+ * @memberof ProjectPhasesApi
484
+ */
485
+ deleteProjectPhaseWithHttpInfo(requestParameters) {
486
+ return (0, exports.ProjectPhasesApiFp)(this.configuration).deleteProjectPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
487
+ }
385
488
  /**
386
489
  * Returns the details of a specific project phase.
387
490
  * @summary Get details of a project phase
@@ -393,6 +496,17 @@ class ProjectPhasesApi extends base_1.BaseAPI {
393
496
  getProjectsPhase(requestParameters) {
394
497
  return (0, exports.ProjectPhasesApiFp)(this.configuration).getProjectsPhase(requestParameters.id).then((request) => request(this.axios, this.basePath));
395
498
  }
499
+ /**
500
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
501
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
502
+ * @param {ProjectPhasesApiGetProjectsPhaseRequest} requestParameters Request parameters.
503
+
504
+ * @throws {RequiredError}
505
+ * @memberof ProjectPhasesApi
506
+ */
507
+ getProjectsPhaseWithHttpInfo(requestParameters) {
508
+ return (0, exports.ProjectPhasesApiFp)(this.configuration).getProjectsPhaseWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
509
+ }
396
510
  /**
397
511
  * Returns all active project phases under a specific board.
398
512
  * @summary Get project phases
@@ -404,6 +518,17 @@ class ProjectPhasesApi extends base_1.BaseAPI {
404
518
  getProjectsPhases(requestParameters) {
405
519
  return (0, exports.ProjectPhasesApiFp)(this.configuration).getProjectsPhases(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
406
520
  }
521
+ /**
522
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
523
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
524
+ * @param {ProjectPhasesApiGetProjectsPhasesRequest} requestParameters Request parameters.
525
+
526
+ * @throws {RequiredError}
527
+ * @memberof ProjectPhasesApi
528
+ */
529
+ getProjectsPhasesWithHttpInfo(requestParameters) {
530
+ return (0, exports.ProjectPhasesApiFp)(this.configuration).getProjectsPhasesWithHttpInfo(requestParameters.board_id).then((request) => request(this.axios, this.basePath));
531
+ }
407
532
  /**
408
533
  * Updates the properties of a project phase.
409
534
  * @summary Update a project phase
@@ -415,5 +540,16 @@ class ProjectPhasesApi extends base_1.BaseAPI {
415
540
  updateProjectPhase(requestParameters) {
416
541
  return (0, exports.ProjectPhasesApiFp)(this.configuration).updateProjectPhase(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
417
542
  }
543
+ /**
544
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
545
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
546
+ * @param {ProjectPhasesApiUpdateProjectPhaseRequest} requestParameters Request parameters.
547
+
548
+ * @throws {RequiredError}
549
+ * @memberof ProjectPhasesApi
550
+ */
551
+ updateProjectPhaseWithHttpInfo(requestParameters) {
552
+ return (0, exports.ProjectPhasesApiFp)(this.configuration).updateProjectPhaseWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectPhaseRequest).then((request) => request(this.axios, this.basePath));
553
+ }
418
554
  }
419
555
  exports.ProjectPhasesApi = ProjectPhasesApi;
@@ -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 { GetProjectTemplateResponse } from '../models';
16
16
  import { GetProjectTemplatesResponse } from '../models';
17
17
  /**
@@ -50,6 +50,14 @@ export declare const ProjectTemplatesApiFp: (configuration?: Configuration) => {
50
50
  * @throws {RequiredError}
51
51
  */
52
52
  getProjectTemplate(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectTemplateResponse>>;
53
+ /**
54
+ * Same as `getProjectTemplate`, but resolves with the response body together with the HTTP status and headers.
55
+ * @summary Get details of a template
56
+ * @param {number} id The ID of the project template
57
+
58
+ * @throws {RequiredError}
59
+ */
60
+ getProjectTemplateWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectTemplateResponse>>>;
53
61
  /**
54
62
  * Returns all not deleted project templates.
55
63
  * @summary Get all project templates
@@ -59,6 +67,15 @@ export declare const ProjectTemplatesApiFp: (configuration?: Configuration) => {
59
67
  * @throws {RequiredError}
60
68
  */
61
69
  getProjectTemplates(cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectTemplatesResponse>>;
70
+ /**
71
+ * Same as `getProjectTemplates`, but resolves with the response body together with the HTTP status and headers.
72
+ * @summary Get all project templates
73
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
74
+ * @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.
75
+
76
+ * @throws {RequiredError}
77
+ */
78
+ getProjectTemplatesWithHttpInfo(cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectTemplatesResponse>>>;
62
79
  };
63
80
  /**
64
81
  * ProjectTemplatesApi - factory interface
@@ -73,6 +90,7 @@ export declare const ProjectTemplatesApiFactory: (configuration?: Configuration,
73
90
  * @throws {RequiredError}
74
91
  */
75
92
  getProjectTemplate(requestParameters: ProjectTemplatesApiGetProjectTemplateRequest): Promise<GetProjectTemplateResponse>;
93
+ getProjectTemplateWithHttpInfo(requestParameters: ProjectTemplatesApiGetProjectTemplateRequest): Promise<ApiResponse<GetProjectTemplateResponse>>;
76
94
  /**
77
95
  * Returns all not deleted project templates.
78
96
  * @summary Get all project templates
@@ -81,6 +99,7 @@ export declare const ProjectTemplatesApiFactory: (configuration?: Configuration,
81
99
  * @throws {RequiredError}
82
100
  */
83
101
  getProjectTemplates(requestParameters?: ProjectTemplatesApiGetProjectTemplatesRequest): Promise<GetProjectTemplatesResponse>;
102
+ getProjectTemplatesWithHttpInfo(requestParameters?: ProjectTemplatesApiGetProjectTemplatesRequest): Promise<ApiResponse<GetProjectTemplatesResponse>>;
84
103
  };
85
104
  /**
86
105
  * Request parameters for getProjectTemplate operation in ProjectTemplatesApi.
@@ -130,6 +149,15 @@ export declare class ProjectTemplatesApi extends BaseAPI {
130
149
  * @memberof ProjectTemplatesApi
131
150
  */
132
151
  getProjectTemplate(requestParameters: ProjectTemplatesApiGetProjectTemplateRequest): Promise<GetProjectTemplateResponse>;
152
+ /**
153
+ * Same as `getProjectTemplate`, but resolves with the response body together with the HTTP status and headers.
154
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
155
+ * @param {ProjectTemplatesApiGetProjectTemplateRequest} requestParameters Request parameters.
156
+
157
+ * @throws {RequiredError}
158
+ * @memberof ProjectTemplatesApi
159
+ */
160
+ getProjectTemplateWithHttpInfo(requestParameters: ProjectTemplatesApiGetProjectTemplateRequest): Promise<ApiResponse<GetProjectTemplateResponse>>;
133
161
  /**
134
162
  * Returns all not deleted project templates.
135
163
  * @summary Get all project templates
@@ -139,4 +167,13 @@ export declare class ProjectTemplatesApi extends BaseAPI {
139
167
  * @memberof ProjectTemplatesApi
140
168
  */
141
169
  getProjectTemplates(requestParameters?: ProjectTemplatesApiGetProjectTemplatesRequest): Promise<GetProjectTemplatesResponse>;
170
+ /**
171
+ * Same as `getProjectTemplates`, but resolves with the response body together with the HTTP status and headers.
172
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
173
+ * @param {ProjectTemplatesApiGetProjectTemplatesRequest} requestParameters Request parameters.
174
+
175
+ * @throws {RequiredError}
176
+ * @memberof ProjectTemplatesApi
177
+ */
178
+ getProjectTemplatesWithHttpInfo(requestParameters?: ProjectTemplatesApiGetProjectTemplatesRequest): Promise<ApiResponse<GetProjectTemplatesResponse>>;
142
179
  }
@@ -133,6 +133,19 @@ const ProjectTemplatesApiFp = function (configuration) {
133
133
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
134
134
  });
135
135
  },
136
+ /**
137
+ * Same as `getProjectTemplate`, but resolves with the response body together with the HTTP status and headers.
138
+ * @summary Get details of a template
139
+ * @param {number} id The ID of the project template
140
+
141
+ * @throws {RequiredError}
142
+ */
143
+ getProjectTemplateWithHttpInfo(id) {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectTemplate(id);
146
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
147
+ });
148
+ },
136
149
  /**
137
150
  * Returns all not deleted project templates.
138
151
  * @summary Get all project templates
@@ -147,6 +160,20 @@ const ProjectTemplatesApiFp = function (configuration) {
147
160
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
148
161
  });
149
162
  },
163
+ /**
164
+ * Same as `getProjectTemplates`, but resolves with the response body together with the HTTP status and headers.
165
+ * @summary Get all project templates
166
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
167
+ * @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.
168
+
169
+ * @throws {RequiredError}
170
+ */
171
+ getProjectTemplatesWithHttpInfo(cursor, limit) {
172
+ return __awaiter(this, void 0, void 0, function* () {
173
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectTemplates(cursor, limit);
174
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
175
+ });
176
+ },
150
177
  };
151
178
  };
152
179
  exports.ProjectTemplatesApiFp = ProjectTemplatesApiFp;
@@ -167,6 +194,9 @@ const ProjectTemplatesApiFactory = function (configuration, basePath, axios) {
167
194
  getProjectTemplate(requestParameters) {
168
195
  return localVarFp.getProjectTemplate(requestParameters.id).then((request) => request(axios, basePath));
169
196
  },
197
+ getProjectTemplateWithHttpInfo(requestParameters) {
198
+ return localVarFp.getProjectTemplateWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
199
+ },
170
200
  /**
171
201
  * Returns all not deleted project templates.
172
202
  * @summary Get all project templates
@@ -177,6 +207,9 @@ const ProjectTemplatesApiFactory = function (configuration, basePath, axios) {
177
207
  getProjectTemplates(requestParameters = {}) {
178
208
  return localVarFp.getProjectTemplates(requestParameters.cursor, requestParameters.limit).then((request) => request(axios, basePath));
179
209
  },
210
+ getProjectTemplatesWithHttpInfo(requestParameters = {}) {
211
+ return localVarFp.getProjectTemplatesWithHttpInfo(requestParameters.cursor, requestParameters.limit).then((request) => request(axios, basePath));
212
+ },
180
213
  };
181
214
  };
182
215
  exports.ProjectTemplatesApiFactory = ProjectTemplatesApiFactory;
@@ -198,6 +231,17 @@ class ProjectTemplatesApi extends base_1.BaseAPI {
198
231
  getProjectTemplate(requestParameters) {
199
232
  return (0, exports.ProjectTemplatesApiFp)(this.configuration).getProjectTemplate(requestParameters.id).then((request) => request(this.axios, this.basePath));
200
233
  }
234
+ /**
235
+ * Same as `getProjectTemplate`, but resolves with the response body together with the HTTP status and headers.
236
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
237
+ * @param {ProjectTemplatesApiGetProjectTemplateRequest} requestParameters Request parameters.
238
+
239
+ * @throws {RequiredError}
240
+ * @memberof ProjectTemplatesApi
241
+ */
242
+ getProjectTemplateWithHttpInfo(requestParameters) {
243
+ return (0, exports.ProjectTemplatesApiFp)(this.configuration).getProjectTemplateWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
244
+ }
201
245
  /**
202
246
  * Returns all not deleted project templates.
203
247
  * @summary Get all project templates
@@ -209,5 +253,16 @@ class ProjectTemplatesApi extends base_1.BaseAPI {
209
253
  getProjectTemplates(requestParameters = {}) {
210
254
  return (0, exports.ProjectTemplatesApiFp)(this.configuration).getProjectTemplates(requestParameters.cursor, requestParameters.limit).then((request) => request(this.axios, this.basePath));
211
255
  }
256
+ /**
257
+ * Same as `getProjectTemplates`, but resolves with the response body together with the HTTP status and headers.
258
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
259
+ * @param {ProjectTemplatesApiGetProjectTemplatesRequest} requestParameters Request parameters.
260
+
261
+ * @throws {RequiredError}
262
+ * @memberof ProjectTemplatesApi
263
+ */
264
+ getProjectTemplatesWithHttpInfo(requestParameters = {}) {
265
+ return (0, exports.ProjectTemplatesApiFp)(this.configuration).getProjectTemplatesWithHttpInfo(requestParameters.cursor, requestParameters.limit).then((request) => request(this.axios, this.basePath));
266
+ }
212
267
  }
213
268
  exports.ProjectTemplatesApi = ProjectTemplatesApi;