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
@@ -359,6 +359,19 @@ export const PersonFieldsApiFp = function (configuration) {
359
359
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
360
  });
361
361
  },
362
+ /**
363
+ * Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
364
+ * @summary Create one person field
365
+ * @param {AddPersonFieldRequest} AddPersonFieldRequest
366
+
367
+ * @throws {RequiredError}
368
+ */
369
+ addPersonFieldWithHttpInfo(AddPersonFieldRequest) {
370
+ return __awaiter(this, void 0, void 0, function* () {
371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonField(AddPersonFieldRequest);
372
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
373
+ });
374
+ },
362
375
  /**
363
376
  * Adds new options to a person custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
364
377
  * @summary Add person field options in bulk
@@ -373,6 +386,20 @@ export const PersonFieldsApiFp = function (configuration) {
373
386
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
374
387
  });
375
388
  },
389
+ /**
390
+ * Same as `addPersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
391
+ * @summary Add person field options in bulk
392
+ * @param {string} field_code The unique code identifying the field
393
+ * @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
394
+
395
+ * @throws {RequiredError}
396
+ */
397
+ addPersonFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
398
+ return __awaiter(this, void 0, void 0, function* () {
399
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonFieldOptions(field_code, AddDealFieldOptionsRequestInner);
400
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
401
+ });
402
+ },
376
403
  /**
377
404
  * Marks a custom field as deleted.
378
405
  * @summary Delete one person field
@@ -386,6 +413,19 @@ export const PersonFieldsApiFp = function (configuration) {
386
413
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
387
414
  });
388
415
  },
416
+ /**
417
+ * Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
418
+ * @summary Delete one person field
419
+ * @param {string} field_code The unique code identifying the field
420
+
421
+ * @throws {RequiredError}
422
+ */
423
+ deletePersonFieldWithHttpInfo(field_code) {
424
+ return __awaiter(this, void 0, void 0, function* () {
425
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonField(field_code);
426
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
427
+ });
428
+ },
389
429
  /**
390
430
  * Removes existing options from a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
391
431
  * @summary Delete person field options in bulk
@@ -400,6 +440,20 @@ export const PersonFieldsApiFp = function (configuration) {
400
440
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
401
441
  });
402
442
  },
443
+ /**
444
+ * Same as `deletePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
445
+ * @summary Delete person field options in bulk
446
+ * @param {string} field_code The unique code identifying the field
447
+ * @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
448
+
449
+ * @throws {RequiredError}
450
+ */
451
+ deletePersonFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
452
+ return __awaiter(this, void 0, void 0, function* () {
453
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
454
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
455
+ });
456
+ },
403
457
  /**
404
458
  * Returns metadata about a specific person field.
405
459
  * @summary Get one person field
@@ -414,6 +468,20 @@ export const PersonFieldsApiFp = function (configuration) {
414
468
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
415
469
  });
416
470
  },
471
+ /**
472
+ * Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
473
+ * @summary Get one person field
474
+ * @param {string} field_code The unique code identifying the field
475
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
476
+
477
+ * @throws {RequiredError}
478
+ */
479
+ getPersonFieldWithHttpInfo(field_code, include_fields) {
480
+ return __awaiter(this, void 0, void 0, function* () {
481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonField(field_code, include_fields);
482
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
483
+ });
484
+ },
417
485
  /**
418
486
  * Returns metadata about all person fields in the company.
419
487
  * @summary Get all person fields
@@ -429,6 +497,21 @@ export const PersonFieldsApiFp = function (configuration) {
429
497
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
430
498
  });
431
499
  },
500
+ /**
501
+ * Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
502
+ * @summary Get all person fields
503
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
504
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
505
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
506
+
507
+ * @throws {RequiredError}
508
+ */
509
+ getPersonFieldsWithHttpInfo(include_fields, limit, cursor) {
510
+ return __awaiter(this, void 0, void 0, function* () {
511
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFields(include_fields, limit, cursor);
512
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
513
+ });
514
+ },
432
515
  /**
433
516
  * Updates a person custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
434
517
  * @summary Update one person field
@@ -443,6 +526,20 @@ export const PersonFieldsApiFp = function (configuration) {
443
526
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
444
527
  });
445
528
  },
529
+ /**
530
+ * Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
531
+ * @summary Update one person field
532
+ * @param {string} field_code The unique code identifying the field
533
+ * @param {UpdatePersonFieldRequest} UpdatePersonFieldRequest
534
+
535
+ * @throws {RequiredError}
536
+ */
537
+ updatePersonFieldWithHttpInfo(field_code, UpdatePersonFieldRequest) {
538
+ return __awaiter(this, void 0, void 0, function* () {
539
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePersonField(field_code, UpdatePersonFieldRequest);
540
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
541
+ });
542
+ },
446
543
  /**
447
544
  * Updates existing options for a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
448
545
  * @summary Update person field options in bulk
@@ -457,6 +554,20 @@ export const PersonFieldsApiFp = function (configuration) {
457
554
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
458
555
  });
459
556
  },
557
+ /**
558
+ * Same as `updatePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
559
+ * @summary Update person field options in bulk
560
+ * @param {string} field_code The unique code identifying the field
561
+ * @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
562
+
563
+ * @throws {RequiredError}
564
+ */
565
+ updatePersonFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
566
+ return __awaiter(this, void 0, void 0, function* () {
567
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePersonFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
568
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
569
+ });
570
+ },
460
571
  };
