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
@@ -294,6 +294,19 @@ export const GoalsApiFp = function (configuration) {
294
294
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
295
295
  });
296
296
  },
297
+ /**
298
+ * Same as `addGoal`, but resolves with the response body together with the HTTP status and headers.
299
+ * @summary Add a new goal
300
+ * @param {AddGoalRequest} [AddGoalRequest]
301
+
302
+ * @throws {RequiredError}
303
+ */
304
+ addGoalWithHttpInfo(AddGoalRequest) {
305
+ return __awaiter(this, void 0, void 0, function* () {
306
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addGoal(AddGoalRequest);
307
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
308
+ });
309
+ },
297
310
  /**
298
311
  * Marks a goal as deleted.
299
312
  * @summary Delete existing goal
@@ -307,6 +320,19 @@ export const GoalsApiFp = function (configuration) {
307
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
308
321
  });
309
322
  },
323
+ /**
324
+ * Same as `deleteGoal`, but resolves with the response body together with the HTTP status and headers.
325
+ * @summary Delete existing goal
326
+ * @param {string} id The ID of the goal
327
+
328
+ * @throws {RequiredError}
329
+ */
330
+ deleteGoalWithHttpInfo(id) {
331
+ return __awaiter(this, void 0, void 0, function* () {
332
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteGoal(id);
333
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
334
+ });
335
+ },
310
336
  /**
311
337
  * Gets the progress of a goal for the specified period.
312
338
  * @summary Get result of a goal
@@ -322,6 +348,21 @@ export const GoalsApiFp = function (configuration) {
322
348
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
323
349
  });
324
350
  },
351
+ /**
352
+ * Same as `getGoalResult`, but resolves with the response body together with the HTTP status and headers.
353
+ * @summary Get result of a goal
354
+ * @param {string} id The ID of the goal that the results are looked for
355
+ * @param {string} period_start The start date of the period for which to find the goal\'s progress. Format: YYYY-MM-DD. This date must be the same or after the goal duration start date.
356
+ * @param {string} period_end The end date of the period for which to find the goal\'s progress. Format: YYYY-MM-DD. This date must be the same or before the goal duration end date.
357
+
358
+ * @throws {RequiredError}
359
+ */
360
+ getGoalResultWithHttpInfo(id, period_start, period_end) {
361
+ return __awaiter(this, void 0, void 0, function* () {
362
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getGoalResult(id, period_start, period_end);
363
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
364
+ });
365
+ },
325
366
  /**
326
367
  * Returns data about goals based on criteria. For searching, append `{searchField}={searchValue}` to the URL, where `searchField` can be any one of the lowest-level fields in dot-notation (e.g. `type.params.pipeline_id`; `title`). `searchValue` should be the value you are looking for on that field. Additionally, `is_active=<true|false>` can be provided to search for only active/inactive goals. When providing `period.start`, `period.end` must also be provided and vice versa.
327
368
  * @summary Find goals
@@ -347,6 +388,31 @@ export const GoalsApiFp = function (configuration) {
347
388
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
348
389
  });
349
390
  },
391
+ /**
392
+ * Same as `getGoals`, but resolves with the response body together with the HTTP status and headers.
393
+ * @summary Find goals
394
+ * @param {'deals_won' | 'deals_progressed' | 'activities_completed' | 'activities_added' | 'deals_started'} [type_name] The type of the goal. If provided, everyone\&#39;s goals will be returned.
395
+ * @param {string} [title] The title of the goal
396
+ * @param {boolean} [is_active] Whether the goal is active or not
397
+ * @param {number} [assignee_id] The ID of the user who\&#39;s goal to fetch. When omitted, only your goals will be returned.
398
+ * @param {'person' | 'company' | 'team'} [assignee_type] The type of the goal\&#39;s assignee. If provided, everyone\&#39;s goals will be returned.
399
+ * @param {number} [expected_outcome_target] The numeric value of the outcome. If provided, everyone\&#39;s goals will be returned.
400
+ * @param {'quantity' | 'sum'} [expected_outcome_tracking_metric] The tracking metric of the expected outcome of the goal. If provided, everyone\&#39;s goals will be returned.
401
+ * @param {number} [expected_outcome_currency_id] The numeric ID of the goal\&#39;s currency. Only applicable to goals with &#x60;expected_outcome.tracking_metric&#x60; with value &#x60;sum&#x60;. If provided, everyone\&#39;s goals will be returned.
402
+ * @param {Array<number>} [type_params_pipeline_id] An array of pipeline IDs or &#x60;null&#x60; for all pipelines. If provided, everyone\&#39;s goals will be returned.
403
+ * @param {number} [type_params_stage_id] The ID of the stage. Applicable to only &#x60;deals_progressed&#x60; type of goals. If provided, everyone\&#39;s goals will be returned.
404
+ * @param {Array<number>} [type_params_activity_type_id] An array of IDs or &#x60;null&#x60; for all activity types. Only applicable for &#x60;activities_completed&#x60; and/or &#x60;activities_added&#x60; types of goals. If provided, everyone\&#39;s goals will be returned.
405
+ * @param {string} [period_start] The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When &#x60;period.start&#x60; is provided, &#x60;period.end&#x60; must be provided too.
406
+ * @param {string} [period_end] The end date of the period for which to find goals. Date in format of YYYY-MM-DD.
407
+
408
+ * @throws {RequiredError}
409
+ */
410
+ getGoalsWithHttpInfo(type_name, title, is_active, assignee_id, assignee_type, expected_outcome_target, expected_outcome_tracking_metric, expected_outcome_currency_id, type_params_pipeline_id, type_params_stage_id, type_params_activity_type_id, period_start, period_end) {
411
+ return __awaiter(this, void 0, void 0, function* () {
412
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getGoals(type_name, title, is_active, assignee_id, assignee_type, expected_outcome_target, expected_outcome_tracking_metric, expected_outcome_currency_id, type_params_pipeline_id, type_params_stage_id, type_params_activity_type_id, period_start, period_end);
413
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
414
+ });
415
+ },
350
416
  /**
351
417
  * Updates an existing goal.
352
418
  * @summary Update existing goal
@@ -361,6 +427,20 @@ export const GoalsApiFp = function (configuration) {
361
427
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
428
  });
363
429
  },
430
+ /**
431
+ * Same as `updateGoal`, but resolves with the response body together with the HTTP status and headers.
432
+ * @summary Update existing goal
433
+ * @param {string} id The ID of the goal
434
+ * @param {BasicGoalRequest} [BasicGoalRequest]
435
+
436
+ * @throws {RequiredError}
437
+ */
438
+ updateGoalWithHttpInfo(id, BasicGoalRequest) {
439
+ return __awaiter(this, void 0, void 0, function* () {
440
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateGoal(id, BasicGoalRequest);
441
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
442
+ });
443
+ },
364
444
  };
