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
@@ -223,6 +223,20 @@ export const DealInstallmentsApiFp = function (configuration) {
223
223
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
224
224
  });
225
225
  },
226
+ /**
227
+ * Same as `deleteInstallment`, but resolves with the response body together with the HTTP status and headers.
228
+ * @summary Delete an installment from a deal
229
+ * @param {number} id The ID of the deal
230
+ * @param {number} installment_id The ID of the installment
231
+
232
+ * @throws {RequiredError}
233
+ */
234
+ deleteInstallmentWithHttpInfo(id, installment_id) {
235
+ return __awaiter(this, void 0, void 0, function* () {
236
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInstallment(id, installment_id);
237
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
238
+ });
239
+ },
226
240
  /**
227
241
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
228
242
  * @summary List installments added to a list of deals
@@ -240,6 +254,23 @@ export const DealInstallmentsApiFp = function (configuration) {
240
254
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
241
255
  });
242
256
  },
257
+ /**
258
+ * Same as `getInstallments`, but resolves with the response body together with the HTTP status and headers.
259
+ * @summary List installments added to a list of deals
260
+ * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached installments will be returned. A maximum of 100 deal IDs can be provided.
261
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
262
+ * @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.
263
+ * @param {'id' | 'billing_date' | 'deal_id'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;billing_date&#x60;, &#x60;deal_id&#x60;.
264
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
265
+
266
+ * @throws {RequiredError}
267
+ */
268
+ getInstallmentsWithHttpInfo(deal_ids, cursor, limit, sort_by, sort_direction) {
269
+ return __awaiter(this, void 0, void 0, function* () {
270
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstallments(deal_ids, cursor, limit, sort_by, sort_direction);
271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
272
+ });
273
+ },
243
274
  /**
244
275
  * Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Growth and above plans.
245
276
  * @summary Add an installment to a deal
@@ -254,6 +285,20 @@ export const DealInstallmentsApiFp = function (configuration) {
254
285
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
255
286
  });
256
287
  },
288
+ /**
289
+ * Same as `postInstallment`, but resolves with the response body together with the HTTP status and headers.
290
+ * @summary Add an installment to a deal
291
+ * @param {number} id The ID of the deal
292
+ * @param {AddInstallmentRequestBody} [AddInstallmentRequestBody]
293
+
294
+ * @throws {RequiredError}
295
+ */
296
+ postInstallmentWithHttpInfo(id, AddInstallmentRequestBody) {
297
+ return __awaiter(this, void 0, void 0, function* () {
298
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.postInstallment(id, AddInstallmentRequestBody);
299
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
300
+ });
301
+ },
257
302
  /**
258
303
  * Edits an installment added to a deal. Only available in Growth and above plans.
259
304
  * @summary Update an installment added to a deal
@@ -269,6 +314,21 @@ export const DealInstallmentsApiFp = function (configuration) {
269
314
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
270
315
  });
271
316
  },
317
+ /**
318
+ * Same as `updateInstallment`, but resolves with the response body together with the HTTP status and headers.
319
+ * @summary Update an installment added to a deal
320
+ * @param {number} id The ID of the deal
321
+ * @param {number} installment_id The ID of the installment
322
+ * @param {UpdateInstallmentRequestBody} [UpdateInstallmentRequestBody]
323
+
324
+ * @throws {RequiredError}
325
+ */
326
+ updateInstallmentWithHttpInfo(id, installment_id, UpdateInstallmentRequestBody) {
327
+ return __awaiter(this, void 0, void 0, function* () {
328
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateInstallment(id, installment_id, UpdateInstallmentRequestBody);
329
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
330
+ });
331
+ },
272
332
  };
273
333
  };
