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
@@ -358,6 +358,19 @@ const ProjectFieldsApiFp = function (configuration) {
358
358
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
359
359
  });
360
360
  },
361
+ /**
362
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
363
+ * @summary Create one project field
364
+ * @param {AddProjectFieldRequest} AddProjectFieldRequest
365
+
366
+ * @throws {RequiredError}
367
+ */
368
+ addProjectFieldWithHttpInfo(AddProjectFieldRequest) {
369
+ return __awaiter(this, void 0, void 0, function* () {
370
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectField(AddProjectFieldRequest);
371
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
372
+ });
373
+ },
361
374
  /**
362
375
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
363
376
  * @summary Add project field options in bulk
@@ -372,6 +385,20 @@ const ProjectFieldsApiFp = function (configuration) {
372
385
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
373
386
  });
374
387
  },
388
+ /**
389
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
390
+ * @summary Add project field options in bulk
391
+ * @param {string} field_code The unique code identifying the field
392
+ * @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
393
+
394
+ * @throws {RequiredError}
395
+ */
396
+ addProjectFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
397
+ return __awaiter(this, void 0, void 0, function* () {
398
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectFieldOptions(field_code, AddDealFieldOptionsRequestInner);
399
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
400
+ });
401
+ },
375
402
  /**
376
403
  * Marks a custom field as deleted.
377
404
  * @summary Delete one project field
@@ -385,6 +412,19 @@ const ProjectFieldsApiFp = function (configuration) {
385
412
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
386
413
  });
387
414
  },
415
+ /**
416
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
417
+ * @summary Delete one project field
418
+ * @param {string} field_code The unique code identifying the field
419
+
420
+ * @throws {RequiredError}
421
+ */
422
+ deleteProjectFieldWithHttpInfo(field_code) {
423
+ return __awaiter(this, void 0, void 0, function* () {
424
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectField(field_code);
425
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
426
+ });
427
+ },
388
428
  /**
389
429
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
390
430
  * @summary Delete project field options in bulk
@@ -399,6 +439,20 @@ const ProjectFieldsApiFp = function (configuration) {
399
439
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
400
440
  });
401
441
  },
442
+ /**
443
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
444
+ * @summary Delete project field options in bulk
445
+ * @param {string} field_code The unique code identifying the field
446
+ * @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
447
+
448
+ * @throws {RequiredError}
449
+ */
450
+ deleteProjectFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
451
+ return __awaiter(this, void 0, void 0, function* () {
452
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
453
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
454
+ });
455
+ },
402
456
  /**
403
457
  * Returns metadata about a specific project field.
404
458
  * @summary Get one project field
@@ -412,6 +466,19 @@ const ProjectFieldsApiFp = function (configuration) {
412
466
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
413
467
  });
414
468
  },
469
+ /**
470
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
471
+ * @summary Get one project field
472
+ * @param {string} field_code The unique code identifying the field
473
+
474
+ * @throws {RequiredError}
475
+ */
476
+ getProjectFieldWithHttpInfo(field_code) {
477
+ return __awaiter(this, void 0, void 0, function* () {
478
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectField(field_code);
479
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
480
+ });
481
+ },
415
482
  /**
416
483
  * Returns metadata about all project fields in the company.
417
484
  * @summary Get all project fields
@@ -426,6 +493,20 @@ const ProjectFieldsApiFp = function (configuration) {
426
493
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
427
494
  });
428
495
  },
496
+ /**
497
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
498
+ * @summary Get all project fields
499
+ * @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.
500
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
501
+
502
+ * @throws {RequiredError}
503
+ */
504
+ getProjectFieldsWithHttpInfo(limit, cursor) {
505
+ return __awaiter(this, void 0, void 0, function* () {
506
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectFields(limit, cursor);
507
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
508
+ });
509
+ },
429
510
  /**
430
511
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
431
512
  * @summary Update one project field
@@ -440,6 +521,20 @@ const ProjectFieldsApiFp = function (configuration) {
440
521
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
441
522
  });
442
523
  },
524
+ /**
525
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
526
+ * @summary Update one project field
527
+ * @param {string} field_code The unique code identifying the field
528
+ * @param {UpdateProjectFieldRequest} UpdateProjectFieldRequest
529
+
530
+ * @throws {RequiredError}
531
+ */
532
+ updateProjectFieldWithHttpInfo(field_code, UpdateProjectFieldRequest) {
533
+ return __awaiter(this, void 0, void 0, function* () {
534
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectField(field_code, UpdateProjectFieldRequest);
535
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
536
+ });
537
+ },
443
538
  /**
444
539
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
445
540
  * @summary Update project field options in bulk
@@ -454,6 +549,20 @@ const ProjectFieldsApiFp = function (configuration) {
454
549
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
455
550
  });
456
551
  },
552
+ /**
553
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
554
+ * @summary Update project field options in bulk
555
+ * @param {string} field_code The unique code identifying the field
556
+ * @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
557
+
558
+ * @throws {RequiredError}
559
+ */
560
+ updateProjectFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
561
+ return __awaiter(this, void 0, void 0, function* () {
562
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
563
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
564
+ });
565
+ },
457
566
  };
