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 { AddFilterRequest } from '../models';
16
16
  import { AddFiltersResponse } from '../models';
17
17
  import { DeleteFilterResponse } from '../models';
@@ -98,6 +98,15 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
98
98
  * @throws {RequiredError}
99
99
  */
100
100
  addFilter(include_field_code?: boolean, AddFilterRequest?: AddFilterRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddFiltersResponse>>;
101
+ /**
102
+ * Same as `addFilter`, but resolves with the response body together with the HTTP status and headers.
103
+ * @summary Add a new filter
104
+ * @param {boolean} [include_field_code] If set to &#x60;true&#x60;, each condition in the response includes a &#x60;field_code&#x60; field identifying the field by its code name
105
+ * @param {AddFilterRequest} [AddFilterRequest]
106
+
107
+ * @throws {RequiredError}
108
+ */
109
+ addFilterWithHttpInfo(include_field_code?: boolean, AddFilterRequest?: AddFilterRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddFiltersResponse>>>;
101
110
  /**
102
111
  * Marks a filter as deleted.
103
112
  * @summary Delete a filter
@@ -106,6 +115,14 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
106
115
  * @throws {RequiredError}
107
116
  */
108
117
  deleteFilter(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteFilterResponse>>;
118
+ /**
119
+ * Same as `deleteFilter`, but resolves with the response body together with the HTTP status and headers.
120
+ * @summary Delete a filter
121
+ * @param {number} id The ID of the filter
122
+
123
+ * @throws {RequiredError}
124
+ */
125
+ deleteFilterWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteFilterResponse>>>;
109
126
  /**
110
127
  * Marks multiple filters as deleted.
111
128
  * @summary Delete multiple filters in bulk
@@ -114,6 +131,14 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
114
131
  * @throws {RequiredError}
115
132
  */
116
133
  deleteFilters(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteFiltersResponse>>;
134
+ /**
135
+ * Same as `deleteFilters`, but resolves with the response body together with the HTTP status and headers.
136
+ * @summary Delete multiple filters in bulk
137
+ * @param {Set<number>} ids The comma-separated filter IDs to delete
138
+
139
+ * @throws {RequiredError}
140
+ */
141
+ deleteFiltersWithHttpInfo(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteFiltersResponse>>>;
117
142
  /**
118
143
  * Returns data about a specific filter. Note that this also returns the condition lines of the filter.
119
144
  * @summary Get one filter
@@ -123,6 +148,15 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
123
148
  * @throws {RequiredError}
124
149
  */
125
150
  getFilter(id: number, include_field_code?: boolean): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFiltersResponse1>>;
151
+ /**
152
+ * Same as `getFilter`, but resolves with the response body together with the HTTP status and headers.
153
+ * @summary Get one filter
154
+ * @param {number} id The ID of the filter
155
+ * @param {boolean} [include_field_code] If set to &#x60;true&#x60;, each condition in the response includes a &#x60;field_code&#x60; field identifying the field by its code name
156
+
157
+ * @throws {RequiredError}
158
+ */
159
+ getFilterWithHttpInfo(id: number, include_field_code?: boolean): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFiltersResponse1>>>;
126
160
  /**
127
161
  * Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to <a href=\"/docs/api/v1/Filters#addFilter\">add</a> or <a href=\"/docs/api/v1/Filters#updateFilter\">update</a> filters. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-filter\" target=\"_blank\" rel=\"noopener noreferrer\">adding a filter</a>.
128
162
  * @summary Get all filter helpers
@@ -130,6 +164,13 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
130
164
  * @throws {RequiredError}
131
165
  */
132
166
  getFilterHelpers(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<object>>;
167
+ /**
168
+ * Same as `getFilterHelpers`, but resolves with the response body together with the HTTP status and headers.
169
+ * @summary Get all filter helpers
170
+
171
+ * @throws {RequiredError}
172
+ */
173
+ getFilterHelpersWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<object>>>;
133
174
  /**
134
175
  * Returns data about all filters.
135
176
  * @summary Get all filters
@@ -138,6 +179,14 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
138
179
  * @throws {RequiredError}
139
180
  */
140
181
  getFilters(type?: 'deals' | 'leads' | 'org' | 'people' | 'products' | 'activity' | 'projects'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFiltersResponse>>;
182
+ /**
183
+ * Same as `getFilters`, but resolves with the response body together with the HTTP status and headers.
184
+ * @summary Get all filters
185
+ * @param {'deals' | 'leads' | 'org' | 'people' | 'products' | 'activity' | 'projects'} [type] The types of filters to fetch
186
+
187
+ * @throws {RequiredError}
188
+ */
189
+ getFiltersWithHttpInfo(type?: 'deals' | 'leads' | 'org' | 'people' | 'products' | 'activity' | 'projects'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFiltersResponse>>>;
141
190
  /**
142
191
  * Updates an existing filter.
143
192
  * @summary Update filter
@@ -148,6 +197,16 @@ export declare const FiltersApiFp: (configuration?: Configuration) => {
148
197
  * @throws {RequiredError}
149
198
  */
150
199
  updateFilter(id: number, include_field_code?: boolean, UpdateFilterRequest?: UpdateFilterRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddFiltersResponse>>;
200
+ /**
201
+ * Same as `updateFilter`, but resolves with the response body together with the HTTP status and headers.
202
+ * @summary Update filter
203
+ * @param {number} id The ID of the filter
204
+ * @param {boolean} [include_field_code] If set to &#x60;true&#x60;, each condition in the response includes a &#x60;field_code&#x60; field identifying the field by its code name
205
+ * @param {UpdateFilterRequest} [UpdateFilterRequest]
206
+
207
+ * @throws {RequiredError}
208
+ */
209
+ updateFilterWithHttpInfo(id: number, include_field_code?: boolean, UpdateFilterRequest?: UpdateFilterRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddFiltersResponse>>>;
151
210
  };
152
211
  /**
153
212
  * FiltersApi - factory interface
@@ -162,6 +221,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
162
221
  * @throws {RequiredError}
163
222
  */
164
223
  addFilter(requestParameters?: FiltersApiAddFilterRequest): Promise<AddFiltersResponse>;
224
+ addFilterWithHttpInfo(requestParameters?: FiltersApiAddFilterRequest): Promise<ApiResponse<AddFiltersResponse>>;
165
225
  /**
166
226
  * Marks a filter as deleted.
167
227
  * @summary Delete a filter
@@ -170,6 +230,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
170
230
  * @throws {RequiredError}
171
231
  */
172
232
  deleteFilter(requestParameters: FiltersApiDeleteFilterRequest): Promise<DeleteFilterResponse>;
233
+ deleteFilterWithHttpInfo(requestParameters: FiltersApiDeleteFilterRequest): Promise<ApiResponse<DeleteFilterResponse>>;
173
234
  /**
174
235
  * Marks multiple filters as deleted.
175
236
  * @summary Delete multiple filters in bulk
@@ -178,6 +239,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
178
239
  * @throws {RequiredError}
179
240
  */
180
241
  deleteFilters(requestParameters: FiltersApiDeleteFiltersRequest): Promise<DeleteFiltersResponse>;
242
+ deleteFiltersWithHttpInfo(requestParameters: FiltersApiDeleteFiltersRequest): Promise<ApiResponse<DeleteFiltersResponse>>;
181
243
  /**
182
244
  * Returns data about a specific filter. Note that this also returns the condition lines of the filter.
183
245
  * @summary Get one filter
@@ -186,6 +248,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
186
248
  * @throws {RequiredError}
187
249
  */
188
250
  getFilter(requestParameters: FiltersApiGetFilterRequest): Promise<GetFiltersResponse1>;
251
+ getFilterWithHttpInfo(requestParameters: FiltersApiGetFilterRequest): Promise<ApiResponse<GetFiltersResponse1>>;
189
252
  /**
190
253
  * Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to <a href=\"/docs/api/v1/Filters#addFilter\">add</a> or <a href=\"/docs/api/v1/Filters#updateFilter\">update</a> filters. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-filter\" target=\"_blank\" rel=\"noopener noreferrer\">adding a filter</a>.
191
254
  * @summary Get all filter helpers
@@ -193,6 +256,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
193
256
  * @throws {RequiredError}
194
257
  */
195
258
  getFilterHelpers(): Promise<object>;
259
+ getFilterHelpersWithHttpInfo(): Promise<ApiResponse<object>>;
196
260
  /**
197
261
  * Returns data about all filters.
198
262
  * @summary Get all filters
@@ -201,6 +265,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
201
265
  * @throws {RequiredError}
202
266
  */
203
267
  getFilters(requestParameters?: FiltersApiGetFiltersRequest): Promise<GetFiltersResponse>;
268
+ getFiltersWithHttpInfo(requestParameters?: FiltersApiGetFiltersRequest): Promise<ApiResponse<GetFiltersResponse>>;
204
269
  /**
205
270
  * Updates an existing filter.
206
271
  * @summary Update filter
@@ -209,6 +274,7 @@ export declare const FiltersApiFactory: (configuration?: Configuration, basePath
209
274
  * @throws {RequiredError}
210
275
  */
211
276
  updateFilter(requestParameters: FiltersApiUpdateFilterRequest): Promise<AddFiltersResponse>;
277
+ updateFilterWithHttpInfo(requestParameters: FiltersApiUpdateFilterRequest): Promise<ApiResponse<AddFiltersResponse>>;
212
278
  };
213
279
  /**
214
280
  * Request parameters for addFilter operation in FiltersApi.
@@ -328,6 +394,15 @@ export declare class FiltersApi extends BaseAPI {
328
394
  * @memberof FiltersApi
329
395
  */
330
396
  addFilter(requestParameters?: FiltersApiAddFilterRequest): Promise<AddFiltersResponse>;
397
+ /**
398
+ * Same as `addFilter`, but resolves with the response body together with the HTTP status and headers.
399
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
400
+ * @param {FiltersApiAddFilterRequest} requestParameters Request parameters.
401
+
402
+ * @throws {RequiredError}
403
+ * @memberof FiltersApi
404
+ */
405
+ addFilterWithHttpInfo(requestParameters?: FiltersApiAddFilterRequest): Promise<ApiResponse<AddFiltersResponse>>;
331
406
  /**
332
407
  * Marks a filter as deleted.
333
408
  * @summary Delete a filter
@@ -337,6 +412,15 @@ export declare class FiltersApi extends BaseAPI {
337
412
  * @memberof FiltersApi
338
413
  */
339
414
  deleteFilter(requestParameters: FiltersApiDeleteFilterRequest): Promise<DeleteFilterResponse>;
415
+ /**
416
+ * Same as `deleteFilter`, but resolves with the response body together with the HTTP status and headers.
417
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
418
+ * @param {FiltersApiDeleteFilterRequest} requestParameters Request parameters.
419
+
420
+ * @throws {RequiredError}
421
+ * @memberof FiltersApi
422
+ */
423
+ deleteFilterWithHttpInfo(requestParameters: FiltersApiDeleteFilterRequest): Promise<ApiResponse<DeleteFilterResponse>>;
340
424
  /**
341
425
  * Marks multiple filters as deleted.
342
426
  * @summary Delete multiple filters in bulk
@@ -346,6 +430,15 @@ export declare class FiltersApi extends BaseAPI {
346
430
  * @memberof FiltersApi
347
431
  */
348
432
  deleteFilters(requestParameters: FiltersApiDeleteFiltersRequest): Promise<DeleteFiltersResponse>;
433
+ /**
434
+ * Same as `deleteFilters`, but resolves with the response body together with the HTTP status and headers.
435
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
436
+ * @param {FiltersApiDeleteFiltersRequest} requestParameters Request parameters.
437
+
438
+ * @throws {RequiredError}
439
+ * @memberof FiltersApi
440
+ */
441
+ deleteFiltersWithHttpInfo(requestParameters: FiltersApiDeleteFiltersRequest): Promise<ApiResponse<DeleteFiltersResponse>>;
349
442
  /**
350
443
  * Returns data about a specific filter. Note that this also returns the condition lines of the filter.
351
444
  * @summary Get one filter
@@ -355,6 +448,15 @@ export declare class FiltersApi extends BaseAPI {
355
448
  * @memberof FiltersApi
356
449
  */
357
450
  getFilter(requestParameters: FiltersApiGetFilterRequest): Promise<GetFiltersResponse1>;
451
+ /**
452
+ * Same as `getFilter`, but resolves with the response body together with the HTTP status and headers.
453
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
454
+ * @param {FiltersApiGetFilterRequest} requestParameters Request parameters.
455
+
456
+ * @throws {RequiredError}
457
+ * @memberof FiltersApi
458
+ */
459
+ getFilterWithHttpInfo(requestParameters: FiltersApiGetFilterRequest): Promise<ApiResponse<GetFiltersResponse1>>;
358
460
  /**
359
461
  * Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to <a href=\"/docs/api/v1/Filters#addFilter\">add</a> or <a href=\"/docs/api/v1/Filters#updateFilter\">update</a> filters. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-filter\" target=\"_blank\" rel=\"noopener noreferrer\">adding a filter</a>.
360
462
  * @summary Get all filter helpers
@@ -363,6 +465,14 @@ export declare class FiltersApi extends BaseAPI {
363
465
  * @memberof FiltersApi
364
466
  */
365
467
  getFilterHelpers(): Promise<object>;
468
+ /**
469
+ * Same as `getFilterHelpers`, but resolves with the response body together with the HTTP status and headers.
470
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
471
+
472
+ * @throws {RequiredError}
473
+ * @memberof FiltersApi
474
+ */
475
+ getFilterHelpersWithHttpInfo(): Promise<ApiResponse<object>>;
366
476
  /**
367
477
  * Returns data about all filters.
368
478
  * @summary Get all filters
@@ -372,6 +482,15 @@ export declare class FiltersApi extends BaseAPI {
372
482
  * @memberof FiltersApi
373
483
  */
374
484
  getFilters(requestParameters?: FiltersApiGetFiltersRequest): Promise<GetFiltersResponse>;
485
+ /**
486
+ * Same as `getFilters`, but resolves with the response body together with the HTTP status and headers.
487
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
488
+ * @param {FiltersApiGetFiltersRequest} requestParameters Request parameters.
489
+
490
+ * @throws {RequiredError}
491
+ * @memberof FiltersApi
492
+ */
493
+ getFiltersWithHttpInfo(requestParameters?: FiltersApiGetFiltersRequest): Promise<ApiResponse<GetFiltersResponse>>;
375
494
  /**
376
495
  * Updates an existing filter.
377
496
  * @summary Update filter
@@ -381,4 +500,13 @@ export declare class FiltersApi extends BaseAPI {
381
500
  * @memberof FiltersApi
382
501
  */
383
502
  updateFilter(requestParameters: FiltersApiUpdateFilterRequest): Promise<AddFiltersResponse>;
503
+ /**
504
+ * Same as `updateFilter`, but resolves with the response body together with the HTTP status and headers.
505
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
506
+ * @param {FiltersApiUpdateFilterRequest} requestParameters Request parameters.
507
+
508
+ * @throws {RequiredError}
509
+ * @memberof FiltersApi
510
+ */
511
+ updateFilterWithHttpInfo(requestParameters: FiltersApiUpdateFilterRequest): Promise<ApiResponse<AddFiltersResponse>>;
384
512
  }
@@ -312,6 +312,20 @@ const FiltersApiFp = function (configuration) {
312
312
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
313
313
  });
314
314
  },
315
+ /**
316
+ * Same as `addFilter`, but resolves with the response body together with the HTTP status and headers.
317
+ * @summary Add a new filter
318
+ * @param {boolean} [include_field_code] If set to &#x60;true&#x60;, each condition in the response includes a &#x60;field_code&#x60; field identifying the field by its code name
319
+ * @param {AddFilterRequest} [AddFilterRequest]
320
+
321
+ * @throws {RequiredError}
322
+ */
323
+ addFilterWithHttpInfo(include_field_code, AddFilterRequest) {
324
+ return __awaiter(this, void 0, void 0, function* () {
325
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addFilter(include_field_code, AddFilterRequest);
326
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
327
+ });
328
+ },
315
329
  /**
316
330
  * Marks a filter as deleted.
317
331
  * @summary Delete a filter
@@ -325,6 +339,19 @@ const FiltersApiFp = function (configuration) {
325
339
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
326
340
  });
327
341
  },
342
+ /**
343
+ * Same as `deleteFilter`, but resolves with the response body together with the HTTP status and headers.
344
+ * @summary Delete a filter
345
+ * @param {number} id The ID of the filter
346
+
347
+ * @throws {RequiredError}
348
+ */
349
+ deleteFilterWithHttpInfo(id) {
350
+ return __awaiter(this, void 0, void 0, function* () {
351
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFilter(id);
352
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
353
+ });
354
+ },
328
355
  /**
329
356
  * Marks multiple filters as deleted.
330
357
  * @summary Delete multiple filters in bulk
@@ -338,6 +365,19 @@ const FiltersApiFp = function (configuration) {
338
365
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
339
366
  });
340
367
  },
368
+ /**
369
+ * Same as `deleteFilters`, but resolves with the response body together with the HTTP status and headers.
370
+ * @summary Delete multiple filters in bulk
371
+ * @param {Set<number>} ids The comma-separated filter IDs to delete
372
+
373
+ * @throws {RequiredError}
374
+ */
375
+ deleteFiltersWithHttpInfo(ids) {
376
+ return __awaiter(this, void 0, void 0, function* () {
377
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFilters(ids);
378
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
379
+ });
380
+ },
341
381
  /**
342
382
  * Returns data about a specific filter. Note that this also returns the condition lines of the filter.
343
383
  * @summary Get one filter
@@ -352,6 +392,20 @@ const FiltersApiFp = function (configuration) {
352
392
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
353
393
  });
354
394
  },
395
+ /**
396
+ * Same as `getFilter`, but resolves with the response body together with the HTTP status and headers.
397
+ * @summary Get one filter
398
+ * @param {number} id The ID of the filter
399
+ * @param {boolean} [include_field_code] If set to &#x60;true&#x60;, each condition in the response includes a &#x60;field_code&#x60; field identifying the field by its code name
400
+
401
+ * @throws {RequiredError}
402
+ */
403
+ getFilterWithHttpInfo(id, include_field_code) {
404
+ return __awaiter(this, void 0, void 0, function* () {
405
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilter(id, include_field_code);
406
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
407
+ });
408
+ },
355
409
  /**
356
410
  * Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to <a href=\"/docs/api/v1/Filters#addFilter\">add</a> or <a href=\"/docs/api/v1/Filters#updateFilter\">update</a> filters. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-filter\" target=\"_blank\" rel=\"noopener noreferrer\">adding a filter</a>.
357
411
  * @summary Get all filter helpers
@@ -364,6 +418,18 @@ const FiltersApiFp = function (configuration) {
364
418
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
365
419
  });
366
420
  },
421
+ /**
422
+ * Same as `getFilterHelpers`, but resolves with the response body together with the HTTP status and headers.
423
+ * @summary Get all filter helpers
424
+
425
+ * @throws {RequiredError}
426
+ */
427
+ getFilterHelpersWithHttpInfo() {
428
+ return __awaiter(this, void 0, void 0, function* () {
429
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilterHelpers();
430
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
431
+ });
432
+ },
367
433
  /**
368
434
  * Returns data about all filters.
369
435
  * @summary Get all filters
@@ -377,6 +443,19 @@ const FiltersApiFp = function (configuration) {
377
443
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
378
444
  });
379
445
  },
446
+ /**
447
+ * Same as `getFilters`, but resolves with the response body together with the HTTP status and headers.
448
+ * @summary Get all filters
449
+ * @param {'deals' | 'leads' | 'org' | 'people' | 'products' | 'activity' | 'projects'} [type] The types of filters to fetch
450
+
451
+ * @throws {RequiredError}
452
+ */
453
+ getFiltersWithHttpInfo(type) {
454
+ return __awaiter(this, void 0, void 0, function* () {
455
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFilters(type);
456
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
457
+ });
458
+ },
380
459
  /**
381
460
  * Updates an existing filter.
382
461
  * @summary Update filter
@@ -392,6 +471,21 @@ const FiltersApiFp = function (configuration) {
392
471
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
393
472
  });
394
473
  },
474
+ /**
475
+ * Same as `updateFilter`, but resolves with the response body together with the HTTP status and headers.
476
+ * @summary Update filter
477
+ * @param {number} id The ID of the filter
478
+ * @param {boolean} [include_field_code] If set to &#x60;true&#x60;, each condition in the response includes a &#x60;field_code&#x60; field identifying the field by its code name
479
+ * @param {UpdateFilterRequest} [UpdateFilterRequest]
480
+
481
+ * @throws {RequiredError}
482
+ */
483
+ updateFilterWithHttpInfo(id, include_field_code, UpdateFilterRequest) {
484
+ return __awaiter(this, void 0, void 0, function* () {
485
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateFilter(id, include_field_code, UpdateFilterRequest);
486
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
487
+ });
488
+ },
395
489
  };
396
490
  };
397
491
  exports.FiltersApiFp = FiltersApiFp;
@@ -412,6 +506,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
412
506
  addFilter(requestParameters = {}) {
413
507
  return localVarFp.addFilter(requestParameters.include_field_code, requestParameters.AddFilterRequest).then((request) => request(axios, basePath));
414
508
  },
509
+ addFilterWithHttpInfo(requestParameters = {}) {
510
+ return localVarFp.addFilterWithHttpInfo(requestParameters.include_field_code, requestParameters.AddFilterRequest).then((request) => request(axios, basePath));
511
+ },
415
512
  /**
416
513
  * Marks a filter as deleted.
417
514
  * @summary Delete a filter
@@ -422,6 +519,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
422
519
  deleteFilter(requestParameters) {
423
520
  return localVarFp.deleteFilter(requestParameters.id).then((request) => request(axios, basePath));
424
521
  },
522
+ deleteFilterWithHttpInfo(requestParameters) {
523
+ return localVarFp.deleteFilterWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
524
+ },
425
525
  /**
426
526
  * Marks multiple filters as deleted.
427
527
  * @summary Delete multiple filters in bulk
@@ -432,6 +532,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
432
532
  deleteFilters(requestParameters) {
433
533
  return localVarFp.deleteFilters(requestParameters.ids).then((request) => request(axios, basePath));
434
534
  },
535
+ deleteFiltersWithHttpInfo(requestParameters) {
536
+ return localVarFp.deleteFiltersWithHttpInfo(requestParameters.ids).then((request) => request(axios, basePath));
537
+ },
435
538
  /**
436
539
  * Returns data about a specific filter. Note that this also returns the condition lines of the filter.
437
540
  * @summary Get one filter
@@ -442,6 +545,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
442
545
  getFilter(requestParameters) {
443
546
  return localVarFp.getFilter(requestParameters.id, requestParameters.include_field_code).then((request) => request(axios, basePath));
444
547
  },
548
+ getFilterWithHttpInfo(requestParameters) {
549
+ return localVarFp.getFilterWithHttpInfo(requestParameters.id, requestParameters.include_field_code).then((request) => request(axios, basePath));
550
+ },
445
551
  /**
446
552
  * Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to <a href=\"/docs/api/v1/Filters#addFilter\">add</a> or <a href=\"/docs/api/v1/Filters#updateFilter\">update</a> filters. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-filter\" target=\"_blank\" rel=\"noopener noreferrer\">adding a filter</a>.
447
553
  * @summary Get all filter helpers
@@ -451,6 +557,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
451
557
  getFilterHelpers() {
452
558
  return localVarFp.getFilterHelpers().then((request) => request(axios, basePath));
453
559
  },
560
+ getFilterHelpersWithHttpInfo() {
561
+ return localVarFp.getFilterHelpersWithHttpInfo().then((request) => request(axios, basePath));
562
+ },
454
563
  /**
455
564
  * Returns data about all filters.
456
565
  * @summary Get all filters
@@ -461,6 +570,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
461
570
  getFilters(requestParameters = {}) {
462
571
  return localVarFp.getFilters(requestParameters.type).then((request) => request(axios, basePath));
463
572
  },
573
+ getFiltersWithHttpInfo(requestParameters = {}) {
574
+ return localVarFp.getFiltersWithHttpInfo(requestParameters.type).then((request) => request(axios, basePath));
575
+ },
464
576
  /**
465
577
  * Updates an existing filter.
466
578
  * @summary Update filter
@@ -471,6 +583,9 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
471
583
  updateFilter(requestParameters) {
472
584
  return localVarFp.updateFilter(requestParameters.id, requestParameters.include_field_code, requestParameters.UpdateFilterRequest).then((request) => request(axios, basePath));
473
585
  },
586
+ updateFilterWithHttpInfo(requestParameters) {
587
+ return localVarFp.updateFilterWithHttpInfo(requestParameters.id, requestParameters.include_field_code, requestParameters.UpdateFilterRequest).then((request) => request(axios, basePath));
588
+ },
474
589
  };
475
590
  };
476
591
  exports.FiltersApiFactory = FiltersApiFactory;
@@ -492,6 +607,17 @@ class FiltersApi extends base_1.BaseAPI {
492
607
  addFilter(requestParameters = {}) {
493
608
  return (0, exports.FiltersApiFp)(this.configuration).addFilter(requestParameters.include_field_code, requestParameters.AddFilterRequest).then((request) => request(this.axios, this.basePath));
494
609
  }
610
+ /**
611
+ * Same as `addFilter`, but resolves with the response body together with the HTTP status and headers.
612
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
613
+ * @param {FiltersApiAddFilterRequest} requestParameters Request parameters.
614
+
615
+ * @throws {RequiredError}
616
+ * @memberof FiltersApi
617
+ */
618
+ addFilterWithHttpInfo(requestParameters = {}) {
619
+ return (0, exports.FiltersApiFp)(this.configuration).addFilterWithHttpInfo(requestParameters.include_field_code, requestParameters.AddFilterRequest).then((request) => request(this.axios, this.basePath));
620
+ }
495
621
  /**
496
622
  * Marks a filter as deleted.
497
623
  * @summary Delete a filter
@@ -503,6 +629,17 @@ class FiltersApi extends base_1.BaseAPI {
503
629
  deleteFilter(requestParameters) {
504
630
  return (0, exports.FiltersApiFp)(this.configuration).deleteFilter(requestParameters.id).then((request) => request(this.axios, this.basePath));
505
631
  }
632
+ /**
633
+ * Same as `deleteFilter`, but resolves with the response body together with the HTTP status and headers.
634
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
635
+ * @param {FiltersApiDeleteFilterRequest} requestParameters Request parameters.
636
+
637
+ * @throws {RequiredError}
638
+ * @memberof FiltersApi
639
+ */
640
+ deleteFilterWithHttpInfo(requestParameters) {
641
+ return (0, exports.FiltersApiFp)(this.configuration).deleteFilterWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
642
+ }
506
643
  /**
507
644
  * Marks multiple filters as deleted.
508
645
  * @summary Delete multiple filters in bulk
@@ -514,6 +651,17 @@ class FiltersApi extends base_1.BaseAPI {
514
651
  deleteFilters(requestParameters) {
515
652
  return (0, exports.FiltersApiFp)(this.configuration).deleteFilters(requestParameters.ids).then((request) => request(this.axios, this.basePath));
516
653
  }
654
+ /**
655
+ * Same as `deleteFilters`, but resolves with the response body together with the HTTP status and headers.
656
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
657
+ * @param {FiltersApiDeleteFiltersRequest} requestParameters Request parameters.
658
+
659
+ * @throws {RequiredError}
660
+ * @memberof FiltersApi
661
+ */
662
+ deleteFiltersWithHttpInfo(requestParameters) {
663
+ return (0, exports.FiltersApiFp)(this.configuration).deleteFiltersWithHttpInfo(requestParameters.ids).then((request) => request(this.axios, this.basePath));
664
+ }
517
665
  /**
518
666
  * Returns data about a specific filter. Note that this also returns the condition lines of the filter.
519
667
  * @summary Get one filter
@@ -525,6 +673,17 @@ class FiltersApi extends base_1.BaseAPI {
525
673
  getFilter(requestParameters) {
526
674
  return (0, exports.FiltersApiFp)(this.configuration).getFilter(requestParameters.id, requestParameters.include_field_code).then((request) => request(this.axios, this.basePath));
527
675
  }
676
+ /**
677
+ * Same as `getFilter`, but resolves with the response body together with the HTTP status and headers.
678
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
679
+ * @param {FiltersApiGetFilterRequest} requestParameters Request parameters.
680
+
681
+ * @throws {RequiredError}
682
+ * @memberof FiltersApi
683
+ */
684
+ getFilterWithHttpInfo(requestParameters) {
685
+ return (0, exports.FiltersApiFp)(this.configuration).getFilterWithHttpInfo(requestParameters.id, requestParameters.include_field_code).then((request) => request(this.axios, this.basePath));
686
+ }
528
687
  /**
529
688
  * Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to <a href=\"/docs/api/v1/Filters#addFilter\">add</a> or <a href=\"/docs/api/v1/Filters#updateFilter\">update</a> filters. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-filter\" target=\"_blank\" rel=\"noopener noreferrer\">adding a filter</a>.
530
689
  * @summary Get all filter helpers
@@ -535,6 +694,16 @@ class FiltersApi extends base_1.BaseAPI {
535
694
  getFilterHelpers() {
536
695
  return (0, exports.FiltersApiFp)(this.configuration).getFilterHelpers().then((request) => request(this.axios, this.basePath));
537
696
  }
697
+ /**
698
+ * Same as `getFilterHelpers`, but resolves with the response body together with the HTTP status and headers.
699
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
700
+
701
+ * @throws {RequiredError}
702
+ * @memberof FiltersApi
703
+ */
704
+ getFilterHelpersWithHttpInfo() {
705
+ return (0, exports.FiltersApiFp)(this.configuration).getFilterHelpersWithHttpInfo().then((request) => request(this.axios, this.basePath));
706
+ }
538
707
  /**
539
708
  * Returns data about all filters.
540
709
  * @summary Get all filters
@@ -546,6 +715,17 @@ class FiltersApi extends base_1.BaseAPI {
546
715
  getFilters(requestParameters = {}) {
547
716
  return (0, exports.FiltersApiFp)(this.configuration).getFilters(requestParameters.type).then((request) => request(this.axios, this.basePath));
548
717
  }
718
+ /**
719
+ * Same as `getFilters`, but resolves with the response body together with the HTTP status and headers.
720
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
721
+ * @param {FiltersApiGetFiltersRequest} requestParameters Request parameters.
722
+
723
+ * @throws {RequiredError}
724
+ * @memberof FiltersApi
725
+ */
726
+ getFiltersWithHttpInfo(requestParameters = {}) {
727
+ return (0, exports.FiltersApiFp)(this.configuration).getFiltersWithHttpInfo(requestParameters.type).then((request) => request(this.axios, this.basePath));
728
+ }
549
729
  /**
550
730
  * Updates an existing filter.
551
731
  * @summary Update filter
@@ -557,5 +737,16 @@ class FiltersApi extends base_1.BaseAPI {
557
737
  updateFilter(requestParameters) {
558
738
  return (0, exports.FiltersApiFp)(this.configuration).updateFilter(requestParameters.id, requestParameters.include_field_code, requestParameters.UpdateFilterRequest).then((request) => request(this.axios, this.basePath));
559
739
  }
740
+ /**
741
+ * Same as `updateFilter`, but resolves with the response body together with the HTTP status and headers.
742
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
743
+ * @param {FiltersApiUpdateFilterRequest} requestParameters Request parameters.
744
+
745
+ * @throws {RequiredError}
746
+ * @memberof FiltersApi
747
+ */
748
+ updateFilterWithHttpInfo(requestParameters) {
749
+ return (0, exports.FiltersApiFp)(this.configuration).updateFilterWithHttpInfo(requestParameters.id, requestParameters.include_field_code, requestParameters.UpdateFilterRequest).then((request) => request(this.axios, this.basePath));
750
+ }
560
751
  }
561
752
  exports.FiltersApi = FiltersApi;