pipedrive 36.0.0 → 36.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/esm/versions/v1/api/activity-fields-api.d.ts +17 -1
  2. package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
  3. package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
  5. package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
  6. package/dist/esm/versions/v1/api/billing-api.js +25 -0
  7. package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
  8. package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
  9. package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
  10. package/dist/esm/versions/v1/api/channels-api.js +109 -0
  11. package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
  12. package/dist/esm/versions/v1/api/currencies-api.js +27 -0
  13. package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
  14. package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
  15. package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
  16. package/dist/esm/versions/v1/api/deals-api.js +569 -0
  17. package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
  18. package/dist/esm/versions/v1/api/files-api.js +234 -0
  19. package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
  20. package/dist/esm/versions/v1/api/filters-api.js +191 -0
  21. package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
  22. package/dist/esm/versions/v1/api/goals-api.js +150 -0
  23. package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
  24. package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
  25. package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
  26. package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
  27. package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
  28. package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
  29. package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
  30. package/dist/esm/versions/v1/api/leads-api.js +237 -0
  31. package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
  32. package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
  33. package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
  34. package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
  35. package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
  36. package/dist/esm/versions/v1/api/meetings-api.js +54 -0
  37. package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
  38. package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
  39. package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
  40. package/dist/esm/versions/v1/api/notes-api.js +296 -0
  41. package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
  42. package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
  43. package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
  44. package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
  45. package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
  46. package/dist/esm/versions/v1/api/organizations-api.js +258 -0
  47. package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
  48. package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
  49. package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
  50. package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
  51. package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
  52. package/dist/esm/versions/v1/api/persons-api.js +370 -24
  53. package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
  54. package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
  55. package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
  56. package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
  57. package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
  58. package/dist/esm/versions/v1/api/products-api.js +172 -0
  59. package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
  60. package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
  61. package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
  62. package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
  63. package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
  64. package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
  65. package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
  66. package/dist/esm/versions/v1/api/projects-api.js +334 -0
  67. package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
  68. package/dist/esm/versions/v1/api/recents-api.js +30 -0
  69. package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
  70. package/dist/esm/versions/v1/api/roles-api.js +333 -0
  71. package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
  72. package/dist/esm/versions/v1/api/stages-api.js +32 -0
  73. package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
  74. package/dist/esm/versions/v1/api/tasks-api.js +141 -0
  75. package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
  76. package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
  77. package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
  78. package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
  79. package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
  80. package/dist/esm/versions/v1/api/users-api.js +270 -0
  81. package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
  82. package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
  83. package/dist/esm/versions/v1/base.d.ts +17 -0
  84. package/dist/esm/versions/v1/base.js +22 -0
  85. package/dist/esm/versions/v1/common.d.ts +1 -1
  86. package/dist/esm/versions/v1/common.js +7 -4
  87. package/dist/esm/versions/v1/models/deal-all-of.d.ts +6 -6
  88. package/dist/esm/versions/v1/models/index.d.ts +0 -3
  89. package/dist/esm/versions/v1/models/index.js +0 -3
  90. package/dist/esm/versions/v1/models/note-deal.d.ts +11 -5
  91. package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
  92. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  93. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  94. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  95. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  96. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  97. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  98. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  99. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  100. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  101. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  102. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  103. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  104. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  105. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  106. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  107. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  108. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  109. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  112. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  113. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  114. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  115. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  116. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  117. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  118. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  119. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  120. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  121. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  122. package/dist/esm/versions/v2/api/products-api.js +541 -0
  123. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  124. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  125. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  126. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  127. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  128. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  129. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  130. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  131. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  132. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  133. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  134. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  135. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  136. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  137. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  138. package/dist/esm/versions/v2/api/users-api.js +29 -0
  139. package/dist/esm/versions/v2/base.d.ts +17 -0
  140. package/dist/esm/versions/v2/base.js +22 -0
  141. package/dist/esm/versions/v2/common.d.ts +1 -1
  142. package/dist/esm/versions/v2/common.js +7 -4
  143. package/dist/esm/versions/v2/models/index.d.ts +2 -5
  144. package/dist/esm/versions/v2/models/index.js +2 -5
  145. package/dist/esm/versions/v2/models/prices-array.d.ts +3 -3
  146. package/dist/esm/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
  147. package/dist/{versions/v2/models/prices-array-prices-inner-all-of.d.ts → esm/versions/v2/models/product-price.d.ts} +12 -2
  148. package/dist/esm/versions/v2/models/product-request.d.ts +3 -3
  149. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  150. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  151. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  152. package/dist/versions/v1/api/activity-types-api.js +107 -0
  153. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  154. package/dist/versions/v1/api/billing-api.js +25 -0
  155. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  156. package/dist/versions/v1/api/call-logs-api.js +137 -0
  157. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  158. package/dist/versions/v1/api/channels-api.js +109 -0
  159. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  160. package/dist/versions/v1/api/currencies-api.js +27 -0
  161. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  162. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  163. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  164. package/dist/versions/v1/api/deals-api.js +569 -0
  165. package/dist/versions/v1/api/files-api.d.ts +163 -1
  166. package/dist/versions/v1/api/files-api.js +234 -0
  167. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  168. package/dist/versions/v1/api/filters-api.js +191 -0
  169. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  170. package/dist/versions/v1/api/goals-api.js +150 -0
  171. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  172. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  173. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  174. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  175. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  176. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  177. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  178. package/dist/versions/v1/api/leads-api.js +237 -0
  179. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  180. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  181. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  182. package/dist/versions/v1/api/mailbox-api.js +170 -0
  183. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  184. package/dist/versions/v1/api/meetings-api.js +54 -0
  185. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  186. package/dist/versions/v1/api/note-fields-api.js +25 -0
  187. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  188. package/dist/versions/v1/api/notes-api.js +296 -0
  189. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  190. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  191. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  192. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  193. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  194. package/dist/versions/v1/api/organizations-api.js +258 -0
  195. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  196. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  197. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  198. package/dist/versions/v1/api/person-fields-api.js +164 -0
  199. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  200. package/dist/versions/v1/api/persons-api.js +370 -24
  201. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  202. package/dist/versions/v1/api/pipelines-api.js +95 -0
  203. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  204. package/dist/versions/v1/api/product-fields-api.js +164 -0
  205. package/dist/versions/v1/api/products-api.d.ts +119 -1
  206. package/dist/versions/v1/api/products-api.js +172 -0
  207. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  208. package/dist/versions/v1/api/project-boards-api.js +52 -0
  209. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  210. package/dist/versions/v1/api/project-phases-api.js +54 -0
  211. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  212. package/dist/versions/v1/api/project-templates-api.js +55 -0
  213. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  214. package/dist/versions/v1/api/projects-api.js +334 -0
  215. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  216. package/dist/versions/v1/api/recents-api.js +30 -0
  217. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  218. package/dist/versions/v1/api/roles-api.js +333 -0
  219. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  220. package/dist/versions/v1/api/stages-api.js +32 -0
  221. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  222. package/dist/versions/v1/api/tasks-api.js +141 -0
  223. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  224. package/dist/versions/v1/api/user-connections-api.js +25 -0
  225. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  226. package/dist/versions/v1/api/user-settings-api.js +25 -0
  227. package/dist/versions/v1/api/users-api.d.ts +181 -1
  228. package/dist/versions/v1/api/users-api.js +270 -0
  229. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  230. package/dist/versions/v1/api/webhooks-api.js +79 -0
  231. package/dist/versions/v1/base.d.ts +17 -0
  232. package/dist/versions/v1/base.js +24 -1
  233. package/dist/versions/v1/common.d.ts +1 -1
  234. package/dist/versions/v1/common.js +6 -3
  235. package/dist/versions/v1/models/deal-all-of.d.ts +6 -6
  236. package/dist/versions/v1/models/index.d.ts +0 -3
  237. package/dist/versions/v1/models/index.js +0 -3
  238. package/dist/versions/v1/models/note-deal.d.ts +11 -5
  239. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  240. package/dist/versions/v2/api/activities-api.js +151 -0
  241. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  242. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  243. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  244. package/dist/versions/v2/api/beta-api.js +666 -0
  245. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  246. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  247. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  248. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  249. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  250. package/dist/versions/v2/api/deal-products-api.js +203 -0
  251. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  252. package/dist/versions/v2/api/deals-api.js +516 -1
  253. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  254. package/dist/versions/v2/api/item-search-api.js +66 -0
  255. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  256. package/dist/versions/v2/api/leads-api.js +90 -0
  257. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  258. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  259. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  260. package/dist/versions/v2/api/organizations-api.js +297 -0
  261. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  262. package/dist/versions/v2/api/person-fields-api.js +223 -0
  263. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  264. package/dist/versions/v2/api/persons-api.js +328 -0
  265. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  266. package/dist/versions/v2/api/pipelines-api.js +139 -0
  267. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  268. package/dist/versions/v2/api/product-fields-api.js +223 -0
  269. package/dist/versions/v2/api/products-api.d.ts +371 -1
  270. package/dist/versions/v2/api/products-api.js +541 -0
  271. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  272. package/dist/versions/v2/api/project-boards-api.js +134 -0
  273. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  274. package/dist/versions/v2/api/project-fields-api.js +221 -0
  275. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  276. package/dist/versions/v2/api/project-phases-api.js +136 -0
  277. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  278. package/dist/versions/v2/api/project-templates-api.js +55 -0
  279. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  280. package/dist/versions/v2/api/projects-api.js +290 -0
  281. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  282. package/dist/versions/v2/api/stages-api.js +140 -0
  283. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  284. package/dist/versions/v2/api/tasks-api.js +142 -0
  285. package/dist/versions/v2/api/users-api.d.ts +21 -1
  286. package/dist/versions/v2/api/users-api.js +29 -0
  287. package/dist/versions/v2/base.d.ts +17 -0
  288. package/dist/versions/v2/base.js +24 -1
  289. package/dist/versions/v2/common.d.ts +1 -1
  290. package/dist/versions/v2/common.js +6 -3
  291. package/dist/versions/v2/models/index.d.ts +2 -5
  292. package/dist/versions/v2/models/index.js +2 -5
  293. package/dist/versions/v2/models/prices-array.d.ts +3 -3
  294. package/dist/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
  295. package/dist/{esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts → versions/v2/models/product-price.d.ts} +12 -2
  296. package/dist/versions/v2/models/product-request.d.ts +3 -3
  297. package/package.json +1 -1
  298. package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
  299. package/dist/esm/versions/v1/models/deal-all-of-org-id.js +0 -14
  300. package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
  301. package/dist/esm/versions/v1/models/deal-all-of-person-id.js +0 -14
  302. package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +0 -23
  303. package/dist/esm/versions/v1/models/note-deal-all-of.js +0 -14
  304. package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
  305. package/dist/esm/versions/v2/models/product-price-base.d.ts +0 -28
  306. package/dist/esm/versions/v2/models/product-price-base.js +0 -14
  307. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +0 -14
  308. package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +0 -18
  309. package/dist/esm/versions/v2/models/product-request-prices-inner.js +0 -14
  310. package/dist/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
  311. package/dist/versions/v1/models/deal-all-of-org-id.js +0 -15
  312. package/dist/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
  313. package/dist/versions/v1/models/deal-all-of-person-id.js +0 -15
  314. package/dist/versions/v1/models/note-deal-all-of.d.ts +0 -23
  315. package/dist/versions/v1/models/note-deal-all-of.js +0 -15
  316. package/dist/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
  317. package/dist/versions/v2/models/product-price-base.d.ts +0 -28
  318. package/dist/versions/v2/models/product-price-base.js +0 -15
  319. package/dist/versions/v2/models/product-request-prices-inner-all-of.js +0 -15
  320. package/dist/versions/v2/models/product-request-prices-inner.d.ts +0 -18
  321. package/dist/versions/v2/models/product-request-prices-inner.js +0 -15
  322. /package/dist/esm/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
  323. /package/dist/esm/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
  324. /package/dist/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
  325. /package/dist/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
