pipedrive 36.0.1 → 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 (277) 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/v2/api/activities-api.d.ts +107 -1
  88. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  89. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  90. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  91. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  92. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  93. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  94. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  95. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  96. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  97. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  98. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  99. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  100. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  101. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  102. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  103. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  104. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  105. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  106. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  107. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  108. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  109. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  112. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  113. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  114. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  115. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  116. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  117. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  118. package/dist/esm/versions/v2/api/products-api.js +541 -0
  119. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  120. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  121. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  122. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  123. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  124. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  125. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  126. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  127. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  128. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  129. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  130. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  131. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  132. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  133. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  134. package/dist/esm/versions/v2/api/users-api.js +29 -0
  135. package/dist/esm/versions/v2/base.d.ts +17 -0
  136. package/dist/esm/versions/v2/base.js +22 -0
  137. package/dist/esm/versions/v2/common.d.ts +1 -1
  138. package/dist/esm/versions/v2/common.js +7 -4
  139. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  140. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  141. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  142. package/dist/versions/v1/api/activity-types-api.js +107 -0
  143. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  144. package/dist/versions/v1/api/billing-api.js +25 -0
  145. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  146. package/dist/versions/v1/api/call-logs-api.js +137 -0
  147. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  148. package/dist/versions/v1/api/channels-api.js +109 -0
  149. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  150. package/dist/versions/v1/api/currencies-api.js +27 -0
  151. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  152. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  153. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  154. package/dist/versions/v1/api/deals-api.js +569 -0
  155. package/dist/versions/v1/api/files-api.d.ts +163 -1
  156. package/dist/versions/v1/api/files-api.js +234 -0
  157. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  158. package/dist/versions/v1/api/filters-api.js +191 -0
  159. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  160. package/dist/versions/v1/api/goals-api.js +150 -0
  161. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  162. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  163. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  164. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  165. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  166. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  167. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  168. package/dist/versions/v1/api/leads-api.js +237 -0
  169. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  170. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  171. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  172. package/dist/versions/v1/api/mailbox-api.js +170 -0
  173. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  174. package/dist/versions/v1/api/meetings-api.js +54 -0
  175. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  176. package/dist/versions/v1/api/note-fields-api.js +25 -0
  177. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  178. package/dist/versions/v1/api/notes-api.js +296 -0
  179. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  180. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  181. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  182. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  183. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  184. package/dist/versions/v1/api/organizations-api.js +258 -0
  185. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  186. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  187. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  188. package/dist/versions/v1/api/person-fields-api.js +164 -0
  189. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  190. package/dist/versions/v1/api/persons-api.js +370 -24
  191. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  192. package/dist/versions/v1/api/pipelines-api.js +95 -0
  193. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  194. package/dist/versions/v1/api/product-fields-api.js +164 -0
  195. package/dist/versions/v1/api/products-api.d.ts +119 -1
  196. package/dist/versions/v1/api/products-api.js +172 -0
  197. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  198. package/dist/versions/v1/api/project-boards-api.js +52 -0
  199. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  200. package/dist/versions/v1/api/project-phases-api.js +54 -0
  201. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  202. package/dist/versions/v1/api/project-templates-api.js +55 -0
  203. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  204. package/dist/versions/v1/api/projects-api.js +334 -0
  205. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  206. package/dist/versions/v1/api/recents-api.js +30 -0
  207. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  208. package/dist/versions/v1/api/roles-api.js +333 -0
  209. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  210. package/dist/versions/v1/api/stages-api.js +32 -0
  211. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  212. package/dist/versions/v1/api/tasks-api.js +141 -0
  213. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  214. package/dist/versions/v1/api/user-connections-api.js +25 -0
  215. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  216. package/dist/versions/v1/api/user-settings-api.js +25 -0
  217. package/dist/versions/v1/api/users-api.d.ts +181 -1
  218. package/dist/versions/v1/api/users-api.js +270 -0
  219. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  220. package/dist/versions/v1/api/webhooks-api.js +79 -0
  221. package/dist/versions/v1/base.d.ts +17 -0
  222. package/dist/versions/v1/base.js +24 -1
  223. package/dist/versions/v1/common.d.ts +1 -1
  224. package/dist/versions/v1/common.js +6 -3
  225. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  226. package/dist/versions/v2/api/activities-api.js +151 -0
  227. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  228. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  229. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  230. package/dist/versions/v2/api/beta-api.js +666 -0
  231. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  232. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  233. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  234. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  235. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  236. package/dist/versions/v2/api/deal-products-api.js +203 -0
  237. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  238. package/dist/versions/v2/api/deals-api.js +516 -1
  239. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  240. package/dist/versions/v2/api/item-search-api.js +66 -0
  241. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  242. package/dist/versions/v2/api/leads-api.js +90 -0
  243. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  244. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  245. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  246. package/dist/versions/v2/api/organizations-api.js +297 -0
  247. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  248. package/dist/versions/v2/api/person-fields-api.js +223 -0
  249. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  250. package/dist/versions/v2/api/persons-api.js +328 -0
  251. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  252. package/dist/versions/v2/api/pipelines-api.js +139 -0
  253. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  254. package/dist/versions/v2/api/product-fields-api.js +223 -0
  255. package/dist/versions/v2/api/products-api.d.ts +371 -1
  256. package/dist/versions/v2/api/products-api.js +541 -0
  257. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  258. package/dist/versions/v2/api/project-boards-api.js +134 -0
  259. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  260. package/dist/versions/v2/api/project-fields-api.js +221 -0
  261. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  262. package/dist/versions/v2/api/project-phases-api.js +136 -0
  263. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  264. package/dist/versions/v2/api/project-templates-api.js +55 -0
  265. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  266. package/dist/versions/v2/api/projects-api.js +290 -0
  267. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  268. package/dist/versions/v2/api/stages-api.js +140 -0
  269. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  270. package/dist/versions/v2/api/tasks-api.js +142 -0
  271. package/dist/versions/v2/api/users-api.d.ts +21 -1
  272. package/dist/versions/v2/api/users-api.js +29 -0
  273. package/dist/versions/v2/base.d.ts +17 -0
  274. package/dist/versions/v2/base.js +24 -1
  275. package/dist/versions/v2/common.d.ts +1 -1
  276. package/dist/versions/v2/common.js +6 -3
  277. package/package.json +1 -1
