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
@@ -273,6 +273,19 @@ const ProductFieldsApiFp = function (configuration) {
273
273
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
274
274
  });
275
275
  },
276
+ /**
277
+ * Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
278
+ * @summary Add a new product field
279
+ * @param {ProductFieldAllOf} [ProductFieldAllOf]
280
+
281
+ * @throws {RequiredError}
282
+ */
283
+ addProductFieldWithHttpInfo(ProductFieldAllOf) {
284
+ return __awaiter(this, void 0, void 0, function* () {
285
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProductField(ProductFieldAllOf);
286
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
287
+ });
288
+ },
276
289
  /**
277
290
  * Marks a product field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
278
291
  * @summary Delete a product field
@@ -286,6 +299,19 @@ const ProductFieldsApiFp = function (configuration) {
286
299
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
287
300
  });
288
301
  },
302
+ /**
303
+ * Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
304
+ * @summary Delete a product field
305
+ * @param {number} id The ID of the product field
306
+
307
+ * @throws {RequiredError}
308
+ */
309
+ deleteProductFieldWithHttpInfo(id) {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductField(id);
312
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
313
+ });
314
+ },
289
315
  /**
290
316
  * Marks multiple fields as deleted.
291
317
  * @summary Delete multiple product fields in bulk
@@ -299,6 +325,19 @@ const ProductFieldsApiFp = function (configuration) {
299
325
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
300
326
  });
301
327
  },
328
+ /**
329
+ * Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
330
+ * @summary Delete multiple product fields in bulk
331
+ * @param {Set<number>} ids The comma-separated field IDs to delete
332
+
333
+ * @throws {RequiredError}
334
+ */
335
+ deleteProductFieldsWithHttpInfo(ids) {
336
+ return __awaiter(this, void 0, void 0, function* () {
337
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductFields(ids);
338
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
339
+ });
340
+ },
302
341
  /**
303
342
  * Returns data about a specific product field.
304
343
  * @summary Get one product field
@@ -312,6 +351,19 @@ const ProductFieldsApiFp = function (configuration) {
312
351
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
313
352
  });
314
353
  },
354
+ /**
355
+ * Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
356
+ * @summary Get one product field
357
+ * @param {number} id The ID of the product field
358
+
359
+ * @throws {RequiredError}
360
+ */
361
+ getProductFieldWithHttpInfo(id) {
362
+ return __awaiter(this, void 0, void 0, function* () {
363
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductField(id);
364
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
365
+ });
366
+ },
315
367
  /**
316
368
  * Returns data about all product fields.
317
369
  * @summary Get all product fields
@@ -326,6 +378,20 @@ const ProductFieldsApiFp = function (configuration) {
326
378
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
327
379
  });
328
380
  },
381
+ /**
382
+ * Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
383
+ * @summary Get all product fields
384
+ * @param {number} [start] Pagination start
385
+ * @param {number} [limit] Items shown per page
386
+
387
+ * @throws {RequiredError}
388
+ */
389
+ getProductFieldsWithHttpInfo(start, limit) {
390
+ return __awaiter(this, void 0, void 0, function* () {
391
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductFields(start, limit);
392
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
393
+ });
394
+ },
329
395
  /**
330
396
  * Updates a product field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
331
397
  * @summary Update a product field
@@ -340,6 +406,20 @@ const ProductFieldsApiFp = function (configuration) {
340
406
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
341
407
  });
342
408
  },
409
+ /**
410
+ * Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
411
+ * @summary Update a product field
412
+ * @param {number} id The ID of the product field
413
+ * @param {UpdateProductFieldResponse} [UpdateProductFieldResponse]
414
+
415
+ * @throws {RequiredError}
416
+ */
417
+ updateProductFieldWithHttpInfo(id, UpdateProductFieldResponse) {
418
+ return __awaiter(this, void 0, void 0, function* () {
419
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProductField(id, UpdateProductFieldResponse);
420
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
421
+ });
422
+ },
343
423
  };
344
424
  };
345
425
  exports.ProductFieldsApiFp = ProductFieldsApiFp;
