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
@@ -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
  }
@@ -195,6 +195,19 @@ const LeadLabelsApiFp = function (configuration) {
195
195
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
196
196
  });
197
197
  },
198
+ /**
199
+ * Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
200
+ * @summary Add a lead label
201
+ * @param {AddLeadLabelRequest} [AddLeadLabelRequest]
202
+
203
+ * @throws {RequiredError}
204
+ */
205
+ addLeadLabelWithHttpInfo(AddLeadLabelRequest) {
206
+ return __awaiter(this, void 0, void 0, function* () {
207
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addLeadLabel(AddLeadLabelRequest);
208
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
209
+ });
210
+ },
198
211
  /**
199
212
  * Deletes a specific lead label.
200
213
  * @summary Delete a lead label
@@ -208,6 +221,19 @@ const LeadLabelsApiFp = function (configuration) {
208
221
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
209
222
  });
210
223
  },
224
+ /**
225
+ * Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
226
+ * @summary Delete a lead label
227
+ * @param {string} id The ID of the lead label
228
+
229
+ * @throws {RequiredError}
230
+ */
231
+ deleteLeadLabelWithHttpInfo(id) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteLeadLabel(id);
234
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
235
+ });
236
+ },
211
237
  /**
212
238
  * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
213
239
  * @summary Get all lead labels
@@ -220,6 +246,18 @@ const LeadLabelsApiFp = function (configuration) {
220
246
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
221
247
  });
222
248
  },
249
+ /**
250
+ * Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
251
+ * @summary Get all lead labels
252
+
253
+ * @throws {RequiredError}
254
+ */
255
+ getLeadLabelsWithHttpInfo() {
256
+ return __awaiter(this, void 0, void 0, function* () {
257
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeadLabels();
258
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
259
+ });
260
+ },
223
261
  /**
224
262
  * Updates one or more properties of a lead label. Only properties included in the request will be updated.
225
263
  * @summary Update a lead label
@@ -234,6 +272,20 @@ const LeadLabelsApiFp = function (configuration) {
234
272
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
235
273
  });
236
274
  },
275
+ /**
276
+ * Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
277
+ * @summary Update a lead label
278
+ * @param {string} id The ID of the lead label
279
+ * @param {UpdateLeadLabelRequest} [UpdateLeadLabelRequest]
280
+
281
+ * @throws {RequiredError}
282
+ */
283
+ updateLeadLabelWithHttpInfo(id, UpdateLeadLabelRequest) {
284
+ return __awaiter(this, void 0, void 0, function* () {
285
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateLeadLabel(id, UpdateLeadLabelRequest);
286
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
287
+ });
288
+ },
237
289
  };
238
290
  };
239
291
  exports.LeadLabelsApiFp = LeadLabelsApiFp;
@@ -254,6 +306,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
254
306
  addLeadLabel(requestParameters = {}) {
255
307
  return localVarFp.addLeadLabel(requestParameters.AddLeadLabelRequest).then((request) => request(axios, basePath));
256
308
  },