@@ -266,6 +266,19 @@ export const ProductFieldsApiFp = function (configuration) {
266
266
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
267
267
  });
268
268
  },
269
+ /**
270
+ * Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
271
+ * @summary Add a new product field
272
+ * @param {ProductFieldAllOf} [ProductFieldAllOf]
273
+
274
+ * @throws {RequiredError}
275
+ */
276
+ addProductFieldWithHttpInfo(ProductFieldAllOf) {
277
+ return __awaiter(this, void 0, void 0, function* () {
278
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addProductField(ProductFieldAllOf);
279
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
280
+ });
281
+ },
269
282
  /**
270
283
  * 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>.
271
284
  * @summary Delete a product field
@@ -279,6 +292,19 @@ export const ProductFieldsApiFp = function (configuration) {
279
292
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
280
293
  });
281
294
  },
295
+ /**
296
+ * Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
297
+ * @summary Delete a product field
298
+ * @param {number} id The ID of the product field
299
+
300
+ * @throws {RequiredError}
301
+ */
302
+ deleteProductFieldWithHttpInfo(id) {
303
+ return __awaiter(this, void 0, void 0, function* () {
304
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductField(id);
305
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
306
+ });
307
+ },
282
308
  /**
283
309
  * Marks multiple fields as deleted.
284
310
  * @summary Delete multiple product fields in bulk
@@ -292,6 +318,19 @@ export const ProductFieldsApiFp = function (configuration) {
292
318
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
293
319
  });
294
320
  },
321
+ /**
322
+ * Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
323
+ * @summary Delete multiple product fields in bulk
324
+ * @param {Set<number>} ids The comma-separated field IDs to delete
325
+
326
+ * @throws {RequiredError}
327
+ */
328
+ deleteProductFieldsWithHttpInfo(ids) {
329
+ return __awaiter(this, void 0, void 0, function* () {
330
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductFields(ids);
331
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
332
+ });
333
+ },
295
334
  /**
296
335
  * Returns data about a specific product field.
297
336
  * @summary Get one product field
@@ -305,6 +344,19 @@ export const ProductFieldsApiFp = function (configuration) {
305
344
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
306
345
  });
307
346
  },
347
+ /**
348
+ * Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
349
+ * @summary Get one product field
350
+ * @param {number} id The ID of the product field
351
+
352
+ * @throws {RequiredError}
353
+ */
354
+ getProductFieldWithHttpInfo(id) {
355
+ return __awaiter(this, void 0, void 0, function* () {
356
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductField(id);
357
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
358
+ });
359
+ },
308
360
  /**
309
361
  * Returns data about all product fields.
310
362
  * @summary Get all product fields
@@ -319,6 +371,20 @@ export const ProductFieldsApiFp = function (configuration) {
319
371
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
320
372
  });
321
373
  },
374
+ /**
375
+ * Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
376
+ * @summary Get all product fields
377
+ * @param {number} [start] Pagination start
378
+ * @param {number} [limit] Items shown per page
379
+
380
+ * @throws {RequiredError}
381
+ */
382
+ getProductFieldsWithHttpInfo(start, limit) {
383
+ return __awaiter(this, void 0, void 0, function* () {
384
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductFields(start, limit);
385
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
386
+ });
387
+ },
322
388
  /**
323
389
  * 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>.
324
390
  * @summary Update a product field
@@ -333,6 +399,20 @@ export const ProductFieldsApiFp = function (configuration) {
333
399
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
334
400
  });
335
401
  },
402
+ /**
403
+ * Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
404
+ * @summary Update a product field
405
+ * @param {number} id The ID of the product field
406
+ * @param {UpdateProductFieldResponse} [UpdateProductFieldResponse]
407
+
408
+ * @throws {RequiredError}
409
+ */
410
+ updateProductFieldWithHttpInfo(id, UpdateProductFieldResponse) {
411
+ return __awaiter(this, void 0, void 0, function* () {
412
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProductField(id, UpdateProductFieldResponse);
413
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
414
+ });
415
+ },
336
416
  };