458
567
  };
459
568
  exports.ProjectFieldsApiFp = ProjectFieldsApiFp;
@@ -474,6 +583,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
474
583
  addProjectField(requestParameters) {
475
584
  return localVarFp.addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
476
585
  },
586
+ addProjectFieldWithHttpInfo(requestParameters) {
587
+ return localVarFp.addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
588
+ },
477
589
  /**
478
590
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
479
591
  * @summary Add project field options in bulk
@@ -484,6 +596,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
484
596
  addProjectFieldOptions(requestParameters) {
485
597
  return localVarFp.addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
486
598
  },
599
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
600
+ return localVarFp.addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
601
+ },
487
602
  /**
488
603
  * Marks a custom field as deleted.
489
604
  * @summary Delete one project field
@@ -494,6 +609,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
494
609
  deleteProjectField(requestParameters) {
495
610
  return localVarFp.deleteProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
496
611
  },
612
+ deleteProjectFieldWithHttpInfo(requestParameters) {
613
+ return localVarFp.deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
614
+ },
497
615
  /**
498
616
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
499
617
  * @summary Delete project field options in bulk
@@ -504,6 +622,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
504
622
  deleteProjectFieldOptions(requestParameters) {
505
623
  return localVarFp.deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
506
624
  },
625
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
626
+ return localVarFp.deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
627
+ },
507
628
  /**
508
629
  * Returns metadata about a specific project field.
509
630
  * @summary Get one project field
@@ -514,6 +635,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
514
635
  getProjectField(requestParameters) {
515
636
  return localVarFp.getProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
516
637
  },
638
+ getProjectFieldWithHttpInfo(requestParameters) {
639
+ return localVarFp.getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
640
+ },
517
641
  /**
518
642
  * Returns metadata about all project fields in the company.
519
643
  * @summary Get all project fields
@@ -524,6 +648,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
524
648
  getProjectFields(requestParameters = {}) {
525
649
  return localVarFp.getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
526
650
  },
651
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
652
+ return localVarFp.getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
653
+ },
527
654
  /**
528
655
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
529
656
  * @summary Update one project field
@@ -534,6 +661,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
534
661
  updateProjectField(requestParameters) {
535
662
  return localVarFp.updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
536
663
  },
664
+ updateProjectFieldWithHttpInfo(requestParameters) {
665
+ return localVarFp.updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
666
+ },
537
667
  /**
538
668
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
539
669
  * @summary Update project field options in bulk
@@ -544,6 +674,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
544
674
  updateProjectFieldOptions(requestParameters) {
545
675
  return localVarFp.updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
546
676
  },
677
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
678
+ return localVarFp.updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
679
+ },
547
680
  };
548
681
  };
549
682
  exports.ProjectFieldsApiFactory = ProjectFieldsApiFactory;
@@ -565,6 +698,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
565
698
  addProjectField(requestParameters) {
566
699
  return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
567
700
  }
701
+ /**
702
+ * Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
703
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
704
+ * @param {ProjectFieldsApiAddProjectFieldRequest} requestParameters Request parameters.
705
+
706
+ * @throws {RequiredError}
707
+ * @memberof ProjectFieldsApi
708
+ */
709
+ addProjectFieldWithHttpInfo(requestParameters) {
710
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
711
+ }
568
712
  /**
569
713
  * Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
570
714
  * @summary Add project field options in bulk
@@ -576,6 +720,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
576
720
  addProjectFieldOptions(requestParameters) {
577
721
  return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
578
722
  }
723
+ /**
724
+ * Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
725
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
726
+ * @param {ProjectFieldsApiAddProjectFieldOptionsRequest} requestParameters Request parameters.
727
+
728
+ * @throws {RequiredError}
729
+ * @memberof ProjectFieldsApi
730
+ */
731
+ addProjectFieldOptionsWithHttpInfo(requestParameters) {
732
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
733
+ }
579
734
  /**
580
735
  * Marks a custom field as deleted.
581
736
  * @summary Delete one project field
@@ -587,6 +742,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
587
742
  deleteProjectField(requestParameters) {
588
743
  return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
589
744
  }
745
+ /**
746
+ * Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
747
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
748
+ * @param {ProjectFieldsApiDeleteProjectFieldRequest} requestParameters Request parameters.
749
+
750
+ * @throws {RequiredError}
751
+ * @memberof ProjectFieldsApi
752
+ */
753
+ deleteProjectFieldWithHttpInfo(requestParameters) {
754
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
755
+ }
590
756
  /**
591
757
  * Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
592
758
  * @summary Delete project field options in bulk
@@ -598,6 +764,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
598
764
  deleteProjectFieldOptions(requestParameters) {
599
765
  return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
600
766
  }
767
+ /**
768
+ * Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
769
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
770
+ * @param {ProjectFieldsApiDeleteProjectFieldOptionsRequest} requestParameters Request parameters.
771
+
772
+ * @throws {RequiredError}
773
+ * @memberof ProjectFieldsApi
774
+ */
775
+ deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
776
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
777
+ }
601
778
  /**
602
779
  * Returns metadata about a specific project field.
603
780
  * @summary Get one project field
@@ -609,6 +786,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
609
786
  getProjectField(requestParameters) {
610
787
  return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
611
788
  }
789
+ /**
790
+ * Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
791
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
792
+ * @param {ProjectFieldsApiGetProjectFieldRequest} requestParameters Request parameters.
793
+
794
+ * @throws {RequiredError}
795
+ * @memberof ProjectFieldsApi
796
+ */
797
+ getProjectFieldWithHttpInfo(requestParameters) {
798
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
799
+ }
612
800
  /**
613
801
  * Returns metadata about all project fields in the company.
614
802
  * @summary Get all project fields
@@ -620,6 +808,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
620
808
  getProjectFields(requestParameters = {}) {
621
809
  return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
622
810
  }
811
+ /**
812
+ * Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
813
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
814
+ * @param {ProjectFieldsApiGetProjectFieldsRequest} requestParameters Request parameters.
815
+
816
+ * @throws {RequiredError}
817
+ * @memberof ProjectFieldsApi
818
+ */
819
+ getProjectFieldsWithHttpInfo(requestParameters = {}) {
820
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
821
+ }
623
822
  /**
624
823
  * Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
625
824
  * @summary Update one project field
@@ -631,6 +830,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
631
830
  updateProjectField(requestParameters) {
632
831
  return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
633
832
  }
833
+ /**
834
+ * Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
835
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
836
+ * @param {ProjectFieldsApiUpdateProjectFieldRequest} requestParameters Request parameters.
837
+
838
+ * @throws {RequiredError}
839
+ * @memberof ProjectFieldsApi
840
+ */
841
+ updateProjectFieldWithHttpInfo(requestParameters) {
842
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
843
+ }
634
844
  /**
635
845
  * Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
636
846
  * @summary Update project field options in bulk
@@ -642,5 +852,16 @@ class ProjectFieldsApi extends base_1.BaseAPI {
642
852
  updateProjectFieldOptions(requestParameters) {
643
853
  return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
644
854
  }
855
+ /**
856
+ * Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
857
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
858
+ * @param {ProjectFieldsApiUpdateProjectFieldOptionsRequest} requestParameters Request parameters.
859
+
860
+ * @throws {RequiredError}
861
+ * @memberof ProjectFieldsApi
862
+ */
863
+ updateProjectFieldOptionsWithHttpInfo(requestParameters) {
864
+ return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
865
+ }
645
866
  }