@@ -402,6 +402,19 @@ export const UsersApiFp = function (configuration) {
402
402
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
403
403
  });
404
404
  },
405
+ /**
406
+ * Same as `addUser`, but resolves with the response body together with the HTTP status and headers.
407
+ * @summary Add a new user
408
+ * @param {AddUserRequest} [AddUserRequest]
409
+
410
+ * @throws {RequiredError}
411
+ */
412
+ addUserWithHttpInfo(AddUserRequest) {
413
+ return __awaiter(this, void 0, void 0, function* () {
414
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addUser(AddUserRequest);
415
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
416
+ });
417
+ },
405
418
  /**
406
419
  * Finds users by their name.
407
420
  * @summary Find users by name
@@ -416,6 +429,20 @@ export const UsersApiFp = function (configuration) {
416
429
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
417
430
  });
418
431
  },
432
+ /**
433
+ * Same as `findUsersByName`, but resolves with the response body together with the HTTP status and headers.
434
+ * @summary Find users by name
435
+ * @param {string} term The search term to look for
436
+ * @param {0 | 1} [search_by_email] When enabled, the term will only be matched against email addresses of users. Default: `false`.
437
+
438
+ * @throws {RequiredError}
439
+ */
440
+ findUsersByNameWithHttpInfo(term, search_by_email) {
441
+ return __awaiter(this, void 0, void 0, function* () {
442
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.findUsersByName(term, search_by_email);
443
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
444
+ });
445
+ },
419
446
  /**
420
447
  * Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the `locale` property means \'Date/number format\' in the Pipedrive account settings, not the chosen language.
421
448
  * @summary Get current user data
@@ -428,6 +455,18 @@ export const UsersApiFp = function (configuration) {
428
455
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
429
456
  });
430
457
  },
458
+ /**
459
+ * Same as `getCurrentUser`, but resolves with the response body together with the HTTP status and headers.
460
+ * @summary Get current user data
461
+
462
+ * @throws {RequiredError}
463
+ */
464
+ getCurrentUserWithHttpInfo() {
465
+ return __awaiter(this, void 0, void 0, function* () {
466
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCurrentUser();
467
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
468
+ });
469
+ },
431
470
  /**
432
471
  * Returns data about a specific user within the company.
433
472
  * @summary Get one user
@@ -441,6 +480,19 @@ export const UsersApiFp = function (configuration) {
441
480
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
442
481
  });
443
482
  },
483
+ /**
484
+ * Same as `getUser`, but resolves with the response body together with the HTTP status and headers.
485
+ * @summary Get one user
486
+ * @param {number} id The ID of the user
487
+
488
+ * @throws {RequiredError}
489
+ */
490
+ getUserWithHttpInfo(id) {
491
+ return __awaiter(this, void 0, void 0, function* () {
492
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUser(id);
493
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
494
+ });
495
+ },
444
496
  /**
445
497
  * Lists the followers of a specific user.
446
498
  * @summary List followers of a user
@@ -454,6 +506,19 @@ export const UsersApiFp = function (configuration) {
454
506
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
455
507
  });
456
508
  },
509
+ /**
510
+ * Same as `getUserFollowers`, but resolves with the response body together with the HTTP status and headers.
511
+ * @summary List followers of a user
512
+ * @param {number} id The ID of the user
513
+
514
+ * @throws {RequiredError}
515
+ */
516
+ getUserFollowersWithHttpInfo(id) {
517
+ return __awaiter(this, void 0, void 0, function* () {
518
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserFollowers(id);
519
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
520
+ });
521
+ },
457
522
  /**
458
523
  * Lists aggregated permissions over all assigned permission sets for a user.
459
524
  * @summary List user permissions
@@ -467,6 +532,19 @@ export const UsersApiFp = function (configuration) {
467
532
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
468
533
  });
469
534
  },
535
+ /**
536
+ * Same as `getUserPermissions`, but resolves with the response body together with the HTTP status and headers.
537
+ * @summary List user permissions
538
+ * @param {number} id The ID of the user
539
+
540
+ * @throws {RequiredError}
541
+ */
542
+ getUserPermissionsWithHttpInfo(id) {
543
+ return __awaiter(this, void 0, void 0, function* () {
544
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserPermissions(id);
545
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
546
+ });
547
+ },
470
548
  /**
471
549
  * Lists role assignments for a user.
472
550
  * @summary List role assignments
@@ -482,6 +560,21 @@ export const UsersApiFp = function (configuration) {
482
560
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
483
561
  });
484
562
  },
563
+ /**
564
+ * Same as `getUserRoleAssignments`, but resolves with the response body together with the HTTP status and headers.
565
+ * @summary List role assignments
566
+ * @param {number} id The ID of the user
567
+ * @param {number} [start] Pagination start
568
+ * @param {number} [limit] Items shown per page
569
+
570
+ * @throws {RequiredError}
571
+ */
572
+ getUserRoleAssignmentsWithHttpInfo(id, start, limit) {
573
+ return __awaiter(this, void 0, void 0, function* () {
574
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserRoleAssignments(id, start, limit);
575
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
576
+ });
577
+ },
485
578
  /**
486
579
  * Lists the settings of user\'s assigned role.
487
580
  * @summary List user role settings
@@ -495,6 +588,19 @@ export const UsersApiFp = function (configuration) {
495
588
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
496
589
  });
497
590
  },
591
+ /**
592
+ * Same as `getUserRoleSettings`, but resolves with the response body together with the HTTP status and headers.
593
+ * @summary List user role settings
594
+ * @param {number} id The ID of the user
595
+
596
+ * @throws {RequiredError}
597
+ */
598
+ getUserRoleSettingsWithHttpInfo(id) {
599
+ return __awaiter(this, void 0, void 0, function* () {
600
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserRoleSettings(id);
601
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
602
+ });
603
+ },
498
604
  /**
499
605
  * Returns data about all users within the company.
500
606
  * @summary Get all users
@@ -507,6 +613,18 @@ export const UsersApiFp = function (configuration) {
507
613
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
508
614
  });
509
615
  },
616
+ /**
617
+ * Same as `getUsers`, but resolves with the response body together with the HTTP status and headers.
618
+ * @summary Get all users
619
+
620
+ * @throws {RequiredError}
621
+ */
622
+ getUsersWithHttpInfo() {
623
+ return __awaiter(this, void 0, void 0, function* () {
624
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsers();
625
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
626
+ });
627
+ },
510
628
  /**
511
629
  * Updates the properties of a user. Currently, only `active_flag` can be updated.
512
630
  * @summary Update user details
@@ -521,6 +639,20 @@ export const UsersApiFp = function (configuration) {
521
639
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
522
640
  });
523
641
  },
642
+ /**
643
+ * Same as `updateUser`, but resolves with the response body together with the HTTP status and headers.
644
+ * @summary Update user details
645
+ * @param {number} id The ID of the user
646
+ * @param {UpdateUserRequest} [UpdateUserRequest]
647
+
648
+ * @throws {RequiredError}
649
+ */
650
+ updateUserWithHttpInfo(id, UpdateUserRequest) {
651
+ return __awaiter(this, void 0, void 0, function* () {
652
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUser(id, UpdateUserRequest);
653
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
654
+ });
655
+ },
524
656
  };