@@ -360,6 +440,9 @@ const ProductFieldsApiFactory = function (configuration, basePath, axios) {
360
440
  addProductField(requestParameters = {}) {
361
441
  return localVarFp.addProductField(requestParameters.ProductFieldAllOf).then((request) => request(axios, basePath));
362
442
  },
443
+ addProductFieldWithHttpInfo(requestParameters = {}) {
444
+ return localVarFp.addProductFieldWithHttpInfo(requestParameters.ProductFieldAllOf).then((request) => request(axios, basePath));
445
+ },
363
446
  /**
364
447
  * Marks a product field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
365
448
  * @summary Delete a product field
@@ -370,6 +453,9 @@ const ProductFieldsApiFactory = function (configuration, basePath, axios) {
370
453
  deleteProductField(requestParameters) {
371
454
  return localVarFp.deleteProductField(requestParameters.id).then((request) => request(axios, basePath));
372
455
  },
456
+ deleteProductFieldWithHttpInfo(requestParameters) {
457
+ return localVarFp.deleteProductFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
458
+ },
373
459
  /**
374
460
  * Marks multiple fields as deleted.
375
461
  * @summary Delete multiple product fields in bulk
@@ -380,6 +466,9 @@ const ProductFieldsApiFactory = function (configuration, basePath, axios) {
380
466
  deleteProductFields(requestParameters) {
381
467
  return localVarFp.deleteProductFields(requestParameters.ids).then((request) => request(axios, basePath));
382
468
  },
469
+ deleteProductFieldsWithHttpInfo(requestParameters) {
470
+ return localVarFp.deleteProductFieldsWithHttpInfo(requestParameters.ids).then((request) => request(axios, basePath));
471
+ },
383
472
  /**
384
473
  * Returns data about a specific product field.
385
474
  * @summary Get one product field
@@ -390,6 +479,9 @@ const ProductFieldsApiFactory = function (configuration, basePath, axios) {
390
479
  getProductField(requestParameters) {
391
480
  return localVarFp.getProductField(requestParameters.id).then((request) => request(axios, basePath));
392
481
  },
482
+ getProductFieldWithHttpInfo(requestParameters) {
483
+ return localVarFp.getProductFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
484
+ },
393
485
  /**
394
486
  * Returns data about all product fields.
395
487
  * @summary Get all product fields
@@ -400,6 +492,9 @@ const ProductFieldsApiFactory = function (configuration, basePath, axios) {
400
492
  getProductFields(requestParameters = {}) {
401
493
  return localVarFp.getProductFields(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
402
494
  },
495
+ getProductFieldsWithHttpInfo(requestParameters = {}) {
496
+ return localVarFp.getProductFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
497
+ },
403
498
  /**
404
499
  * Updates a product field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
405
500
  * @summary Update a product field
@@ -410,6 +505,9 @@ const ProductFieldsApiFactory = function (configuration, basePath, axios) {
410
505
  updateProductField(requestParameters) {
411
506
  return localVarFp.updateProductField(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(axios, basePath));
412
507
  },
508
+ updateProductFieldWithHttpInfo(requestParameters) {
509
+ return localVarFp.updateProductFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(axios, basePath));
510
+ },
413
511
  };
414
512
  };
415
513
  exports.ProductFieldsApiFactory = ProductFieldsApiFactory;
@@ -431,6 +529,17 @@ class ProductFieldsApi extends base_1.BaseAPI {
431
529
  addProductField(requestParameters = {}) {
432
530
  return (0, exports.ProductFieldsApiFp)(this.configuration).addProductField(requestParameters.ProductFieldAllOf).then((request) => request(this.axios, this.basePath));
433
531
  }
532
+ /**
533
+ * Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
534
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
535
+ * @param {ProductFieldsApiAddProductFieldRequest} requestParameters Request parameters.
536
+
537
+ * @throws {RequiredError}
538
+ * @memberof ProductFieldsApi
539
+ */
540
+ addProductFieldWithHttpInfo(requestParameters = {}) {
541
+ return (0, exports.ProductFieldsApiFp)(this.configuration).addProductFieldWithHttpInfo(requestParameters.ProductFieldAllOf).then((request) => request(this.axios, this.basePath));
542
+ }
434
543
  /**
435
544
  * Marks a product field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
436
545
  * @summary Delete a product field
@@ -442,6 +551,17 @@ class ProductFieldsApi extends base_1.BaseAPI {
442
551
  deleteProductField(requestParameters) {
443
552
  return (0, exports.ProductFieldsApiFp)(this.configuration).deleteProductField(requestParameters.id).then((request) => request(this.axios, this.basePath));
444
553
  }
554
+ /**
555
+ * Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
556
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
557
+ * @param {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
558
+
559
+ * @throws {RequiredError}
560
+ * @memberof ProductFieldsApi
561
+ */
562
+ deleteProductFieldWithHttpInfo(requestParameters) {
563
+ return (0, exports.ProductFieldsApiFp)(this.configuration).deleteProductFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
564
+ }
445
565
  /**
446
566
  * Marks multiple fields as deleted.
447
567
  * @summary Delete multiple product fields in bulk
@@ -453,6 +573,17 @@ class ProductFieldsApi extends base_1.BaseAPI {
453
573
  deleteProductFields(requestParameters) {
454
574
  return (0, exports.ProductFieldsApiFp)(this.configuration).deleteProductFields(requestParameters.ids).then((request) => request(this.axios, this.basePath));
455
575
  }
576
+ /**
577
+ * Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
578
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
579
+ * @param {ProductFieldsApiDeleteProductFieldsRequest} requestParameters Request parameters.
580
+
581
+ * @throws {RequiredError}
582
+ * @memberof ProductFieldsApi
583
+ */
584
+ deleteProductFieldsWithHttpInfo(requestParameters) {
585
+ return (0, exports.ProductFieldsApiFp)(this.configuration).deleteProductFieldsWithHttpInfo(requestParameters.ids).then((request) => request(this.axios, this.basePath));
586
+ }
456
587
  /**
457
588
  * Returns data about a specific product field.
458
589
  * @summary Get one product field
@@ -464,6 +595,17 @@ class ProductFieldsApi extends base_1.BaseAPI {
464
595
  getProductField(requestParameters) {
465
596
  return (0, exports.ProductFieldsApiFp)(this.configuration).getProductField(requestParameters.id).then((request) => request(this.axios, this.basePath));
466
597
  }
598
+ /**
599
+ * Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
600
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
601
+ * @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
602
+
603
+ * @throws {RequiredError}
604
+ * @memberof ProductFieldsApi
605
+ */
606
+ getProductFieldWithHttpInfo(requestParameters) {
607
+ return (0, exports.ProductFieldsApiFp)(this.configuration).getProductFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
608
+ }
467
609
  /**
468
610
  * Returns data about all product fields.
469
611
  * @summary Get all product fields
@@ -475,6 +617,17 @@ class ProductFieldsApi extends base_1.BaseAPI {
475
617
  getProductFields(requestParameters = {}) {
476
618
  return (0, exports.ProductFieldsApiFp)(this.configuration).getProductFields(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
477
619
  }
620
+ /**
621
+ * Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
622
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
623
+ * @param {ProductFieldsApiGetProductFieldsRequest} requestParameters Request parameters.
624
+
625
+ * @throws {RequiredError}
626
+ * @memberof ProductFieldsApi
627
+ */
628
+ getProductFieldsWithHttpInfo(requestParameters = {}) {
629
+ return (0, exports.ProductFieldsApiFp)(this.configuration).getProductFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
630
+ }
478
631
  /**
479
632
  * Updates a product field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
480
633
  * @summary Update a product field
@@ -486,5 +639,16 @@ class ProductFieldsApi extends base_1.BaseAPI {
486
639
  updateProductField(requestParameters) {
487
640
  return (0, exports.ProductFieldsApiFp)(this.configuration).updateProductField(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(this.axios, this.basePath));
488
641
  }
642
+ /**
643
+ * Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
644
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
645
+ * @param {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
646
+
647
+ * @throws {RequiredError}
648
+ * @memberof ProductFieldsApi
649
+ */
650
+ updateProductFieldWithHttpInfo(requestParameters) {
651
+ return (0, exports.ProductFieldsApiFp)(this.configuration).updateProductFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(this.axios, this.basePath));
652
+ }
489
653
  }
