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 { AddFileResponse } from '../models';
16
16
  import { AddRemoteFileAndLinkItToItemResponse } from '../models';
17
17
  import { DeleteFileResponse } from '../models';
@@ -127,6 +127,21 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
127
127
  * @throws {RequiredError}
128
128
  */
129
129
  addFile(file: File, deal_id?: number, person_id?: number, org_id?: number, product_id?: number, activity_id?: number, lead_id?: string, project_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddFileResponse>>;
130
+ /**
131
+ * Same as `addFile`, but resolves with the response body together with the HTTP status and headers.
132
+ * @summary Add file
133
+ * @param {File} file A single file, supplied in the multipart/form-data encoding and contained within the given boundaries
134
+ * @param {number} [deal_id] The ID of the deal to associate file(s) with
135
+ * @param {number} [person_id] The ID of the person to associate file(s) with
136
+ * @param {number} [org_id] The ID of the organization to associate file(s) with
137
+ * @param {number} [product_id] The ID of the product to associate file(s) with
138
+ * @param {number} [activity_id] The ID of the activity to associate file(s) with
139
+ * @param {string} [lead_id] The ID of the lead to associate file(s) with
140
+ * @param {number} [project_id] The ID of the project to associate file(s) with
141
+
142
+ * @throws {RequiredError}
143
+ */
144
+ addFileWithHttpInfo(file: File, deal_id?: number, person_id?: number, org_id?: number, product_id?: number, activity_id?: number, lead_id?: string, project_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddFileResponse>>>;
130
145
  /**
131
146
  * Creates a new empty file in the remote location (`googledrive`) that will be linked to the item you supply. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">adding a remote file</a>.
132
147
  * @summary Create a remote file and link it to an item
@@ -139,6 +154,18 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
139
154
  * @throws {RequiredError}
140
155
  */
141
156
  addFileAndLinkIt(file_type: string, title: string, item_type: string, item_id: number, remote_location: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddRemoteFileAndLinkItToItemResponse>>;
157
+ /**
158
+ * Same as `addFileAndLinkIt`, but resolves with the response body together with the HTTP status and headers.
159
+ * @summary Create a remote file and link it to an item
160
+ * @param {string} file_type The file type
161
+ * @param {string} title The title of the file
162
+ * @param {string} item_type The item type
163
+ * @param {number} item_id The ID of the item to associate the file with
164
+ * @param {string} remote_location The location type to send the file to. Only &#x60;googledrive&#x60; is supported at the moment.
165
+
166
+ * @throws {RequiredError}
167
+ */
168
+ addFileAndLinkItWithHttpInfo(file_type: string, title: string, item_type: string, item_id: number, remote_location: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddRemoteFileAndLinkItToItemResponse>>>;
142
169
  /**
143
170
  * Marks a file as deleted. After 30 days, the file will be permanently deleted.
144
171
  * @summary Delete a file
@@ -147,6 +174,14 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
147
174
  * @throws {RequiredError}
148
175
  */
149
176
  deleteFile(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteFileResponse>>;
177
+ /**
178
+ * Same as `deleteFile`, but resolves with the response body together with the HTTP status and headers.
179
+ * @summary Delete a file
180
+ * @param {number} id The ID of the file
181
+
182
+ * @throws {RequiredError}
183
+ */
184
+ deleteFileWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteFileResponse>>>;
150
185
  /**
151
186
  * Initializes a file download.
152
187
  * @summary Download one file
@@ -155,6 +190,14 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
155
190
  * @throws {RequiredError}
156
191
  */
157
192
  downloadFile(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<string>>;
193
+ /**
194
+ * Same as `downloadFile`, but resolves with the response body together with the HTTP status and headers.
195
+ * @summary Download one file
196
+ * @param {number} id The ID of the file
197
+
198
+ * @throws {RequiredError}
199
+ */
200
+ downloadFileWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<string>>>;
158
201
  /**
159
202
  * Returns data about a specific file.
160
203
  * @summary Get one file
@@ -163,6 +206,14 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
163
206
  * @throws {RequiredError}
164
207
  */
165
208
  getFile(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFileResponse>>;
209
+ /**
210
+ * Same as `getFile`, but resolves with the response body together with the HTTP status and headers.
211
+ * @summary Get one file
212
+ * @param {number} id The ID of the file
213
+
214
+ * @throws {RequiredError}
215
+ */
216
+ getFileWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFileResponse>>>;
166
217
  /**
167
218
  * Returns data about all files.
168
219
  * @summary Get all files
@@ -173,6 +224,16 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
173
224
  * @throws {RequiredError}
174
225
  */
175
226
  getFiles(start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFilesResponse>>;
227
+ /**
228
+ * Same as `getFiles`, but resolves with the response body together with the HTTP status and headers.
229
+ * @summary Get all files
230
+ * @param {number} [start] Pagination start
231
+ * @param {number} [limit] Items shown per page. Please note that a maximum value of 100 is allowed.
232
+ * @param {string} [sort] Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;
233
+
234
+ * @throws {RequiredError}
235
+ */
236
+ getFilesWithHttpInfo(start?: number, limit?: number, sort?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFilesResponse>>>;
176
237
  /**
177
238
  * Links an existing remote file (`googledrive`) to the item you supply. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">adding a remote file</a>.
178
239
  * @summary Link a remote file to an item
@@ -184,6 +245,17 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
184
245
  * @throws {RequiredError}
185
246
  */
186
247
  linkFileToItem(item_type: string, item_id: number, remote_id: string, remote_location: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLinkRemoteFileToItemResponse>>;
248
+ /**
249
+ * Same as `linkFileToItem`, but resolves with the response body together with the HTTP status and headers.
250
+ * @summary Link a remote file to an item
251
+ * @param {string} item_type The item type
252
+ * @param {number} item_id The ID of the item to associate the file with
253
+ * @param {string} remote_id The remote item ID
254
+ * @param {string} remote_location The location type to send the file to. Only &#x60;googledrive&#x60; is supported at the moment.
255
+
256
+ * @throws {RequiredError}
257
+ */
258
+ linkFileToItemWithHttpInfo(item_type: string, item_id: number, remote_id: string, remote_location: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetLinkRemoteFileToItemResponse>>>;
187
259
  /**
188
260
  * Updates the properties of a file.
189
261
  * @summary Update file details
@@ -194,6 +266,16 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
194
266
  * @throws {RequiredError}
195
267
  */
196
268
  updateFile(id: number, name?: string, description?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateFileResponse>>;
269
+ /**
270
+ * Same as `updateFile`, but resolves with the response body together with the HTTP status and headers.
271
+ * @summary Update file details
272
+ * @param {number} id The ID of the file
273
+ * @param {string} [name] The visible name of the file
274
+ * @param {string} [description] The description of the file
275
+
276
+ * @throws {RequiredError}
277
+ */
278
+ updateFileWithHttpInfo(id: number, name?: string, description?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateFileResponse>>>;
197
279
  };
198
280
  /**
199
281
  * FilesApi - factory interface
@@ -208,6 +290,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
208
290
  * @throws {RequiredError}
209
291
  */
210
292
  addFile(requestParameters: FilesApiAddFileRequest): Promise<AddFileResponse>;
293
+ addFileWithHttpInfo(requestParameters: FilesApiAddFileRequest): Promise<ApiResponse<AddFileResponse>>;
211
294
  /**
212
295
  * Creates a new empty file in the remote location (`googledrive`) that will be linked to the item you supply. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">adding a remote file</a>.
213
296
  * @summary Create a remote file and link it to an item
@@ -216,6 +299,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
216
299
  * @throws {RequiredError}
217
300
  */
218
301
  addFileAndLinkIt(requestParameters: FilesApiAddFileAndLinkItRequest): Promise<AddRemoteFileAndLinkItToItemResponse>;
302
+ addFileAndLinkItWithHttpInfo(requestParameters: FilesApiAddFileAndLinkItRequest): Promise<ApiResponse<AddRemoteFileAndLinkItToItemResponse>>;
219
303
  /**
220
304
  * Marks a file as deleted. After 30 days, the file will be permanently deleted.
221
305
  * @summary Delete a file
@@ -224,6 +308,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
224
308
  * @throws {RequiredError}
225
309
  */
226
310
  deleteFile(requestParameters: FilesApiDeleteFileRequest): Promise<DeleteFileResponse>;
311
+ deleteFileWithHttpInfo(requestParameters: FilesApiDeleteFileRequest): Promise<ApiResponse<DeleteFileResponse>>;
227
312
  /**
228
313
  * Initializes a file download.
229
314
  * @summary Download one file
@@ -232,6 +317,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
232
317
  * @throws {RequiredError}
233
318
  */
234
319
  downloadFile(requestParameters: FilesApiDownloadFileRequest): Promise<string>;
320
+ downloadFileWithHttpInfo(requestParameters: FilesApiDownloadFileRequest): Promise<ApiResponse<string>>;
235
321
  /**
236
322
  * Returns data about a specific file.
237
323
  * @summary Get one file
@@ -240,6 +326,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
240
326
  * @throws {RequiredError}
241
327
  */
242
328
  getFile(requestParameters: FilesApiGetFileRequest): Promise<GetFileResponse>;
329
+ getFileWithHttpInfo(requestParameters: FilesApiGetFileRequest): Promise<ApiResponse<GetFileResponse>>;
243
330
  /**
244
331
  * Returns data about all files.
245
332
  * @summary Get all files
@@ -248,6 +335,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
248
335
  * @throws {RequiredError}
249
336
  */
250
337
  getFiles(requestParameters?: FilesApiGetFilesRequest): Promise<GetFilesResponse>;
338
+ getFilesWithHttpInfo(requestParameters?: FilesApiGetFilesRequest): Promise<ApiResponse<GetFilesResponse>>;
251
339
  /**
252
340
  * Links an existing remote file (`googledrive`) to the item you supply. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">adding a remote file</a>.
253
341
  * @summary Link a remote file to an item
@@ -256,6 +344,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
256
344
  * @throws {RequiredError}
257
345
  */
258
346
  linkFileToItem(requestParameters: FilesApiLinkFileToItemRequest): Promise<GetLinkRemoteFileToItemResponse>;
347
+ linkFileToItemWithHttpInfo(requestParameters: FilesApiLinkFileToItemRequest): Promise<ApiResponse<GetLinkRemoteFileToItemResponse>>;
259
348
  /**
260
349
  * Updates the properties of a file.
261
350
  * @summary Update file details
@@ -264,6 +353,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, basePath?:
264
353
  * @throws {RequiredError}
265
354
  */
266
355
  updateFile(requestParameters: FilesApiUpdateFileRequest): Promise<UpdateFileResponse>;
356
+ updateFileWithHttpInfo(requestParameters: FilesApiUpdateFileRequest): Promise<ApiResponse<UpdateFileResponse>>;
267
357
  };
268
358
  /**
269
359
  * Request parameters for addFile operation in FilesApi.
@@ -493,6 +583,15 @@ export declare class FilesApi extends BaseAPI {
493
583
  * @memberof FilesApi
494
584
  */
495
585
  addFile(requestParameters: FilesApiAddFileRequest): Promise<AddFileResponse>;
586
+ /**
587
+ * Same as `addFile`, but resolves with the response body together with the HTTP status and headers.
588
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
589
+ * @param {FilesApiAddFileRequest} requestParameters Request parameters.
590
+
591
+ * @throws {RequiredError}
592
+ * @memberof FilesApi
593
+ */
594
+ addFileWithHttpInfo(requestParameters: FilesApiAddFileRequest): Promise<ApiResponse<AddFileResponse>>;
496
595
  /**
497
596
  * Creates a new empty file in the remote location (`googledrive`) that will be linked to the item you supply. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">adding a remote file</a>.
498
597
  * @summary Create a remote file and link it to an item
@@ -502,6 +601,15 @@ export declare class FilesApi extends BaseAPI {
502
601
  * @memberof FilesApi
503
602
  */
504
603
  addFileAndLinkIt(requestParameters: FilesApiAddFileAndLinkItRequest): Promise<AddRemoteFileAndLinkItToItemResponse>;
604
+ /**
605
+ * Same as `addFileAndLinkIt`, but resolves with the response body together with the HTTP status and headers.
606
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
607
+ * @param {FilesApiAddFileAndLinkItRequest} requestParameters Request parameters.
608
+
609
+ * @throws {RequiredError}
610
+ * @memberof FilesApi
611
+ */
612
+ addFileAndLinkItWithHttpInfo(requestParameters: FilesApiAddFileAndLinkItRequest): Promise<ApiResponse<AddRemoteFileAndLinkItToItemResponse>>;
505
613
  /**
506
614
  * Marks a file as deleted. After 30 days, the file will be permanently deleted.
507
615
  * @summary Delete a file
@@ -511,6 +619,15 @@ export declare class FilesApi extends BaseAPI {
511
619
  * @memberof FilesApi
512
620
  */
513
621
  deleteFile(requestParameters: FilesApiDeleteFileRequest): Promise<DeleteFileResponse>;
622
+ /**
623
+ * Same as `deleteFile`, but resolves with the response body together with the HTTP status and headers.
624
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
625
+ * @param {FilesApiDeleteFileRequest} requestParameters Request parameters.
626
+
627
+ * @throws {RequiredError}
628
+ * @memberof FilesApi
629
+ */
630
+ deleteFileWithHttpInfo(requestParameters: FilesApiDeleteFileRequest): Promise<ApiResponse<DeleteFileResponse>>;
514
631
  /**
515
632
  * Initializes a file download.
516
633
  * @summary Download one file
@@ -520,6 +637,15 @@ export declare class FilesApi extends BaseAPI {
520
637
  * @memberof FilesApi
521
638
  */
522
639
  downloadFile(requestParameters: FilesApiDownloadFileRequest): Promise<string>;
640
+ /**
641
+ * Same as `downloadFile`, but resolves with the response body together with the HTTP status and headers.
642
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
643
+ * @param {FilesApiDownloadFileRequest} requestParameters Request parameters.
644
+
645
+ * @throws {RequiredError}
646
+ * @memberof FilesApi
647
+ */
648
+ downloadFileWithHttpInfo(requestParameters: FilesApiDownloadFileRequest): Promise<ApiResponse<string>>;
523
649
  /**
524
650
  * Returns data about a specific file.
525
651
  * @summary Get one file
@@ -529,6 +655,15 @@ export declare class FilesApi extends BaseAPI {
529
655
  * @memberof FilesApi
530
656
  */
531
657
  getFile(requestParameters: FilesApiGetFileRequest): Promise<GetFileResponse>;
658
+ /**
659
+ * Same as `getFile`, but resolves with the response body together with the HTTP status and headers.
660
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
661
+ * @param {FilesApiGetFileRequest} requestParameters Request parameters.
662
+
663
+ * @throws {RequiredError}
664
+ * @memberof FilesApi
665
+ */
666
+ getFileWithHttpInfo(requestParameters: FilesApiGetFileRequest): Promise<ApiResponse<GetFileResponse>>;
532
667
  /**
533
668
  * Returns data about all files.
534
669
  * @summary Get all files
@@ -538,6 +673,15 @@ export declare class FilesApi extends BaseAPI {
538
673
  * @memberof FilesApi
539
674
  */
540
675
  getFiles(requestParameters?: FilesApiGetFilesRequest): Promise<GetFilesResponse>;
676
+ /**
677
+ * Same as `getFiles`, but resolves with the response body together with the HTTP status and headers.
678
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
679
+ * @param {FilesApiGetFilesRequest} requestParameters Request parameters.
680
+
681
+ * @throws {RequiredError}
682
+ * @memberof FilesApi
683
+ */
684
+ getFilesWithHttpInfo(requestParameters?: FilesApiGetFilesRequest): Promise<ApiResponse<GetFilesResponse>>;
541
685
  /**
542
686
  * Links an existing remote file (`googledrive`) to the item you supply. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">adding a remote file</a>.
543
687
  * @summary Link a remote file to an item
@@ -547,6 +691,15 @@ export declare class FilesApi extends BaseAPI {
547
691
  * @memberof FilesApi
548
692
  */
549
693
  linkFileToItem(requestParameters: FilesApiLinkFileToItemRequest): Promise<GetLinkRemoteFileToItemResponse>;
694
+ /**
695
+ * Same as `linkFileToItem`, but resolves with the response body together with the HTTP status and headers.
696
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
697
+ * @param {FilesApiLinkFileToItemRequest} requestParameters Request parameters.
698
+
699
+ * @throws {RequiredError}
700
+ * @memberof FilesApi
701
+ */
702
+ linkFileToItemWithHttpInfo(requestParameters: FilesApiLinkFileToItemRequest): Promise<ApiResponse<GetLinkRemoteFileToItemResponse>>;
550
703
  /**
551
704
  * Updates the properties of a file.
552
705
  * @summary Update file details
@@ -556,4 +709,13 @@ export declare class FilesApi extends BaseAPI {
556
709
  * @memberof FilesApi
557
710
  */
558
711
  updateFile(requestParameters: FilesApiUpdateFileRequest): Promise<UpdateFileResponse>;
712
+ /**
713
+ * Same as `updateFile`, but resolves with the response body together with the HTTP status and headers.
714
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
715
+ * @param {FilesApiUpdateFileRequest} requestParameters Request parameters.
716
+
717
+ * @throws {RequiredError}
718
+ * @memberof FilesApi
719
+ */
720
+ updateFileWithHttpInfo(requestParameters: FilesApiUpdateFileRequest): Promise<ApiResponse<UpdateFileResponse>>;
559
721
  }