309
+ addLeadLabelWithHttpInfo(requestParameters = {}) {
310
+ return localVarFp.addLeadLabelWithHttpInfo(requestParameters.AddLeadLabelRequest).then((request) => request(axios, basePath));
311
+ },
257
312
  /**
258
313
  * Deletes a specific lead label.
259
314
  * @summary Delete a lead label
@@ -264,6 +319,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
264
319
  deleteLeadLabel(requestParameters) {
265
320
  return localVarFp.deleteLeadLabel(requestParameters.id).then((request) => request(axios, basePath));
266
321
  },
322
+ deleteLeadLabelWithHttpInfo(requestParameters) {
323
+ return localVarFp.deleteLeadLabelWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
324
+ },
267
325
  /**
268
326
  * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
269
327
  * @summary Get all lead labels
@@ -273,6 +331,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
273
331
  getLeadLabels() {
274
332
  return localVarFp.getLeadLabels().then((request) => request(axios, basePath));
275
333
  },
334
+ getLeadLabelsWithHttpInfo() {
335
+ return localVarFp.getLeadLabelsWithHttpInfo().then((request) => request(axios, basePath));
336
+ },
276
337
  /**
277
338
  * Updates one or more properties of a lead label. Only properties included in the request will be updated.
278
339
  * @summary Update a lead label
@@ -283,6 +344,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
283
344
  updateLeadLabel(requestParameters) {
284
345
  return localVarFp.updateLeadLabel(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(axios, basePath));
285
346
  },
347
+ updateLeadLabelWithHttpInfo(requestParameters) {
348
+ return localVarFp.updateLeadLabelWithHttpInfo(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(axios, basePath));
349
+ },
286
350
  };
287
351
  };
288
352
  exports.LeadLabelsApiFactory = LeadLabelsApiFactory;
@@ -304,6 +368,17 @@ class LeadLabelsApi extends base_1.BaseAPI {
304
368
  addLeadLabel(requestParameters = {}) {
305
369
  return (0, exports.LeadLabelsApiFp)(this.configuration).addLeadLabel(requestParameters.AddLeadLabelRequest).then((request) => request(this.axios, this.basePath));
306
370
  }
371
+ /**
372
+ * Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
373
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
374
+ * @param {LeadLabelsApiAddLeadLabelRequest} requestParameters Request parameters.
375
+
376
+ * @throws {RequiredError}
377
+ * @memberof LeadLabelsApi
378
+ */
379
+ addLeadLabelWithHttpInfo(requestParameters = {}) {
380
+ return (0, exports.LeadLabelsApiFp)(this.configuration).addLeadLabelWithHttpInfo(requestParameters.AddLeadLabelRequest).then((request) => request(this.axios, this.basePath));
381
+ }
307
382
  /**
308
383
  * Deletes a specific lead label.
309
384
  * @summary Delete a lead label
@@ -315,6 +390,17 @@ class LeadLabelsApi extends base_1.BaseAPI {
315
390
  deleteLeadLabel(requestParameters) {
316
391
  return (0, exports.LeadLabelsApiFp)(this.configuration).deleteLeadLabel(requestParameters.id).then((request) => request(this.axios, this.basePath));
317
392
  }
393
+ /**
394
+ * Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
395
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
396
+ * @param {LeadLabelsApiDeleteLeadLabelRequest} requestParameters Request parameters.
397
+
398
+ * @throws {RequiredError}
399
+ * @memberof LeadLabelsApi
400
+ */
401
+ deleteLeadLabelWithHttpInfo(requestParameters) {
402
+ return (0, exports.LeadLabelsApiFp)(this.configuration).deleteLeadLabelWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
403
+ }
318
404
  /**
319
405
  * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
320
406
  * @summary Get all lead labels
@@ -325,6 +411,16 @@ class LeadLabelsApi extends base_1.BaseAPI {
325
411
  getLeadLabels() {
326
412
  return (0, exports.LeadLabelsApiFp)(this.configuration).getLeadLabels().then((request) => request(this.axios, this.basePath));
327
413
  }
414
+ /**
415
+ * Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
416
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
417
+
418
+ * @throws {RequiredError}
419
+ * @memberof LeadLabelsApi
420
+ */
421
+ getLeadLabelsWithHttpInfo() {
422
+ return (0, exports.LeadLabelsApiFp)(this.configuration).getLeadLabelsWithHttpInfo().then((request) => request(this.axios, this.basePath));
423
+ }
328
424
  /**
329
425
  * Updates one or more properties of a lead label. Only properties included in the request will be updated.
330
426
  * @summary Update a lead label
@@ -336,5 +432,16 @@ class LeadLabelsApi extends base_1.BaseAPI {
336
432
  updateLeadLabel(requestParameters) {
337
433
  return (0, exports.LeadLabelsApiFp)(this.configuration).updateLeadLabel(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(this.axios, this.basePath));
338
434
  }
435
+ /**
436
+ * Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
437
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
438
+ * @param {LeadLabelsApiUpdateLeadLabelRequest} requestParameters Request parameters.
439
+
440
+ * @throws {RequiredError}
441
+ * @memberof LeadLabelsApi
442
+ */
443
+ updateLeadLabelWithHttpInfo(requestParameters) {
444
+ return (0, exports.LeadLabelsApiFp)(this.configuration).updateLeadLabelWithHttpInfo(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(this.axios, this.basePath));
445
+ }
339
446
  }
