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
@@ -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 { GetPipelineDealsConversionRatesInResponse } from '../models';
16
16
  import { GetPipelineDealsMovementsStatisticsResponse } from '../models';
17
17
  import { GetStageDealsResponse } from '../models';
@@ -75,6 +75,17 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
75
75
  * @throws {RequiredError}
76
76
  */
77
77
  getPipelineConversionStatistics(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineDealsConversionRatesInResponse>>;
78
+ /**
79
+ * Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
80
+ * @summary Get deals conversion rates in pipeline
81
+ * @param {number} id The ID of the pipeline
82
+ * @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
83
+ * @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
84
+ * @param {number} [user_id] The ID of the user who\&#39;s pipeline metrics statistics to fetch. If omitted, the authorized user will be used.
85
+
86
+ * @throws {RequiredError}
87
+ */
88
+ getPipelineConversionStatisticsWithHttpInfo(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPipelineDealsConversionRatesInResponse>>>;
78
89
  /**
79
90
  * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
80
91
  * @summary Get deals in a pipeline
@@ -91,6 +102,22 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
91
102
  * @throws {RequiredError}
92
103
  */
93
104
  getPipelineDeals(id: number, filter_id?: number, user_id?: number, everyone?: 0 | 1, stage_id?: number, start?: number, limit?: number, get_summary?: 0 | 1, totals_convert_currency?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStageDealsResponse>>;
105
+ /**
106
+ * Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
107
+ * @summary Get deals in a pipeline
108
+ * @param {number} id The ID of the pipeline
109
+ * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
110
+ * @param {number} [user_id] If supplied, &#x60;filter_id&#x60; will not be considered and only deals owned by the given user will be returned. If omitted, deals owned by the authorized user will be returned.
111
+ * @param {0 | 1} [everyone] If supplied, &#x60;filter_id&#x60; and &#x60;user_id&#x60; will not be considered – instead, deals owned by everyone will be returned
112
+ * @param {number} [stage_id] If supplied, only deals within the given stage will be returned
113
+ * @param {number} [start] Pagination start
114
+ * @param {number} [limit] Items shown per page
115
+ * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
116
+ * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned inside &#x60;deals_summary&#x60; inside &#x60;additional_data&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used. Only works when &#x60;get_summary&#x60; parameter flag is enabled.
117
+ * @deprecated
118
+ * @throws {RequiredError}
119
+ */
120
+ getPipelineDealsWithHttpInfo(id: number, filter_id?: number, user_id?: number, everyone?: 0 | 1, stage_id?: number, start?: number, limit?: number, get_summary?: 0 | 1, totals_convert_currency?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetStageDealsResponse>>>;
94
121
  /**
95
122
  * Returns statistics for deals movements for the given time period.
96
123
  * @summary Get deals movements in pipeline
@@ -102,6 +129,17 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
102
129
  * @throws {RequiredError}
103
130
  */
104
131
  getPipelineMovementStatistics(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineDealsMovementsStatisticsResponse>>;
132
+ /**
133
+ * Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
134
+ * @summary Get deals movements in pipeline
135
+ * @param {number} id The ID of the pipeline
136
+ * @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
137
+ * @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
138
+ * @param {number} [user_id] The ID of the user who\&#39;s pipeline statistics to fetch. If omitted, the authorized user will be used.
139
+
140
+ * @throws {RequiredError}
141
+ */
142
+ getPipelineMovementStatisticsWithHttpInfo(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPipelineDealsMovementsStatisticsResponse>>>;
105
143
  };
106
144
  /**
107
145
  * PipelinesApi - factory interface
@@ -116,6 +154,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
116
154
  * @throws {RequiredError}
117
155
  */
118
156
  getPipelineConversionStatistics(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<GetPipelineDealsConversionRatesInResponse>;
157
+ getPipelineConversionStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<ApiResponse<GetPipelineDealsConversionRatesInResponse>>;
119
158
  /**
120
159
  * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
121
160
  * @summary Get deals in a pipeline
@@ -124,6 +163,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
124
163
  * @throws {RequiredError}
125
164
  */
126
165
  getPipelineDeals(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<GetStageDealsResponse>;
166
+ getPipelineDealsWithHttpInfo(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<ApiResponse<GetStageDealsResponse>>;
127
167
  /**
128
168
  * Returns statistics for deals movements for the given time period.
129
169
  * @summary Get deals movements in pipeline
@@ -132,6 +172,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
132
172
  * @throws {RequiredError}
133
173
  */
134
174
  getPipelineMovementStatistics(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<GetPipelineDealsMovementsStatisticsResponse>;
175
+ getPipelineMovementStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<ApiResponse<GetPipelineDealsMovementsStatisticsResponse>>;
135
176
  };
136
177
  /**
137
178
  * Request parameters for getPipelineConversionStatistics operation in PipelinesApi.
@@ -272,6 +313,15 @@ export declare class PipelinesApi extends BaseAPI {
272
313
  * @memberof PipelinesApi
273
314
  */
274
315
  getPipelineConversionStatistics(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<GetPipelineDealsConversionRatesInResponse>;
316
+ /**
317
+ * Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
318
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
319
+ * @param {PipelinesApiGetPipelineConversionStatisticsRequest} requestParameters Request parameters.
320
+
321
+ * @throws {RequiredError}
322
+ * @memberof PipelinesApi
323
+ */
324
+ getPipelineConversionStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<ApiResponse<GetPipelineDealsConversionRatesInResponse>>;
275
325
  /**
276
326
  * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
277
327
  * @summary Get deals in a pipeline
@@ -281,6 +331,15 @@ export declare class PipelinesApi extends BaseAPI {
281
331
  * @memberof PipelinesApi
282
332
  */
283
333
  getPipelineDeals(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<GetStageDealsResponse>;
334
+ /**
335
+ * Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
336
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
337
+ * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
338
+ * @deprecated
339
+ * @throws {RequiredError}
340
+ * @memberof PipelinesApi
341
+ */
342
+ getPipelineDealsWithHttpInfo(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<ApiResponse<GetStageDealsResponse>>;
284
343
  /**
285
344
  * Returns statistics for deals movements for the given time period.
286
345
  * @summary Get deals movements in pipeline
@@ -290,4 +349,13 @@ export declare class PipelinesApi extends BaseAPI {
290
349
  * @memberof PipelinesApi
291
350
  */
292
351
  getPipelineMovementStatistics(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<GetPipelineDealsMovementsStatisticsResponse>;
352
+ /**
353
+ * Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
354
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
355
+ * @param {PipelinesApiGetPipelineMovementStatisticsRequest} requestParameters Request parameters.
356
+
357
+ * @throws {RequiredError}
358
+ * @memberof PipelinesApi
359
+ */
360
+ getPipelineMovementStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<ApiResponse<GetPipelineDealsMovementsStatisticsResponse>>;
293
361
  }
@@ -231,6 +231,22 @@ export const PipelinesApiFp = function (configuration) {
231
231
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
232
232
  });
233
233
  },
234
+ /**
235
+ * Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
236
+ * @summary Get deals conversion rates in pipeline
237
+ * @param {number} id The ID of the pipeline
238
+ * @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
239
+ * @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
240
+ * @param {number} [user_id] The ID of the user who\&#39;s pipeline metrics statistics to fetch. If omitted, the authorized user will be used.
241
+
242
+ * @throws {RequiredError}
243
+ */
244
+ getPipelineConversionStatisticsWithHttpInfo(id, start_date, end_date, user_id) {
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPipelineConversionStatistics(id, start_date, end_date, user_id);
247
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
248
+ });
249
+ },
234
250
  /**
235
251
  * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
236
252
  * @summary Get deals in a pipeline
@@ -252,6 +268,27 @@ export const PipelinesApiFp = function (configuration) {
252
268
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
253
269
  });
254
270
  },
271
+ /**
272
+ * Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
273
+ * @summary Get deals in a pipeline
274
+ * @param {number} id The ID of the pipeline
275
+ * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
276
+ * @param {number} [user_id] If supplied, &#x60;filter_id&#x60; will not be considered and only deals owned by the given user will be returned. If omitted, deals owned by the authorized user will be returned.
277
+ * @param {0 | 1} [everyone] If supplied, &#x60;filter_id&#x60; and &#x60;user_id&#x60; will not be considered – instead, deals owned by everyone will be returned
278
+ * @param {number} [stage_id] If supplied, only deals within the given stage will be returned
279
+ * @param {number} [start] Pagination start
280
+ * @param {number} [limit] Items shown per page
281
+ * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
282
+ * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned inside &#x60;deals_summary&#x60; inside &#x60;additional_data&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used. Only works when &#x60;get_summary&#x60; parameter flag is enabled.
283
+ * @deprecated
284
+ * @throws {RequiredError}
285
+ */
286
+ getPipelineDealsWithHttpInfo(id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency) {
287
+ return __awaiter(this, void 0, void 0, function* () {
288
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPipelineDeals(id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency);
289
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
290
+ });
291
+ },
255
292
  /**
256
293
  * Returns statistics for deals movements for the given time period.
257
294
  * @summary Get deals movements in pipeline
@@ -268,6 +305,22 @@ export const PipelinesApiFp = function (configuration) {
268
305
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
269
306
  });
270
307
  },
308
+ /**
309
+ * Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
310
+ * @summary Get deals movements in pipeline
311
+ * @param {number} id The ID of the pipeline
312
+ * @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
313
+ * @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
314
+ * @param {number} [user_id] The ID of the user who\&#39;s pipeline statistics to fetch. If omitted, the authorized user will be used.
315
+
316
+ * @throws {RequiredError}
317
+ */
318
+ getPipelineMovementStatisticsWithHttpInfo(id, start_date, end_date, user_id) {
319
+ return __awaiter(this, void 0, void 0, function* () {
320
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPipelineMovementStatistics(id, start_date, end_date, user_id);
321
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
322
+ });
323
+ },
271
324
  };
272
325
  };
273
326
  /**
@@ -287,6 +340,9 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
287
340
  getPipelineConversionStatistics(requestParameters) {
288
341
  return localVarFp.getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
289
342
  },
343
+ getPipelineConversionStatisticsWithHttpInfo(requestParameters) {
344
+ return localVarFp.getPipelineConversionStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
345
+ },
290
346
  /**
291
347
  * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
292
348
  * @summary Get deals in a pipeline
@@ -297,6 +353,9 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
297
353
  getPipelineDeals(requestParameters) {
298
354
  return localVarFp.getPipelineDeals(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(axios, basePath));
299
355
  },
356
+ getPipelineDealsWithHttpInfo(requestParameters) {
357
+ return localVarFp.getPipelineDealsWithHttpInfo(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(axios, basePath));
358
+ },
300
359
  /**
301
360
  * Returns statistics for deals movements for the given time period.
302
361
  * @summary Get deals movements in pipeline
@@ -307,6 +366,9 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
307
366
  getPipelineMovementStatistics(requestParameters) {
308
367
  return localVarFp.getPipelineMovementStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
309
368
  },
369
+ getPipelineMovementStatisticsWithHttpInfo(requestParameters) {
370
+ return localVarFp.getPipelineMovementStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
371
+ },
310
372
  };
311
373
  };
312
374
  /**
@@ -327,6 +389,17 @@ export class PipelinesApi extends BaseAPI {
327
389
  getPipelineConversionStatistics(requestParameters) {
328
390
  return PipelinesApiFp(this.configuration).getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
329
391
  }
392
+ /**
393
+ * Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
394
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
395
+ * @param {PipelinesApiGetPipelineConversionStatisticsRequest} requestParameters Request parameters.
396
+
397
+ * @throws {RequiredError}
398
+ * @memberof PipelinesApi
399
+ */
400
+ getPipelineConversionStatisticsWithHttpInfo(requestParameters) {
401
+ return PipelinesApiFp(this.configuration).getPipelineConversionStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
402
+ }
330
403
  /**
331
404
  * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
332
405
  * @summary Get deals in a pipeline
@@ -338,6 +411,17 @@ export class PipelinesApi extends BaseAPI {
338
411
  getPipelineDeals(requestParameters) {
339
412
  return PipelinesApiFp(this.configuration).getPipelineDeals(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(this.axios, this.basePath));
340
413
  }
414
+ /**
415
+ * Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
416
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
417
+ * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
418
+ * @deprecated
419
+ * @throws {RequiredError}
420
+ * @memberof PipelinesApi
421
+ */
422
+ getPipelineDealsWithHttpInfo(requestParameters) {
423
+ return PipelinesApiFp(this.configuration).getPipelineDealsWithHttpInfo(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(this.axios, this.basePath));
424
+ }
341
425
  /**
342
426
  * Returns statistics for deals movements for the given time period.
343
427
  * @summary Get deals movements in pipeline
@@ -349,4 +433,15 @@ export class PipelinesApi extends BaseAPI {
349
433
  getPipelineMovementStatistics(requestParameters) {
350
434
  return PipelinesApiFp(this.configuration).getPipelineMovementStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
351
435
  }
436
+ /**
437
+ * Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
438
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
439
+ * @param {PipelinesApiGetPipelineMovementStatisticsRequest} requestParameters Request parameters.
440
+
441
+ * @throws {RequiredError}
442
+ * @memberof PipelinesApi
443
+ */
444
+ getPipelineMovementStatisticsWithHttpInfo(requestParameters) {
445
+ return PipelinesApiFp(this.configuration).getPipelineMovementStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
446
+ }
352
447
  }
@@ -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 { DeleteProductFieldResponse } from '../models';
16
16
  import { DeleteProductFieldsResponse } from '../models';
17
17
  import { GetProductFieldResponse } from '../models';
@@ -87,6 +87,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
87
87
  * @throws {RequiredError}
88
88
  */
89
89
  addProductField(ProductFieldAllOf?: ProductFieldAllOf): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldResponse>>;
90
+ /**
91
+ * Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
92
+ * @summary Add a new product field
93
+ * @param {ProductFieldAllOf} [ProductFieldAllOf]
94
+
95
+ * @throws {RequiredError}
96
+ */
97
+ addProductFieldWithHttpInfo(ProductFieldAllOf?: ProductFieldAllOf): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldResponse>>>;
90
98
  /**
91
99
  * 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>.
92
100
  * @summary Delete a product field
@@ -95,6 +103,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
95
103
  * @throws {RequiredError}
96
104
  */
97
105
  deleteProductField(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductFieldResponse>>;
106
+ /**
107
+ * Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
108
+ * @summary Delete a product field
109
+ * @param {number} id The ID of the product field
110
+
111
+ * @throws {RequiredError}
112
+ */
113
+ deleteProductFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductFieldResponse>>>;
98
114
  /**
99
115
  * Marks multiple fields as deleted.
100
116
  * @summary Delete multiple product fields in bulk
@@ -103,6 +119,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
103
119
  * @throws {RequiredError}
104
120
  */
105
121
  deleteProductFields(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductFieldsResponse>>;
122
+ /**
123
+ * Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
124
+ * @summary Delete multiple product fields in bulk
125
+ * @param {Set<number>} ids The comma-separated field IDs to delete
126
+
127
+ * @throws {RequiredError}
128
+ */
129
+ deleteProductFieldsWithHttpInfo(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductFieldsResponse>>>;
106
130
  /**
107
131
  * Returns data about a specific product field.
108
132
  * @summary Get one product field
@@ -111,6 +135,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
111
135
  * @throws {RequiredError}
112
136
  */
113
137
  getProductField(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldResponse>>;
138
+ /**
139
+ * Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
140
+ * @summary Get one product field
141
+ * @param {number} id The ID of the product field
142
+
143
+ * @throws {RequiredError}
144
+ */
145
+ getProductFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldResponse>>>;
114
146
  /**
115
147
  * Returns data about all product fields.
116
148
  * @summary Get all product fields
@@ -120,6 +152,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
120
152
  * @throws {RequiredError}
121
153
  */
122
154
  getProductFields(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldsResponse>>;
155
+ /**
156
+ * Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
157
+ * @summary Get all product fields
158
+ * @param {number} [start] Pagination start
159
+ * @param {number} [limit] Items shown per page
160
+
161
+ * @throws {RequiredError}
162
+ */
163
+ getProductFieldsWithHttpInfo(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldsResponse>>>;
123
164
  /**
124
165
  * 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>.
125
166
  * @summary Update a product field
@@ -129,6 +170,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
129
170
  * @throws {RequiredError}
130
171
  */
131
172
  updateProductField(id: number, UpdateProductFieldResponse?: UpdateProductFieldResponse): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldResponse>>;
173
+ /**
174
+ * Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
175
+ * @summary Update a product field
176
+ * @param {number} id The ID of the product field
177
+ * @param {UpdateProductFieldResponse} [UpdateProductFieldResponse]
178
+
179
+ * @throws {RequiredError}
180
+ */
181
+ updateProductFieldWithHttpInfo(id: number, UpdateProductFieldResponse?: UpdateProductFieldResponse): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldResponse>>>;
132
182
  };
133
183
  /**
134
184
  * ProductFieldsApi - factory interface
@@ -143,6 +193,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
143
193
  * @throws {RequiredError}
144
194
  */
145
195
  addProductField(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<GetProductFieldResponse>;
196
+ addProductFieldWithHttpInfo(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
146
197
  /**
147
198
  * 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>.
148
199
  * @summary Delete a product field
@@ -151,6 +202,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
151
202
  * @throws {RequiredError}
152
203
  */
153
204
  deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<DeleteProductFieldResponse>;
205
+ deleteProductFieldWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<ApiResponse<DeleteProductFieldResponse>>;
154
206
  /**
155
207
  * Marks multiple fields as deleted.
156
208
  * @summary Delete multiple product fields in bulk
@@ -159,6 +211,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
159
211
  * @throws {RequiredError}
160
212
  */
161
213
  deleteProductFields(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<DeleteProductFieldsResponse>;
214
+ deleteProductFieldsWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<ApiResponse<DeleteProductFieldsResponse>>;
162
215
  /**
163
216
  * Returns data about a specific product field.
164
217
  * @summary Get one product field
@@ -167,6 +220,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
167
220
  * @throws {RequiredError}
168
221
  */
169
222
  getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<GetProductFieldResponse>;
223
+ getProductFieldWithHttpInfo(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
170
224
  /**
171
225
  * Returns data about all product fields.
172
226
  * @summary Get all product fields
@@ -175,6 +229,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
175
229
  * @throws {RequiredError}
176
230
  */
177
231
  getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFieldsResponse>;
232
+ getProductFieldsWithHttpInfo(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<ApiResponse<GetProductFieldsResponse>>;
178
233
  /**
179
234
  * 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>.
180
235
  * @summary Update a product field
@@ -183,6 +238,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
183
238
  * @throws {RequiredError}
184
239
  */
185
240
  updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<GetProductFieldResponse>;
241
+ updateProductFieldWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
186
242
  };
187
243
  /**
188
244
  * Request parameters for addProductField operation in ProductFieldsApi.
@@ -290,6 +346,15 @@ export declare class ProductFieldsApi extends BaseAPI {
290
346
  * @memberof ProductFieldsApi
291
347
  */
292
348
  addProductField(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<GetProductFieldResponse>;
349
+ /**
350
+ * Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
351
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
352
+ * @param {ProductFieldsApiAddProductFieldRequest} requestParameters Request parameters.
353
+
354
+ * @throws {RequiredError}
355
+ * @memberof ProductFieldsApi
356
+ */
357
+ addProductFieldWithHttpInfo(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
293
358
  /**
294
359
  * 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>.
295
360
  * @summary Delete a product field
@@ -299,6 +364,15 @@ export declare class ProductFieldsApi extends BaseAPI {
299
364
  * @memberof ProductFieldsApi
300
365
  */
301
366
  deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<DeleteProductFieldResponse>;
367
+ /**
368
+ * Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
369
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
370
+ * @param {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
371
+
372
+ * @throws {RequiredError}
373
+ * @memberof ProductFieldsApi
374
+ */
375
+ deleteProductFieldWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<ApiResponse<DeleteProductFieldResponse>>;
302
376
  /**
303
377
  * Marks multiple fields as deleted.
304
378
  * @summary Delete multiple product fields in bulk
@@ -308,6 +382,15 @@ export declare class ProductFieldsApi extends BaseAPI {
308
382
  * @memberof ProductFieldsApi
309
383
  */
310
384
  deleteProductFields(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<DeleteProductFieldsResponse>;
385
+ /**
386
+ * Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
387
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
388
+ * @param {ProductFieldsApiDeleteProductFieldsRequest} requestParameters Request parameters.
389
+
390
+ * @throws {RequiredError}
391
+ * @memberof ProductFieldsApi
392
+ */
393
+ deleteProductFieldsWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<ApiResponse<DeleteProductFieldsResponse>>;
311
394
  /**
312
395
  * Returns data about a specific product field.
313
396
  * @summary Get one product field
@@ -317,6 +400,15 @@ export declare class ProductFieldsApi extends BaseAPI {
317
400
  * @memberof ProductFieldsApi
318
401
  */
319
402
  getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<GetProductFieldResponse>;
403
+ /**
404
+ * Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
405
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
406
+ * @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
407
+
408
+ * @throws {RequiredError}
409
+ * @memberof ProductFieldsApi
410
+ */
411
+ getProductFieldWithHttpInfo(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
320
412
  /**
321
413
  * Returns data about all product fields.
322
414
  * @summary Get all product fields
@@ -326,6 +418,15 @@ export declare class ProductFieldsApi extends BaseAPI {
326
418
  * @memberof ProductFieldsApi
327
419
  */
328
420
  getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFieldsResponse>;
421
+ /**
422
+ * Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
423
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
424
+ * @param {ProductFieldsApiGetProductFieldsRequest} requestParameters Request parameters.
425
+
426
+ * @throws {RequiredError}
427
+ * @memberof ProductFieldsApi
428
+ */
429
+ getProductFieldsWithHttpInfo(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<ApiResponse<GetProductFieldsResponse>>;
329
430
  /**
330
431
  * 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
432
  * @summary Update a product field
@@ -335,4 +436,13 @@ export declare class ProductFieldsApi extends BaseAPI {
335
436
  * @memberof ProductFieldsApi
336
437
  */
337
438
  updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<GetProductFieldResponse>;
439
+ /**
440
+ * Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
441
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
442
+ * @param {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
443
+
444
+ * @throws {RequiredError}
445
+ * @memberof ProductFieldsApi
446
+ */
447
+ updateProductFieldWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
338
448
  }