365
445
  };
366
446
  /**
@@ -380,6 +460,9 @@ export const GoalsApiFactory = function (configuration, basePath, axios) {
380
460
  addGoal(requestParameters = {}) {
381
461
  return localVarFp.addGoal(requestParameters.AddGoalRequest).then((request) => request(axios, basePath));
382
462
  },
463
+ addGoalWithHttpInfo(requestParameters = {}) {
464
+ return localVarFp.addGoalWithHttpInfo(requestParameters.AddGoalRequest).then((request) => request(axios, basePath));
465
+ },
383
466
  /**
384
467
  * Marks a goal as deleted.
385
468
  * @summary Delete existing goal
@@ -390,6 +473,9 @@ export const GoalsApiFactory = function (configuration, basePath, axios) {
390
473
  deleteGoal(requestParameters) {
391
474
  return localVarFp.deleteGoal(requestParameters.id).then((request) => request(axios, basePath));
392
475
  },
476
+ deleteGoalWithHttpInfo(requestParameters) {
477
+ return localVarFp.deleteGoalWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
478
+ },
393
479
  /**
394
480
  * Gets the progress of a goal for the specified period.
395
481
  * @summary Get result of a goal
@@ -400,6 +486,9 @@ export const GoalsApiFactory = function (configuration, basePath, axios) {
400
486
  getGoalResult(requestParameters) {
401
487
  return localVarFp.getGoalResult(requestParameters.id, requestParameters.period_start, requestParameters.period_end).then((request) => request(axios, basePath));
402
488
  },
489
+ getGoalResultWithHttpInfo(requestParameters) {
490
+ return localVarFp.getGoalResultWithHttpInfo(requestParameters.id, requestParameters.period_start, requestParameters.period_end).then((request) => request(axios, basePath));
491
+ },
403
492
  /**
404
493
  * Returns data about goals based on criteria. For searching, append `{searchField}={searchValue}` to the URL, where `searchField` can be any one of the lowest-level fields in dot-notation (e.g. `type.params.pipeline_id`; `title`). `searchValue` should be the value you are looking for on that field. Additionally, `is_active=<true|false>` can be provided to search for only active/inactive goals. When providing `period.start`, `period.end` must also be provided and vice versa.
405
494
  * @summary Find goals
@@ -410,6 +499,9 @@ export const GoalsApiFactory = function (configuration, basePath, axios) {
410
499
  getGoals(requestParameters = {}) {
411
500
  return localVarFp.getGoals(requestParameters.type_name, requestParameters.title, requestParameters.is_active, requestParameters.assignee_id, requestParameters.assignee_type, requestParameters.expected_outcome_target, requestParameters.expected_outcome_tracking_metric, requestParameters.expected_outcome_currency_id, requestParameters.type_params_pipeline_id, requestParameters.type_params_stage_id, requestParameters.type_params_activity_type_id, requestParameters.period_start, requestParameters.period_end).then((request) => request(axios, basePath));
412
501
  },
502
+ getGoalsWithHttpInfo(requestParameters = {}) {
503
+ return localVarFp.getGoalsWithHttpInfo(requestParameters.type_name, requestParameters.title, requestParameters.is_active, requestParameters.assignee_id, requestParameters.assignee_type, requestParameters.expected_outcome_target, requestParameters.expected_outcome_tracking_metric, requestParameters.expected_outcome_currency_id, requestParameters.type_params_pipeline_id, requestParameters.type_params_stage_id, requestParameters.type_params_activity_type_id, requestParameters.period_start, requestParameters.period_end).then((request) => request(axios, basePath));
504
+ },
413
505
  /**
414
506
  * Updates an existing goal.
415
507
  * @summary Update existing goal
@@ -420,6 +512,9 @@ export const GoalsApiFactory = function (configuration, basePath, axios) {
420
512
  updateGoal(requestParameters) {
421
513
  return localVarFp.updateGoal(requestParameters.id, requestParameters.BasicGoalRequest).then((request) => request(axios, basePath));
422
514
  },
515
+ updateGoalWithHttpInfo(requestParameters) {
516
+ return localVarFp.updateGoalWithHttpInfo(requestParameters.id, requestParameters.BasicGoalRequest).then((request) => request(axios, basePath));
517
+ },
423
518
  };
424
519
  };
425
520
  /**
@@ -440,6 +535,17 @@ export class GoalsApi extends BaseAPI {
440
535
  addGoal(requestParameters = {}) {
441
536
  return GoalsApiFp(this.configuration).addGoal(requestParameters.AddGoalRequest).then((request) => request(this.axios, this.basePath));
442
537
  }
538
+ /**
539
+ * Same as `addGoal`, but resolves with the response body together with the HTTP status and headers.
540
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
541
+ * @param {GoalsApiAddGoalRequest} requestParameters Request parameters.
542
+
543
+ * @throws {RequiredError}
544
+ * @memberof GoalsApi
545
+ */
546
+ addGoalWithHttpInfo(requestParameters = {}) {
547
+ return GoalsApiFp(this.configuration).addGoalWithHttpInfo(requestParameters.AddGoalRequest).then((request) => request(this.axios, this.basePath));
548
+ }
443
549
  /**
444
550
  * Marks a goal as deleted.
445
551
  * @summary Delete existing goal
@@ -451,6 +557,17 @@ export class GoalsApi extends BaseAPI {
451
557
  deleteGoal(requestParameters) {
452
558
  return GoalsApiFp(this.configuration).deleteGoal(requestParameters.id).then((request) => request(this.axios, this.basePath));
453
559
  }
560
+ /**
561
+ * Same as `deleteGoal`, but resolves with the response body together with the HTTP status and headers.
562
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
563
+ * @param {GoalsApiDeleteGoalRequest} requestParameters Request parameters.
564
+
565
+ * @throws {RequiredError}
566
+ * @memberof GoalsApi
567
+ */
568
+ deleteGoalWithHttpInfo(requestParameters) {
569
+ return GoalsApiFp(this.configuration).deleteGoalWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
570
+ }
454
571
  /**
455
572
  * Gets the progress of a goal for the specified period.
456
573
  * @summary Get result of a goal
@@ -462,6 +579,17 @@ export class GoalsApi extends BaseAPI {
462
579
  getGoalResult(requestParameters) {
463
580
  return GoalsApiFp(this.configuration).getGoalResult(requestParameters.id, requestParameters.period_start, requestParameters.period_end).then((request) => request(this.axios, this.basePath));
464
581
  }
582
+ /**
583
+ * Same as `getGoalResult`, but resolves with the response body together with the HTTP status and headers.
584
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
585
+ * @param {GoalsApiGetGoalResultRequest} requestParameters Request parameters.
586
+
587
+ * @throws {RequiredError}
588
+ * @memberof GoalsApi
589
+ */
590
+ getGoalResultWithHttpInfo(requestParameters) {
591
+ return GoalsApiFp(this.configuration).getGoalResultWithHttpInfo(requestParameters.id, requestParameters.period_start, requestParameters.period_end).then((request) => request(this.axios, this.basePath));
592
+ }
465
593
  /**
466
594
  * Returns data about goals based on criteria. For searching, append `{searchField}={searchValue}` to the URL, where `searchField` can be any one of the lowest-level fields in dot-notation (e.g. `type.params.pipeline_id`; `title`). `searchValue` should be the value you are looking for on that field. Additionally, `is_active=<true|false>` can be provided to search for only active/inactive goals. When providing `period.start`, `period.end` must also be provided and vice versa.
467
595
  * @summary Find goals
@@ -473,6 +601,17 @@ export class GoalsApi extends BaseAPI {
473
601
  getGoals(requestParameters = {}) {
474
602
  return GoalsApiFp(this.configuration).getGoals(requestParameters.type_name, requestParameters.title, requestParameters.is_active, requestParameters.assignee_id, requestParameters.assignee_type, requestParameters.expected_outcome_target, requestParameters.expected_outcome_tracking_metric, requestParameters.expected_outcome_currency_id, requestParameters.type_params_pipeline_id, requestParameters.type_params_stage_id, requestParameters.type_params_activity_type_id, requestParameters.period_start, requestParameters.period_end).then((request) => request(this.axios, this.basePath));
475
603
  }
604
+ /**
605
+ * Same as `getGoals`, but resolves with the response body together with the HTTP status and headers.
606
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
607
+ * @param {GoalsApiGetGoalsRequest} requestParameters Request parameters.
608
+
609
+ * @throws {RequiredError}
610
+ * @memberof GoalsApi
611
+ */
612
+ getGoalsWithHttpInfo(requestParameters = {}) {
613
+ return GoalsApiFp(this.configuration).getGoalsWithHttpInfo(requestParameters.type_name, requestParameters.title, requestParameters.is_active, requestParameters.assignee_id, requestParameters.assignee_type, requestParameters.expected_outcome_target, requestParameters.expected_outcome_tracking_metric, requestParameters.expected_outcome_currency_id, requestParameters.type_params_pipeline_id, requestParameters.type_params_stage_id, requestParameters.type_params_activity_type_id, requestParameters.period_start, requestParameters.period_end).then((request) => request(this.axios, this.basePath));
614
+ }
476
615
  /**
477
616
  * Updates an existing goal.
478
617
  * @summary Update existing goal
@@ -484,4 +623,15 @@ export class GoalsApi extends BaseAPI {
484
623
  updateGoal(requestParameters) {
485
624
  return GoalsApiFp(this.configuration).updateGoal(requestParameters.id, requestParameters.BasicGoalRequest).then((request) => request(this.axios, this.basePath));
486
625
  }
626
+ /**
627
+ * Same as `updateGoal`, but resolves with the response body together with the HTTP status and headers.
628
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
629
+ * @param {GoalsApiUpdateGoalRequest} requestParameters Request parameters.
630
+
631
+ * @throws {RequiredError}
632
+ * @memberof GoalsApi
633
+ */
634
+ updateGoalWithHttpInfo(requestParameters) {
635
+ return GoalsApiFp(this.configuration).updateGoalWithHttpInfo(requestParameters.id, requestParameters.BasicGoalRequest).then((request) => request(this.axios, this.basePath));
636
+ }
487
637
  }