646
867
  exports.ProjectFieldsApi = ProjectFieldsApi;
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs, BaseAPI, ApiResponse } from '../base';
15
15
  import { AddProjectPhaseRequest } from '../models';
16
16
  import { DeleteProjectPhaseResponse } from '../models';
17
17
  import { GetProjectPhasesResponse } from '../models';
@@ -77,6 +77,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
77
77
  * @throws {RequiredError}
78
78
  */
79
79
  addProjectPhase(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
80
+ /**
81
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
82
+ * @summary Add a project phase
83
+ * @param {AddProjectPhaseRequest} AddProjectPhaseRequest
84
+
85
+ * @throws {RequiredError}
86
+ */
87
+ addProjectPhaseWithHttpInfo(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
80
88
  /**
81
89
  * Marks a project phase as deleted.
82
90
  * @summary Delete a project phase
@@ -85,6 +93,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
85
93
  * @throws {RequiredError}
86
94
  */
87
95
  deleteProjectPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProjectPhaseResponse>>;
96
+ /**
97
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
98
+ * @summary Delete a project phase
99
+ * @param {number} id The ID of the project phase
100
+
101
+ * @throws {RequiredError}
102
+ */
103
+ deleteProjectPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProjectPhaseResponse>>>;
88
104
  /**
89
105
  * Returns the details of a specific project phase.
90
106
  * @summary Get details of a project phase
@@ -93,6 +109,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
93
109
  * @throws {RequiredError}
94
110
  */
95
111
  getProjectsPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
112
+ /**
113
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
114
+ * @summary Get details of a project phase
115
+ * @param {number} id The ID of the project phase
116
+
117
+ * @throws {RequiredError}
118
+ */
119
+ getProjectsPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
96
120
  /**
97
121
  * Returns all active project phases under a specific board.
98
122
  * @summary Get project phases
@@ -101,6 +125,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
101
125
  * @throws {RequiredError}
102
126
  */
103
127
  getProjectsPhases(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectPhasesResponse>>;
128
+ /**
129
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
130
+ * @summary Get project phases
131
+ * @param {number} board_id The ID of the board for which phases are requested
132
+
133
+ * @throws {RequiredError}
134
+ */
135
+ getProjectsPhasesWithHttpInfo(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectPhasesResponse>>>;
104
136
  /**
105
137
  * Updates the properties of a project phase.
106
138
  * @summary Update a project phase
@@ -110,6 +142,15 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
110
142
  * @throws {RequiredError}
111
143
  */
112
144
  updateProjectPhase(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
145
+ /**
146
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
147
+ * @summary Update a project phase
148
+ * @param {number} id The ID of the project phase
149
+ * @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
150
+
151
+ * @throws {RequiredError}
152
+ */
153
+ updateProjectPhaseWithHttpInfo(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
113
154
  };
114
155
  /**
115
156
  * ProjectPhasesApi - factory interface
@@ -124,6 +165,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
124
165
  * @throws {RequiredError}
125
166
  */
126
167
  addProjectPhase(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
168
+ addProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
127
169
  /**
128
170
  * Marks a project phase as deleted.
129
171
  * @summary Delete a project phase
@@ -132,6 +174,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
132
174
  * @throws {RequiredError}
133
175
  */
134
176
  deleteProjectPhase(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
177
+ deleteProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
135
178
  /**
136
179
  * Returns the details of a specific project phase.
137
180
  * @summary Get details of a project phase
@@ -140,6 +183,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
140
183
  * @throws {RequiredError}
141
184
  */
142
185
  getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
186
+ getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
143
187
  /**
144
188
  * Returns all active project phases under a specific board.
145
189
  * @summary Get project phases
@@ -148,6 +192,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
148
192
  * @throws {RequiredError}
149
193
  */
150
194
  getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
195
+ getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
151
196
  /**
152
197
  * Updates the properties of a project phase.
153
198
  * @summary Update a project phase
@@ -156,6 +201,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
156
201
  * @throws {RequiredError}
157
202
  */
158
203
  updateProjectPhase(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
204
+ updateProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
159
205
  };
160
206
  /**
161
207
  * Request parameters for addProjectPhase operation in ProjectPhasesApi.
@@ -244,6 +290,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
244
290
  * @memberof ProjectPhasesApi
245
291
  */
246
292
  addProjectPhase(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
293
+ /**
294
+ * Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
295
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
296
+ * @param {ProjectPhasesApiAddProjectPhaseRequest} requestParameters Request parameters.
297
+
298
+ * @throws {RequiredError}
299
+ * @memberof ProjectPhasesApi
300
+ */
301
+ addProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
247
302
  /**
248
303
  * Marks a project phase as deleted.
249
304
  * @summary Delete a project phase
@@ -253,6 +308,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
253
308
  * @memberof ProjectPhasesApi
254
309
  */
255
310
  deleteProjectPhase(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
311
+ /**
312
+ * Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
313
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
314
+ * @param {ProjectPhasesApiDeleteProjectPhaseRequest} requestParameters Request parameters.
315
+
316
+ * @throws {RequiredError}
317
+ * @memberof ProjectPhasesApi
318
+ */
319
+ deleteProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
256
320
  /**
257
321
  * Returns the details of a specific project phase.
258
322
  * @summary Get details of a project phase
@@ -262,6 +326,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
262
326
  * @memberof ProjectPhasesApi
263
327
  */
264
328
  getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
329
+ /**
330
+ * Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
331
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
332
+ * @param {ProjectPhasesApiGetProjectsPhaseRequest} requestParameters Request parameters.
333
+
334
+ * @throws {RequiredError}
335
+ * @memberof ProjectPhasesApi
336
+ */
337
+ getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
265
338
  /**
266
339
  * Returns all active project phases under a specific board.
267
340
  * @summary Get project phases
@@ -271,6 +344,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
271
344
  * @memberof ProjectPhasesApi
272
345
  */
273
346
  getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
347
+ /**
348
+ * Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
349
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
350
+ * @param {ProjectPhasesApiGetProjectsPhasesRequest} requestParameters Request parameters.
351
+
352
+ * @throws {RequiredError}
353
+ * @memberof ProjectPhasesApi
354
+ */
355
+ getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
274
356
  /**
275
357
  * Updates the properties of a project phase.
276
358
  * @summary Update a project phase
@@ -280,4 +362,13 @@ export declare class ProjectPhasesApi extends BaseAPI {
280
362
  * @memberof ProjectPhasesApi
281
363
  */
282
364
  updateProjectPhase(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
365
+ /**
366
+ * Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
367
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
368
+ * @param {ProjectPhasesApiUpdateProjectPhaseRequest} requestParameters Request parameters.
369
+
370
+ * @throws {RequiredError}
371
+ * @memberof ProjectPhasesApi
372
+ */
373
+ updateProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
283
374
  }