pipedrive 36.0.1 → 36.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/dist/esm/versions/v1/api/activity-fields-api.d.ts +17 -1
  2. package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
  3. package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
  5. package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
  6. package/dist/esm/versions/v1/api/billing-api.js +25 -0
  7. package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
  8. package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
  9. package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
  10. package/dist/esm/versions/v1/api/channels-api.js +109 -0
  11. package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
  12. package/dist/esm/versions/v1/api/currencies-api.js +27 -0
  13. package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
  14. package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
  15. package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
  16. package/dist/esm/versions/v1/api/deals-api.js +569 -0
  17. package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
  18. package/dist/esm/versions/v1/api/files-api.js +234 -0
  19. package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
  20. package/dist/esm/versions/v1/api/filters-api.js +191 -0
  21. package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
  22. package/dist/esm/versions/v1/api/goals-api.js +150 -0
  23. package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
  24. package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
  25. package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
  26. package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
  27. package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
  28. package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
  29. package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
  30. package/dist/esm/versions/v1/api/leads-api.js +237 -0
  31. package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
  32. package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
  33. package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
  34. package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
  35. package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
  36. package/dist/esm/versions/v1/api/meetings-api.js +54 -0
  37. package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
  38. package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
  39. package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
  40. package/dist/esm/versions/v1/api/notes-api.js +296 -0
  41. package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
  42. package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
  43. package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
  44. package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
  45. package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
  46. package/dist/esm/versions/v1/api/organizations-api.js +258 -0
  47. package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
  48. package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
  49. package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
  50. package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
  51. package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
  52. package/dist/esm/versions/v1/api/persons-api.js +370 -24
  53. package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
  54. package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
  55. package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
  56. package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
  57. package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
  58. package/dist/esm/versions/v1/api/products-api.js +172 -0
  59. package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
  60. package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
  61. package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
  62. package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
  63. package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
  64. package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
  65. package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
  66. package/dist/esm/versions/v1/api/projects-api.js +334 -0
  67. package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
  68. package/dist/esm/versions/v1/api/recents-api.js +30 -0
  69. package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
  70. package/dist/esm/versions/v1/api/roles-api.js +333 -0
  71. package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
  72. package/dist/esm/versions/v1/api/stages-api.js +32 -0
  73. package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
  74. package/dist/esm/versions/v1/api/tasks-api.js +141 -0
  75. package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
  76. package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
  77. package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
  78. package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
  79. package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
  80. package/dist/esm/versions/v1/api/users-api.js +270 -0
  81. package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
  82. package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
  83. package/dist/esm/versions/v1/base.d.ts +17 -0
  84. package/dist/esm/versions/v1/base.js +22 -0
  85. package/dist/esm/versions/v1/common.d.ts +1 -1
  86. package/dist/esm/versions/v1/common.js +7 -4
  87. package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
  88. package/dist/esm/versions/v2/api/activities-api.js +151 -0
  89. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
  90. package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
  91. package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
  92. package/dist/esm/versions/v2/api/beta-api.js +666 -0
  93. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
  94. package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
  95. package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
  96. package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
  97. package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
  98. package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
  99. package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
  100. package/dist/esm/versions/v2/api/deals-api.js +516 -1
  101. package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
  102. package/dist/esm/versions/v2/api/item-search-api.js +66 -0
  103. package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
  104. package/dist/esm/versions/v2/api/leads-api.js +90 -0
  105. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
  106. package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
  107. package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
  108. package/dist/esm/versions/v2/api/organizations-api.js +297 -0
  109. package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
  110. package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
  111. package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
  112. package/dist/esm/versions/v2/api/persons-api.js +328 -0
  113. package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
  114. package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
  115. package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
  116. package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
  117. package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
  118. package/dist/esm/versions/v2/api/products-api.js +541 -0
  119. package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
  120. package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
  121. package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
  122. package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
  123. package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
  124. package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
  125. package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
  126. package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
  127. package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
  128. package/dist/esm/versions/v2/api/projects-api.js +290 -0
  129. package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
  130. package/dist/esm/versions/v2/api/stages-api.js +140 -0
  131. package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
  132. package/dist/esm/versions/v2/api/tasks-api.js +142 -0
  133. package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
  134. package/dist/esm/versions/v2/api/users-api.js +29 -0
  135. package/dist/esm/versions/v2/base.d.ts +17 -0
  136. package/dist/esm/versions/v2/base.js +22 -0
  137. package/dist/esm/versions/v2/common.d.ts +1 -1
  138. package/dist/esm/versions/v2/common.js +7 -4
  139. package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
  140. package/dist/versions/v1/api/activity-fields-api.js +25 -0
  141. package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
  142. package/dist/versions/v1/api/activity-types-api.js +107 -0
  143. package/dist/versions/v1/api/billing-api.d.ts +17 -1
  144. package/dist/versions/v1/api/billing-api.js +25 -0
  145. package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
  146. package/dist/versions/v1/api/call-logs-api.js +137 -0
  147. package/dist/versions/v1/api/channels-api.d.ts +74 -1
  148. package/dist/versions/v1/api/channels-api.js +109 -0
  149. package/dist/versions/v1/api/currencies-api.d.ts +19 -1
  150. package/dist/versions/v1/api/currencies-api.js +27 -0
  151. package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
  152. package/dist/versions/v1/api/deal-fields-api.js +164 -0
  153. package/dist/versions/v1/api/deals-api.d.ts +399 -1
  154. package/dist/versions/v1/api/deals-api.js +569 -0
  155. package/dist/versions/v1/api/files-api.d.ts +163 -1
  156. package/dist/versions/v1/api/files-api.js +234 -0
  157. package/dist/versions/v1/api/filters-api.d.ts +129 -1
  158. package/dist/versions/v1/api/filters-api.js +191 -0
  159. package/dist/versions/v1/api/goals-api.d.ts +106 -1
  160. package/dist/versions/v1/api/goals-api.js +150 -0
  161. package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
  162. package/dist/versions/v1/api/lead-fields-api.js +28 -0
  163. package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
  164. package/dist/versions/v1/api/lead-labels-api.js +107 -0
  165. package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
  166. package/dist/versions/v1/api/lead-sources-api.js +25 -0
  167. package/dist/versions/v1/api/leads-api.d.ts +166 -1
  168. package/dist/versions/v1/api/leads-api.js +237 -0
  169. package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
  170. package/dist/versions/v1/api/legacy-teams-api.js +223 -0
  171. package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
  172. package/dist/versions/v1/api/mailbox-api.js +170 -0
  173. package/dist/versions/v1/api/meetings-api.d.ts +37 -1
  174. package/dist/versions/v1/api/meetings-api.js +54 -0
  175. package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
  176. package/dist/versions/v1/api/note-fields-api.js +25 -0
  177. package/dist/versions/v1/api/notes-api.d.ts +207 -1
  178. package/dist/versions/v1/api/notes-api.js +296 -0
  179. package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
  180. package/dist/versions/v1/api/organization-fields-api.js +164 -0
  181. package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
  182. package/dist/versions/v1/api/organization-relationships-api.js +137 -0
  183. package/dist/versions/v1/api/organizations-api.d.ts +178 -1
  184. package/dist/versions/v1/api/organizations-api.js +258 -0
  185. package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
  186. package/dist/versions/v1/api/permission-sets-api.js +83 -0
  187. package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
  188. package/dist/versions/v1/api/person-fields-api.js +164 -0
  189. package/dist/versions/v1/api/persons-api.d.ts +275 -37
  190. package/dist/versions/v1/api/persons-api.js +370 -24
  191. package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
  192. package/dist/versions/v1/api/pipelines-api.js +95 -0
  193. package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
  194. package/dist/versions/v1/api/product-fields-api.js +164 -0
  195. package/dist/versions/v1/api/products-api.d.ts +119 -1
  196. package/dist/versions/v1/api/products-api.js +172 -0
  197. package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
  198. package/dist/versions/v1/api/project-boards-api.js +52 -0
  199. package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
  200. package/dist/versions/v1/api/project-phases-api.js +54 -0
  201. package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
  202. package/dist/versions/v1/api/project-templates-api.js +55 -0
  203. package/dist/versions/v1/api/projects-api.d.ts +227 -1
  204. package/dist/versions/v1/api/projects-api.js +334 -0
  205. package/dist/versions/v1/api/recents-api.d.ts +22 -1
  206. package/dist/versions/v1/api/recents-api.js +30 -0
  207. package/dist/versions/v1/api/roles-api.d.ts +226 -1
  208. package/dist/versions/v1/api/roles-api.js +333 -0
  209. package/dist/versions/v1/api/stages-api.d.ts +24 -1
  210. package/dist/versions/v1/api/stages-api.js +32 -0
  211. package/dist/versions/v1/api/tasks-api.d.ts +97 -1
  212. package/dist/versions/v1/api/tasks-api.js +141 -0
  213. package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
  214. package/dist/versions/v1/api/user-connections-api.js +25 -0
  215. package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
  216. package/dist/versions/v1/api/user-settings-api.js +25 -0
  217. package/dist/versions/v1/api/users-api.d.ts +181 -1
  218. package/dist/versions/v1/api/users-api.js +270 -0
  219. package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
  220. package/dist/versions/v1/api/webhooks-api.js +79 -0
  221. package/dist/versions/v1/base.d.ts +17 -0
  222. package/dist/versions/v1/base.js +24 -1
  223. package/dist/versions/v1/common.d.ts +1 -1
  224. package/dist/versions/v1/common.js +6 -3
  225. package/dist/versions/v2/api/activities-api.d.ts +107 -1
  226. package/dist/versions/v2/api/activities-api.js +151 -0
  227. package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
  228. package/dist/versions/v2/api/activity-fields-api.js +57 -0
  229. package/dist/versions/v2/api/beta-api.d.ts +451 -1
  230. package/dist/versions/v2/api/beta-api.js +666 -0
  231. package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
  232. package/dist/versions/v2/api/deal-fields-api.js +223 -0
  233. package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
  234. package/dist/versions/v2/api/deal-installments-api.js +116 -0
  235. package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
  236. package/dist/versions/v2/api/deal-products-api.js +203 -0
  237. package/dist/versions/v2/api/deals-api.d.ts +363 -1
  238. package/dist/versions/v2/api/deals-api.js +516 -1
  239. package/dist/versions/v2/api/item-search-api.d.ts +49 -1
  240. package/dist/versions/v2/api/item-search-api.js +66 -0
  241. package/dist/versions/v2/api/leads-api.d.ts +64 -1
  242. package/dist/versions/v2/api/leads-api.js +90 -0
  243. package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
  244. package/dist/versions/v2/api/organization-fields-api.js +223 -0
  245. package/dist/versions/v2/api/organizations-api.d.ts +208 -1
  246. package/dist/versions/v2/api/organizations-api.js +297 -0
  247. package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
  248. package/dist/versions/v2/api/person-fields-api.js +223 -0
  249. package/dist/versions/v2/api/persons-api.d.ts +230 -1
  250. package/dist/versions/v2/api/persons-api.js +328 -0
  251. package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
  252. package/dist/versions/v2/api/pipelines-api.js +139 -0
  253. package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
  254. package/dist/versions/v2/api/product-fields-api.js +223 -0
  255. package/dist/versions/v2/api/products-api.d.ts +371 -1
  256. package/dist/versions/v2/api/products-api.js +541 -0
  257. package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
  258. package/dist/versions/v2/api/project-boards-api.js +134 -0
  259. package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
  260. package/dist/versions/v2/api/project-fields-api.js +221 -0
  261. package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
  262. package/dist/versions/v2/api/project-phases-api.js +136 -0
  263. package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
  264. package/dist/versions/v2/api/project-templates-api.js +55 -0
  265. package/dist/versions/v2/api/projects-api.d.ts +201 -1
  266. package/dist/versions/v2/api/projects-api.js +290 -0
  267. package/dist/versions/v2/api/stages-api.d.ts +96 -1
  268. package/dist/versions/v2/api/stages-api.js +140 -0
  269. package/dist/versions/v2/api/tasks-api.d.ts +98 -1
  270. package/dist/versions/v2/api/tasks-api.js +142 -0
  271. package/dist/versions/v2/api/users-api.d.ts +21 -1
  272. package/dist/versions/v2/api/users-api.js +29 -0
  273. package/dist/versions/v2/base.d.ts +17 -0
  274. package/dist/versions/v2/base.js +24 -1
  275. package/dist/versions/v2/common.d.ts +1 -1
  276. package/dist/versions/v2/common.js +6 -3
  277. package/package.json +1 -1
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosInstance } from 'axios';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs, BaseAPI, ApiResponse } from '../base';
15
15
  import { AddCallLogRequest } from '../models';
