pipedrive 36.0.0 → 36.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/esm/versions/v1/api/activity-fields-api.d.ts +17 -1
  2. package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
  3. package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
  5. package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
  6. package/dist/esm/versions/v1/api/billing-api.js +25 -0
  7. package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
  8. package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
  9. package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
  10. package/dist/esm/versions/v1/api/channels-api.js +109 -0
  11. package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
  12. package/dist/esm/versions/v1/api/currencies-api.js +27 -0
  13. package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
  14. package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
  15. package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
  16. package/dist/esm/versions/v1/api/deals-api.js +569 -0
  17. package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
  18. package/dist/esm/versions/v1/api/files-api.js +234 -0
  19. package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
  20. package/dist/esm/versions/v1/api/filters-api.js +191 -0
  21. package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
  22. package/dist/esm/versions/v1/api/goals-api.js +150 -0
  23. package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
  24. package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
  25. package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
  26. package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
  27. package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
  28. package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
  29. package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
  30. package/dist/esm/versions/v1/api/leads-api.js +237 -0
  31. package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
  32. package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
  33. package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
  34. package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
  35. package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
  36. package/dist/esm/versions/v1/api/meetings-api.js +54 -0
  37. package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
  38. package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
  39. package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
  40. package/dist/esm/versions/v1/api/notes-api.js +296 -0
  41. package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
  42. package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
  43. package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
  44. package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
  45. package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
  46. package/dist/esm/versions/v1/api/organizations-api.js +258 -0
  47. package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
  48. package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
  49. package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
  50. package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
  51. package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
  52. package/dist/esm/versions/v1/api/persons-api.js +370 -24
  53. package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
  54. package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
  55. package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
  56. package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
  57. package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
  58. package/dist/esm/versions/v1/api/products-api.js +172 -0
  59. package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
  60. package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
  61. package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
  62. package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
  63. package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
  64. package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
  65. package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
  66. package/dist/esm/versions/v1/api/projects-api.js +334 -0
  67. package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
  68. package/dist/esm/versions/v1/api/recents-api.js +30 -0
  69. package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
  70. package/dist/esm/versions/v1/api/roles-api.js +333 -0
  71. package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
  72. package/dist/esm/versions/v1/api/stages-api.js +32 -0
  73. package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
  74. package/dist/esm/versions/v1/api/tasks-api.js +141 -0
  75. package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
  76. package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
  77. package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
  78. package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
  79. package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
  80. package/dist/esm/versions/v1/api/users-api.js +270 -0
  81. package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
  82. package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
  83. package/dist/esm/versions/v1/base.d.ts +17 -0
  84. package/dist/esm/versions/v1/base.js +22 -0
  85. package/dist/esm/versions/v1/common.d.ts +1 -1
  86. package/dist/esm/versions/v1/common.js +7 -4
  87. package/dist/esm/versions/v1/models/deal-all-of.d.ts +6 -6
  88. package/dist/esm/versions/v1/models/index.d.ts +0 -3
  89. package/dist/esm/versions/v1/models/index.js +0 -3
  90. package/dist/esm/versions/v1/models/note-deal.d.ts +11 -5
  91. package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
  92. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  93. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  94. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  95. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  96. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  97. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  98. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  99. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  100. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  101. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  102. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  103. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  104. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  105. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  106. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  107. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  108. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  109. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  112. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  113. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  114. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  115. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  116. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  117. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  118. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  119. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  120. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  121. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  122. package/dist/esm/versions/v2/api/products-api.js +541 -0
  123. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  124. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  125. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  126. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  127. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  128. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  129. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  130. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  131. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  132. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  133. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  134. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  135. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  136. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  137. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  138. package/dist/esm/versions/v2/api/users-api.js +29 -0
  139. package/dist/esm/versions/v2/base.d.ts +17 -0
  140. package/dist/esm/versions/v2/base.js +22 -0
  141. package/dist/esm/versions/v2/common.d.ts +1 -1
  142. package/dist/esm/versions/v2/common.js +7 -4
  143. package/dist/esm/versions/v2/models/index.d.ts +2 -5
  144. package/dist/esm/versions/v2/models/index.js +2 -5
  145. package/dist/esm/versions/v2/models/prices-array.d.ts +3 -3
  146. package/dist/esm/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
  147. package/dist/{versions/v2/models/prices-array-prices-inner-all-of.d.ts → esm/versions/v2/models/product-price.d.ts} +12 -2
  148. package/dist/esm/versions/v2/models/product-request.d.ts +3 -3
  149. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  150. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  151. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  152. package/dist/versions/v1/api/activity-types-api.js +107 -0
  153. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  154. package/dist/versions/v1/api/billing-api.js +25 -0
  155. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  156. package/dist/versions/v1/api/call-logs-api.js +137 -0
  157. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  158. package/dist/versions/v1/api/channels-api.js +109 -0
  159. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  160. package/dist/versions/v1/api/currencies-api.js +27 -0
  161. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  162. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  163. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  164. package/dist/versions/v1/api/deals-api.js +569 -0
  165. package/dist/versions/v1/api/files-api.d.ts +163 -1
  166. package/dist/versions/v1/api/files-api.js +234 -0
  167. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  168. package/dist/versions/v1/api/filters-api.js +191 -0
  169. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  170. package/dist/versions/v1/api/goals-api.js +150 -0
  171. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  172. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  173. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  174. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  175. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  176. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  177. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  178. package/dist/versions/v1/api/leads-api.js +237 -0
  179. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  180. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  181. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  182. package/dist/versions/v1/api/mailbox-api.js +170 -0
  183. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  184. package/dist/versions/v1/api/meetings-api.js +54 -0
  185. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  186. package/dist/versions/v1/api/note-fields-api.js +25 -0
  187. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  188. package/dist/versions/v1/api/notes-api.js +296 -0
  189. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  190. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  191. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  192. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  193. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  194. package/dist/versions/v1/api/organizations-api.js +258 -0
  195. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  196. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  197. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  198. package/dist/versions/v1/api/person-fields-api.js +164 -0
  199. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  200. package/dist/versions/v1/api/persons-api.js +370 -24
  201. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  202. package/dist/versions/v1/api/pipelines-api.js +95 -0
  203. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  204. package/dist/versions/v1/api/product-fields-api.js +164 -0
  205. package/dist/versions/v1/api/products-api.d.ts +119 -1
  206. package/dist/versions/v1/api/products-api.js +172 -0
  207. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  208. package/dist/versions/v1/api/project-boards-api.js +52 -0
  209. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  210. package/dist/versions/v1/api/project-phases-api.js +54 -0
  211. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  212. package/dist/versions/v1/api/project-templates-api.js +55 -0
  213. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  214. package/dist/versions/v1/api/projects-api.js +334 -0
  215. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  216. package/dist/versions/v1/api/recents-api.js +30 -0
  217. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  218. package/dist/versions/v1/api/roles-api.js +333 -0
  219. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  220. package/dist/versions/v1/api/stages-api.js +32 -0
  221. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  222. package/dist/versions/v1/api/tasks-api.js +141 -0
  223. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  224. package/dist/versions/v1/api/user-connections-api.js +25 -0
  225. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  226. package/dist/versions/v1/api/user-settings-api.js +25 -0
  227. package/dist/versions/v1/api/users-api.d.ts +181 -1
  228. package/dist/versions/v1/api/users-api.js +270 -0
  229. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  230. package/dist/versions/v1/api/webhooks-api.js +79 -0
  231. package/dist/versions/v1/base.d.ts +17 -0
  232. package/dist/versions/v1/base.js +24 -1
  233. package/dist/versions/v1/common.d.ts +1 -1
  234. package/dist/versions/v1/common.js +6 -3
  235. package/dist/versions/v1/models/deal-all-of.d.ts +6 -6
  236. package/dist/versions/v1/models/index.d.ts +0 -3
  237. package/dist/versions/v1/models/index.js +0 -3
  238. package/dist/versions/v1/models/note-deal.d.ts +11 -5
  239. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  240. package/dist/versions/v2/api/activities-api.js +151 -0
  241. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  242. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  243. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  244. package/dist/versions/v2/api/beta-api.js +666 -0
  245. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  246. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  247. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  248. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  249. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  250. package/dist/versions/v2/api/deal-products-api.js +203 -0
  251. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  252. package/dist/versions/v2/api/deals-api.js +516 -1
  253. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  254. package/dist/versions/v2/api/item-search-api.js +66 -0
  255. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  256. package/dist/versions/v2/api/leads-api.js +90 -0
  257. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  258. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  259. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  260. package/dist/versions/v2/api/organizations-api.js +297 -0
  261. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  262. package/dist/versions/v2/api/person-fields-api.js +223 -0
  263. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  264. package/dist/versions/v2/api/persons-api.js +328 -0
  265. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  266. package/dist/versions/v2/api/pipelines-api.js +139 -0
  267. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  268. package/dist/versions/v2/api/product-fields-api.js +223 -0
  269. package/dist/versions/v2/api/products-api.d.ts +371 -1
  270. package/dist/versions/v2/api/products-api.js +541 -0
  271. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  272. package/dist/versions/v2/api/project-boards-api.js +134 -0
  273. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  274. package/dist/versions/v2/api/project-fields-api.js +221 -0
  275. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  276. package/dist/versions/v2/api/project-phases-api.js +136 -0
  277. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  278. package/dist/versions/v2/api/project-templates-api.js +55 -0
  279. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  280. package/dist/versions/v2/api/projects-api.js +290 -0
  281. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  282. package/dist/versions/v2/api/stages-api.js +140 -0
  283. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  284. package/dist/versions/v2/api/tasks-api.js +142 -0
  285. package/dist/versions/v2/api/users-api.d.ts +21 -1
  286. package/dist/versions/v2/api/users-api.js +29 -0
  287. package/dist/versions/v2/base.d.ts +17 -0
  288. package/dist/versions/v2/base.js +24 -1
  289. package/dist/versions/v2/common.d.ts +1 -1
  290. package/dist/versions/v2/common.js +6 -3
  291. package/dist/versions/v2/models/index.d.ts +2 -5
  292. package/dist/versions/v2/models/index.js +2 -5
  293. package/dist/versions/v2/models/prices-array.d.ts +3 -3
  294. package/dist/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
  295. package/dist/{esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts → versions/v2/models/product-price.d.ts} +12 -2
  296. package/dist/versions/v2/models/product-request.d.ts +3 -3
  297. package/package.json +1 -1
  298. package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
  299. package/dist/esm/versions/v1/models/deal-all-of-org-id.js +0 -14
  300. package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
  301. package/dist/esm/versions/v1/models/deal-all-of-person-id.js +0 -14
  302. package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +0 -23
  303. package/dist/esm/versions/v1/models/note-deal-all-of.js +0 -14
  304. package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
  305. package/dist/esm/versions/v2/models/product-price-base.d.ts +0 -28
  306. package/dist/esm/versions/v2/models/product-price-base.js +0 -14
  307. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +0 -14
  308. package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +0 -18
  309. package/dist/esm/versions/v2/models/product-request-prices-inner.js +0 -14
  310. package/dist/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
  311. package/dist/versions/v1/models/deal-all-of-org-id.js +0 -15
  312. package/dist/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
  313. package/dist/versions/v1/models/deal-all-of-person-id.js +0 -15
  314. package/dist/versions/v1/models/note-deal-all-of.d.ts +0 -23
  315. package/dist/versions/v1/models/note-deal-all-of.js +0 -15
  316. package/dist/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
  317. package/dist/versions/v2/models/product-price-base.d.ts +0 -28
  318. package/dist/versions/v2/models/product-price-base.js +0 -15
  319. package/dist/versions/v2/models/product-request-prices-inner-all-of.js +0 -15
  320. package/dist/versions/v2/models/product-request-prices-inner.d.ts +0 -18
  321. package/dist/versions/v2/models/product-request-prices-inner.js +0 -15
  322. /package/dist/esm/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
  323. /package/dist/esm/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
  324. /package/dist/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
  325. /package/dist/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