274
334
  /**
@@ -288,6 +348,9 @@ export const DealInstallmentsApiFactory = function (configuration, basePath, axi
288
348
  deleteInstallment(requestParameters) {
289
349
  return localVarFp.deleteInstallment(requestParameters.id, requestParameters.installment_id).then((request) => request(axios, basePath));
290
350
  },
351
+ deleteInstallmentWithHttpInfo(requestParameters) {
352
+ return localVarFp.deleteInstallmentWithHttpInfo(requestParameters.id, requestParameters.installment_id).then((request) => request(axios, basePath));
353
+ },
291
354
  /**
292
355
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
293
356
  * @summary List installments added to a list of deals
@@ -298,6 +361,9 @@ export const DealInstallmentsApiFactory = function (configuration, basePath, axi
298
361
  getInstallments(requestParameters) {
299
362
  return localVarFp.getInstallments(requestParameters.deal_ids, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction).then((request) => request(axios, basePath));
300
363
  },
364
+ getInstallmentsWithHttpInfo(requestParameters) {
365
+ return localVarFp.getInstallmentsWithHttpInfo(requestParameters.deal_ids, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction).then((request) => request(axios, basePath));
366
+ },
301
367
  /**
302
368
  * Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Growth and above plans.
303
369
  * @summary Add an installment to a deal
@@ -308,6 +374,9 @@ export const DealInstallmentsApiFactory = function (configuration, basePath, axi
308
374
  postInstallment(requestParameters) {
309
375
  return localVarFp.postInstallment(requestParameters.id, requestParameters.AddInstallmentRequestBody).then((request) => request(axios, basePath));
310
376
  },
377
+ postInstallmentWithHttpInfo(requestParameters) {
378
+ return localVarFp.postInstallmentWithHttpInfo(requestParameters.id, requestParameters.AddInstallmentRequestBody).then((request) => request(axios, basePath));
379
+ },
311
380
  /**
312
381
  * Edits an installment added to a deal. Only available in Growth and above plans.
313
382
  * @summary Update an installment added to a deal
@@ -318,6 +387,9 @@ export const DealInstallmentsApiFactory = function (configuration, basePath, axi
318
387
  updateInstallment(requestParameters) {
319
388
  return localVarFp.updateInstallment(requestParameters.id, requestParameters.installment_id, requestParameters.UpdateInstallmentRequestBody).then((request) => request(axios, basePath));
320
389
  },
390
+ updateInstallmentWithHttpInfo(requestParameters) {
391
+ return localVarFp.updateInstallmentWithHttpInfo(requestParameters.id, requestParameters.installment_id, requestParameters.UpdateInstallmentRequestBody).then((request) => request(axios, basePath));
392
+ },
321
393
  };
322
394
  };
323
395
  /**
@@ -338,6 +410,17 @@ export class DealInstallmentsApi extends BaseAPI {
338
410
  deleteInstallment(requestParameters) {
339
411
  return DealInstallmentsApiFp(this.configuration).deleteInstallment(requestParameters.id, requestParameters.installment_id).then((request) => request(this.axios, this.basePath));
340
412
  }
413
+ /**
414
+ * Same as `deleteInstallment`, but resolves with the response body together with the HTTP status and headers.
415
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
416
+ * @param {DealInstallmentsApiDeleteInstallmentRequest} requestParameters Request parameters.
417
+
418
+ * @throws {RequiredError}
419
+ * @memberof DealInstallmentsApi
420
+ */
421
+ deleteInstallmentWithHttpInfo(requestParameters) {
422
+ return DealInstallmentsApiFp(this.configuration).deleteInstallmentWithHttpInfo(requestParameters.id, requestParameters.installment_id).then((request) => request(this.axios, this.basePath));
423
+ }
341
424
  /**
342
425
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
343
426
  * @summary List installments added to a list of deals
@@ -349,6 +432,17 @@ export class DealInstallmentsApi extends BaseAPI {
349
432
  getInstallments(requestParameters) {
350
433
  return DealInstallmentsApiFp(this.configuration).getInstallments(requestParameters.deal_ids, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction).then((request) => request(this.axios, this.basePath));
351
434
  }
435
+ /**
436
+ * Same as `getInstallments`, but resolves with the response body together with the HTTP status and headers.
437
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
438
+ * @param {DealInstallmentsApiGetInstallmentsRequest} requestParameters Request parameters.
439
+
440
+ * @throws {RequiredError}
441
+ * @memberof DealInstallmentsApi
442
+ */
443
+ getInstallmentsWithHttpInfo(requestParameters) {
444
+ return DealInstallmentsApiFp(this.configuration).getInstallmentsWithHttpInfo(requestParameters.deal_ids, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction).then((request) => request(this.axios, this.basePath));
445
+ }
352
446
  /**
353
447
  * Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Growth and above plans.
354
448
  * @summary Add an installment to a deal
@@ -360,6 +454,17 @@ export class DealInstallmentsApi extends BaseAPI {
360
454
  postInstallment(requestParameters) {
361
455
  return DealInstallmentsApiFp(this.configuration).postInstallment(requestParameters.id, requestParameters.AddInstallmentRequestBody).then((request) => request(this.axios, this.basePath));
362
456
  }
457
+ /**
458
+ * Same as `postInstallment`, but resolves with the response body together with the HTTP status and headers.
459
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
460
+ * @param {DealInstallmentsApiPostInstallmentRequest} requestParameters Request parameters.
461
+
462
+ * @throws {RequiredError}
463
+ * @memberof DealInstallmentsApi
464
+ */
465
+ postInstallmentWithHttpInfo(requestParameters) {
466
+ return DealInstallmentsApiFp(this.configuration).postInstallmentWithHttpInfo(requestParameters.id, requestParameters.AddInstallmentRequestBody).then((request) => request(this.axios, this.basePath));
467
+ }
363
468
  /**
364
469
  * Edits an installment added to a deal. Only available in Growth and above plans.
365
470
  * @summary Update an installment added to a deal
@@ -371,4 +476,15 @@ export class DealInstallmentsApi extends BaseAPI {
371
476
  updateInstallment(requestParameters) {
372
477
  return DealInstallmentsApiFp(this.configuration).updateInstallment(requestParameters.id, requestParameters.installment_id, requestParameters.UpdateInstallmentRequestBody).then((request) => request(this.axios, this.basePath));
373
478
  }
479
+ /**
480
+ * Same as `updateInstallment`, but resolves with the response body together with the HTTP status and headers.
481
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
482
+ * @param {DealInstallmentsApiUpdateInstallmentRequest} requestParameters Request parameters.
483
+
484
+ * @throws {RequiredError}
485
+ * @memberof DealInstallmentsApi
486
+ */
487
+ updateInstallmentWithHttpInfo(requestParameters) {
488
+ return DealInstallmentsApiFp(this.configuration).updateInstallmentWithHttpInfo(requestParameters.id, requestParameters.installment_id, requestParameters.UpdateInstallmentRequestBody).then((request) => request(this.axios, this.basePath));
489
+ }
374
490
  }