340
447
  exports.LeadLabelsApi = LeadLabelsApi;
@@ -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 { GetLeadsSourceResponse } from '../models';
16
16
  /**
17
17
  * LeadSourcesApi - axios parameter creator
@@ -38,6 +38,13 @@ export declare const LeadSourcesApiFp: (configuration?: Configuration) => {
38
38
  * @throws {RequiredError}
39
39
  */
40
40
  getLeadSources(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadsSourceResponse>>;
41
+ /**
42
+ * Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
43
+ * @summary Get all lead sources
44
+
45
+ * @throws {RequiredError}
46
+ */
47
+ getLeadSourcesWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetLeadsSourceResponse>>>;
41
48
  };
42
49
  /**
43
50
  * LeadSourcesApi - factory interface
@@ -51,6 +58,7 @@ export declare const LeadSourcesApiFactory: (configuration?: Configuration, base
51
58
  * @throws {RequiredError}
52
59
  */
53
60
  getLeadSources(): Promise<GetLeadsSourceResponse>;
61
+ getLeadSourcesWithHttpInfo(): Promise<ApiResponse<GetLeadsSourceResponse>>;
54
62
  };
55
63
  /**
56
64
  * LeadSourcesApi - object-oriented interface
@@ -67,4 +75,12 @@ export declare class LeadSourcesApi extends BaseAPI {
67
75
  * @memberof LeadSourcesApi
68
76
  */
69
77
  getLeadSources(): Promise<GetLeadsSourceResponse>;
78
+ /**
79
+ * Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
80
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
81
+
82
+ * @throws {RequiredError}
83
+ * @memberof LeadSourcesApi
84
+ */
85
+ getLeadSourcesWithHttpInfo(): Promise<ApiResponse<GetLeadsSourceResponse>>;
70
86
  }
@@ -90,6 +90,18 @@ const LeadSourcesApiFp = function (configuration) {
90
90
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
91
91
  });
92
92
  },
93
+ /**
94
+ * Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
95
+ * @summary Get all lead sources
96
+
97
+ * @throws {RequiredError}
98
+ */
99
+ getLeadSourcesWithHttpInfo() {
100
+ return __awaiter(this, void 0, void 0, function* () {
101
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeadSources();
102
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
103
+ });
104
+ },
93
105
  };
94
106
  };
95
107
  exports.LeadSourcesApiFp = LeadSourcesApiFp;
@@ -109,6 +121,9 @@ const LeadSourcesApiFactory = function (configuration, basePath, axios) {
109
121
  getLeadSources() {
110
122
  return localVarFp.getLeadSources().then((request) => request(axios, basePath));
111
123
  },
124
+ getLeadSourcesWithHttpInfo() {
125
+ return localVarFp.getLeadSourcesWithHttpInfo().then((request) => request(axios, basePath));
126
+ },
112
127
  };
113
128
  };
114
129
  exports.LeadSourcesApiFactory = LeadSourcesApiFactory;
@@ -129,5 +144,15 @@ class LeadSourcesApi extends base_1.BaseAPI {
129
144
  getLeadSources() {
130
145
  return (0, exports.LeadSourcesApiFp)(this.configuration).getLeadSources().then((request) => request(this.axios, this.basePath));
131
146
  }
147
+ /**
148
+ * Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
149
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
150
+
151
+ * @throws {RequiredError}
152
+ * @memberof LeadSourcesApi
153
+ */
154
+ getLeadSourcesWithHttpInfo() {
155
+ return (0, exports.LeadSourcesApiFp)(this.configuration).getLeadSourcesWithHttpInfo().then((request) => request(this.axios, this.basePath));
156
+ }
132
157
  }
133
158
  exports.LeadSourcesApi = LeadSourcesApi;