@@ -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 { AddStageRequest } from '../models';
16
16
  import { DeleteStageResponse } from '../models';
17
17
  import { GetStagesResponse } from '../models';
@@ -81,6 +81,14 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
81
81
  * @throws {RequiredError}
82
82
  */
83
83
  addStage(AddStageRequest?: AddStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertStageResponse>>;
84
+ /**
85
+ * Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
86
+ * @summary Add a new stage
87
+ * @param {AddStageRequest} [AddStageRequest]
88
+
89
+ * @throws {RequiredError}
90
+ */
91
+ addStageWithHttpInfo(AddStageRequest?: AddStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertStageResponse>>>;
84
92
  /**
85
93
  * Marks a stage as deleted.
86
94
  * @summary Delete a stage
@@ -89,6 +97,14 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
89
97
  * @throws {RequiredError}
90
98
  */
91
99
  deleteStage(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteStageResponse>>;
100
+ /**
101
+ * Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
102
+ * @summary Delete a stage
103
+ * @param {number} id The ID of the stage
104
+
105
+ * @throws {RequiredError}
106
+ */
107
+ deleteStageWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteStageResponse>>>;
92
108
  /**
93
109
  * Returns data about a specific stage.
94
110
  * @summary Get one stage
@@ -97,6 +113,14 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
97
113
  * @throws {RequiredError}
98
114
  */
99
115
  getStage(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertStageResponse>>;
116
+ /**
117
+ * Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
118
+ * @summary Get one stage
119
+ * @param {number} id The ID of the stage
120
+
121
+ * @throws {RequiredError}
122
+ */
123
+ getStageWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertStageResponse>>>;
100
124
  /**
101
125
  * Returns data about all stages.
102
126
  * @summary Get all stages
@@ -109,6 +133,18 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
109
133
  * @throws {RequiredError}
110
134
  */
111
135
  getStages(pipeline_id?: number, sort_by?: 'id' | 'update_time' | 'add_time' | 'order_nr', sort_direction?: 'asc' | 'desc', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStagesResponse>>;
136
+ /**
137
+ * Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
138
+ * @summary Get all stages
139
+ * @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
140
+ * @param {'id' | 'update_time' | 'add_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;, &#x60;order_nr&#x60;.
141
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
142
+ * @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.
143
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
144
+
145
+ * @throws {RequiredError}
146
+ */
147
+ getStagesWithHttpInfo(pipeline_id?: number, sort_by?: 'id' | 'update_time' | 'add_time' | 'order_nr', sort_direction?: 'asc' | 'desc', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetStagesResponse>>>;
112
148
  /**
113
149
  * Updates the properties of a stage.
114
150
  * @summary Update stage details
@@ -118,6 +154,15 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
118
154
  * @throws {RequiredError}
119
155
  */
120
156
  updateStage(id: number, UpdateStageRequest?: UpdateStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertStageResponse>>;
157
+ /**
158
+ * Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
159
+ * @summary Update stage details
160
+ * @param {number} id The ID of the stage
161
+ * @param {UpdateStageRequest} [UpdateStageRequest]
162
+
163
+ * @throws {RequiredError}
164
+ */
165
+ updateStageWithHttpInfo(id: number, UpdateStageRequest?: UpdateStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertStageResponse>>>;
121
166
  };
122
167
  /**
123
168
  * StagesApi - factory interface
@@ -132,6 +177,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
132
177
  * @throws {RequiredError}
133
178
  */
134
179
  addStage(requestParameters?: StagesApiAddStageRequest): Promise<UpsertStageResponse>;
180
+ addStageWithHttpInfo(requestParameters?: StagesApiAddStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
135
181
  /**
136
182
  * Marks a stage as deleted.
137
183
  * @summary Delete a stage
@@ -140,6 +186,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
140
186
  * @throws {RequiredError}
141
187
  */
142
188
  deleteStage(requestParameters: StagesApiDeleteStageRequest): Promise<DeleteStageResponse>;
189
+ deleteStageWithHttpInfo(requestParameters: StagesApiDeleteStageRequest): Promise<ApiResponse<DeleteStageResponse>>;
143
190
  /**
144
191
  * Returns data about a specific stage.
145
192
  * @summary Get one stage
@@ -148,6 +195,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
148
195
  * @throws {RequiredError}
149
196
  */
150
197
  getStage(requestParameters: StagesApiGetStageRequest): Promise<UpsertStageResponse>;
198
+ getStageWithHttpInfo(requestParameters: StagesApiGetStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
151
199
  /**
152
200
  * Returns data about all stages.
153
201
  * @summary Get all stages
@@ -156,6 +204,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
156
204
  * @throws {RequiredError}
157
205
  */
158
206
  getStages(requestParameters?: StagesApiGetStagesRequest): Promise<GetStagesResponse>;
207
+ getStagesWithHttpInfo(requestParameters?: StagesApiGetStagesRequest): Promise<ApiResponse<GetStagesResponse>>;
159
208
  /**
160
209
  * Updates the properties of a stage.
161
210
  * @summary Update stage details
@@ -164,6 +213,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
164
213
  * @throws {RequiredError}
165
214
  */
166
215
  updateStage(requestParameters: StagesApiUpdateStageRequest): Promise<UpsertStageResponse>;
216
+ updateStageWithHttpInfo(requestParameters: StagesApiUpdateStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
167
217
  };
168
218
  /**
169
219
  * Request parameters for addStage operation in StagesApi.
@@ -276,6 +326,15 @@ export declare class StagesApi extends BaseAPI {
276
326
  * @memberof StagesApi
277
327
  */
278
328
  addStage(requestParameters?: StagesApiAddStageRequest): Promise<UpsertStageResponse>;
329
+ /**
330
+ * Same as `addStage`, 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 {StagesApiAddStageRequest} requestParameters Request parameters.
333
+
334
+ * @throws {RequiredError}
335
+ * @memberof StagesApi
336
+ */
337
+ addStageWithHttpInfo(requestParameters?: StagesApiAddStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
279
338
  /**
280
339
  * Marks a stage as deleted.
281
340
  * @summary Delete a stage
@@ -285,6 +344,15 @@ export declare class StagesApi extends BaseAPI {
285
344
  * @memberof StagesApi
286
345
  */
287
346
  deleteStage(requestParameters: StagesApiDeleteStageRequest): Promise<DeleteStageResponse>;
347
+ /**
348
+ * Same as `deleteStage`, 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 {StagesApiDeleteStageRequest} requestParameters Request parameters.
351
+
352
+ * @throws {RequiredError}
353
+ * @memberof StagesApi
354
+ */
355
+ deleteStageWithHttpInfo(requestParameters: StagesApiDeleteStageRequest): Promise<ApiResponse<DeleteStageResponse>>;
288
356
  /**
289
357
  * Returns data about a specific stage.
290
358
  * @summary Get one stage
@@ -294,6 +362,15 @@ export declare class StagesApi extends BaseAPI {
294
362
  * @memberof StagesApi
295
363
  */
296
364
  getStage(requestParameters: StagesApiGetStageRequest): Promise<UpsertStageResponse>;
365
+ /**
366
+ * Same as `getStage`, 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 {StagesApiGetStageRequest} requestParameters Request parameters.
369
+
370
+ * @throws {RequiredError}
371
+ * @memberof StagesApi
372
+ */
373
+ getStageWithHttpInfo(requestParameters: StagesApiGetStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
297
374
  /**
298
375
  * Returns data about all stages.
299
376
  * @summary Get all stages
@@ -303,6 +380,15 @@ export declare class StagesApi extends BaseAPI {
303
380
  * @memberof StagesApi
304
381
  */
305
382
  getStages(requestParameters?: StagesApiGetStagesRequest): Promise<GetStagesResponse>;
383
+ /**
384
+ * Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
385
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
386
+ * @param {StagesApiGetStagesRequest} requestParameters Request parameters.
387
+
388
+ * @throws {RequiredError}
389
+ * @memberof StagesApi
390
+ */
391
+ getStagesWithHttpInfo(requestParameters?: StagesApiGetStagesRequest): Promise<ApiResponse<GetStagesResponse>>;
306
392
  /**
307
393
  * Updates the properties of a stage.
308
394
  * @summary Update stage details
@@ -312,4 +398,13 @@ export declare class StagesApi extends BaseAPI {
312
398
  * @memberof StagesApi
313
399
  */
314
400
  updateStage(requestParameters: StagesApiUpdateStageRequest): Promise<UpsertStageResponse>;
401
+ /**
402
+ * Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
403
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
404
+ * @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
405
+
406
+ * @throws {RequiredError}
407
+ * @memberof StagesApi
408
+ */
409
+ updateStageWithHttpInfo(requestParameters: StagesApiUpdateStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
315
410
  }
@@ -242,6 +242,19 @@ export const StagesApiFp = function (configuration) {
242
242
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
243
243
  });
244
244
  },
245
+ /**
246
+ * Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
247
+ * @summary Add a new stage
248
+ * @param {AddStageRequest} [AddStageRequest]
249
+
250
+ * @throws {RequiredError}
251
+ */
252
+ addStageWithHttpInfo(AddStageRequest) {
253
+ return __awaiter(this, void 0, void 0, function* () {
254
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addStage(AddStageRequest);
255
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
256
+ });
257
+ },
245
258
  /**
246
259
  * Marks a stage as deleted.
247
260
  * @summary Delete a stage
@@ -255,6 +268,19 @@ export const StagesApiFp = function (configuration) {
255
268
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
256
269
  });
257
270
  },
271
+ /**
272
+ * Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
273
+ * @summary Delete a stage
274
+ * @param {number} id The ID of the stage
275
+
276
+ * @throws {RequiredError}
277
+ */
278
+ deleteStageWithHttpInfo(id) {
279
+ return __awaiter(this, void 0, void 0, function* () {
280
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteStage(id);
281
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
282
+ });
283
+ },
258
284
  /**
259
285
  * Returns data about a specific stage.
260
286
  * @summary Get one stage
@@ -268,6 +294,19 @@ export const StagesApiFp = function (configuration) {
268
294
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
269
295
  });
270
296
  },
297
+ /**
298
+ * Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
299
+ * @summary Get one stage
300
+ * @param {number} id The ID of the stage
301
+
302
+ * @throws {RequiredError}
303
+ */
304
+ getStageWithHttpInfo(id) {
305
+ return __awaiter(this, void 0, void 0, function* () {
306
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStage(id);
307
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
308
+ });
309
+ },
271
310
  /**
272
311
  * Returns data about all stages.
273
312
  * @summary Get all stages
@@ -285,6 +324,23 @@ export const StagesApiFp = function (configuration) {
285
324
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
286
325
  });
287
326
  },
327
+ /**
328
+ * Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
329
+ * @summary Get all stages
330
+ * @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
331
+ * @param {'id' | 'update_time' | 'add_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;, &#x60;order_nr&#x60;.
332
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
333
+ * @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.
334
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
335
+
336
+ * @throws {RequiredError}
337
+ */
338
+ getStagesWithHttpInfo(pipeline_id, sort_by, sort_direction, limit, cursor) {
339
+ return __awaiter(this, void 0, void 0, function* () {
340
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStages(pipeline_id, sort_by, sort_direction, limit, cursor);
341
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
342
+ });
343
+ },
288
344
  /**
289
345
  * Updates the properties of a stage.
290
346
  * @summary Update stage details
@@ -299,6 +355,20 @@ export const StagesApiFp = function (configuration) {
299
355
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
300
356
  });
301
357
  },
358
+ /**
359
+ * Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
360
+ * @summary Update stage details
361
+ * @param {number} id The ID of the stage
362
+ * @param {UpdateStageRequest} [UpdateStageRequest]
363
+
364
+ * @throws {RequiredError}
365
+ */
366
+ updateStageWithHttpInfo(id, UpdateStageRequest) {
367
+ return __awaiter(this, void 0, void 0, function* () {
368
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateStage(id, UpdateStageRequest);
369
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
370
+ });
371
+ },
302
372
  };
303
373
  };
304
374
  /**
@@ -318,6 +388,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
318
388
  addStage(requestParameters = {}) {
319
389
  return localVarFp.addStage(requestParameters.AddStageRequest).then((request) => request(axios, basePath));
320
390
  },
391
+ addStageWithHttpInfo(requestParameters = {}) {
392
+ return localVarFp.addStageWithHttpInfo(requestParameters.AddStageRequest).then((request) => request(axios, basePath));
393
+ },
321
394
  /**
322
395
  * Marks a stage as deleted.
323
396
  * @summary Delete a stage
@@ -328,6 +401,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
328
401
  deleteStage(requestParameters) {
329
402
  return localVarFp.deleteStage(requestParameters.id).then((request) => request(axios, basePath));
330
403
  },
404
+ deleteStageWithHttpInfo(requestParameters) {
405
+ return localVarFp.deleteStageWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
406
+ },
331
407
  /**
332
408
  * Returns data about a specific stage.
333
409
  * @summary Get one stage
@@ -338,6 +414,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
338
414
  getStage(requestParameters) {
339
415
  return localVarFp.getStage(requestParameters.id).then((request) => request(axios, basePath));
340
416
  },
417
+ getStageWithHttpInfo(requestParameters) {
418
+ return localVarFp.getStageWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
419
+ },
341
420
  /**
342
421
  * Returns data about all stages.
343
422
  * @summary Get all stages
@@ -348,6 +427,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
348
427
  getStages(requestParameters = {}) {
349
428
  return localVarFp.getStages(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
350
429
  },
430
+ getStagesWithHttpInfo(requestParameters = {}) {
431
+ return localVarFp.getStagesWithHttpInfo(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
432
+ },
351
433
  /**
352
434
  * Updates the properties of a stage.
353
435
  * @summary Update stage details
@@ -358,6 +440,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
358
440
  updateStage(requestParameters) {
359
441
  return localVarFp.updateStage(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(axios, basePath));
360
442
  },
443
+ updateStageWithHttpInfo(requestParameters) {
444
+ return localVarFp.updateStageWithHttpInfo(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(axios, basePath));
445
+ },
361
446
  };
362
447
  };
363
448
  /**
@@ -378,6 +463,17 @@ export class StagesApi extends BaseAPI {
378
463
  addStage(requestParameters = {}) {
379
464
  return StagesApiFp(this.configuration).addStage(requestParameters.AddStageRequest).then((request) => request(this.axios, this.basePath));
380
465
  }
466
+ /**
467
+ * Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
468
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
469
+ * @param {StagesApiAddStageRequest} requestParameters Request parameters.
470
+
471
+ * @throws {RequiredError}
472
+ * @memberof StagesApi
473
+ */
474
+ addStageWithHttpInfo(requestParameters = {}) {
475
+ return StagesApiFp(this.configuration).addStageWithHttpInfo(requestParameters.AddStageRequest).then((request) => request(this.axios, this.basePath));
476
+ }
381
477
  /**
382
478
  * Marks a stage as deleted.
383
479
  * @summary Delete a stage
@@ -389,6 +485,17 @@ export class StagesApi extends BaseAPI {
389
485
  deleteStage(requestParameters) {
390
486
  return StagesApiFp(this.configuration).deleteStage(requestParameters.id).then((request) => request(this.axios, this.basePath));
391
487
  }
488
+ /**
489
+ * Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
490
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
491
+ * @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
492
+
493
+ * @throws {RequiredError}
494
+ * @memberof StagesApi
495
+ */
496
+ deleteStageWithHttpInfo(requestParameters) {
497
+ return StagesApiFp(this.configuration).deleteStageWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
498
+ }
392
499
  /**
393
500
  * Returns data about a specific stage.
394
501
  * @summary Get one stage
@@ -400,6 +507,17 @@ export class StagesApi extends BaseAPI {
400
507
  getStage(requestParameters) {
401
508
  return StagesApiFp(this.configuration).getStage(requestParameters.id).then((request) => request(this.axios, this.basePath));
402
509
  }
510
+ /**
511
+ * Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
512
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
513
+ * @param {StagesApiGetStageRequest} requestParameters Request parameters.
514
+
515
+ * @throws {RequiredError}
516
+ * @memberof StagesApi
517
+ */
518
+ getStageWithHttpInfo(requestParameters) {
519
+ return StagesApiFp(this.configuration).getStageWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
520
+ }
403
521
  /**
404
522
  * Returns data about all stages.
405
523
  * @summary Get all stages
@@ -411,6 +529,17 @@ export class StagesApi extends BaseAPI {
411
529
  getStages(requestParameters = {}) {
412
530
  return StagesApiFp(this.configuration).getStages(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
413
531
  }
532
+ /**
533
+ * Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
534
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
535
+ * @param {StagesApiGetStagesRequest} requestParameters Request parameters.
536
+
537
+ * @throws {RequiredError}
538
+ * @memberof StagesApi
539
+ */
540
+ getStagesWithHttpInfo(requestParameters = {}) {
541
+ return StagesApiFp(this.configuration).getStagesWithHttpInfo(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
542
+ }
414
543
  /**
415
544
  * Updates the properties of a stage.
416
545
  * @summary Update stage details
@@ -422,4 +551,15 @@ export class StagesApi extends BaseAPI {
422
551
  updateStage(requestParameters) {
423
552
  return StagesApiFp(this.configuration).updateStage(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(this.axios, this.basePath));
424
553
  }
554
+ /**
555
+ * Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
556
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
557
+ * @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
558
+
559
+ * @throws {RequiredError}
560
+ * @memberof StagesApi
561
+ */
562
+ updateStageWithHttpInfo(requestParameters) {
563
+ return StagesApiFp(this.configuration).updateStageWithHttpInfo(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(this.axios, this.basePath));
564
+ }
425
565
  }
@@ -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 { AddTaskRequest } from '../models';
16
16
  import { AddTaskResponse } from '../models';
17
17
  import { DeleteTaskResponse } from '../models';
@@ -85,6 +85,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
85
85
  * @throws {RequiredError}
86
86
  */
87
87
  addTask(AddTaskRequest: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddTaskResponse>>;
88
+ /**
89
+ * Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
90
+ * @summary Add a task
91
+ * @param {AddTaskRequest} AddTaskRequest
92
+
93
+ * @throws {RequiredError}
94
+ */
95
+ addTaskWithHttpInfo(AddTaskRequest: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddTaskResponse>>>;
88
96
  /**
89
97
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
90
98
  * @summary Delete a task
@@ -93,6 +101,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
93
101
  * @throws {RequiredError}
94
102
  */
95
103
  deleteTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteTaskResponse>>;
104
+ /**
105
+ * Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
106
+ * @summary Delete a task
107
+ * @param {number} id The ID of the task
108
+
109
+ * @throws {RequiredError}
110
+ */
111
+ deleteTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteTaskResponse>>>;
96
112
  /**
97
113
  * Returns the details of a specific task.
98
114
  * @summary Get details of a task
@@ -101,6 +117,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
101
117
  * @throws {RequiredError}
102
118
  */
103
119
  getTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTaskResponse>>;
120
+ /**
121
+ * Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
122
+ * @summary Get details of a task
123
+ * @param {number} id The ID of the task
124
+
125
+ * @throws {RequiredError}
126
+ */
127
+ getTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTaskResponse>>>;
104
128
  /**
105
129
  * Returns all tasks.
106
130
  * @summary Get all tasks
@@ -115,6 +139,20 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
115
139
  * @throws {RequiredError}
116
140
  */
117
141
  getTasks(cursor?: string, limit?: number, is_done?: boolean, is_milestone?: boolean, assignee_id?: number, project_id?: number, parent_task_id?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTasksResponse>>;
142
+ /**
143
+ * Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
144
+ * @summary Get all tasks
145
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
146
+ * @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.
147
+ * @param {boolean} [is_done] Whether the task is done or not. If omitted, both done and not done tasks are returned.
148
+ * @param {boolean} [is_milestone] Whether the task is a milestone or not. If omitted, both milestone and non-milestone tasks are returned.
149
+ * @param {number} [assignee_id] If supplied, only tasks assigned to this user are returned
150
+ * @param {number} [project_id] If supplied, only tasks belonging to this project are returned
151
+ * @param {string} [parent_task_id] If &#x60;null&#x60; is supplied, only root-level tasks (without a parent) are returned. If an integer is supplied, only subtasks of that specific task are returned. By default all tasks are returned.
152
+
153
+ * @throws {RequiredError}
154
+ */
155
+ getTasksWithHttpInfo(cursor?: string, limit?: number, is_done?: boolean, is_milestone?: boolean, assignee_id?: number, project_id?: number, parent_task_id?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTasksResponse>>>;
118
156
  /**
119
157
  * Updates a task.
120
158
  * @summary Update a task
@@ -124,6 +162,15 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
124
162
  * @throws {RequiredError}
125
163
  */
126
164
  updateTask(id: number, UpdateTaskRequest?: UpdateTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateTaskResponse>>;
165
+ /**
166
+ * Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
167
+ * @summary Update a task
168
+ * @param {number} id The ID of the task
169
+ * @param {UpdateTaskRequest} [UpdateTaskRequest]
170
+
171
+ * @throws {RequiredError}
172
+ */
173
+ updateTaskWithHttpInfo(id: number, UpdateTaskRequest?: UpdateTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateTaskResponse>>>;
127
174
  };
128
175
  /**
129
176
  * TasksApi - factory interface
@@ -138,6 +185,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
138
185
  * @throws {RequiredError}
139
186
  */
140
187
  addTask(requestParameters: TasksApiAddTaskRequest): Promise<AddTaskResponse>;
188
+ addTaskWithHttpInfo(requestParameters: TasksApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
141
189
  /**
142
190
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
143
191
  * @summary Delete a task
@@ -146,6 +194,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
146
194
  * @throws {RequiredError}
147
195
  */
148
196
  deleteTask(requestParameters: TasksApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
197
+ deleteTaskWithHttpInfo(requestParameters: TasksApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
149
198
  /**
150
199
  * Returns the details of a specific task.
151
200
  * @summary Get details of a task
@@ -154,6 +203,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
154
203
  * @throws {RequiredError}
155
204
  */
156
205
  getTask(requestParameters: TasksApiGetTaskRequest): Promise<GetTaskResponse>;
206
+ getTaskWithHttpInfo(requestParameters: TasksApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
157
207
  /**
158
208
  * Returns all tasks.
159
209
  * @summary Get all tasks
@@ -162,6 +212,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
162
212
  * @throws {RequiredError}
163
213
  */
164
214
  getTasks(requestParameters?: TasksApiGetTasksRequest): Promise<GetTasksResponse>;
215
+ getTasksWithHttpInfo(requestParameters?: TasksApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
165
216
  /**
166
217
  * Updates a task.
167
218
  * @summary Update a task
@@ -170,6 +221,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
170
221
  * @throws {RequiredError}
171
222
  */
172
223
  updateTask(requestParameters: TasksApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
224
+ updateTaskWithHttpInfo(requestParameters: TasksApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
173
225
  };
174
226
  /**
175
227
  * Request parameters for addTask operation in TasksApi.
@@ -294,6 +346,15 @@ export declare class TasksApi extends BaseAPI {
294
346
  * @memberof TasksApi
295
347
  */
296
348
  addTask(requestParameters: TasksApiAddTaskRequest): Promise<AddTaskResponse>;
349
+ /**
350
+ * Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
351
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
352
+ * @param {TasksApiAddTaskRequest} requestParameters Request parameters.
353
+
354
+ * @throws {RequiredError}
355
+ * @memberof TasksApi
356
+ */
357
+ addTaskWithHttpInfo(requestParameters: TasksApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
297
358
  /**
298
359
  * Marks a task as deleted. If the task has subtasks, those will also be deleted.
299
360
  * @summary Delete a task
@@ -303,6 +364,15 @@ export declare class TasksApi extends BaseAPI {
303
364
  * @memberof TasksApi
304
365
  */
305
366
  deleteTask(requestParameters: TasksApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
367
+ /**
368
+ * Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
369
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
370
+ * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
371
+
372
+ * @throws {RequiredError}
373
+ * @memberof TasksApi
374
+ */
375
+ deleteTaskWithHttpInfo(requestParameters: TasksApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
306
376
  /**
307
377
  * Returns the details of a specific task.
308
378
  * @summary Get details of a task
@@ -312,6 +382,15 @@ export declare class TasksApi extends BaseAPI {
312
382
  * @memberof TasksApi
313
383
  */
314
384
  getTask(requestParameters: TasksApiGetTaskRequest): Promise<GetTaskResponse>;
385
+ /**
386
+ * Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
387
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
388
+ * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
389
+
390
+ * @throws {RequiredError}
391
+ * @memberof TasksApi
392
+ */
393
+ getTaskWithHttpInfo(requestParameters: TasksApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
315
394
  /**
316
395
  * Returns all tasks.
317
396
  * @summary Get all tasks
@@ -321,6 +400,15 @@ export declare class TasksApi extends BaseAPI {
321
400
  * @memberof TasksApi
322
401
  */
323
402
  getTasks(requestParameters?: TasksApiGetTasksRequest): Promise<GetTasksResponse>;
403
+ /**
404
+ * Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
405
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
406
+ * @param {TasksApiGetTasksRequest} requestParameters Request parameters.
407
+
408
+ * @throws {RequiredError}
409
+ * @memberof TasksApi
410
+ */
411
+ getTasksWithHttpInfo(requestParameters?: TasksApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
324
412
  /**
325
413
  * Updates a task.
326
414
  * @summary Update a task
@@ -330,4 +418,13 @@ export declare class TasksApi extends BaseAPI {
330
418
  * @memberof TasksApi
331
419
  */
332
420
  updateTask(requestParameters: TasksApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
421
+ /**
422
+ * Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
423
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
424
+ * @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
425
+
426
+ * @throws {RequiredError}
427
+ * @memberof TasksApi
428
+ */
429
+ updateTaskWithHttpInfo(requestParameters: TasksApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
333
430
  }