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 { AddNoteRequest } from '../models';
16
16
  import { CommentPostPutObject } from '../models';
17
17
  import { DeleteCommentResponse } from '../models';
@@ -146,6 +146,14 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
146
146
  * @throws {RequiredError}
147
147
  */
148
148
  addNote(AddNoteRequest?: AddNoteRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertNoteResponse>>;
149
+ /**
150
+ * Same as `addNote`, but resolves with the response body together with the HTTP status and headers.
151
+ * @summary Add a note
152
+ * @param {AddNoteRequest} [AddNoteRequest]
153
+
154
+ * @throws {RequiredError}
155
+ */
156
+ addNoteWithHttpInfo(AddNoteRequest?: AddNoteRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertNoteResponse>>>;
149
157
  /**
150
158
  * Adds a new comment to a note.
151
159
  * @summary Add a comment to a note
@@ -155,6 +163,15 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
155
163
  * @throws {RequiredError}
156
164
  */
157
165
  addNoteComment(id: number, CommentPostPutObject?: CommentPostPutObject): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertCommentResponse>>;
166
+ /**
167
+ * Same as `addNoteComment`, but resolves with the response body together with the HTTP status and headers.
168
+ * @summary Add a comment to a note
169
+ * @param {number} id The ID of the note
170
+ * @param {CommentPostPutObject} [CommentPostPutObject]
171
+
172
+ * @throws {RequiredError}
173
+ */
174
+ addNoteCommentWithHttpInfo(id: number, CommentPostPutObject?: CommentPostPutObject): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertCommentResponse>>>;
158
175
  /**
159
176
  * Deletes a comment.
160
177
  * @summary Delete a comment related to a note
@@ -164,6 +181,15 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
164
181
  * @throws {RequiredError}
165
182
  */
166
183
  deleteComment(id: number, commentId: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteCommentResponse>>;
184
+ /**
185
+ * Same as `deleteComment`, but resolves with the response body together with the HTTP status and headers.
186
+ * @summary Delete a comment related to a note
187
+ * @param {number} id The ID of the note
188
+ * @param {string} commentId The ID of the comment
189
+
190
+ * @throws {RequiredError}
191
+ */
192
+ deleteCommentWithHttpInfo(id: number, commentId: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteCommentResponse>>>;
167
193
  /**
168
194
  * Deletes a specific note.
169
195
  * @summary Delete a note
@@ -172,6 +198,14 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
172
198
  * @throws {RequiredError}
173
199
  */
174
200
  deleteNote(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteNoteResponse>>;
201
+ /**
202
+ * Same as `deleteNote`, but resolves with the response body together with the HTTP status and headers.
203
+ * @summary Delete a note
204
+ * @param {number} id The ID of the note
205
+
206
+ * @throws {RequiredError}
207
+ */
208
+ deleteNoteWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteNoteResponse>>>;
175
209
  /**
176
210
  * Returns the details of a comment.
177
211
  * @summary Get one comment
@@ -181,6 +215,15 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
181
215
  * @throws {RequiredError}
182
216
  */
183
217
  getComment(id: number, commentId: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertCommentResponse>>;
218
+ /**
219
+ * Same as `getComment`, but resolves with the response body together with the HTTP status and headers.
220
+ * @summary Get one comment
221
+ * @param {number} id The ID of the note
222
+ * @param {string} commentId The ID of the comment
223
+
224
+ * @throws {RequiredError}
225
+ */
226
+ getCommentWithHttpInfo(id: number, commentId: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertCommentResponse>>>;
184
227
  /**
185
228
  * Returns details about a specific note.
186
229
  * @summary Get one note
@@ -189,6 +232,14 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
189
232
  * @throws {RequiredError}
190
233
  */
191
234
  getNote(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertNoteResponse>>;
235
+ /**
236
+ * Same as `getNote`, but resolves with the response body together with the HTTP status and headers.
237
+ * @summary Get one note
238
+ * @param {number} id The ID of the note
239
+
240
+ * @throws {RequiredError}
241
+ */
242
+ getNoteWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertNoteResponse>>>;
192
243
  /**
193
244
  * Returns all comments associated with a note.
194
245
  * @summary Get all comments for a note
@@ -199,6 +250,16 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
199
250
  * @throws {RequiredError}
200
251
  */
201
252
  getNoteComments(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCommentsResponse>>;
253
+ /**
254
+ * Same as `getNoteComments`, but resolves with the response body together with the HTTP status and headers.
255
+ * @summary Get all comments for a note
256
+ * @param {number} id The ID of the note
257
+ * @param {number} [start] Pagination start
258
+ * @param {number} [limit] Items shown per page
259
+
260
+ * @throws {RequiredError}
261
+ */
262
+ getNoteCommentsWithHttpInfo(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCommentsResponse>>>;
202
263
  /**
203
264
  * Returns all notes.
204
265
  * @summary Get all notes
@@ -225,6 +286,32 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
225
286
  * @throws {RequiredError}
226
287
  */
227
288
  getNotes(user_id?: number, lead_id?: string, deal_id?: number, person_id?: number, org_id?: number, project_id?: number, task_id?: number, start?: number, limit?: number, sort?: string, start_date?: string, end_date?: string, updated_since?: string, pinned_to_lead_flag?: 0 | 1, pinned_to_deal_flag?: 0 | 1, pinned_to_organization_flag?: 0 | 1, pinned_to_person_flag?: 0 | 1, pinned_to_project_flag?: 0 | 1, pinned_to_task_flag?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetNotesResponse>>;
289
+ /**
290
+ * Same as `getNotes`, but resolves with the response body together with the HTTP status and headers.
291
+ * @summary Get all notes
292
+ * @param {number} [user_id] The ID of the user whose notes to fetch. If omitted, notes by all users will be returned.
293
+ * @param {string} [lead_id] The ID of the lead which notes to fetch. If omitted, notes about all leads will be returned.
294
+ * @param {number} [deal_id] The ID of the deal which notes to fetch. If omitted, notes about all deals will be returned.
295
+ * @param {number} [person_id] The ID of the person whose notes to fetch. If omitted, notes about all persons will be returned.
296
+ * @param {number} [org_id] The ID of the organization which notes to fetch. If omitted, notes about all organizations will be returned.
297
+ * @param {number} [project_id] The ID of the project which notes to fetch. If omitted, notes about all projects will be returned.
298
+ * @param {number} [task_id] The ID of the task which notes to fetch. If omitted, notes about all tasks will be returned.
299
+ * @param {number} [start] Pagination start
300
+ * @param {number} [limit] Items shown per page
301
+ * @param {string} [sort] The field names and sorting mode separated by a comma (&#x60;field_name_1 ASC&#x60;, &#x60;field_name_2 DESC&#x60;). Only first-level field keys are supported (no nested keys). Supported fields: &#x60;id&#x60;, &#x60;user_id&#x60;, &#x60;deal_id&#x60;, &#x60;person_id&#x60;, &#x60;org_id&#x60;, &#x60;content&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
302
+ * @param {string} [start_date] The date in format of YYYY-MM-DD from which notes to fetch
303
+ * @param {string} [end_date] The date in format of YYYY-MM-DD until which notes to fetch to
304
+ * @param {string} [updated_since] If set, only notes with an &#x60;update_time&#x60; later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
305
+ * @param {0 | 1} [pinned_to_lead_flag] If set, the results are filtered by note to lead pinning state
306
+ * @param {0 | 1} [pinned_to_deal_flag] If set, the results are filtered by note to deal pinning state
307
+ * @param {0 | 1} [pinned_to_organization_flag] If set, the results are filtered by note to organization pinning state
308
+ * @param {0 | 1} [pinned_to_person_flag] If set, the results are filtered by note to person pinning state
309
+ * @param {0 | 1} [pinned_to_project_flag] If set, the results are filtered by note to project pinning state
310
+ * @param {0 | 1} [pinned_to_task_flag] If set, the results are filtered by note to task pinning state
311
+
312
+ * @throws {RequiredError}
313
+ */
314
+ getNotesWithHttpInfo(user_id?: number, lead_id?: string, deal_id?: number, person_id?: number, org_id?: number, project_id?: number, task_id?: number, start?: number, limit?: number, sort?: string, start_date?: string, end_date?: string, updated_since?: string, pinned_to_lead_flag?: 0 | 1, pinned_to_deal_flag?: 0 | 1, pinned_to_organization_flag?: 0 | 1, pinned_to_person_flag?: 0 | 1, pinned_to_project_flag?: 0 | 1, pinned_to_task_flag?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetNotesResponse>>>;
228
315
  /**
229
316
  * Updates a comment related to a note.
230
317
  * @summary Update a comment related to a note
@@ -235,6 +322,16 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
235
322
  * @throws {RequiredError}
236
323
  */
237
324
  updateCommentForNote(id: number, commentId: string, CommentPostPutObject?: CommentPostPutObject): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertCommentResponse>>;
325
+ /**
326
+ * Same as `updateCommentForNote`, but resolves with the response body together with the HTTP status and headers.
327
+ * @summary Update a comment related to a note
328
+ * @param {number} id The ID of the note
329
+ * @param {string} commentId The ID of the comment
330
+ * @param {CommentPostPutObject} [CommentPostPutObject]
331
+
332
+ * @throws {RequiredError}
333
+ */
334
+ updateCommentForNoteWithHttpInfo(id: number, commentId: string, CommentPostPutObject?: CommentPostPutObject): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertCommentResponse>>>;
238
335
  /**
239
336
  * Updates a note.
240
337
  * @summary Update a note
@@ -244,6 +341,15 @@ export declare const NotesApiFp: (configuration?: Configuration) => {
244
341
  * @throws {RequiredError}
245
342
  */
246
343
  updateNote(id: number, NoteRequest?: NoteRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertNoteResponse>>;
344
+ /**
345
+ * Same as `updateNote`, but resolves with the response body together with the HTTP status and headers.
346
+ * @summary Update a note
347
+ * @param {number} id The ID of the note
348
+ * @param {NoteRequest} [NoteRequest]
349
+
350
+ * @throws {RequiredError}
351
+ */
352
+ updateNoteWithHttpInfo(id: number, NoteRequest?: NoteRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertNoteResponse>>>;
247
353
  };
248
354
  /**
249
355
  * NotesApi - factory interface
@@ -258,6 +364,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
258
364
  * @throws {RequiredError}
259
365
  */
260
366
  addNote(requestParameters?: NotesApiAddNoteRequest): Promise<UpsertNoteResponse>;
367
+ addNoteWithHttpInfo(requestParameters?: NotesApiAddNoteRequest): Promise<ApiResponse<UpsertNoteResponse>>;
261
368
  /**
262
369
  * Adds a new comment to a note.
263
370
  * @summary Add a comment to a note
@@ -266,6 +373,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
266
373
  * @throws {RequiredError}
267
374
  */
268
375
  addNoteComment(requestParameters: NotesApiAddNoteCommentRequest): Promise<UpsertCommentResponse>;
376
+ addNoteCommentWithHttpInfo(requestParameters: NotesApiAddNoteCommentRequest): Promise<ApiResponse<UpsertCommentResponse>>;
269
377
  /**
270
378
  * Deletes a comment.
271
379
  * @summary Delete a comment related to a note
@@ -274,6 +382,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
274
382
  * @throws {RequiredError}
275
383
  */
276
384
  deleteComment(requestParameters: NotesApiDeleteCommentRequest): Promise<DeleteCommentResponse>;
385
+ deleteCommentWithHttpInfo(requestParameters: NotesApiDeleteCommentRequest): Promise<ApiResponse<DeleteCommentResponse>>;
277
386
  /**
278
387
  * Deletes a specific note.
279
388
  * @summary Delete a note
@@ -282,6 +391,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
282
391
  * @throws {RequiredError}
283
392
  */
284
393
  deleteNote(requestParameters: NotesApiDeleteNoteRequest): Promise<DeleteNoteResponse>;
394
+ deleteNoteWithHttpInfo(requestParameters: NotesApiDeleteNoteRequest): Promise<ApiResponse<DeleteNoteResponse>>;
285
395
  /**
286
396
  * Returns the details of a comment.
287
397
  * @summary Get one comment
@@ -290,6 +400,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
290
400
  * @throws {RequiredError}
291
401
  */
292
402
  getComment(requestParameters: NotesApiGetCommentRequest): Promise<UpsertCommentResponse>;
403
+ getCommentWithHttpInfo(requestParameters: NotesApiGetCommentRequest): Promise<ApiResponse<UpsertCommentResponse>>;
293
404
  /**
294
405
  * Returns details about a specific note.
295
406
  * @summary Get one note
@@ -298,6 +409,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
298
409
  * @throws {RequiredError}
299
410
  */
300
411
  getNote(requestParameters: NotesApiGetNoteRequest): Promise<UpsertNoteResponse>;
412
+ getNoteWithHttpInfo(requestParameters: NotesApiGetNoteRequest): Promise<ApiResponse<UpsertNoteResponse>>;
301
413
  /**
302
414
  * Returns all comments associated with a note.
303
415
  * @summary Get all comments for a note
@@ -306,6 +418,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
306
418
  * @throws {RequiredError}
307
419
  */
308
420
  getNoteComments(requestParameters: NotesApiGetNoteCommentsRequest): Promise<GetCommentsResponse>;
421
+ getNoteCommentsWithHttpInfo(requestParameters: NotesApiGetNoteCommentsRequest): Promise<ApiResponse<GetCommentsResponse>>;
309
422
  /**
310
423
  * Returns all notes.
311
424
  * @summary Get all notes
@@ -314,6 +427,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
314
427
  * @throws {RequiredError}
315
428
  */
316
429
  getNotes(requestParameters?: NotesApiGetNotesRequest): Promise<GetNotesResponse>;
430
+ getNotesWithHttpInfo(requestParameters?: NotesApiGetNotesRequest): Promise<ApiResponse<GetNotesResponse>>;
317
431
  /**
318
432
  * Updates a comment related to a note.
319
433
  * @summary Update a comment related to a note
@@ -322,6 +436,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
322
436
  * @throws {RequiredError}
323
437
  */
324
438
  updateCommentForNote(requestParameters: NotesApiUpdateCommentForNoteRequest): Promise<UpsertCommentResponse>;
439
+ updateCommentForNoteWithHttpInfo(requestParameters: NotesApiUpdateCommentForNoteRequest): Promise<ApiResponse<UpsertCommentResponse>>;
325
440
  /**
326
441
  * Updates a note.
327
442
  * @summary Update a note
@@ -330,6 +445,7 @@ export declare const NotesApiFactory: (configuration?: Configuration, basePath?:
330
445
  * @throws {RequiredError}
331
446
  */
332
447
  updateNote(requestParameters: NotesApiUpdateNoteRequest): Promise<UpsertNoteResponse>;
448
+ updateNoteWithHttpInfo(requestParameters: NotesApiUpdateNoteRequest): Promise<ApiResponse<UpsertNoteResponse>>;
333
449
  };
334
450
  /**
335
451
  * Request parameters for addNote operation in NotesApi.
@@ -633,6 +749,15 @@ export declare class NotesApi extends BaseAPI {
633
749
  * @memberof NotesApi
634
750
  */
635
751
  addNote(requestParameters?: NotesApiAddNoteRequest): Promise<UpsertNoteResponse>;
752
+ /**
753
+ * Same as `addNote`, but resolves with the response body together with the HTTP status and headers.
754
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
755
+ * @param {NotesApiAddNoteRequest} requestParameters Request parameters.
756
+
757
+ * @throws {RequiredError}
758
+ * @memberof NotesApi
759
+ */
760
+ addNoteWithHttpInfo(requestParameters?: NotesApiAddNoteRequest): Promise<ApiResponse<UpsertNoteResponse>>;
636
761
  /**
637
762
  * Adds a new comment to a note.
638
763
  * @summary Add a comment to a note
@@ -642,6 +767,15 @@ export declare class NotesApi extends BaseAPI {
642
767
  * @memberof NotesApi
643
768
  */
644
769
  addNoteComment(requestParameters: NotesApiAddNoteCommentRequest): Promise<UpsertCommentResponse>;
770
+ /**
771
+ * Same as `addNoteComment`, but resolves with the response body together with the HTTP status and headers.
772
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
773
+ * @param {NotesApiAddNoteCommentRequest} requestParameters Request parameters.
774
+
775
+ * @throws {RequiredError}
776
+ * @memberof NotesApi
777
+ */
778
+ addNoteCommentWithHttpInfo(requestParameters: NotesApiAddNoteCommentRequest): Promise<ApiResponse<UpsertCommentResponse>>;
645
779
  /**
646
780
  * Deletes a comment.
647
781
  * @summary Delete a comment related to a note
@@ -651,6 +785,15 @@ export declare class NotesApi extends BaseAPI {
651
785
  * @memberof NotesApi
652
786
  */
653
787
  deleteComment(requestParameters: NotesApiDeleteCommentRequest): Promise<DeleteCommentResponse>;
788
+ /**
789
+ * Same as `deleteComment`, but resolves with the response body together with the HTTP status and headers.
790
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
791
+ * @param {NotesApiDeleteCommentRequest} requestParameters Request parameters.
792
+
793
+ * @throws {RequiredError}
794
+ * @memberof NotesApi
795
+ */
796
+ deleteCommentWithHttpInfo(requestParameters: NotesApiDeleteCommentRequest): Promise<ApiResponse<DeleteCommentResponse>>;
654
797
  /**
655
798
  * Deletes a specific note.
656
799
  * @summary Delete a note
@@ -660,6 +803,15 @@ export declare class NotesApi extends BaseAPI {
660
803
  * @memberof NotesApi
661
804
  */
662
805
  deleteNote(requestParameters: NotesApiDeleteNoteRequest): Promise<DeleteNoteResponse>;
806
+ /**
807
+ * Same as `deleteNote`, but resolves with the response body together with the HTTP status and headers.
808
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
809
+ * @param {NotesApiDeleteNoteRequest} requestParameters Request parameters.
810
+
811
+ * @throws {RequiredError}
812
+ * @memberof NotesApi
813
+ */
814
+ deleteNoteWithHttpInfo(requestParameters: NotesApiDeleteNoteRequest): Promise<ApiResponse<DeleteNoteResponse>>;
663
815
  /**
664
816
  * Returns the details of a comment.
665
817
  * @summary Get one comment
@@ -669,6 +821,15 @@ export declare class NotesApi extends BaseAPI {
669
821
  * @memberof NotesApi
670
822
  */
671
823
  getComment(requestParameters: NotesApiGetCommentRequest): Promise<UpsertCommentResponse>;
824
+ /**
825
+ * Same as `getComment`, but resolves with the response body together with the HTTP status and headers.
826
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
827
+ * @param {NotesApiGetCommentRequest} requestParameters Request parameters.
828
+
829
+ * @throws {RequiredError}
830
+ * @memberof NotesApi
831
+ */
832
+ getCommentWithHttpInfo(requestParameters: NotesApiGetCommentRequest): Promise<ApiResponse<UpsertCommentResponse>>;
672
833
  /**
673
834
  * Returns details about a specific note.
674
835
  * @summary Get one note
@@ -678,6 +839,15 @@ export declare class NotesApi extends BaseAPI {
678
839
  * @memberof NotesApi
679
840
  */
680
841
  getNote(requestParameters: NotesApiGetNoteRequest): Promise<UpsertNoteResponse>;
842
+ /**
843
+ * Same as `getNote`, but resolves with the response body together with the HTTP status and headers.
844
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
845
+ * @param {NotesApiGetNoteRequest} requestParameters Request parameters.
846
+
847
+ * @throws {RequiredError}
848
+ * @memberof NotesApi
849
+ */
850
+ getNoteWithHttpInfo(requestParameters: NotesApiGetNoteRequest): Promise<ApiResponse<UpsertNoteResponse>>;
681
851
  /**
682
852
  * Returns all comments associated with a note.
683
853
  * @summary Get all comments for a note
@@ -687,6 +857,15 @@ export declare class NotesApi extends BaseAPI {
687
857
  * @memberof NotesApi
688
858
  */
689
859
  getNoteComments(requestParameters: NotesApiGetNoteCommentsRequest): Promise<GetCommentsResponse>;
860
+ /**
861
+ * Same as `getNoteComments`, but resolves with the response body together with the HTTP status and headers.
862
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
863
+ * @param {NotesApiGetNoteCommentsRequest} requestParameters Request parameters.
864
+
865
+ * @throws {RequiredError}
866
+ * @memberof NotesApi
867
+ */
868
+ getNoteCommentsWithHttpInfo(requestParameters: NotesApiGetNoteCommentsRequest): Promise<ApiResponse<GetCommentsResponse>>;
690
869
  /**
691
870
  * Returns all notes.
692
871
  * @summary Get all notes
@@ -696,6 +875,15 @@ export declare class NotesApi extends BaseAPI {
696
875
  * @memberof NotesApi
697
876
  */
698
877
  getNotes(requestParameters?: NotesApiGetNotesRequest): Promise<GetNotesResponse>;
878
+ /**
879
+ * Same as `getNotes`, but resolves with the response body together with the HTTP status and headers.
880
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
881
+ * @param {NotesApiGetNotesRequest} requestParameters Request parameters.
882
+
883
+ * @throws {RequiredError}
884
+ * @memberof NotesApi
885
+ */
886
+ getNotesWithHttpInfo(requestParameters?: NotesApiGetNotesRequest): Promise<ApiResponse<GetNotesResponse>>;
699
887
  /**
700
888
  * Updates a comment related to a note.
701
889
  * @summary Update a comment related to a note
@@ -705,6 +893,15 @@ export declare class NotesApi extends BaseAPI {
705
893
  * @memberof NotesApi
706
894
  */
707
895
  updateCommentForNote(requestParameters: NotesApiUpdateCommentForNoteRequest): Promise<UpsertCommentResponse>;
896
+ /**
897
+ * Same as `updateCommentForNote`, but resolves with the response body together with the HTTP status and headers.
898
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
899
+ * @param {NotesApiUpdateCommentForNoteRequest} requestParameters Request parameters.
900
+
901
+ * @throws {RequiredError}
902
+ * @memberof NotesApi
903
+ */
904
+ updateCommentForNoteWithHttpInfo(requestParameters: NotesApiUpdateCommentForNoteRequest): Promise<ApiResponse<UpsertCommentResponse>>;
708
905
  /**
709
906
  * Updates a note.
710
907
  * @summary Update a note
@@ -714,4 +911,13 @@ export declare class NotesApi extends BaseAPI {
714
911
  * @memberof NotesApi
715
912
  */
716
913
  updateNote(requestParameters: NotesApiUpdateNoteRequest): Promise<UpsertNoteResponse>;
914
+ /**
915
+ * Same as `updateNote`, but resolves with the response body together with the HTTP status and headers.
916
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
917
+ * @param {NotesApiUpdateNoteRequest} requestParameters Request parameters.
918
+
919
+ * @throws {RequiredError}
920
+ * @memberof NotesApi
921
+ */
922
+ updateNoteWithHttpInfo(requestParameters: NotesApiUpdateNoteRequest): Promise<ApiResponse<UpsertNoteResponse>>;
717
923
  }