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
@@ -359,6 +359,19 @@ export const DealFieldsApiFp = function (configuration) {
359
359
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
360
  });
361
361
  },
362
+ /**
363
+ * Same as `addDealField`, but resolves with the response body together with the HTTP status and headers.
364
+ * @summary Create one deal field
365
+ * @param {AddDealFieldRequest} AddDealFieldRequest
366
+
367
+ * @throws {RequiredError}
368
+ */
369
+ addDealFieldWithHttpInfo(AddDealFieldRequest) {
370
+ return __awaiter(this, void 0, void 0, function* () {
371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addDealField(AddDealFieldRequest);
372
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
373
+ });
374
+ },
362
375
  /**
363
376
  * Adds new options to a deal 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.
364
377
  * @summary Add deal field options in bulk
@@ -373,6 +386,20 @@ export const DealFieldsApiFp = function (configuration) {
373
386
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
374
387
  });
375
388
  },
389
+ /**
390
+ * Same as `addDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
391
+ * @summary Add deal field options in bulk
392
+ * @param {string} field_code The unique code identifying the field
393
+ * @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
394
+
395
+ * @throws {RequiredError}
396
+ */
397
+ addDealFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
398
+ return __awaiter(this, void 0, void 0, function* () {
399
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addDealFieldOptions(field_code, AddDealFieldOptionsRequestInner);
400
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
401
+ });
402
+ },
376
403
  /**
377
404
  * Marks a custom field as deleted.
378
405
  * @summary Delete one deal field
@@ -386,6 +413,19 @@ export const DealFieldsApiFp = function (configuration) {
386
413
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
387
414
  });
388
415
  },
416
+ /**
417
+ * Same as `deleteDealField`, but resolves with the response body together with the HTTP status and headers.
418
+ * @summary Delete one deal field
419
+ * @param {string} field_code The unique code identifying the field
420
+
421
+ * @throws {RequiredError}
422
+ */
423
+ deleteDealFieldWithHttpInfo(field_code) {
424
+ return __awaiter(this, void 0, void 0, function* () {
425
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDealField(field_code);
426
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
427
+ });
428
+ },
389
429
  /**
390
430
  * Removes existing options from a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
391
431
  * @summary Delete deal field options in bulk
@@ -400,6 +440,20 @@ export const DealFieldsApiFp = function (configuration) {
400
440
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
401
441
  });
402
442
  },
443
+ /**
444
+ * Same as `deleteDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
445
+ * @summary Delete deal field options in bulk
446
+ * @param {string} field_code The unique code identifying the field
447
+ * @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
448
+
449
+ * @throws {RequiredError}
450
+ */
451
+ deleteDealFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
452
+ return __awaiter(this, void 0, void 0, function* () {
453
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDealFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
454
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
455
+ });
456
+ },
403
457
  /**
404
458
  * Returns metadata about a specific deal field.
405
459
  * @summary Get one deal field
@@ -414,6 +468,20 @@ export const DealFieldsApiFp = function (configuration) {
414
468
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
415
469
  });
416
470
  },
471
+ /**
472
+ * Same as `getDealField`, but resolves with the response body together with the HTTP status and headers.
473
+ * @summary Get one deal field
474
+ * @param {string} field_code The unique code identifying the field
475
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
476
+
477
+ * @throws {RequiredError}
478
+ */
479
+ getDealFieldWithHttpInfo(field_code, include_fields) {
480
+ return __awaiter(this, void 0, void 0, function* () {
481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealField(field_code, include_fields);
482
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
483
+ });
484
+ },
417
485
  /**
418
486
  * Returns metadata about all deal fields in the company.
419
487
  * @summary Get all deal fields
@@ -429,6 +497,21 @@ export const DealFieldsApiFp = function (configuration) {
429
497
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
430
498
  });
431
499
  },
500
+ /**
501
+ * Same as `getDealFields`, but resolves with the response body together with the HTTP status and headers.
502
+ * @summary Get all deal fields
503
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
504
+ * @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.
505
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
506
+
507
+ * @throws {RequiredError}
508
+ */
509
+ getDealFieldsWithHttpInfo(include_fields, limit, cursor) {
510
+ return __awaiter(this, void 0, void 0, function* () {
511
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealFields(include_fields, limit, cursor);
512
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
513
+ });
514
+ },
432
515
  /**
433
516
  * Updates a deal custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
434
517
  * @summary Update one deal field
@@ -443,6 +526,20 @@ export const DealFieldsApiFp = function (configuration) {
443
526
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
444
527
  });
445
528
  },
529
+ /**
530
+ * Same as `updateDealField`, but resolves with the response body together with the HTTP status and headers.
531
+ * @summary Update one deal field
532
+ * @param {string} field_code The unique code identifying the field
533
+ * @param {UpdateDealFieldRequest} UpdateDealFieldRequest
534
+
535
+ * @throws {RequiredError}
536
+ */
537
+ updateDealFieldWithHttpInfo(field_code, UpdateDealFieldRequest) {
538
+ return __awaiter(this, void 0, void 0, function* () {
539
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateDealField(field_code, UpdateDealFieldRequest);
540
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
541
+ });
542
+ },
446
543
  /**
447
544
  * Updates existing options for a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
448
545
  * @summary Update deal field options in bulk
@@ -457,6 +554,20 @@ export const DealFieldsApiFp = function (configuration) {
457
554
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
458
555
  });
459
556
  },
557
+ /**
558
+ * Same as `updateDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
559
+ * @summary Update deal field options in bulk
560
+ * @param {string} field_code The unique code identifying the field
561
+ * @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
562
+
563
+ * @throws {RequiredError}
564
+ */
565
+ updateDealFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
566
+ return __awaiter(this, void 0, void 0, function* () {
567
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateDealFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
568
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
569
+ });
570
+ },
460
571
  };