@@ -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 { GetFieldsResponse } from '../models';
16
16
  /**
17
17
  * LeadFieldsApi - axios parameter creator
@@ -42,6 +42,15 @@ export declare const LeadFieldsApiFp: (configuration?: Configuration) => {
42
42
  * @throws {RequiredError}
43
43
  */
44
44
  getLeadFields(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFieldsResponse>>;
45
+ /**
46
+ * Same as `getLeadFields`, but resolves with the response body together with the HTTP status and headers.
47
+ * @summary Get all lead fields
48
+ * @param {number} [start] Pagination start
49
+ * @param {number} [limit] Items shown per page
50
+
51
+ * @throws {RequiredError}
52
+ */
53
+ getLeadFieldsWithHttpInfo(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFieldsResponse>>>;
45
54
  };
46
55
  /**
47
56
  * LeadFieldsApi - factory interface
@@ -56,6 +65,7 @@ export declare const LeadFieldsApiFactory: (configuration?: Configuration, baseP
56
65
  * @throws {RequiredError}
57
66
  */
58
67
  getLeadFields(requestParameters?: LeadFieldsApiGetLeadFieldsRequest): Promise<GetFieldsResponse>;
68
+ getLeadFieldsWithHttpInfo(requestParameters?: LeadFieldsApiGetLeadFieldsRequest): Promise<ApiResponse<GetFieldsResponse>>;
59
69
  };