525
657
  };
526
658
  /**
@@ -540,6 +672,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
540
672
  addUser(requestParameters = {}) {
541
673
  return localVarFp.addUser(requestParameters.AddUserRequest).then((request) => request(axios, basePath));
542
674
  },
675
+ addUserWithHttpInfo(requestParameters = {}) {
676
+ return localVarFp.addUserWithHttpInfo(requestParameters.AddUserRequest).then((request) => request(axios, basePath));
677
+ },
543
678
  /**
544
679
  * Finds users by their name.
545
680
  * @summary Find users by name
@@ -550,6 +685,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
550
685
  findUsersByName(requestParameters) {
551
686
  return localVarFp.findUsersByName(requestParameters.term, requestParameters.search_by_email).then((request) => request(axios, basePath));
552
687
  },
688
+ findUsersByNameWithHttpInfo(requestParameters) {
689
+ return localVarFp.findUsersByNameWithHttpInfo(requestParameters.term, requestParameters.search_by_email).then((request) => request(axios, basePath));
690
+ },
553
691
  /**
554
692
  * Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the `locale` property means \'Date/number format\' in the Pipedrive account settings, not the chosen language.
555
693
  * @summary Get current user data
@@ -559,6 +697,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
559
697
  getCurrentUser() {
560
698
  return localVarFp.getCurrentUser().then((request) => request(axios, basePath));
561
699
  },
700
+ getCurrentUserWithHttpInfo() {
701
+ return localVarFp.getCurrentUserWithHttpInfo().then((request) => request(axios, basePath));
702
+ },
562
703
  /**
563
704
  * Returns data about a specific user within the company.
564
705
  * @summary Get one user
@@ -569,6 +710,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
569
710
  getUser(requestParameters) {
570
711
  return localVarFp.getUser(requestParameters.id).then((request) => request(axios, basePath));
571
712
  },
713
+ getUserWithHttpInfo(requestParameters) {
714
+ return localVarFp.getUserWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
715
+ },
572
716
  /**
573
717
  * Lists the followers of a specific user.
574
718
  * @summary List followers of a user
@@ -579,6 +723,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
579
723
  getUserFollowers(requestParameters) {
580
724
  return localVarFp.getUserFollowers(requestParameters.id).then((request) => request(axios, basePath));
581
725
  },
726
+ getUserFollowersWithHttpInfo(requestParameters) {
727
+ return localVarFp.getUserFollowersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
728
+ },
582
729
  /**
583
730
  * Lists aggregated permissions over all assigned permission sets for a user.
584
731
  * @summary List user permissions
@@ -589,6 +736,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
589
736
  getUserPermissions(requestParameters) {
590
737
  return localVarFp.getUserPermissions(requestParameters.id).then((request) => request(axios, basePath));
591
738
  },
739
+ getUserPermissionsWithHttpInfo(requestParameters) {
740
+ return localVarFp.getUserPermissionsWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
741
+ },
592
742
  /**
593
743
  * Lists role assignments for a user.
594
744
  * @summary List role assignments
@@ -599,6 +749,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
599
749
  getUserRoleAssignments(requestParameters) {
600
750
  return localVarFp.getUserRoleAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
601
751
  },
752
+ getUserRoleAssignmentsWithHttpInfo(requestParameters) {
753
+ return localVarFp.getUserRoleAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
754
+ },
602
755
  /**
603
756
  * Lists the settings of user\'s assigned role.
604
757
  * @summary List user role settings
@@ -609,6 +762,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
609
762
  getUserRoleSettings(requestParameters) {
610
763
  return localVarFp.getUserRoleSettings(requestParameters.id).then((request) => request(axios, basePath));
611
764
  },
765
+ getUserRoleSettingsWithHttpInfo(requestParameters) {
766
+ return localVarFp.getUserRoleSettingsWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
767
+ },
612
768
  /**
613
769
  * Returns data about all users within the company.
614
770
  * @summary Get all users
@@ -618,6 +774,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
618
774
  getUsers() {
619
775
  return localVarFp.getUsers().then((request) => request(axios, basePath));
620
776
  },
777
+ getUsersWithHttpInfo() {
778
+ return localVarFp.getUsersWithHttpInfo().then((request) => request(axios, basePath));
779
+ },
621
780
  /**
622
781
  * Updates the properties of a user. Currently, only `active_flag` can be updated.
623
782
  * @summary Update user details
@@ -628,6 +787,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
628
787
  updateUser(requestParameters) {
629
788
  return localVarFp.updateUser(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(axios, basePath));
630
789
  },
790
+ updateUserWithHttpInfo(requestParameters) {
791
+ return localVarFp.updateUserWithHttpInfo(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(axios, basePath));
792
+ },
631
793
  };
632
794
  };
633
795
  /**
@@ -648,6 +810,17 @@ export class UsersApi extends BaseAPI {
648
810
  addUser(requestParameters = {}) {
649
811
  return UsersApiFp(this.configuration).addUser(requestParameters.AddUserRequest).then((request) => request(this.axios, this.basePath));
650
812
  }
813
+ /**
814
+ * Same as `addUser`, but resolves with the response body together with the HTTP status and headers.
815
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
816
+ * @param {UsersApiAddUserRequest} requestParameters Request parameters.
817
+
818
+ * @throws {RequiredError}
819
+ * @memberof UsersApi
820
+ */
821
+ addUserWithHttpInfo(requestParameters = {}) {
822
+ return UsersApiFp(this.configuration).addUserWithHttpInfo(requestParameters.AddUserRequest).then((request) => request(this.axios, this.basePath));
823
+ }
651
824
  /**
652
825
  * Finds users by their name.
653
826
  * @summary Find users by name
@@ -659,6 +832,17 @@ export class UsersApi extends BaseAPI {
659
832
  findUsersByName(requestParameters) {
660
833
  return UsersApiFp(this.configuration).findUsersByName(requestParameters.term, requestParameters.search_by_email).then((request) => request(this.axios, this.basePath));
661
834
  }
835
+ /**
836
+ * Same as `findUsersByName`, but resolves with the response body together with the HTTP status and headers.
837
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
838
+ * @param {UsersApiFindUsersByNameRequest} requestParameters Request parameters.
839
+
840
+ * @throws {RequiredError}
841
+ * @memberof UsersApi
842
+ */
843
+ findUsersByNameWithHttpInfo(requestParameters) {
844
+ return UsersApiFp(this.configuration).findUsersByNameWithHttpInfo(requestParameters.term, requestParameters.search_by_email).then((request) => request(this.axios, this.basePath));
845
+ }
662
846
  /**
663
847
  * Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the `locale` property means \'Date/number format\' in the Pipedrive account settings, not the chosen language.
664
848
  * @summary Get current user data
@@ -669,6 +853,16 @@ export class UsersApi extends BaseAPI {
669
853
  getCurrentUser() {
670
854
  return UsersApiFp(this.configuration).getCurrentUser().then((request) => request(this.axios, this.basePath));
671
855
  }
856
+ /**
857
+ * Same as `getCurrentUser`, but resolves with the response body together with the HTTP status and headers.
858
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
859
+
860
+ * @throws {RequiredError}
861
+ * @memberof UsersApi
862
+ */
863
+ getCurrentUserWithHttpInfo() {
864
+ return UsersApiFp(this.configuration).getCurrentUserWithHttpInfo().then((request) => request(this.axios, this.basePath));
865
+ }
672
866
  /**
673
867
  * Returns data about a specific user within the company.
674
868
  * @summary Get one user
@@ -680,6 +874,17 @@ export class UsersApi extends BaseAPI {
680
874
  getUser(requestParameters) {
681
875
  return UsersApiFp(this.configuration).getUser(requestParameters.id).then((request) => request(this.axios, this.basePath));
682
876
  }
877
+ /**
878
+ * Same as `getUser`, but resolves with the response body together with the HTTP status and headers.
879
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
880
+ * @param {UsersApiGetUserRequest} requestParameters Request parameters.
881
+
882
+ * @throws {RequiredError}
883
+ * @memberof UsersApi
884
+ */
885
+ getUserWithHttpInfo(requestParameters) {
886
+ return UsersApiFp(this.configuration).getUserWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
887
+ }
683
888
  /**
684
889
  * Lists the followers of a specific user.
685
890
  * @summary List followers of a user
@@ -691,6 +896,17 @@ export class UsersApi extends BaseAPI {
691
896
  getUserFollowers(requestParameters) {
692
897
  return UsersApiFp(this.configuration).getUserFollowers(requestParameters.id).then((request) => request(this.axios, this.basePath));
693
898
  }
899
+ /**
900
+ * Same as `getUserFollowers`, but resolves with the response body together with the HTTP status and headers.
901
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
902
+ * @param {UsersApiGetUserFollowersRequest} requestParameters Request parameters.
903
+
904
+ * @throws {RequiredError}
905
+ * @memberof UsersApi
906
+ */
907
+ getUserFollowersWithHttpInfo(requestParameters) {
908
+ return UsersApiFp(this.configuration).getUserFollowersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
909
+ }
694
910
  /**
695
911
  * Lists aggregated permissions over all assigned permission sets for a user.
696
912
  * @summary List user permissions
@@ -702,6 +918,17 @@ export class UsersApi extends BaseAPI {
702
918
  getUserPermissions(requestParameters) {
703
919
  return UsersApiFp(this.configuration).getUserPermissions(requestParameters.id).then((request) => request(this.axios, this.basePath));
704
920
  }
921
+ /**
922
+ * Same as `getUserPermissions`, but resolves with the response body together with the HTTP status and headers.
923
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
924
+ * @param {UsersApiGetUserPermissionsRequest} requestParameters Request parameters.
925
+
926
+ * @throws {RequiredError}
927
+ * @memberof UsersApi
928
+ */
929
+ getUserPermissionsWithHttpInfo(requestParameters) {
930
+ return UsersApiFp(this.configuration).getUserPermissionsWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
931
+ }
705
932
  /**
706
933
  * Lists role assignments for a user.
707
934
  * @summary List role assignments
@@ -713,6 +940,17 @@ export class UsersApi extends BaseAPI {
713
940
  getUserRoleAssignments(requestParameters) {
714
941
  return UsersApiFp(this.configuration).getUserRoleAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
715
942
  }
943
+ /**
944
+ * Same as `getUserRoleAssignments`, but resolves with the response body together with the HTTP status and headers.
945
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
946
+ * @param {UsersApiGetUserRoleAssignmentsRequest} requestParameters Request parameters.
947
+
948
+ * @throws {RequiredError}
949
+ * @memberof UsersApi
950
+ */
951
+ getUserRoleAssignmentsWithHttpInfo(requestParameters) {
952
+ return UsersApiFp(this.configuration).getUserRoleAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
953
+ }
716
954
  /**
717
955
  * Lists the settings of user\'s assigned role.
718
956
  * @summary List user role settings
@@ -724,6 +962,17 @@ export class UsersApi extends BaseAPI {
724
962
  getUserRoleSettings(requestParameters) {
725
963
  return UsersApiFp(this.configuration).getUserRoleSettings(requestParameters.id).then((request) => request(this.axios, this.basePath));
726
964
  }
965
+ /**
966
+ * Same as `getUserRoleSettings`, but resolves with the response body together with the HTTP status and headers.
967
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
968
+ * @param {UsersApiGetUserRoleSettingsRequest} requestParameters Request parameters.
969
+
970
+ * @throws {RequiredError}
971
+ * @memberof UsersApi
972
+ */
973
+ getUserRoleSettingsWithHttpInfo(requestParameters) {
974
+ return UsersApiFp(this.configuration).getUserRoleSettingsWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
975
+ }
727
976
  /**
728
977
  * Returns data about all users within the company.
729
978
  * @summary Get all users
@@ -734,6 +983,16 @@ export class UsersApi extends BaseAPI {
734
983
  getUsers() {
735
984
  return UsersApiFp(this.configuration).getUsers().then((request) => request(this.axios, this.basePath));
736
985
  }
986
+ /**
987
+ * Same as `getUsers`, but resolves with the response body together with the HTTP status and headers.
988
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
989
+
990
+ * @throws {RequiredError}
991
+ * @memberof UsersApi
992
+ */
993
+ getUsersWithHttpInfo() {
994
+ return UsersApiFp(this.configuration).getUsersWithHttpInfo().then((request) => request(this.axios, this.basePath));
995
+ }
737
996
  /**
738
997
  * Updates the properties of a user. Currently, only `active_flag` can be updated.
739
998
  * @summary Update user details
@@ -745,4 +1004,15 @@ export class UsersApi extends BaseAPI {
745
1004
  updateUser(requestParameters) {
746
1005
  return UsersApiFp(this.configuration).updateUser(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(this.axios, this.basePath));
747
1006
  }
1007
+ /**
1008
+ * Same as `updateUser`, but resolves with the response body together with the HTTP status and headers.
1009
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1010
+ * @param {UsersApiUpdateUserRequest} requestParameters Request parameters.
1011
+
1012
+ * @throws {RequiredError}
1013
+ * @memberof UsersApi
1014
+ */
1015
+ updateUserWithHttpInfo(requestParameters) {
1016
+ return UsersApiFp(this.configuration).updateUserWithHttpInfo(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(this.axios, this.basePath));
1017
+ }
748
1018
  }