16
16
  import { BaseResponse } from '../models';
17
17
  import { GetCallLogResponse } from '../models';
@@ -77,6 +77,14 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
77
77
  * @throws {RequiredError}
78
78
  */
79
79
  addCallLog(AddCallLogRequest?: AddCallLogRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCallLogResponse>>;
80
+ /**
81
+ * Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
82
+ * @summary Add a call log
83
+ * @param {AddCallLogRequest} [AddCallLogRequest]
84
+
85
+ * @throws {RequiredError}
86
+ */
87
+ addCallLogWithHttpInfo(AddCallLogRequest?: AddCallLogRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCallLogResponse>>>;
80
88
  /**
81
89
  * Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
82
90
  * @summary Attach an audio file to the call log
@@ -86,6 +94,15 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
86
94
  * @throws {RequiredError}
87
95
  */
88
96
  addCallLogAudioFile(id: string, file: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<BaseResponse>>;
97
+ /**
98
+ * Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
99
+ * @summary Attach an audio file to the call log
100
+ * @param {string} id The ID received when you create the call log
101
+ * @param {File} file Audio file supported by the HTML5 specification
102
+
103
+ * @throws {RequiredError}
104
+ */
105
+ addCallLogAudioFileWithHttpInfo(id: string, file: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<BaseResponse>>>;
89
106
  /**
90
107
  * Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
91
108
  * @summary Delete a call log
@@ -94,6 +111,14 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
94
111
  * @throws {RequiredError}
95
112
  */
96
113
  deleteCallLog(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<BaseResponse>>;
114
+ /**
115
+ * Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
116
+ * @summary Delete a call log
117
+ * @param {string} id The ID received when you create the call log
118
+
119
+ * @throws {RequiredError}
120
+ */
121
+ deleteCallLogWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<BaseResponse>>>;
97
122
  /**
98
123
  * Returns details of a specific call log.
99
124
  * @summary Get details of a call log
@@ -102,6 +127,14 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
102
127
  * @throws {RequiredError}
103
128
  */
104
129
  getCallLog(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCallLogResponse>>;
130
+ /**
131
+ * Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
132
+ * @summary Get details of a call log
133
+ * @param {string} id The ID received when you create the call log
134
+
135
+ * @throws {RequiredError}
136
+ */
137
+ getCallLogWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCallLogResponse>>>;
105
138
  /**
106
139
  * Returns all call logs assigned to a particular user.
107
140
  * @summary Get all call logs assigned to a particular user
@@ -111,6 +144,15 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
111
144
  * @throws {RequiredError}
112
145
  */
113
146
  getUserCallLogs(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCallLogsResponse>>;
147
+ /**
148
+ * Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
149
+ * @summary Get all call logs assigned to a particular user
150
+ * @param {number} [start] Pagination start
151
+ * @param {number} [limit] For pagination, the limit of entries to be returned. The upper limit is 50.
152
+
153
+ * @throws {RequiredError}
154
+ */
155
+ getUserCallLogsWithHttpInfo(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCallLogsResponse>>>;
114
156
  };
115
157
  /**
116
158
  * CallLogsApi - factory interface
@@ -125,6 +167,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
125
167
  * @throws {RequiredError}
126
168
  */
127
169
  addCallLog(requestParameters?: CallLogsApiAddCallLogRequest): Promise<GetCallLogResponse>;
170
+ addCallLogWithHttpInfo(requestParameters?: CallLogsApiAddCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
128
171
  /**
129
172
  * Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
130
173
  * @summary Attach an audio file to the call log
@@ -133,6 +176,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
133
176
  * @throws {RequiredError}
134
177
  */
135
178
  addCallLogAudioFile(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<BaseResponse>;
179
+ addCallLogAudioFileWithHttpInfo(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<ApiResponse<BaseResponse>>;
136
180
  /**
137
181
  * Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
138
182
  * @summary Delete a call log
@@ -141,6 +185,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
141
185
  * @throws {RequiredError}
142
186
  */
143
187
  deleteCallLog(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<BaseResponse>;
188
+ deleteCallLogWithHttpInfo(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<ApiResponse<BaseResponse>>;
144
189
  /**
145
190
  * Returns details of a specific call log.
146
191
  * @summary Get details of a call log
@@ -149,6 +194,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
149
194
  * @throws {RequiredError}
150
195
  */
151
196
  getCallLog(requestParameters: CallLogsApiGetCallLogRequest): Promise<GetCallLogResponse>;
197
+ getCallLogWithHttpInfo(requestParameters: CallLogsApiGetCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
152
198
  /**
153
199
  * Returns all call logs assigned to a particular user.
154
200
  * @summary Get all call logs assigned to a particular user
@@ -157,6 +203,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
157
203
  * @throws {RequiredError}
158
204
  */
159
205
  getUserCallLogs(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<GetCallLogsResponse>;
206
+ getUserCallLogsWithHttpInfo(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<ApiResponse<GetCallLogsResponse>>;
160
207
  };
161
208
  /**
162
209
  * Request parameters for addCallLog operation in CallLogsApi.
@@ -251,6 +298,15 @@ export declare class CallLogsApi extends BaseAPI {
251
298
  * @memberof CallLogsApi
252
299
  */
253
300
  addCallLog(requestParameters?: CallLogsApiAddCallLogRequest): Promise<GetCallLogResponse>;
301
+ /**
302
+ * Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
303
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
304
+ * @param {CallLogsApiAddCallLogRequest} requestParameters Request parameters.
305
+
306
+ * @throws {RequiredError}
307
+ * @memberof CallLogsApi
308
+ */
309
+ addCallLogWithHttpInfo(requestParameters?: CallLogsApiAddCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
254
310
  /**
255
311
  * Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
256
312
  * @summary Attach an audio file to the call log
@@ -260,6 +316,15 @@ export declare class CallLogsApi extends BaseAPI {
260
316
  * @memberof CallLogsApi
261
317
  */
262
318
  addCallLogAudioFile(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<BaseResponse>;
319
+ /**
320
+ * Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
321
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
322
+ * @param {CallLogsApiAddCallLogAudioFileRequest} requestParameters Request parameters.
323
+
324
+ * @throws {RequiredError}
325
+ * @memberof CallLogsApi
326
+ */
327
+ addCallLogAudioFileWithHttpInfo(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<ApiResponse<BaseResponse>>;
263
328
  /**
264
329
  * Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
265
330
  * @summary Delete a call log
@@ -269,6 +334,15 @@ export declare class CallLogsApi extends BaseAPI {
269
334
  * @memberof CallLogsApi
270
335
  */
271
336
  deleteCallLog(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<BaseResponse>;
337
+ /**
338
+ * Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
339
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
340
+ * @param {CallLogsApiDeleteCallLogRequest} requestParameters Request parameters.
341
+
342
+ * @throws {RequiredError}
343
+ * @memberof CallLogsApi
344
+ */
345
+ deleteCallLogWithHttpInfo(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<ApiResponse<BaseResponse>>;
272
346
  /**
273
347
  * Returns details of a specific call log.
274
348
  * @summary Get details of a call log
@@ -278,6 +352,15 @@ export declare class CallLogsApi extends BaseAPI {
278
352
  * @memberof CallLogsApi
279
353
  */
280
354
  getCallLog(requestParameters: CallLogsApiGetCallLogRequest): Promise<GetCallLogResponse>;
355
+ /**
356
+ * Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
357
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
358
+ * @param {CallLogsApiGetCallLogRequest} requestParameters Request parameters.
359
+
360
+ * @throws {RequiredError}
361
+ * @memberof CallLogsApi
362
+ */
363
+ getCallLogWithHttpInfo(requestParameters: CallLogsApiGetCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
281
364
  /**
282
365
  * Returns all call logs assigned to a particular user.
283
366
  * @summary Get all call logs assigned to a particular user
@@ -287,4 +370,13 @@ export declare class CallLogsApi extends BaseAPI {
287
370
  * @memberof CallLogsApi
288
371
  */
289
372
  getUserCallLogs(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<GetCallLogsResponse>;
373
+ /**
374
+ * Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
375
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
376
+ * @param {CallLogsApiGetUserCallLogsRequest} requestParameters Request parameters.
377
+
378
+ * @throws {RequiredError}
379
+ * @memberof CallLogsApi
380
+ */
381
+ getUserCallLogsWithHttpInfo(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<ApiResponse<GetCallLogsResponse>>;
290
382
  }
@@ -236,6 +236,19 @@ export const CallLogsApiFp = function (configuration) {
236
236
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
237
237
  });
238
238
  },
239
+ /**
240
+ * Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
241
+ * @summary Add a call log
242
+ * @param {AddCallLogRequest} [AddCallLogRequest]
243
+
244
+ * @throws {RequiredError}
245
+ */
246
+ addCallLogWithHttpInfo(AddCallLogRequest) {
247
+ return __awaiter(this, void 0, void 0, function* () {
248
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addCallLog(AddCallLogRequest);
249
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
250
+ });
251
+ },
239
252
  /**
240
253
  * Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
241
254
  * @summary Attach an audio file to the call log
@@ -250,6 +263,20 @@ export const CallLogsApiFp = function (configuration) {
250
263
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
251
264
  });
252
265
  },
266
+ /**
267
+ * Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
268
+ * @summary Attach an audio file to the call log
269
+ * @param {string} id The ID received when you create the call log
270
+ * @param {File} file Audio file supported by the HTML5 specification
271
+
272
+ * @throws {RequiredError}
273
+ */
274
+ addCallLogAudioFileWithHttpInfo(id, file) {
275
+ return __awaiter(this, void 0, void 0, function* () {
276
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addCallLogAudioFile(id, file);
277
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
278
+ });
279
+ },
253
280
  /**
254
281
  * Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
255
282
  * @summary Delete a call log
@@ -263,6 +290,19 @@ export const CallLogsApiFp = function (configuration) {
263
290
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
264
291
  });
265
292
  },
293
+ /**
294
+ * Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
295
+ * @summary Delete a call log
296
+ * @param {string} id The ID received when you create the call log
297
+
298
+ * @throws {RequiredError}
299
+ */
300
+ deleteCallLogWithHttpInfo(id) {
301
+ return __awaiter(this, void 0, void 0, function* () {
302
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCallLog(id);
303
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
304
+ });
305
+ },
266
306
  /**
267
307
  * Returns details of a specific call log.
268
308
  * @summary Get details of a call log
@@ -276,6 +316,19 @@ export const CallLogsApiFp = function (configuration) {
276
316
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
277
317
  });
278
318
  },
319
+ /**
320
+ * Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
321
+ * @summary Get details of a call log
322
+ * @param {string} id The ID received when you create the call log
323
+
324
+ * @throws {RequiredError}
325
+ */
326
+ getCallLogWithHttpInfo(id) {
327
+ return __awaiter(this, void 0, void 0, function* () {
328
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCallLog(id);
329
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
330
+ });
331
+ },
279
332
  /**
280
333
  * Returns all call logs assigned to a particular user.
281
334
  * @summary Get all call logs assigned to a particular user
@@ -290,6 +343,20 @@ export const CallLogsApiFp = function (configuration) {
290
343
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
291
344
  });
292
345
  },
346
+ /**
347
+ * Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
348
+ * @summary Get all call logs assigned to a particular user
349
+ * @param {number} [start] Pagination start
350
+ * @param {number} [limit] For pagination, the limit of entries to be returned. The upper limit is 50.
351
+
352
+ * @throws {RequiredError}
353
+ */
354
+ getUserCallLogsWithHttpInfo(start, limit) {
355
+ return __awaiter(this, void 0, void 0, function* () {
356
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserCallLogs(start, limit);
357
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
358
+ });
359
+ },
293
360
  };
294
361
  };
295
362
  /**
@@ -309,6 +376,9 @@ export const CallLogsApiFactory = function (configuration, basePath, axios) {
309
376
  addCallLog(requestParameters = {}) {
310
377
  return localVarFp.addCallLog(requestParameters.AddCallLogRequest).then((request) => request(axios, basePath));
311
378
  },
379
+ addCallLogWithHttpInfo(requestParameters = {}) {
380
+ return localVarFp.addCallLogWithHttpInfo(requestParameters.AddCallLogRequest).then((request) => request(axios, basePath));
381
+ },
312
382
  /**
313
383
  * Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
314
384
  * @summary Attach an audio file to the call log
@@ -319,6 +389,9 @@ export const CallLogsApiFactory = function (configuration, basePath, axios) {
319
389
  addCallLogAudioFile(requestParameters) {
320
390
  return localVarFp.addCallLogAudioFile(requestParameters.id, requestParameters.file).then((request) => request(axios, basePath));
321
391
  },
392
+ addCallLogAudioFileWithHttpInfo(requestParameters) {
393
+ return localVarFp.addCallLogAudioFileWithHttpInfo(requestParameters.id, requestParameters.file).then((request) => request(axios, basePath));
394
+ },
322
395
  /**
323
396
  * Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
324
397
  * @summary Delete a call log
@@ -329,6 +402,9 @@ export const CallLogsApiFactory = function (configuration, basePath, axios) {
329
402
  deleteCallLog(requestParameters) {
330
403
  return localVarFp.deleteCallLog(requestParameters.id).then((request) => request(axios, basePath));
331
404
  },
405
+ deleteCallLogWithHttpInfo(requestParameters) {
406
+ return localVarFp.deleteCallLogWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
407
+ },
332
408
  /**
333
409
  * Returns details of a specific call log.
334
410
  * @summary Get details of a call log
@@ -339,6 +415,9 @@ export const CallLogsApiFactory = function (configuration, basePath, axios) {
339
415
  getCallLog(requestParameters) {
340
416
  return localVarFp.getCallLog(requestParameters.id).then((request) => request(axios, basePath));
341
417
  },
418
+ getCallLogWithHttpInfo(requestParameters) {
419
+ return localVarFp.getCallLogWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
420
+ },
342
421
  /**
343
422
  * Returns all call logs assigned to a particular user.
344
423
  * @summary Get all call logs assigned to a particular user
@@ -349,6 +428,9 @@ export const CallLogsApiFactory = function (configuration, basePath, axios) {
349
428
  getUserCallLogs(requestParameters = {}) {
350
429
  return localVarFp.getUserCallLogs(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
351
430
  },
431
+ getUserCallLogsWithHttpInfo(requestParameters = {}) {
432
+ return localVarFp.getUserCallLogsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
433
+ },
352
434
  };
353
435
  };
354
436
  /**
@@ -369,6 +451,17 @@ export class CallLogsApi extends BaseAPI {
369
451
  addCallLog(requestParameters = {}) {
370
452
  return CallLogsApiFp(this.configuration).addCallLog(requestParameters.AddCallLogRequest).then((request) => request(this.axios, this.basePath));
371
453
  }
454
+ /**
455
+ * Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
456
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
457
+ * @param {CallLogsApiAddCallLogRequest} requestParameters Request parameters.
458
+
459
+ * @throws {RequiredError}
460
+ * @memberof CallLogsApi
461
+ */
462
+ addCallLogWithHttpInfo(requestParameters = {}) {
463
+ return CallLogsApiFp(this.configuration).addCallLogWithHttpInfo(requestParameters.AddCallLogRequest).then((request) => request(this.axios, this.basePath));
464
+ }
372
465
  /**
373
466
  * Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
374
467
  * @summary Attach an audio file to the call log
@@ -380,6 +473,17 @@ export class CallLogsApi extends BaseAPI {
380
473
  addCallLogAudioFile(requestParameters) {
381
474
  return CallLogsApiFp(this.configuration).addCallLogAudioFile(requestParameters.id, requestParameters.file).then((request) => request(this.axios, this.basePath));
382
475
  }
476
+ /**
477
+ * Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
478
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
479
+ * @param {CallLogsApiAddCallLogAudioFileRequest} requestParameters Request parameters.
480
+
481
+ * @throws {RequiredError}
482
+ * @memberof CallLogsApi
483
+ */
484
+ addCallLogAudioFileWithHttpInfo(requestParameters) {
485
+ return CallLogsApiFp(this.configuration).addCallLogAudioFileWithHttpInfo(requestParameters.id, requestParameters.file).then((request) => request(this.axios, this.basePath));
486
+ }
383
487
  /**
384
488
  * Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
385
489
  * @summary Delete a call log
@@ -391,6 +495,17 @@ export class CallLogsApi extends BaseAPI {
391
495
  deleteCallLog(requestParameters) {
392
496
  return CallLogsApiFp(this.configuration).deleteCallLog(requestParameters.id).then((request) => request(this.axios, this.basePath));
393
497
  }
498
+ /**
499
+ * Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
500
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
501
+ * @param {CallLogsApiDeleteCallLogRequest} requestParameters Request parameters.
502
+
503
+ * @throws {RequiredError}
504
+ * @memberof CallLogsApi
505
+ */
506
+ deleteCallLogWithHttpInfo(requestParameters) {
507
+ return CallLogsApiFp(this.configuration).deleteCallLogWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
508
+ }
394
509
  /**
395
510
  * Returns details of a specific call log.
396
511
  * @summary Get details of a call log
@@ -402,6 +517,17 @@ export class CallLogsApi extends BaseAPI {
402
517
  getCallLog(requestParameters) {
403
518
  return CallLogsApiFp(this.configuration).getCallLog(requestParameters.id).then((request) => request(this.axios, this.basePath));
404
519
  }
520
+ /**
521
+ * Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
522
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
523
+ * @param {CallLogsApiGetCallLogRequest} requestParameters Request parameters.
524
+
525
+ * @throws {RequiredError}
526
+ * @memberof CallLogsApi
527
+ */
528
+ getCallLogWithHttpInfo(requestParameters) {
529
+ return CallLogsApiFp(this.configuration).getCallLogWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
530
+ }
405
531
  /**
406
532
  * Returns all call logs assigned to a particular user.
407
533
  * @summary Get all call logs assigned to a particular user
@@ -413,4 +539,15 @@ export class CallLogsApi extends BaseAPI {
413
539
  getUserCallLogs(requestParameters = {}) {
414
540
  return CallLogsApiFp(this.configuration).getUserCallLogs(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
415
541
  }
542
+ /**
543
+ * Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
544
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
545
+ * @param {CallLogsApiGetUserCallLogsRequest} requestParameters Request parameters.
546
+
547
+ * @throws {RequiredError}
548
+ * @memberof CallLogsApi
549
+ */
550
+ getUserCallLogsWithHttpInfo(requestParameters = {}) {
551
+ return CallLogsApiFp(this.configuration).getUserCallLogsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
552
+ }
416
553
  }
@@ -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 { AddChannelRequest } from '../models';
16
16
  import { AddChannelResponse } from '../models';
17
17
  import { DeleteChannel200Response } from '../models';
@@ -69,6 +69,14 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
69
69
  * @throws {RequiredError}
70
70
  */
71
71
  addChannel(AddChannelRequest?: AddChannelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddChannelResponse>>;
72
+ /**
73
+ * Same as `addChannel`, but resolves with the response body together with the HTTP status and headers.
74
+ * @summary Add a channel
75
+ * @param {AddChannelRequest} [AddChannelRequest]
76
+ * @deprecated
77
+ * @throws {RequiredError}
78
+ */
79
+ addChannelWithHttpInfo(AddChannelRequest?: AddChannelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddChannelResponse>>>;
72
80
  /**
73
81
  * Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
74
82
  * @summary Delete a channel
@@ -77,6 +85,14 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
77
85
  * @throws {RequiredError}
78
86
  */
79
87
  deleteChannel(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
88
+ /**
89
+ * Same as `deleteChannel`, but resolves with the response body together with the HTTP status and headers.
90
+ * @summary Delete a channel
91
+ * @param {string} id The ID of the channel provided by the integration
92
+ * @deprecated
93
+ * @throws {RequiredError}
94
+ */
95
+ deleteChannelWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteChannel200Response>>>;
80
96
  /**
81
97
  * Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
82
98
  * @summary Delete a conversation
@@ -86,6 +102,15 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
86
102
  * @throws {RequiredError}
87
103
  */
88
104
  deleteConversation(channel_id: string, conversation_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
105
+ /**
106
+ * Same as `deleteConversation`, but resolves with the response body together with the HTTP status and headers.
107
+ * @summary Delete a conversation
108
+ * @param {string} channel_id The ID of the channel provided by the integration
109
+ * @param {string} conversation_id The ID of the conversation provided by the integration
110
+ * @deprecated
111
+ * @throws {RequiredError}
112
+ */
113
+ deleteConversationWithHttpInfo(channel_id: string, conversation_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteChannel200Response>>>;
89
114
  /**
90
115
  * Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
91
116
  * @summary Receives an incoming message
@@ -94,6 +119,14 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
94
119
  * @throws {RequiredError}
95
120
  */
96
121
  receiveMessage(ReceiveMessageRequest?: ReceiveMessageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetReceiveMessageSuccessResponse>>;
122
+ /**
123
+ * Same as `receiveMessage`, but resolves with the response body together with the HTTP status and headers.
124
+ * @summary Receives an incoming message
125
+ * @param {ReceiveMessageRequest} [ReceiveMessageRequest]
126
+ * @deprecated
127
+ * @throws {RequiredError}
128
+ */
129
+ receiveMessageWithHttpInfo(ReceiveMessageRequest?: ReceiveMessageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetReceiveMessageSuccessResponse>>>;
97
130
  };
98
131
  /**
99
132
  * ChannelsApi - factory interface
@@ -108,6 +141,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
108
141
  * @throws {RequiredError}
109
142
  */
110
143
  addChannel(requestParameters?: ChannelsApiAddChannelRequest): Promise<AddChannelResponse>;
144
+ addChannelWithHttpInfo(requestParameters?: ChannelsApiAddChannelRequest): Promise<ApiResponse<AddChannelResponse>>;
111
145
  /**
112
146
  * Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
113
147
  * @summary Delete a channel
@@ -116,6 +150,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
116
150
  * @throws {RequiredError}
117
151
  */
118
152
  deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest): Promise<DeleteChannel200Response>;
153
+ deleteChannelWithHttpInfo(requestParameters: ChannelsApiDeleteChannelRequest): Promise<ApiResponse<DeleteChannel200Response>>;
119
154
  /**
120
155
  * Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
121
156
  * @summary Delete a conversation
@@ -124,6 +159,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
124
159
  * @throws {RequiredError}
125
160
  */
126
161
  deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest): Promise<DeleteChannel200Response>;
162
+ deleteConversationWithHttpInfo(requestParameters: ChannelsApiDeleteConversationRequest): Promise<ApiResponse<DeleteChannel200Response>>;
127
163
  /**
128
164
  * Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
129
165
  * @summary Receives an incoming message
@@ -132,6 +168,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
132
168
  * @throws {RequiredError}
133
169
  */
134
170
  receiveMessage(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<GetReceiveMessageSuccessResponse>;
171
+ receiveMessageWithHttpInfo(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<ApiResponse<GetReceiveMessageSuccessResponse>>;
135
172
  };
136
173
  /**
137
174
  * Request parameters for addChannel operation in ChannelsApi.
@@ -207,6 +244,15 @@ export declare class ChannelsApi extends BaseAPI {
207
244
  * @memberof ChannelsApi
208
245
  */
209
246
  addChannel(requestParameters?: ChannelsApiAddChannelRequest): Promise<AddChannelResponse>;
247
+ /**
248
+ * Same as `addChannel`, but resolves with the response body together with the HTTP status and headers.
249
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
250
+ * @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
251
+ * @deprecated
252
+ * @throws {RequiredError}
253
+ * @memberof ChannelsApi
254
+ */
255
+ addChannelWithHttpInfo(requestParameters?: ChannelsApiAddChannelRequest): Promise<ApiResponse<AddChannelResponse>>;
210
256
  /**
211
257
  * Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
212
258
  * @summary Delete a channel
@@ -216,6 +262,15 @@ export declare class ChannelsApi extends BaseAPI {
216
262
  * @memberof ChannelsApi
217
263
  */
218
264
  deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest): Promise<DeleteChannel200Response>;
265
+ /**
266
+ * Same as `deleteChannel`, 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
+ * @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
269
+ * @deprecated
270
+ * @throws {RequiredError}
271
+ * @memberof ChannelsApi
272
+ */
273
+ deleteChannelWithHttpInfo(requestParameters: ChannelsApiDeleteChannelRequest): Promise<ApiResponse<DeleteChannel200Response>>;
219
274
  /**
220
275
  * Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
221
276
  * @summary Delete a conversation
@@ -225,6 +280,15 @@ export declare class ChannelsApi extends BaseAPI {
225
280
  * @memberof ChannelsApi
226
281
  */
227
282
  deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest): Promise<DeleteChannel200Response>;
283
+ /**
284
+ * Same as `deleteConversation`, but resolves with the response body together with the HTTP status and headers.
285
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
286
+ * @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
287
+ * @deprecated
288
+ * @throws {RequiredError}
289
+ * @memberof ChannelsApi
290
+ */
291
+ deleteConversationWithHttpInfo(requestParameters: ChannelsApiDeleteConversationRequest): Promise<ApiResponse<DeleteChannel200Response>>;
228
292
  /**
229
293
  * Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
230
294
  * @summary Receives an incoming message
@@ -234,4 +298,13 @@ export declare class ChannelsApi extends BaseAPI {
234
298
  * @memberof ChannelsApi
235
299
  */
236
300
  receiveMessage(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<GetReceiveMessageSuccessResponse>;
301
+ /**
302
+ * Same as `receiveMessage`, but resolves with the response body together with the HTTP status and headers.
303
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
304
+ * @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
305
+ * @deprecated
306
+ * @throws {RequiredError}
307
+ * @memberof ChannelsApi
308
+ */
309
+ receiveMessageWithHttpInfo(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<ApiResponse<GetReceiveMessageSuccessResponse>>;
237
310
  }