337
417
  };
338
418
  /**
@@ -352,6 +432,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
352
432
  addProductField(requestParameters = {}) {
353
433
  return localVarFp.addProductField(requestParameters.ProductFieldAllOf).then((request) => request(axios, basePath));
354
434
  },
435
+ addProductFieldWithHttpInfo(requestParameters = {}) {
436
+ return localVarFp.addProductFieldWithHttpInfo(requestParameters.ProductFieldAllOf).then((request) => request(axios, basePath));
437
+ },
355
438
  /**
356
439
  * 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>.
357
440
  * @summary Delete a product field
@@ -362,6 +445,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
362
445
  deleteProductField(requestParameters) {
363
446
  return localVarFp.deleteProductField(requestParameters.id).then((request) => request(axios, basePath));
364
447
  },
448
+ deleteProductFieldWithHttpInfo(requestParameters) {
449
+ return localVarFp.deleteProductFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
450
+ },
365
451
  /**
366
452
  * Marks multiple fields as deleted.
367
453
  * @summary Delete multiple product fields in bulk
@@ -372,6 +458,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
372
458
  deleteProductFields(requestParameters) {
373
459
  return localVarFp.deleteProductFields(requestParameters.ids).then((request) => request(axios, basePath));
374
460
  },
461
+ deleteProductFieldsWithHttpInfo(requestParameters) {
462
+ return localVarFp.deleteProductFieldsWithHttpInfo(requestParameters.ids).then((request) => request(axios, basePath));
463
+ },
375
464
  /**
376
465
  * Returns data about a specific product field.
377
466
  * @summary Get one product field
@@ -382,6 +471,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
382
471
  getProductField(requestParameters) {
383
472
  return localVarFp.getProductField(requestParameters.id).then((request) => request(axios, basePath));
384
473
  },
474
+ getProductFieldWithHttpInfo(requestParameters) {
475
+ return localVarFp.getProductFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
476
+ },
385
477
  /**
386
478
  * Returns data about all product fields.
387
479
  * @summary Get all product fields
@@ -392,6 +484,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
392
484
  getProductFields(requestParameters = {}) {
393
485
  return localVarFp.getProductFields(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
394
486
  },
487
+ getProductFieldsWithHttpInfo(requestParameters = {}) {
488
+ return localVarFp.getProductFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
489
+ },
395
490
  /**
396
491
  * 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>.
397
492
  * @summary Update a product field
@@ -402,6 +497,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
402
497
  updateProductField(requestParameters) {
403
498
  return localVarFp.updateProductField(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(axios, basePath));
404
499
  },
500
+ updateProductFieldWithHttpInfo(requestParameters) {
501
+ return localVarFp.updateProductFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(axios, basePath));
502
+ },
405
503
  };
406
504
  };
407
505
  /**
@@ -422,6 +520,17 @@ export class ProductFieldsApi extends BaseAPI {
422
520
  addProductField(requestParameters = {}) {
423
521
  return ProductFieldsApiFp(this.configuration).addProductField(requestParameters.ProductFieldAllOf).then((request) => request(this.axios, this.basePath));
424
522
  }
523
+ /**
524
+ * Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
525
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
526
+ * @param {ProductFieldsApiAddProductFieldRequest} requestParameters Request parameters.
527
+
528
+ * @throws {RequiredError}
529
+ * @memberof ProductFieldsApi
530
+ */
531
+ addProductFieldWithHttpInfo(requestParameters = {}) {
532
+ return ProductFieldsApiFp(this.configuration).addProductFieldWithHttpInfo(requestParameters.ProductFieldAllOf).then((request) => request(this.axios, this.basePath));
533
+ }
425
534
  /**
426
535
  * 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>.
427
536
  * @summary Delete a product field
@@ -433,6 +542,17 @@ export class ProductFieldsApi extends BaseAPI {
433
542
  deleteProductField(requestParameters) {
434
543
  return ProductFieldsApiFp(this.configuration).deleteProductField(requestParameters.id).then((request) => request(this.axios, this.basePath));
435
544
  }
545
+ /**
546
+ * Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
547
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
548
+ * @param {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
549
+
550
+ * @throws {RequiredError}
551
+ * @memberof ProductFieldsApi
552
+ */
553
+ deleteProductFieldWithHttpInfo(requestParameters) {
554
+ return ProductFieldsApiFp(this.configuration).deleteProductFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
555
+ }
436
556
  /**
437
557
  * Marks multiple fields as deleted.
438
558
  * @summary Delete multiple product fields in bulk
@@ -444,6 +564,17 @@ export class ProductFieldsApi extends BaseAPI {
444
564
  deleteProductFields(requestParameters) {
445
565
  return ProductFieldsApiFp(this.configuration).deleteProductFields(requestParameters.ids).then((request) => request(this.axios, this.basePath));
446
566
  }
567
+ /**
568
+ * Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
569
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
570
+ * @param {ProductFieldsApiDeleteProductFieldsRequest} requestParameters Request parameters.
571
+
572
+ * @throws {RequiredError}
573
+ * @memberof ProductFieldsApi
574
+ */
575
+ deleteProductFieldsWithHttpInfo(requestParameters) {
576
+ return ProductFieldsApiFp(this.configuration).deleteProductFieldsWithHttpInfo(requestParameters.ids).then((request) => request(this.axios, this.basePath));
577
+ }
447
578
  /**
448
579
  * Returns data about a specific product field.
449
580
  * @summary Get one product field
@@ -455,6 +586,17 @@ export class ProductFieldsApi extends BaseAPI {
455
586
  getProductField(requestParameters) {
456
587
  return ProductFieldsApiFp(this.configuration).getProductField(requestParameters.id).then((request) => request(this.axios, this.basePath));
457
588
  }
589
+ /**
590
+ * Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
591
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
592
+ * @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
593
+
594
+ * @throws {RequiredError}
595
+ * @memberof ProductFieldsApi
596
+ */
597
+ getProductFieldWithHttpInfo(requestParameters) {
598
+ return ProductFieldsApiFp(this.configuration).getProductFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
599
+ }
458
600
  /**
459
601
  * Returns data about all product fields.
460
602
  * @summary Get all product fields
@@ -466,6 +608,17 @@ export class ProductFieldsApi extends BaseAPI {
466
608
  getProductFields(requestParameters = {}) {
467
609
  return ProductFieldsApiFp(this.configuration).getProductFields(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
468
610
  }
611
+ /**
612
+ * Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
613
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
614
+ * @param {ProductFieldsApiGetProductFieldsRequest} requestParameters Request parameters.
615
+
616
+ * @throws {RequiredError}
617
+ * @memberof ProductFieldsApi
618
+ */
619
+ getProductFieldsWithHttpInfo(requestParameters = {}) {
620
+ return ProductFieldsApiFp(this.configuration).getProductFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
621
+ }
469
622
  /**
470
623
  * 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>.
471
624
  * @summary Update a product field
@@ -477,4 +630,15 @@ export class ProductFieldsApi extends BaseAPI {
477
630
  updateProductField(requestParameters) {
478
631
  return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(this.axios, this.basePath));
479
632
  }
633
+ /**
634
+ * Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
635
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
636
+ * @param {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
637
+
638
+ * @throws {RequiredError}
639
+ * @memberof ProductFieldsApi
640
+ */
641
+ updateProductFieldWithHttpInfo(requestParameters) {
642
+ return ProductFieldsApiFp(this.configuration).updateProductFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateProductFieldResponse).then((request) => request(this.axios, this.basePath));
643
+ }
480
644
  }
@@ -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
  }