461
572
  };
462
573
  /**
@@ -476,6 +587,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
476
587
  addDealField(requestParameters) {
477
588
  return localVarFp.addDealField(requestParameters.AddDealFieldRequest).then((request) => request(axios, basePath));
478
589
  },
590
+ addDealFieldWithHttpInfo(requestParameters) {
591
+ return localVarFp.addDealFieldWithHttpInfo(requestParameters.AddDealFieldRequest).then((request) => request(axios, basePath));
592
+ },
479
593
  /**
480
594
  * Adds new options to a deal 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.
481
595
  * @summary Add deal field options in bulk
@@ -486,6 +600,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
486
600
  addDealFieldOptions(requestParameters) {
487
601
  return localVarFp.addDealFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
488
602
  },
603
+ addDealFieldOptionsWithHttpInfo(requestParameters) {
604
+ return localVarFp.addDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
605
+ },
489
606
  /**
490
607
  * Marks a custom field as deleted.
491
608
  * @summary Delete one deal field
@@ -496,6 +613,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
496
613
  deleteDealField(requestParameters) {
497
614
  return localVarFp.deleteDealField(requestParameters.field_code).then((request) => request(axios, basePath));
498
615
  },
616
+ deleteDealFieldWithHttpInfo(requestParameters) {
617
+ return localVarFp.deleteDealFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
618
+ },
499
619
  /**
500
620
  * Removes existing options from a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
501
621
  * @summary Delete deal field options in bulk
@@ -506,6 +626,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
506
626
  deleteDealFieldOptions(requestParameters) {
507
627
  return localVarFp.deleteDealFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
508
628
  },
629
+ deleteDealFieldOptionsWithHttpInfo(requestParameters) {
630
+ return localVarFp.deleteDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
631
+ },
509
632
  /**
510
633
  * Returns metadata about a specific deal field.
511
634
  * @summary Get one deal field
@@ -516,6 +639,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
516
639
  getDealField(requestParameters) {
517
640
  return localVarFp.getDealField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
518
641
  },
642
+ getDealFieldWithHttpInfo(requestParameters) {
643
+ return localVarFp.getDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
644
+ },
519
645
  /**
520
646
  * Returns metadata about all deal fields in the company.
521
647
  * @summary Get all deal fields
@@ -526,6 +652,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
526
652
  getDealFields(requestParameters = {}) {
527
653
  return localVarFp.getDealFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
528
654
  },
655
+ getDealFieldsWithHttpInfo(requestParameters = {}) {
656
+ return localVarFp.getDealFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
657
+ },
529
658
  /**
530
659
  * Updates a deal custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
531
660
  * @summary Update one deal field
@@ -536,6 +665,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
536
665
  updateDealField(requestParameters) {
537
666
  return localVarFp.updateDealField(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(axios, basePath));
538
667
  },
668
+ updateDealFieldWithHttpInfo(requestParameters) {
669
+ return localVarFp.updateDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(axios, basePath));
670
+ },
539
671
  /**
540
672
  * Updates existing options for a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
541
673
  * @summary Update deal field options in bulk
@@ -546,6 +678,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
546
678
  updateDealFieldOptions(requestParameters) {
547
679
  return localVarFp.updateDealFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
548
680
  },
681
+ updateDealFieldOptionsWithHttpInfo(requestParameters) {
682
+ return localVarFp.updateDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
683
+ },
549
684
  };
550
685
  };
551
686
  /**
@@ -566,6 +701,17 @@ export class DealFieldsApi extends BaseAPI {
566
701
  addDealField(requestParameters) {
567
702
  return DealFieldsApiFp(this.configuration).addDealField(requestParameters.AddDealFieldRequest).then((request) => request(this.axios, this.basePath));
568
703
  }
704
+ /**
705
+ * Same as `addDealField`, but resolves with the response body together with the HTTP status and headers.
706
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
707
+ * @param {DealFieldsApiAddDealFieldRequest} requestParameters Request parameters.
708
+
709
+ * @throws {RequiredError}
710
+ * @memberof DealFieldsApi
711
+ */
712
+ addDealFieldWithHttpInfo(requestParameters) {
713
+ return DealFieldsApiFp(this.configuration).addDealFieldWithHttpInfo(requestParameters.AddDealFieldRequest).then((request) => request(this.axios, this.basePath));
714
+ }
569
715
  /**
570
716
  * Adds new options to a deal 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.
571
717
  * @summary Add deal field options in bulk
@@ -577,6 +723,17 @@ export class DealFieldsApi extends BaseAPI {
577
723
  addDealFieldOptions(requestParameters) {
578
724
  return DealFieldsApiFp(this.configuration).addDealFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
579
725
  }
726
+ /**
727
+ * Same as `addDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
728
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
729
+ * @param {DealFieldsApiAddDealFieldOptionsRequest} requestParameters Request parameters.
730
+
731
+ * @throws {RequiredError}
732
+ * @memberof DealFieldsApi
733
+ */
734
+ addDealFieldOptionsWithHttpInfo(requestParameters) {
735
+ return DealFieldsApiFp(this.configuration).addDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
736
+ }
580
737
  /**
581
738
  * Marks a custom field as deleted.
582
739
  * @summary Delete one deal field
@@ -588,6 +745,17 @@ export class DealFieldsApi extends BaseAPI {
588
745
  deleteDealField(requestParameters) {
589
746
  return DealFieldsApiFp(this.configuration).deleteDealField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
590
747
  }
748
+ /**
749
+ * Same as `deleteDealField`, but resolves with the response body together with the HTTP status and headers.
750
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
751
+ * @param {DealFieldsApiDeleteDealFieldRequest} requestParameters Request parameters.
752
+
753
+ * @throws {RequiredError}
754
+ * @memberof DealFieldsApi
755
+ */
756
+ deleteDealFieldWithHttpInfo(requestParameters) {
757
+ return DealFieldsApiFp(this.configuration).deleteDealFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
758
+ }
591
759
  /**
592
760
  * Removes existing options from a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
593
761
  * @summary Delete deal field options in bulk
@@ -599,6 +767,17 @@ export class DealFieldsApi extends BaseAPI {
599
767
  deleteDealFieldOptions(requestParameters) {
600
768
  return DealFieldsApiFp(this.configuration).deleteDealFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
601
769
  }
770
+ /**
771
+ * Same as `deleteDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
772
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
773
+ * @param {DealFieldsApiDeleteDealFieldOptionsRequest} requestParameters Request parameters.
774
+
775
+ * @throws {RequiredError}
776
+ * @memberof DealFieldsApi
777
+ */
778
+ deleteDealFieldOptionsWithHttpInfo(requestParameters) {
779
+ return DealFieldsApiFp(this.configuration).deleteDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
780
+ }
602
781
  /**
603
782
  * Returns metadata about a specific deal field.
604
783
  * @summary Get one deal field
@@ -610,6 +789,17 @@ export class DealFieldsApi extends BaseAPI {
610
789
  getDealField(requestParameters) {
611
790
  return DealFieldsApiFp(this.configuration).getDealField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
612
791
  }
792
+ /**
793
+ * Same as `getDealField`, but resolves with the response body together with the HTTP status and headers.
794
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
795
+ * @param {DealFieldsApiGetDealFieldRequest} requestParameters Request parameters.
796
+
797
+ * @throws {RequiredError}
798
+ * @memberof DealFieldsApi
799
+ */
800
+ getDealFieldWithHttpInfo(requestParameters) {
801
+ return DealFieldsApiFp(this.configuration).getDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
802
+ }
613
803
  /**
614
804
  * Returns metadata about all deal fields in the company.
615
805
  * @summary Get all deal fields
@@ -621,6 +811,17 @@ export class DealFieldsApi extends BaseAPI {
621
811
  getDealFields(requestParameters = {}) {
622
812
  return DealFieldsApiFp(this.configuration).getDealFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
623
813
  }
814
+ /**
815
+ * Same as `getDealFields`, but resolves with the response body together with the HTTP status and headers.
816
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
817
+ * @param {DealFieldsApiGetDealFieldsRequest} requestParameters Request parameters.
818
+
819
+ * @throws {RequiredError}
820
+ * @memberof DealFieldsApi
821
+ */
822
+ getDealFieldsWithHttpInfo(requestParameters = {}) {
823
+ return DealFieldsApiFp(this.configuration).getDealFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
824
+ }
624
825
  /**
625
826
  * Updates a deal custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
626
827
  * @summary Update one deal field
@@ -632,6 +833,17 @@ export class DealFieldsApi extends BaseAPI {
632
833
  updateDealField(requestParameters) {
633
834
  return DealFieldsApiFp(this.configuration).updateDealField(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(this.axios, this.basePath));
634
835
  }
836
+ /**
837
+ * Same as `updateDealField`, but resolves with the response body together with the HTTP status and headers.
838
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
839
+ * @param {DealFieldsApiUpdateDealFieldRequest} requestParameters Request parameters.
840
+
841
+ * @throws {RequiredError}
842
+ * @memberof DealFieldsApi
843
+ */
844
+ updateDealFieldWithHttpInfo(requestParameters) {
845
+ return DealFieldsApiFp(this.configuration).updateDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(this.axios, this.basePath));
846
+ }
635
847
  /**
636
848
  * Updates existing options for a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
637
849
  * @summary Update deal field options in bulk
@@ -643,4 +855,15 @@ export class DealFieldsApi extends BaseAPI {
643
855
  updateDealFieldOptions(requestParameters) {
644
856
  return DealFieldsApiFp(this.configuration).updateDealFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
645
857
  }
858
+ /**
859
+ * Same as `updateDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
860
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
861
+ * @param {DealFieldsApiUpdateDealFieldOptionsRequest} requestParameters Request parameters.
862
+
863
+ * @throws {RequiredError}
864
+ * @memberof DealFieldsApi
865
+ */
866
+ updateDealFieldOptionsWithHttpInfo(requestParameters) {
867
+ return DealFieldsApiFp(this.configuration).updateDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
868
+ }
646
869
  }