60
70
  /**
61
71
  * Request parameters for getLeadFields operation in LeadFieldsApi.
@@ -92,4 +102,13 @@ export declare class LeadFieldsApi extends BaseAPI {
92
102
  * @memberof LeadFieldsApi
93
103
  */
94
104
  getLeadFields(requestParameters?: LeadFieldsApiGetLeadFieldsRequest): Promise<GetFieldsResponse>;
105
+ /**
106
+ * Same as `getLeadFields`, but resolves with the response body together with the HTTP status and headers.
107
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
108
+ * @param {LeadFieldsApiGetLeadFieldsRequest} requestParameters Request parameters.
109
+
110
+ * @throws {RequiredError}
111
+ * @memberof LeadFieldsApi
112
+ */
113
+ getLeadFieldsWithHttpInfo(requestParameters?: LeadFieldsApiGetLeadFieldsRequest): Promise<ApiResponse<GetFieldsResponse>>;
95
114
  }
@@ -93,6 +93,20 @@ export const LeadFieldsApiFp = function (configuration) {
93
93
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
94
94
  });
95
95
  },
96
+ /**
97
+ * Same as `getLeadFields`, but resolves with the response body together with the HTTP status and headers.
98
+ * @summary Get all lead fields
99
+ * @param {number} [start] Pagination start
100
+ * @param {number} [limit] Items shown per page
101
+
102
+ * @throws {RequiredError}
103
+ */
104
+ getLeadFieldsWithHttpInfo(start, limit) {
105
+ return __awaiter(this, void 0, void 0, function* () {
106
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeadFields(start, limit);
107
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
108
+ });
109
+ },
96
110
  };