@@ -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 { AddWebhookRequest } from '../models';
16
16
  import { BaseResponse } from '../models';
17
17
  import { GetWebhookResponse } from '../models';
@@ -58,6 +58,14 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
58
58
  * @throws {RequiredError}
59
59
  */
60
60
  addWebhook(AddWebhookRequest?: AddWebhookRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetWebhookResponse>>;
61
+ /**
62
+ * Same as `addWebhook`, but resolves with the response body together with the HTTP status and headers.
63
+ * @summary Create a new Webhook
64
+ * @param {AddWebhookRequest} [AddWebhookRequest]
65
+
66
+ * @throws {RequiredError}
67
+ */
68
+ addWebhookWithHttpInfo(AddWebhookRequest?: AddWebhookRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetWebhookResponse>>>;
61
69
  /**
62
70
  * Deletes the specified Webhook.
63
71
  * @summary Delete existing Webhook
@@ -66,6 +74,14 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
66
74
  * @throws {RequiredError}
67
75
  */
68
76
  deleteWebhook(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<BaseResponse>>;
77
+ /**
78
+ * Same as `deleteWebhook`, but resolves with the response body together with the HTTP status and headers.
79
+ * @summary Delete existing Webhook
80
+ * @param {number} id The ID of the Webhook to delete
81
+
82
+ * @throws {RequiredError}
83
+ */
84
+ deleteWebhookWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<BaseResponse>>>;
69
85
  /**
70
86
  * Returns data about all the Webhooks of a company.
71
87
  * @summary Get all Webhooks
@@ -73,6 +89,13 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
73
89
  * @throws {RequiredError}
74
90
  */
75
91
  getWebhooks(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetWebhooksResponse>>;
92
+ /**
93
+ * Same as `getWebhooks`, but resolves with the response body together with the HTTP status and headers.
94
+ * @summary Get all Webhooks
95
+
96
+ * @throws {RequiredError}
97
+ */
98
+ getWebhooksWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetWebhooksResponse>>>;
76
99
  };
77
100
  /**
78
101
  * WebhooksApi - factory interface
@@ -87,6 +110,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
87
110
  * @throws {RequiredError}
88
111
  */
89
112
  addWebhook(requestParameters?: WebhooksApiAddWebhookRequest): Promise<GetWebhookResponse>;
113
+ addWebhookWithHttpInfo(requestParameters?: WebhooksApiAddWebhookRequest): Promise<ApiResponse<GetWebhookResponse>>;
90
114
  /**
91
115
  * Deletes the specified Webhook.
92
116
  * @summary Delete existing Webhook
@@ -95,6 +119,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
95
119
  * @throws {RequiredError}
96
120
  */
97
121
  deleteWebhook(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<BaseResponse>;
122
+ deleteWebhookWithHttpInfo(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<ApiResponse<BaseResponse>>;
98
123
  /**
99
124
  * Returns data about all the Webhooks of a company.
100
125
  * @summary Get all Webhooks
@@ -102,6 +127,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
102
127
  * @throws {RequiredError}
103
128
  */
104
129
  getWebhooks(): Promise<GetWebhooksResponse>;
130
+ getWebhooksWithHttpInfo(): Promise<ApiResponse<GetWebhooksResponse>>;
105
131
  };
106
132
  /**
107
133
  * Request parameters for addWebhook operation in WebhooksApi.
@@ -145,6 +171,15 @@ export declare class WebhooksApi extends BaseAPI {
145
171
  * @memberof WebhooksApi
146
172
  */
147
173
  addWebhook(requestParameters?: WebhooksApiAddWebhookRequest): Promise<GetWebhookResponse>;
174
+ /**
175
+ * Same as `addWebhook`, but resolves with the response body together with the HTTP status and headers.
176
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
177
+ * @param {WebhooksApiAddWebhookRequest} requestParameters Request parameters.
178
+
179
+ * @throws {RequiredError}
180
+ * @memberof WebhooksApi
181
+ */
182
+ addWebhookWithHttpInfo(requestParameters?: WebhooksApiAddWebhookRequest): Promise<ApiResponse<GetWebhookResponse>>;
148
183
  /**
149
184
  * Deletes the specified Webhook.
150
185
  * @summary Delete existing Webhook
@@ -154,6 +189,15 @@ export declare class WebhooksApi extends BaseAPI {
154
189
  * @memberof WebhooksApi
155
190
  */
156
191
  deleteWebhook(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<BaseResponse>;
192
+ /**
193
+ * Same as `deleteWebhook`, but resolves with the response body together with the HTTP status and headers.
194
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
195
+ * @param {WebhooksApiDeleteWebhookRequest} requestParameters Request parameters.
196
+
197
+ * @throws {RequiredError}
198
+ * @memberof WebhooksApi
199
+ */
200
+ deleteWebhookWithHttpInfo(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<ApiResponse<BaseResponse>>;
157
201
  /**
158
202
  * Returns data about all the Webhooks of a company.
159
203
  * @summary Get all Webhooks
@@ -162,4 +206,12 @@ export declare class WebhooksApi extends BaseAPI {
162
206
  * @memberof WebhooksApi
163
207
  */
164
208
  getWebhooks(): Promise<GetWebhooksResponse>;
209
+ /**
210
+ * Same as `getWebhooks`, but resolves with the response body together with the HTTP status and headers.
211
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
212
+
213
+ * @throws {RequiredError}
214
+ * @memberof WebhooksApi
215
+ */
216
+ getWebhooksWithHttpInfo(): Promise<ApiResponse<GetWebhooksResponse>>;
165
217
  }