@@ -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 { AddAInstallmentResponse } from '../models';
16
16
  import { AddInstallmentRequestBody } from '../models';
17
17
  import { DeleteInstallmentResponse } from '../models';
@@ -78,6 +78,15 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
78
78
  * @throws {RequiredError}
79
79
  */
80
80
  deleteInstallment(id: number, installment_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteInstallmentResponse>>;
81
+ /**
82
+ * Same as `deleteInstallment`, but resolves with the response body together with the HTTP status and headers.
83
+ * @summary Delete an installment from a deal
84
+ * @param {number} id The ID of the deal
85
+ * @param {number} installment_id The ID of the installment
86
+
87
+ * @throws {RequiredError}
88
+ */
89
+ deleteInstallmentWithHttpInfo(id: number, installment_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteInstallmentResponse>>>;
81
90
  /**
82
91
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
83
92
  * @summary List installments added to a list of deals
@@ -90,6 +99,18 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
90
99
  * @throws {RequiredError}
91
100
  */
92
101
  getInstallments(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'billing_date' | 'deal_id', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetInstallmentsResponse>>;
102
+ /**
103
+ * Same as `getInstallments`, but resolves with the response body together with the HTTP status and headers.
104
+ * @summary List installments added to a list of deals
105
+ * @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.
106
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
107
+ * @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.
108
+ * @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;.
109
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
110
+
111
+ * @throws {RequiredError}
112
+ */
113
+ getInstallmentsWithHttpInfo(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'billing_date' | 'deal_id', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetInstallmentsResponse>>>;
93
114
  /**
94
115
  * 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.
95
116
  * @summary Add an installment to a deal
@@ -99,6 +120,15 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
99
120
  * @throws {RequiredError}
100
121
  */
101
122
  postInstallment(id: number, AddInstallmentRequestBody?: AddInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddAInstallmentResponse>>;
123
+ /**
124
+ * Same as `postInstallment`, but resolves with the response body together with the HTTP status and headers.
125
+ * @summary Add an installment to a deal
126
+ * @param {number} id The ID of the deal
127
+ * @param {AddInstallmentRequestBody} [AddInstallmentRequestBody]
128
+
129
+ * @throws {RequiredError}
130
+ */
131
+ postInstallmentWithHttpInfo(id: number, AddInstallmentRequestBody?: AddInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddAInstallmentResponse>>>;
102
132
  /**
103
133
  * Edits an installment added to a deal. Only available in Growth and above plans.
104
134
  * @summary Update an installment added to a deal
@@ -109,6 +139,16 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
109
139
  * @throws {RequiredError}
110
140
  */
111
141
  updateInstallment(id: number, installment_id: number, UpdateInstallmentRequestBody?: UpdateInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateInstallmentResponse>>;
142
+ /**
143
+ * Same as `updateInstallment`, but resolves with the response body together with the HTTP status and headers.
144
+ * @summary Update an installment added to a deal
145
+ * @param {number} id The ID of the deal
146
+ * @param {number} installment_id The ID of the installment
147
+ * @param {UpdateInstallmentRequestBody} [UpdateInstallmentRequestBody]
148
+
149
+ * @throws {RequiredError}
150
+ */
151
+ updateInstallmentWithHttpInfo(id: number, installment_id: number, UpdateInstallmentRequestBody?: UpdateInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateInstallmentResponse>>>;
112
152
  };
113
153
  /**
114
154
  * DealInstallmentsApi - factory interface
@@ -123,6 +163,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
123
163
  * @throws {RequiredError}
124
164
  */
125
165
  deleteInstallment(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<DeleteInstallmentResponse>;
166
+ deleteInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<ApiResponse<DeleteInstallmentResponse>>;
126
167
  /**
127
168
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
128
169
  * @summary List installments added to a list of deals
@@ -131,6 +172,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
131
172
  * @throws {RequiredError}
132
173
  */
133
174
  getInstallments(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<GetInstallmentsResponse>;
175
+ getInstallmentsWithHttpInfo(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<ApiResponse<GetInstallmentsResponse>>;
134
176
  /**
135
177
  * 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.
136
178
  * @summary Add an installment to a deal
@@ -139,6 +181,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
139
181
  * @throws {RequiredError}
140
182
  */
141
183
  postInstallment(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<AddAInstallmentResponse>;
184
+ postInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<ApiResponse<AddAInstallmentResponse>>;
142
185
  /**
143
186
  * Edits an installment added to a deal. Only available in Growth and above plans.
144
187
  * @summary Update an installment added to a deal
@@ -147,6 +190,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
147
190
  * @throws {RequiredError}
148
191
  */
149
192
  updateInstallment(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<UpdateInstallmentResponse>;
193
+ updateInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<ApiResponse<UpdateInstallmentResponse>>;
150
194
  };
151
195
  /**
152
196
  * Request parameters for deleteInstallment operation in DealInstallmentsApi.
@@ -264,6 +308,15 @@ export declare class DealInstallmentsApi extends BaseAPI {
264
308
  * @memberof DealInstallmentsApi
265
309
  */
266
310
  deleteInstallment(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<DeleteInstallmentResponse>;
311
+ /**
312
+ * Same as `deleteInstallment`, 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 {DealInstallmentsApiDeleteInstallmentRequest} requestParameters Request parameters.
315
+
316
+ * @throws {RequiredError}
317
+ * @memberof DealInstallmentsApi
318
+ */
319
+ deleteInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<ApiResponse<DeleteInstallmentResponse>>;
267
320
  /**
268
321
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
269
322
  * @summary List installments added to a list of deals
@@ -273,6 +326,15 @@ export declare class DealInstallmentsApi extends BaseAPI {
273
326
  * @memberof DealInstallmentsApi
274
327
  */
275
328
  getInstallments(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<GetInstallmentsResponse>;
329
+ /**
330
+ * Same as `getInstallments`, 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 {DealInstallmentsApiGetInstallmentsRequest} requestParameters Request parameters.
333
+
334
+ * @throws {RequiredError}
335
+ * @memberof DealInstallmentsApi
336
+ */
337
+ getInstallmentsWithHttpInfo(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<ApiResponse<GetInstallmentsResponse>>;
276
338
  /**
277
339
  * 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.
278
340
  * @summary Add an installment to a deal
@@ -282,6 +344,15 @@ export declare class DealInstallmentsApi extends BaseAPI {
282
344
  * @memberof DealInstallmentsApi
283
345
  */
284
346
  postInstallment(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<AddAInstallmentResponse>;
347
+ /**
348
+ * Same as `postInstallment`, 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 {DealInstallmentsApiPostInstallmentRequest} requestParameters Request parameters.
351
+
352
+ * @throws {RequiredError}
353
+ * @memberof DealInstallmentsApi
354
+ */
355
+ postInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<ApiResponse<AddAInstallmentResponse>>;
285
356
  /**
286
357
  * Edits an installment added to a deal. Only available in Growth and above plans.
287
358
  * @summary Update an installment added to a deal
@@ -291,4 +362,13 @@ export declare class DealInstallmentsApi extends BaseAPI {
291
362
  * @memberof DealInstallmentsApi
292
363
  */
293
364
  updateInstallment(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<UpdateInstallmentResponse>;
365
+ /**
366
+ * Same as `updateInstallment`, 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 {DealInstallmentsApiUpdateInstallmentRequest} requestParameters Request parameters.
369
+
370
+ * @throws {RequiredError}
371
+ * @memberof DealInstallmentsApi
372
+ */
373
+ updateInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<ApiResponse<UpdateInstallmentResponse>>;
294
374
  }