97
111
  };
98
112
  /**
@@ -112,6 +126,9 @@ export const LeadFieldsApiFactory = function (configuration, basePath, axios) {
112
126
  getLeadFields(requestParameters = {}) {
113
127
  return localVarFp.getLeadFields(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
114
128
  },
129
+ getLeadFieldsWithHttpInfo(requestParameters = {}) {
130
+ return localVarFp.getLeadFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
131
+ },
115
132
  };
116
133
  };
117
134
  /**
@@ -132,4 +149,15 @@ export class LeadFieldsApi extends BaseAPI {
132
149
  getLeadFields(requestParameters = {}) {
133
150
  return LeadFieldsApiFp(this.configuration).getLeadFields(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
134
151
  }
152
+ /**
153
+ * Same as `getLeadFields`, but resolves with the response body together with the HTTP status and headers.
154
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
155
+ * @param {LeadFieldsApiGetLeadFieldsRequest} requestParameters Request parameters.
156
+
157
+ * @throws {RequiredError}
158
+ * @memberof LeadFieldsApi
159
+ */
160
+ getLeadFieldsWithHttpInfo(requestParameters = {}) {
161
+ return LeadFieldsApiFp(this.configuration).getLeadFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
162
+ }
135
163
  }
@@ -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 { AddLeadLabelRequest } from '../models';
16
16
  import { DeleteLeadIdResponse } from '../models';