461
572
  };
462
573
  /**
@@ -476,6 +587,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
476
587
  addPersonField(requestParameters) {
477
588
  return localVarFp.addPersonField(requestParameters.AddPersonFieldRequest).then((request) => request(axios, basePath));
478
589
  },
590
+ addPersonFieldWithHttpInfo(requestParameters) {
591
+ return localVarFp.addPersonFieldWithHttpInfo(requestParameters.AddPersonFieldRequest).then((request) => request(axios, basePath));
592
+ },
479
593
  /**
480
594
  * Adds new options to a person custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
481
595
  * @summary Add person field options in bulk
@@ -486,6 +600,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
486
600
  addPersonFieldOptions(requestParameters) {
487
601
  return localVarFp.addPersonFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
488
602
  },
603
+ addPersonFieldOptionsWithHttpInfo(requestParameters) {
604
+ return localVarFp.addPersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
605
+ },
489
606
  /**
490
607
  * Marks a custom field as deleted.
491
608
  * @summary Delete one person field
@@ -496,6 +613,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
496
613
  deletePersonField(requestParameters) {
497
614
  return localVarFp.deletePersonField(requestParameters.field_code).then((request) => request(axios, basePath));
498
615
  },
616
+ deletePersonFieldWithHttpInfo(requestParameters) {
617
+ return localVarFp.deletePersonFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
618
+ },
499
619
  /**
500
620
  * Removes existing options from a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
501
621
  * @summary Delete person field options in bulk
@@ -506,6 +626,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
506
626
  deletePersonFieldOptions(requestParameters) {
507
627
  return localVarFp.deletePersonFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
508
628
  },
629
+ deletePersonFieldOptionsWithHttpInfo(requestParameters) {
630
+ return localVarFp.deletePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
631
+ },
509
632
  /**
510
633
  * Returns metadata about a specific person field.
511
634
  * @summary Get one person field
@@ -516,6 +639,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
516
639
  getPersonField(requestParameters) {
517
640
  return localVarFp.getPersonField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
518
641
  },
642
+ getPersonFieldWithHttpInfo(requestParameters) {
643
+ return localVarFp.getPersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
644
+ },
519
645
  /**
520
646
  * Returns metadata about all person fields in the company.
521
647
  * @summary Get all person fields
@@ -526,6 +652,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
526
652
  getPersonFields(requestParameters = {}) {
527
653
  return localVarFp.getPersonFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
528
654
  },
655
+ getPersonFieldsWithHttpInfo(requestParameters = {}) {
656
+ return localVarFp.getPersonFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
657
+ },
529
658
  /**
530
659
  * Updates a person custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
531
660
  * @summary Update one person field
@@ -536,6 +665,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
536
665
  updatePersonField(requestParameters) {
537
666
  return localVarFp.updatePersonField(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(axios, basePath));
538
667
  },
668
+ updatePersonFieldWithHttpInfo(requestParameters) {
669
+ return localVarFp.updatePersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(axios, basePath));
670
+ },
539
671
  /**
540
672
  * Updates existing options for a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
541
673
  * @summary Update person field options in bulk
@@ -546,6 +678,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
546
678
  updatePersonFieldOptions(requestParameters) {
547
679
  return localVarFp.updatePersonFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
548
680
  },
681
+ updatePersonFieldOptionsWithHttpInfo(requestParameters) {
682
+ return localVarFp.updatePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
683
+ },
549
684
  };
550
685
  };
551
686
  /**
@@ -566,6 +701,17 @@ export class PersonFieldsApi extends BaseAPI {
566
701
  addPersonField(requestParameters) {
567
702
  return PersonFieldsApiFp(this.configuration).addPersonField(requestParameters.AddPersonFieldRequest).then((request) => request(this.axios, this.basePath));
568
703
  }
704
+ /**
705
+ * Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
706
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
707
+ * @param {PersonFieldsApiAddPersonFieldRequest} requestParameters Request parameters.
708
+
709
+ * @throws {RequiredError}
710
+ * @memberof PersonFieldsApi
711
+ */
712
+ addPersonFieldWithHttpInfo(requestParameters) {
713
+ return PersonFieldsApiFp(this.configuration).addPersonFieldWithHttpInfo(requestParameters.AddPersonFieldRequest).then((request) => request(this.axios, this.basePath));
714
+ }
569
715
  /**
570
716
  * Adds new options to a person custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
571
717
  * @summary Add person field options in bulk
@@ -577,6 +723,17 @@ export class PersonFieldsApi extends BaseAPI {
577
723
  addPersonFieldOptions(requestParameters) {
578
724
  return PersonFieldsApiFp(this.configuration).addPersonFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
579
725
  }
726
+ /**
727
+ * Same as `addPersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
728
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
729
+ * @param {PersonFieldsApiAddPersonFieldOptionsRequest} requestParameters Request parameters.
730
+
731
+ * @throws {RequiredError}
732
+ * @memberof PersonFieldsApi
733
+ */
734
+ addPersonFieldOptionsWithHttpInfo(requestParameters) {
735
+ return PersonFieldsApiFp(this.configuration).addPersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
736
+ }
580
737
  /**
581
738
  * Marks a custom field as deleted.
582
739
  * @summary Delete one person field
@@ -588,6 +745,17 @@ export class PersonFieldsApi extends BaseAPI {
588
745
  deletePersonField(requestParameters) {
589
746
  return PersonFieldsApiFp(this.configuration).deletePersonField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
590
747
  }
748
+ /**
749
+ * Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
750
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
751
+ * @param {PersonFieldsApiDeletePersonFieldRequest} requestParameters Request parameters.
752
+
753
+ * @throws {RequiredError}
754
+ * @memberof PersonFieldsApi
755
+ */
756
+ deletePersonFieldWithHttpInfo(requestParameters) {
757
+ return PersonFieldsApiFp(this.configuration).deletePersonFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
758
+ }
591
759
  /**
592
760
  * Removes existing options from a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
593
761
  * @summary Delete person field options in bulk
@@ -599,6 +767,17 @@ export class PersonFieldsApi extends BaseAPI {
599
767
  deletePersonFieldOptions(requestParameters) {
600
768
  return PersonFieldsApiFp(this.configuration).deletePersonFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
601
769
  }
770
+ /**
771
+ * Same as `deletePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
772
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
773
+ * @param {PersonFieldsApiDeletePersonFieldOptionsRequest} requestParameters Request parameters.
774
+
775
+ * @throws {RequiredError}
776
+ * @memberof PersonFieldsApi
777
+ */
778
+ deletePersonFieldOptionsWithHttpInfo(requestParameters) {
779
+ return PersonFieldsApiFp(this.configuration).deletePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
780
+ }
602
781
  /**
603
782
  * Returns metadata about a specific person field.
604
783
  * @summary Get one person field
@@ -610,6 +789,17 @@ export class PersonFieldsApi extends BaseAPI {
610
789
  getPersonField(requestParameters) {
611
790
  return PersonFieldsApiFp(this.configuration).getPersonField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
612
791
  }
792
+ /**
793
+ * Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
794
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
795
+ * @param {PersonFieldsApiGetPersonFieldRequest} requestParameters Request parameters.
796
+
797
+ * @throws {RequiredError}
798
+ * @memberof PersonFieldsApi
799
+ */
800
+ getPersonFieldWithHttpInfo(requestParameters) {
801
+ return PersonFieldsApiFp(this.configuration).getPersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
802
+ }
613
803
  /**
614
804
  * Returns metadata about all person fields in the company.
615
805
  * @summary Get all person fields
@@ -621,6 +811,17 @@ export class PersonFieldsApi extends BaseAPI {
621
811
  getPersonFields(requestParameters = {}) {
622
812
  return PersonFieldsApiFp(this.configuration).getPersonFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
623
813
  }
814
+ /**
815
+ * Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
816
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
817
+ * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
818
+
819
+ * @throws {RequiredError}
820
+ * @memberof PersonFieldsApi
821
+ */
822
+ getPersonFieldsWithHttpInfo(requestParameters = {}) {
823
+ return PersonFieldsApiFp(this.configuration).getPersonFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
824
+ }
624
825
  /**
625
826
  * Updates a person custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
626
827
  * @summary Update one person field
@@ -632,6 +833,17 @@ export class PersonFieldsApi extends BaseAPI {
632
833
  updatePersonField(requestParameters) {
633
834
  return PersonFieldsApiFp(this.configuration).updatePersonField(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(this.axios, this.basePath));
634
835
  }
836
+ /**
837
+ * Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
838
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
839
+ * @param {PersonFieldsApiUpdatePersonFieldRequest} requestParameters Request parameters.
840
+
841
+ * @throws {RequiredError}
842
+ * @memberof PersonFieldsApi
843
+ */
844
+ updatePersonFieldWithHttpInfo(requestParameters) {
845
+ return PersonFieldsApiFp(this.configuration).updatePersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(this.axios, this.basePath));
846
+ }
635
847
  /**
636
848
  * Updates existing options for a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
637
849
  * @summary Update person field options in bulk
@@ -643,4 +855,15 @@ export class PersonFieldsApi extends BaseAPI {
643
855
  updatePersonFieldOptions(requestParameters) {
644
856
  return PersonFieldsApiFp(this.configuration).updatePersonFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
645
857
  }
858
+ /**
859
+ * Same as `updatePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
860
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
861
+ * @param {PersonFieldsApiUpdatePersonFieldOptionsRequest} requestParameters Request parameters.
862
+
863
+ * @throws {RequiredError}
864
+ * @memberof PersonFieldsApi
865
+ */
866
+ updatePersonFieldOptionsWithHttpInfo(requestParameters) {
867
+ return PersonFieldsApiFp(this.configuration).updatePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
868
+ }
646
869
  }