@@ -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 { AddDealProductRequest } from '../models';
16
16
  import { AddDealProductResponse } from '../models';
17
17
  import { AddManyDealProductResponse } from '../models';
@@ -110,6 +110,15 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
110
110
  * @throws {RequiredError}
111
111
  */
112
112
  addDealProduct(id: number, AddDealProductRequest?: AddDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealProductResponse>>;
113
+ /**
114
+ * Same as `addDealProduct`, but resolves with the response body together with the HTTP status and headers.
115
+ * @summary Add a product to a deal
116
+ * @param {number} id The ID of the deal
117
+ * @param {AddDealProductRequest} [AddDealProductRequest]
118
+
119
+ * @throws {RequiredError}
120
+ */
121
+ addDealProductWithHttpInfo(id: number, AddDealProductRequest?: AddDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealProductResponse>>>;
113
122
  /**
114
123
  * Adds multiple products to a deal in a single request. Maximum of 100 products allowed per request.
115
124
  * @summary Add multiple products to a deal
@@ -119,6 +128,15 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
119
128
  * @throws {RequiredError}
120
129
  */
121
130
  addManyDealProducts(id: number, CreateManyDealProductRequest?: CreateManyDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddManyDealProductResponse>>;
131
+ /**
132
+ * Same as `addManyDealProducts`, but resolves with the response body together with the HTTP status and headers.
133
+ * @summary Add multiple products to a deal
134
+ * @param {number} id The ID of the deal
135
+ * @param {CreateManyDealProductRequest} [CreateManyDealProductRequest]
136
+
137
+ * @throws {RequiredError}
138
+ */
139
+ addManyDealProductsWithHttpInfo(id: number, CreateManyDealProductRequest?: CreateManyDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddManyDealProductResponse>>>;
122
140
  /**
123
141
  * Deletes a product attachment from a deal, using the `product_attachment_id`.
124
142
  * @summary Delete an attached product from a deal
@@ -128,6 +146,15 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
128
146
  * @throws {RequiredError}
129
147
  */
130
148
  deleteDealProduct(id: number, product_attachment_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteDealProductResponse>>;
149
+ /**
150
+ * Same as `deleteDealProduct`, but resolves with the response body together with the HTTP status and headers.
151
+ * @summary Delete an attached product from a deal
152
+ * @param {number} id The ID of the deal
153
+ * @param {number} product_attachment_id The product attachment ID
154
+
155
+ * @throws {RequiredError}
156
+ */
157
+ deleteDealProductWithHttpInfo(id: number, product_attachment_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteDealProductResponse>>>;
131
158
  /**
132
159
  * Deletes multiple products from a deal. If no product IDs are specified, up to 100 products will be removed from the deal. A maximum of 100 product IDs can be provided per request.
133
160
  * @summary Delete many products from a deal
@@ -137,6 +164,15 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
137
164
  * @throws {RequiredError}
138
165
  */
139
166
  deleteManyDealProducts(id: number, ids?: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteManyDealProductResponse>>;
167
+ /**
168
+ * Same as `deleteManyDealProducts`, but resolves with the response body together with the HTTP status and headers.
169
+ * @summary Delete many products from a deal
170
+ * @param {number} id The ID of the deal
171
+ * @param {Set<number>} [ids] Comma-separated list of deal product IDs to delete. If not provided, all deal products will be deleted up to 100 items. Maximum 100 IDs allowed.
172
+
173
+ * @throws {RequiredError}
174
+ */
175
+ deleteManyDealProductsWithHttpInfo(id: number, ids?: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteManyDealProductResponse>>>;
140
176
  /**
141
177
  * Lists products attached to a deal.
142
178
  * @summary List products attached to a deal
@@ -149,6 +185,18 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
149
185
  * @throws {RequiredError}
150
186
  */
151
187
  getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
188
+ /**
189
+ * Same as `getDealProducts`, but resolves with the response body together with the HTTP status and headers.
190
+ * @summary List products attached to a deal
191
+ * @param {number} id The ID of the deal
192
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
193
+ * @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.
194
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
195
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
196
+
197
+ * @throws {RequiredError}
198
+ */
199
+ getDealProductsWithHttpInfo(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetDealsProductsResponse>>>;
152
200
  /**
153
201
  * Returns data about products attached to deals
154
202
  * @summary Get deal products of several deals
@@ -161,6 +209,18 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
161
209
  * @throws {RequiredError}
162
210
  */
163
211
  getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
212
+ /**
213
+ * Same as `getDealsProducts`, but resolves with the response body together with the HTTP status and headers.
214
+ * @summary Get deal products of several deals
215
+ * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
216
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
217
+ * @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.
218
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
219
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
220
+
221
+ * @throws {RequiredError}
222
+ */
223
+ getDealsProductsWithHttpInfo(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetDealsProductsResponse>>>;
164
224
  /**
165
225
  * Updates the details of the product that has been attached to a deal.
166
226
  * @summary Update the product attached to a deal
@@ -171,6 +231,16 @@ export declare const DealProductsApiFp: (configuration?: Configuration) => {
171
231
  * @throws {RequiredError}
172
232
  */
173
233
  updateDealProduct(id: number, product_attachment_id: number, UpdateDealProductRequest?: UpdateDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealProductResponse>>;
234
+ /**
235
+ * Same as `updateDealProduct`, but resolves with the response body together with the HTTP status and headers.
236
+ * @summary Update the product attached to a deal
237
+ * @param {number} id The ID of the deal
238
+ * @param {number} product_attachment_id The ID of the deal-product (the ID of the product attached to the deal)
239
+ * @param {UpdateDealProductRequest} [UpdateDealProductRequest]
240
+
241
+ * @throws {RequiredError}
242
+ */
243
+ updateDealProductWithHttpInfo(id: number, product_attachment_id: number, UpdateDealProductRequest?: UpdateDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealProductResponse>>>;
174
244
  };
175
245
  /**
176
246
  * DealProductsApi - factory interface
@@ -185,6 +255,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
185
255
  * @throws {RequiredError}
186
256
  */
187
257
  addDealProduct(requestParameters: DealProductsApiAddDealProductRequest): Promise<AddDealProductResponse>;
258
+ addDealProductWithHttpInfo(requestParameters: DealProductsApiAddDealProductRequest): Promise<ApiResponse<AddDealProductResponse>>;
188
259
  /**
189
260
  * Adds multiple products to a deal in a single request. Maximum of 100 products allowed per request.
190
261
  * @summary Add multiple products to a deal
@@ -193,6 +264,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
193
264
  * @throws {RequiredError}
194
265
  */
195
266
  addManyDealProducts(requestParameters: DealProductsApiAddManyDealProductsRequest): Promise<AddManyDealProductResponse>;
267
+ addManyDealProductsWithHttpInfo(requestParameters: DealProductsApiAddManyDealProductsRequest): Promise<ApiResponse<AddManyDealProductResponse>>;
196
268
  /**
197
269
  * Deletes a product attachment from a deal, using the `product_attachment_id`.
198
270
  * @summary Delete an attached product from a deal
@@ -201,6 +273,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
201
273
  * @throws {RequiredError}
202
274
  */
203
275
  deleteDealProduct(requestParameters: DealProductsApiDeleteDealProductRequest): Promise<DeleteDealProductResponse>;
276
+ deleteDealProductWithHttpInfo(requestParameters: DealProductsApiDeleteDealProductRequest): Promise<ApiResponse<DeleteDealProductResponse>>;
204
277
  /**
205
278
  * Deletes multiple products from a deal. If no product IDs are specified, up to 100 products will be removed from the deal. A maximum of 100 product IDs can be provided per request.
206
279
  * @summary Delete many products from a deal
@@ -209,6 +282,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
209
282
  * @throws {RequiredError}
210
283
  */
211
284
  deleteManyDealProducts(requestParameters: DealProductsApiDeleteManyDealProductsRequest): Promise<DeleteManyDealProductResponse>;
285
+ deleteManyDealProductsWithHttpInfo(requestParameters: DealProductsApiDeleteManyDealProductsRequest): Promise<ApiResponse<DeleteManyDealProductResponse>>;
212
286
  /**
213
287
  * Lists products attached to a deal.
214
288
  * @summary List products attached to a deal
@@ -217,6 +291,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
217
291
  * @throws {RequiredError}
218
292
  */
219
293
  getDealProducts(requestParameters: DealProductsApiGetDealProductsRequest): Promise<GetDealsProductsResponse>;
294
+ getDealProductsWithHttpInfo(requestParameters: DealProductsApiGetDealProductsRequest): Promise<ApiResponse<GetDealsProductsResponse>>;
220
295
  /**
221
296
  * Returns data about products attached to deals
222
297
  * @summary Get deal products of several deals
@@ -225,6 +300,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
225
300
  * @throws {RequiredError}
226
301
  */
227
302
  getDealsProducts(requestParameters: DealProductsApiGetDealsProductsRequest): Promise<GetDealsProductsResponse>;
303
+ getDealsProductsWithHttpInfo(requestParameters: DealProductsApiGetDealsProductsRequest): Promise<ApiResponse<GetDealsProductsResponse>>;
228
304
  /**
229
305
  * Updates the details of the product that has been attached to a deal.
230
306
  * @summary Update the product attached to a deal
@@ -233,6 +309,7 @@ export declare const DealProductsApiFactory: (configuration?: Configuration, bas
233
309
  * @throws {RequiredError}
234
310
  */
235
311
  updateDealProduct(requestParameters: DealProductsApiUpdateDealProductRequest): Promise<AddDealProductResponse>;
312
+ updateDealProductWithHttpInfo(requestParameters: DealProductsApiUpdateDealProductRequest): Promise<ApiResponse<AddDealProductResponse>>;
236
313
  };
237
314
  /**
238
315
  * Request parameters for addDealProduct operation in DealProductsApi.
@@ -425,6 +502,15 @@ export declare class DealProductsApi extends BaseAPI {
425
502
  * @memberof DealProductsApi
426
503
  */
427
504
  addDealProduct(requestParameters: DealProductsApiAddDealProductRequest): Promise<AddDealProductResponse>;
505
+ /**
506
+ * Same as `addDealProduct`, but resolves with the response body together with the HTTP status and headers.
507
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
508
+ * @param {DealProductsApiAddDealProductRequest} requestParameters Request parameters.
509
+
510
+ * @throws {RequiredError}
511
+ * @memberof DealProductsApi
512
+ */
513
+ addDealProductWithHttpInfo(requestParameters: DealProductsApiAddDealProductRequest): Promise<ApiResponse<AddDealProductResponse>>;
428
514
  /**
429
515
  * Adds multiple products to a deal in a single request. Maximum of 100 products allowed per request.
430
516
  * @summary Add multiple products to a deal
@@ -434,6 +520,15 @@ export declare class DealProductsApi extends BaseAPI {
434
520
  * @memberof DealProductsApi
435
521
  */
436
522
  addManyDealProducts(requestParameters: DealProductsApiAddManyDealProductsRequest): Promise<AddManyDealProductResponse>;
523
+ /**
524
+ * Same as `addManyDealProducts`, but resolves with the response body together with the HTTP status and headers.
525
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
526
+ * @param {DealProductsApiAddManyDealProductsRequest} requestParameters Request parameters.
527
+
528
+ * @throws {RequiredError}
529
+ * @memberof DealProductsApi
530
+ */
531
+ addManyDealProductsWithHttpInfo(requestParameters: DealProductsApiAddManyDealProductsRequest): Promise<ApiResponse<AddManyDealProductResponse>>;
437
532
  /**
438
533
  * Deletes a product attachment from a deal, using the `product_attachment_id`.
439
534
  * @summary Delete an attached product from a deal
@@ -443,6 +538,15 @@ export declare class DealProductsApi extends BaseAPI {
443
538
  * @memberof DealProductsApi
444
539
  */
445
540
  deleteDealProduct(requestParameters: DealProductsApiDeleteDealProductRequest): Promise<DeleteDealProductResponse>;
541
+ /**
542
+ * Same as `deleteDealProduct`, but resolves with the response body together with the HTTP status and headers.
543
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
544
+ * @param {DealProductsApiDeleteDealProductRequest} requestParameters Request parameters.
545
+
546
+ * @throws {RequiredError}
547
+ * @memberof DealProductsApi
548
+ */
549
+ deleteDealProductWithHttpInfo(requestParameters: DealProductsApiDeleteDealProductRequest): Promise<ApiResponse<DeleteDealProductResponse>>;
446
550
  /**
447
551
  * Deletes multiple products from a deal. If no product IDs are specified, up to 100 products will be removed from the deal. A maximum of 100 product IDs can be provided per request.
448
552
  * @summary Delete many products from a deal
@@ -452,6 +556,15 @@ export declare class DealProductsApi extends BaseAPI {
452
556
  * @memberof DealProductsApi
453
557
  */
454
558
  deleteManyDealProducts(requestParameters: DealProductsApiDeleteManyDealProductsRequest): Promise<DeleteManyDealProductResponse>;
559
+ /**
560
+ * Same as `deleteManyDealProducts`, but resolves with the response body together with the HTTP status and headers.
561
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
562
+ * @param {DealProductsApiDeleteManyDealProductsRequest} requestParameters Request parameters.
563
+
564
+ * @throws {RequiredError}
565
+ * @memberof DealProductsApi
566
+ */
567
+ deleteManyDealProductsWithHttpInfo(requestParameters: DealProductsApiDeleteManyDealProductsRequest): Promise<ApiResponse<DeleteManyDealProductResponse>>;
455
568
  /**
456
569
  * Lists products attached to a deal.
457
570
  * @summary List products attached to a deal
@@ -461,6 +574,15 @@ export declare class DealProductsApi extends BaseAPI {
461
574
  * @memberof DealProductsApi
462
575
  */
463
576
  getDealProducts(requestParameters: DealProductsApiGetDealProductsRequest): Promise<GetDealsProductsResponse>;
577
+ /**
578
+ * Same as `getDealProducts`, but resolves with the response body together with the HTTP status and headers.
579
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
580
+ * @param {DealProductsApiGetDealProductsRequest} requestParameters Request parameters.
581
+
582
+ * @throws {RequiredError}
583
+ * @memberof DealProductsApi
584
+ */
585
+ getDealProductsWithHttpInfo(requestParameters: DealProductsApiGetDealProductsRequest): Promise<ApiResponse<GetDealsProductsResponse>>;
464
586
  /**
465
587
  * Returns data about products attached to deals
466
588
  * @summary Get deal products of several deals
@@ -470,6 +592,15 @@ export declare class DealProductsApi extends BaseAPI {
470
592
  * @memberof DealProductsApi
471
593
  */
472
594
  getDealsProducts(requestParameters: DealProductsApiGetDealsProductsRequest): Promise<GetDealsProductsResponse>;
595
+ /**
596
+ * Same as `getDealsProducts`, but resolves with the response body together with the HTTP status and headers.
597
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
598
+ * @param {DealProductsApiGetDealsProductsRequest} requestParameters Request parameters.
599
+
600
+ * @throws {RequiredError}
601
+ * @memberof DealProductsApi
602
+ */
603
+ getDealsProductsWithHttpInfo(requestParameters: DealProductsApiGetDealsProductsRequest): Promise<ApiResponse<GetDealsProductsResponse>>;
473
604
  /**
474
605
  * Updates the details of the product that has been attached to a deal.
475
606
  * @summary Update the product attached to a deal
@@ -479,4 +610,13 @@ export declare class DealProductsApi extends BaseAPI {
479
610
  * @memberof DealProductsApi
480
611
  */
481
612
  updateDealProduct(requestParameters: DealProductsApiUpdateDealProductRequest): Promise<AddDealProductResponse>;
613
+ /**
614
+ * Same as `updateDealProduct`, but resolves with the response body together with the HTTP status and headers.
615
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
616
+ * @param {DealProductsApiUpdateDealProductRequest} requestParameters Request parameters.
617
+
618
+ * @throws {RequiredError}
619
+ * @memberof DealProductsApi
620
+ */
621
+ updateDealProductWithHttpInfo(requestParameters: DealProductsApiUpdateDealProductRequest): Promise<ApiResponse<AddDealProductResponse>>;
482
622
  }