17
17
  import { GetLeadLabelsResponse } from '../models';
@@ -68,6 +68,14 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
68
68
  * @throws {RequiredError}
69
69
  */
70
70
  addLeadLabel(AddLeadLabelRequest?: AddLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertLeadLabelResponse>>;
71
+ /**
72
+ * Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
73
+ * @summary Add a lead label
74
+ * @param {AddLeadLabelRequest} [AddLeadLabelRequest]
75
+
76
+ * @throws {RequiredError}
77
+ */
78
+ addLeadLabelWithHttpInfo(AddLeadLabelRequest?: AddLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertLeadLabelResponse>>>;
71
79
  /**
72
80
  * Deletes a specific lead label.
73
81
  * @summary Delete a lead label
@@ -76,6 +84,14 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
76
84
  * @throws {RequiredError}
77
85
  */
78
86
  deleteLeadLabel(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteLeadIdResponse>>;
87
+ /**
88
+ * Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
89
+ * @summary Delete a lead label
90
+ * @param {string} id The ID of the lead label
91
+
92
+ * @throws {RequiredError}
93
+ */
94
+ deleteLeadLabelWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteLeadIdResponse>>>;
79
95
  /**
80
96
  * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
81
97
  * @summary Get all lead labels
@@ -83,6 +99,13 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
83
99
  * @throws {RequiredError}
84
100
  */
85
101
  getLeadLabels(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadLabelsResponse>>;
102
+ /**
103
+ * Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
104
+ * @summary Get all lead labels
105
+
106
+ * @throws {RequiredError}
107
+ */
108
+ getLeadLabelsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetLeadLabelsResponse>>>;
86
109
  /**
87
110
  * Updates one or more properties of a lead label. Only properties included in the request will be updated.
88
111
  * @summary Update a lead label
@@ -92,6 +115,15 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
92
115
  * @throws {RequiredError}
93
116
  */
94
117
  updateLeadLabel(id: string, UpdateLeadLabelRequest?: UpdateLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertLeadLabelResponse>>;
118
+ /**
119
+ * Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
120
+ * @summary Update a lead label
121
+ * @param {string} id The ID of the lead label
122
+ * @param {UpdateLeadLabelRequest} [UpdateLeadLabelRequest]
123
+
124
+ * @throws {RequiredError}
125
+ */
126
+ updateLeadLabelWithHttpInfo(id: string, UpdateLeadLabelRequest?: UpdateLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertLeadLabelResponse>>>;
95
127
  };
96
128
  /**
97
129
  * LeadLabelsApi - factory interface
@@ -106,6 +138,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
106
138
  * @throws {RequiredError}
107
139
  */
108
140
  addLeadLabel(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
141
+ addLeadLabelWithHttpInfo(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
109
142
  /**
110
143
  * Deletes a specific lead label.
111
144
  * @summary Delete a lead label
@@ -114,6 +147,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
114
147
  * @throws {RequiredError}
115
148
  */
116
149
  deleteLeadLabel(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<DeleteLeadIdResponse>;
150
+ deleteLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<ApiResponse<DeleteLeadIdResponse>>;
117
151
  /**
118
152
  * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
119
153
  * @summary Get all lead labels
@@ -121,6 +155,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
121
155
  * @throws {RequiredError}
122
156
  */
123
157
  getLeadLabels(): Promise<GetLeadLabelsResponse>;
158
+ getLeadLabelsWithHttpInfo(): Promise<ApiResponse<GetLeadLabelsResponse>>;
124
159
  /**
125
160
  * Updates one or more properties of a lead label. Only properties included in the request will be updated.
126
161
  * @summary Update a lead label
@@ -129,6 +164,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
129
164
  * @throws {RequiredError}
130
165
  */
131
166
  updateLeadLabel(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
167
+ updateLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
132
168
  };
133
169
  /**
134
170
  * Request parameters for addLeadLabel operation in LeadLabelsApi.
@@ -191,6 +227,15 @@ export declare class LeadLabelsApi extends BaseAPI {
191
227
  * @memberof LeadLabelsApi
192
228
  */
193
229
  addLeadLabel(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
230
+ /**
231
+ * Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
232
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
233
+ * @param {LeadLabelsApiAddLeadLabelRequest} requestParameters Request parameters.
234
+
235
+ * @throws {RequiredError}
236
+ * @memberof LeadLabelsApi
237
+ */
238
+ addLeadLabelWithHttpInfo(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
194
239
  /**
195
240
  * Deletes a specific lead label.
196
241
  * @summary Delete a lead label
@@ -200,6 +245,15 @@ export declare class LeadLabelsApi extends BaseAPI {
200
245
  * @memberof LeadLabelsApi
201
246
  */
202
247
  deleteLeadLabel(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<DeleteLeadIdResponse>;
248
+ /**
249
+ * Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
250
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
251
+ * @param {LeadLabelsApiDeleteLeadLabelRequest} requestParameters Request parameters.
252
+
253
+ * @throws {RequiredError}
254
+ * @memberof LeadLabelsApi
255
+ */
256
+ deleteLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<ApiResponse<DeleteLeadIdResponse>>;
203
257
  /**
204
258
  * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
205
259
  * @summary Get all lead labels
@@ -208,6 +262,14 @@ export declare class LeadLabelsApi extends BaseAPI {
208
262
  * @memberof LeadLabelsApi
209
263
  */
210
264
  getLeadLabels(): Promise<GetLeadLabelsResponse>;
265
+ /**
266
+ * Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
267
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
268
+
269
+ * @throws {RequiredError}
270
+ * @memberof LeadLabelsApi
271
+ */
272
+ getLeadLabelsWithHttpInfo(): Promise<ApiResponse<GetLeadLabelsResponse>>;
211
273
  /**
212
274
  * Updates one or more properties of a lead label. Only properties included in the request will be updated.
213
275
  * @summary Update a lead label
@@ -217,4 +279,13 @@ export declare class LeadLabelsApi extends BaseAPI {
217
279
  * @memberof LeadLabelsApi
218
280
  */
219
281
  updateLeadLabel(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
282
+ /**
283
+ * Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
284
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
285
+ * @param {LeadLabelsApiUpdateLeadLabelRequest} requestParameters Request parameters.
286
+
287
+ * @throws {RequiredError}
288
+ * @memberof LeadLabelsApi
289
+ */
290
+ updateLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
220
291
  }