490
654
  exports.ProductFieldsApi = ProductFieldsApi;
@@ -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 { AddNewFollowerResponse } from '../models';
16
16
  import { AddProductFollowerRequest } from '../models';
17
17
  import { DeleteProductFollowerResponse } from '../models';
@@ -97,6 +97,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
97
97
  * @throws {RequiredError}
98
98
  */
99
99
  addProductFollower(id: number, AddProductFollowerRequest?: AddProductFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddNewFollowerResponse>>;
100
+ /**
101
+ * Same as `addProductFollower`, but resolves with the response body together with the HTTP status and headers.
102
+ * @summary Add a follower to a product
103
+ * @param {number} id The ID of the product
104
+ * @param {AddProductFollowerRequest} [AddProductFollowerRequest]
105
+
106
+ * @throws {RequiredError}
107
+ */
108
+ addProductFollowerWithHttpInfo(id: number, AddProductFollowerRequest?: AddProductFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddNewFollowerResponse>>>;
100
109
  /**
101
110
  * Deletes a follower from a product.
102
111
  * @summary Delete a follower from a product
@@ -106,6 +115,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
106
115
  * @throws {RequiredError}
107
116
  */
108
117
  deleteProductFollower(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductFollowerResponse>>;
118
+ /**
119
+ * Same as `deleteProductFollower`, but resolves with the response body together with the HTTP status and headers.
120
+ * @summary Delete a follower from a product
121
+ * @param {number} id The ID of the product
122
+ * @param {number} follower_id The ID of the relationship between the follower and the product
123
+
124
+ * @throws {RequiredError}
125
+ */
126
+ deleteProductFollowerWithHttpInfo(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductFollowerResponse>>>;
109
127
  /**
110
128
  * Returns data about deals that have a product attached to it.
111
129
  * @summary Get deals where a product is attached to
@@ -117,6 +135,17 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
117
135
  * @throws {RequiredError}
118
136
  */
119
137
  getProductDeals(id: number, start?: number, limit?: number, status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedDealsResponse>>;
138
+ /**
139
+ * Same as `getProductDeals`, but resolves with the response body together with the HTTP status and headers.
140
+ * @summary Get deals where a product is attached to
141
+ * @param {number} id The ID of the product
142
+ * @param {number} [start] Pagination start
143
+ * @param {number} [limit] Items shown per page
144
+ * @param {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
145
+
146
+ * @throws {RequiredError}
147
+ */
148
+ getProductDealsWithHttpInfo(id: number, start?: number, limit?: number, status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetAssociatedDealsResponse>>>;
120
149
  /**
121
150
  * Lists files associated with a product.
122
151
  * @summary List files attached to a product
@@ -128,6 +157,17 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
128
157
  * @throws {RequiredError}
129
158
  */
130
159
  getProductFiles(id: number, start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedProductFilesResponse>>;
160
+ /**
161
+ * Same as `getProductFiles`, but resolves with the response body together with the HTTP status and headers.
162
+ * @summary List files attached to a product
163
+ * @param {number} id The ID of the product
164
+ * @param {number} [start] Pagination start
165
+ * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
166
+ * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
167
+
168
+ * @throws {RequiredError}
169
+ */
170
+ getProductFilesWithHttpInfo(id: number, start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetAssociatedProductFilesResponse>>>;
131
171
  /**
132
172
  * Lists the followers of a product.
133
173
  * @summary List followers of a product
@@ -138,6 +178,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
138
178
  * @throws {RequiredError}
139
179
  */
140
180
  getProductFollowers(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFollowersResponse>>;
181
+ /**
182
+ * Same as `getProductFollowers`, but resolves with the response body together with the HTTP status and headers.
183
+ * @summary List followers of a product
184
+ * @param {number} id The ID of the product
185
+ * @param {number} [start] Pagination start
186
+ * @param {number} [limit] Items shown per page
187
+
188
+ * @throws {RequiredError}
189
+ */
190
+ getProductFollowersWithHttpInfo(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFollowersResponse>>>;
141
191
  /**
142
192
  * Lists users permitted to access a product.
143
193
  * @summary List permitted users
@@ -146,6 +196,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
146
196
  * @throws {RequiredError}
147
197
  */
148
198
  getProductUsers(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
199
+ /**
200
+ * Same as `getProductUsers`, but resolves with the response body together with the HTTP status and headers.
201
+ * @summary List permitted users
202
+ * @param {number} id The ID of the product
203
+
204
+ * @throws {RequiredError}
205
+ */
206
+ getProductUsersWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UserIds>>>;
149
207
  };
150
208
  /**
151
209
  * ProductsApi - factory interface
@@ -160,6 +218,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
160
218
  * @throws {RequiredError}
161
219
  */
162
220
  addProductFollower(requestParameters: ProductsApiAddProductFollowerRequest): Promise<AddNewFollowerResponse>;
221
+ addProductFollowerWithHttpInfo(requestParameters: ProductsApiAddProductFollowerRequest): Promise<ApiResponse<AddNewFollowerResponse>>;
163
222
  /**
164
223
  * Deletes a follower from a product.
165
224
  * @summary Delete a follower from a product
@@ -168,6 +227,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
168
227
  * @throws {RequiredError}
169
228
  */
170
229
  deleteProductFollower(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<DeleteProductFollowerResponse>;
230
+ deleteProductFollowerWithHttpInfo(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<ApiResponse<DeleteProductFollowerResponse>>;
171
231
  /**
172
232
  * Returns data about deals that have a product attached to it.
173
233
  * @summary Get deals where a product is attached to
@@ -176,6 +236,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
176
236
  * @throws {RequiredError}
177
237
  */
178
238
  getProductDeals(requestParameters: ProductsApiGetProductDealsRequest): Promise<GetAssociatedDealsResponse>;
239
+ getProductDealsWithHttpInfo(requestParameters: ProductsApiGetProductDealsRequest): Promise<ApiResponse<GetAssociatedDealsResponse>>;
179
240
  /**
180
241
  * Lists files associated with a product.
181
242
  * @summary List files attached to a product
@@ -184,6 +245,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
184
245
  * @throws {RequiredError}
185
246
  */
186
247
  getProductFiles(requestParameters: ProductsApiGetProductFilesRequest): Promise<GetAssociatedProductFilesResponse>;
248
+ getProductFilesWithHttpInfo(requestParameters: ProductsApiGetProductFilesRequest): Promise<ApiResponse<GetAssociatedProductFilesResponse>>;
187
249
  /**
188
250
  * Lists the followers of a product.
189
251
  * @summary List followers of a product
@@ -192,6 +254,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
192
254
  * @throws {RequiredError}
193
255
  */
194
256
  getProductFollowers(requestParameters: ProductsApiGetProductFollowersRequest): Promise<GetProductFollowersResponse>;
257
+ getProductFollowersWithHttpInfo(requestParameters: ProductsApiGetProductFollowersRequest): Promise<ApiResponse<GetProductFollowersResponse>>;
195
258
  /**
196
259
  * Lists users permitted to access a product.
197
260
  * @summary List permitted users
@@ -200,6 +263,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
200
263
  * @throws {RequiredError}
201
264
  */
202
265
  getProductUsers(requestParameters: ProductsApiGetProductUsersRequest): Promise<UserIds>;
266
+ getProductUsersWithHttpInfo(requestParameters: ProductsApiGetProductUsersRequest): Promise<ApiResponse<UserIds>>;
203
267
  };
204
268
  /**
205
269
  * Request parameters for addProductFollower operation in ProductsApi.
@@ -355,6 +419,15 @@ export declare class ProductsApi extends BaseAPI {
355
419
  * @memberof ProductsApi
356
420
  */
357
421
  addProductFollower(requestParameters: ProductsApiAddProductFollowerRequest): Promise<AddNewFollowerResponse>;
422
+ /**
423
+ * Same as `addProductFollower`, but resolves with the response body together with the HTTP status and headers.
424
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
425
+ * @param {ProductsApiAddProductFollowerRequest} requestParameters Request parameters.
426
+
427
+ * @throws {RequiredError}
428
+ * @memberof ProductsApi
429
+ */
430
+ addProductFollowerWithHttpInfo(requestParameters: ProductsApiAddProductFollowerRequest): Promise<ApiResponse<AddNewFollowerResponse>>;
358
431
  /**
359
432
  * Deletes a follower from a product.
360
433
  * @summary Delete a follower from a product
@@ -364,6 +437,15 @@ export declare class ProductsApi extends BaseAPI {
364
437
  * @memberof ProductsApi
365
438
  */
366
439
  deleteProductFollower(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<DeleteProductFollowerResponse>;
440
+ /**
441
+ * Same as `deleteProductFollower`, but resolves with the response body together with the HTTP status and headers.
442
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
443
+ * @param {ProductsApiDeleteProductFollowerRequest} requestParameters Request parameters.
444
+
445
+ * @throws {RequiredError}
446
+ * @memberof ProductsApi
447
+ */
448
+ deleteProductFollowerWithHttpInfo(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<ApiResponse<DeleteProductFollowerResponse>>;
367
449
  /**
368
450
  * Returns data about deals that have a product attached to it.
369
451
  * @summary Get deals where a product is attached to
@@ -373,6 +455,15 @@ export declare class ProductsApi extends BaseAPI {
373
455
  * @memberof ProductsApi
374
456
  */
375
457
  getProductDeals(requestParameters: ProductsApiGetProductDealsRequest): Promise<GetAssociatedDealsResponse>;
458
+ /**
459
+ * Same as `getProductDeals`, but resolves with the response body together with the HTTP status and headers.
460
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
461
+ * @param {ProductsApiGetProductDealsRequest} requestParameters Request parameters.
462
+
463
+ * @throws {RequiredError}
464
+ * @memberof ProductsApi
465
+ */
466
+ getProductDealsWithHttpInfo(requestParameters: ProductsApiGetProductDealsRequest): Promise<ApiResponse<GetAssociatedDealsResponse>>;
376
467
  /**
377
468
  * Lists files associated with a product.
378
469
  * @summary List files attached to a product
@@ -382,6 +473,15 @@ export declare class ProductsApi extends BaseAPI {
382
473
  * @memberof ProductsApi
383
474
  */
384
475
  getProductFiles(requestParameters: ProductsApiGetProductFilesRequest): Promise<GetAssociatedProductFilesResponse>;
476
+ /**
477
+ * Same as `getProductFiles`, but resolves with the response body together with the HTTP status and headers.
478
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
479
+ * @param {ProductsApiGetProductFilesRequest} requestParameters Request parameters.
480
+
481
+ * @throws {RequiredError}
482
+ * @memberof ProductsApi
483
+ */
484
+ getProductFilesWithHttpInfo(requestParameters: ProductsApiGetProductFilesRequest): Promise<ApiResponse<GetAssociatedProductFilesResponse>>;
385
485
  /**
386
486
  * Lists the followers of a product.
387
487
  * @summary List followers of a product
@@ -391,6 +491,15 @@ export declare class ProductsApi extends BaseAPI {
391
491
  * @memberof ProductsApi
392
492
  */
393
493
  getProductFollowers(requestParameters: ProductsApiGetProductFollowersRequest): Promise<GetProductFollowersResponse>;
494
+ /**
495
+ * Same as `getProductFollowers`, but resolves with the response body together with the HTTP status and headers.
496
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
497
+ * @param {ProductsApiGetProductFollowersRequest} requestParameters Request parameters.
498
+
499
+ * @throws {RequiredError}
500
+ * @memberof ProductsApi
501
+ */
502
+ getProductFollowersWithHttpInfo(requestParameters: ProductsApiGetProductFollowersRequest): Promise<ApiResponse<GetProductFollowersResponse>>;
394
503
  /**
395
504
  * Lists users permitted to access a product.
396
505
  * @summary List permitted users
@@ -400,4 +509,13 @@ export declare class ProductsApi extends BaseAPI {
400
509
  * @memberof ProductsApi
401
510
  */
402
511
  getProductUsers(requestParameters: ProductsApiGetProductUsersRequest): Promise<UserIds>;
512
+ /**
513
+ * Same as `getProductUsers`, but resolves with the response body together with the HTTP status and headers.
514
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
515
+ * @param {ProductsApiGetProductUsersRequest} requestParameters Request parameters.
516
+
517
+ * @throws {RequiredError}
518
+ * @memberof ProductsApi
519
+ */
520
+ getProductUsersWithHttpInfo(requestParameters: ProductsApiGetProductUsersRequest): Promise<ApiResponse<UserIds>>;
403
521
  }