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
@@ -501,6 +501,19 @@ export const OrganizationsApiFp = function (configuration) {
501
501
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
502
502
  });
503
503
  },
504
+ /**
505
+ * Same as `addOrganization`, but resolves with the response body together with the HTTP status and headers.
506
+ * @summary Add a new organization
507
+ * @param {AddOrganizationRequest} [AddOrganizationRequest]
508
+
509
+ * @throws {RequiredError}
510
+ */
511
+ addOrganizationWithHttpInfo(AddOrganizationRequest) {
512
+ return __awaiter(this, void 0, void 0, function* () {
513
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addOrganization(AddOrganizationRequest);
514
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
515
+ });
516
+ },
504
517
  /**
505
518
  * Adds a user as a follower to the organization.
506
519
  * @summary Add a follower to an organization
@@ -515,6 +528,20 @@ export const OrganizationsApiFp = function (configuration) {
515
528
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
516
529
  });
517
530
  },
531
+ /**
532
+ * Same as `addOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
533
+ * @summary Add a follower to an organization
534
+ * @param {number} id The ID of the organization
535
+ * @param {AddDealFollowerRequest} [AddDealFollowerRequest]
536
+
537
+ * @throws {RequiredError}
538
+ */
539
+ addOrganizationFollowerWithHttpInfo(id, AddDealFollowerRequest) {
540
+ return __awaiter(this, void 0, void 0, function* () {
541
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addOrganizationFollower(id, AddDealFollowerRequest);
542
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
543
+ });
544
+ },
518
545
  /**
519
546
  * Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
520
547
  * @summary Delete a organization
@@ -528,6 +555,19 @@ export const OrganizationsApiFp = function (configuration) {
528
555
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
529
556
  });
530
557
  },
558
+ /**
559
+ * Same as `deleteOrganization`, but resolves with the response body together with the HTTP status and headers.
560
+ * @summary Delete a organization
561
+ * @param {number} id The ID of the organization
562
+
563
+ * @throws {RequiredError}
564
+ */
565
+ deleteOrganizationWithHttpInfo(id) {
566
+ return __awaiter(this, void 0, void 0, function* () {
567
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganization(id);
568
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
569
+ });
570
+ },
531
571
  /**
532
572
  * Deletes a user follower from the organization.
533
573
  * @summary Delete a follower from an organization
@@ -542,6 +582,20 @@ export const OrganizationsApiFp = function (configuration) {
542
582
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
543
583
  });
544
584
  },
585
+ /**
586
+ * Same as `deleteOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
587
+ * @summary Delete a follower from an organization
588
+ * @param {number} id The ID of the organization
589
+ * @param {number} follower_id The ID of the following user
590
+
591
+ * @throws {RequiredError}
592
+ */
593
+ deleteOrganizationFollowerWithHttpInfo(id, follower_id) {
594
+ return __awaiter(this, void 0, void 0, function* () {
595
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationFollower(id, follower_id);
596
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
597
+ });
598
+ },
545
599
  /**
546
600
  * Returns the details of a specific organization.
547
601
  * @summary Get details of a organization
@@ -559,6 +613,23 @@ export const OrganizationsApiFp = function (configuration) {
559
613
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
560
614
  });
561
615
  },
616
+ /**
617
+ * Same as `getOrganization`, but resolves with the response body together with the HTTP status and headers.
618
+ * @summary Get details of a organization
619
+ * @param {number} id The ID of the organization
620
+ * @param {Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>} [include_fields] Optional comma separated string array of additional fields to include
621
+ * @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.&lt;br/&gt;A maximum of 15 keys is allowed.
622
+ * @param {boolean} [include_option_labels] When provided with a \&#39;true\&#39; value, single option and multiple option custom fields values contain objects in the form of \&#39;{ id: number, label: string }\&#39; instead of plain id
623
+ * @param {boolean} [include_labels] When provided with \&#39;true\&#39; value, response will include an array of label objects in the form of \&#39;{ id: number, label: string }\&#39;
624
+
625
+ * @throws {RequiredError}
626
+ */
627
+ getOrganizationWithHttpInfo(id, include_fields, custom_fields, include_option_labels, include_labels) {
628
+ return __awaiter(this, void 0, void 0, function* () {
629
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganization(id, include_fields, custom_fields, include_option_labels, include_labels);
630
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
631
+ });
632
+ },
562
633
  /**
563
634
  * Lists users who are following the organization.
564
635
  * @summary List followers of an organization
@@ -574,6 +645,21 @@ export const OrganizationsApiFp = function (configuration) {
574
645
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
575
646
  });
576
647
  },
648
+ /**
649
+ * Same as `getOrganizationFollowers`, but resolves with the response body together with the HTTP status and headers.
650
+ * @summary List followers of an organization
651
+ * @param {number} id The ID of the organization
652
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
653
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
654
+
655
+ * @throws {RequiredError}
656
+ */
657
+ getOrganizationFollowersWithHttpInfo(id, limit, cursor) {
658
+ return __awaiter(this, void 0, void 0, function* () {
659
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationFollowers(id, limit, cursor);
660
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
661
+ });
662
+ },
577
663
  /**
578
664
  * Lists changelogs about users have followed the organization.
579
665
  * @summary List followers changelog of an organization
@@ -589,6 +675,21 @@ export const OrganizationsApiFp = function (configuration) {
589
675
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
590
676
  });
591
677
  },
678
+ /**
679
+ * Same as `getOrganizationFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
680
+ * @summary List followers changelog of an organization
681
+ * @param {number} id The ID of the organization
682
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
683
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
684
+
685
+ * @throws {RequiredError}
686
+ */
687
+ getOrganizationFollowersChangelogWithHttpInfo(id, limit, cursor) {
688
+ return __awaiter(this, void 0, void 0, function* () {
689
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationFollowersChangelog(id, limit, cursor);
690
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
691
+ });
692
+ },
592
693
  /**
593
694
  * Returns data about all organizations.
594
695
  * @summary Get all organizations
@@ -614,6 +715,31 @@ export const OrganizationsApiFp = function (configuration) {
614
715
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
615
716
  });
616
717
  },
718
+ /**
719
+ * Same as `getOrganizations`, but resolves with the response body together with the HTTP status and headers.
720
+ * @summary Get all organizations
721
+ * @param {number} [filter_id] If supplied, only organizations matching the specified filter are returned
722
+ * @param {Set<number>} [ids] Optional comma separated array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
723
+ * @param {number} [owner_id] If supplied, only organizations owned by the specified user are returned. If filter_id is provided, this is ignored.
724
+ * @param {string} [updated_since] If set, only organizations 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.
725
+ * @param {string} [updated_until] If set, only organizations with an &#x60;update_time&#x60; earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
726
+ * @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;.
727
+ * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
728
+ * @param {Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>} [include_fields] Optional comma separated string array of additional fields to include
729
+ * @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.&lt;br/&gt;A maximum of 15 keys is allowed.
730
+ * @param {boolean} [include_option_labels] When provided with a \&#39;true\&#39; value, single option and multiple option custom fields values contain objects in the form of \&#39;{ id: number, label: string }\&#39; instead of plain id
731
+ * @param {boolean} [include_labels] When provided with \&#39;true\&#39; value, response will include an array of label objects in the form of \&#39;{ id: number, label: string }\&#39;
732
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
733
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
734
+
735
+ * @throws {RequiredError}
736
+ */
737
+ getOrganizationsWithHttpInfo(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, custom_fields, include_option_labels, include_labels, limit, cursor) {
738
+ return __awaiter(this, void 0, void 0, function* () {
739
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizations(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, custom_fields, include_option_labels, include_labels, limit, cursor);
740
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
741
+ });
742
+ },
617
743
  /**
618
744
  * Searches all organizations by name, address, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
619
745
  * @summary Search organizations
@@ -631,6 +757,23 @@ export const OrganizationsApiFp = function (configuration) {
631
757
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
632
758
  });
633
759
  },
760
+ /**
761
+ * Same as `searchOrganization`, but resolves with the response body together with the HTTP status and headers.
762
+ * @summary Search organizations
763
+ * @param {string} term The search term to look for. Minimum 2 characters (or 1 if using &#x60;exact_match&#x60;). Please note that the search term has to be URL encoded.
764
+ * @param {Set<'address' | 'custom_fields' | 'notes' | 'name'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: &#x60;address&#x60;, &#x60;varchar&#x60;, &#x60;text&#x60;, &#x60;varchar_auto&#x60;, &#x60;double&#x60;, &#x60;monetary&#x60; and &#x60;phone&#x60;. Read more about searching by custom fields &lt;a href&#x3D;\&quot;https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\&quot; target&#x3D;\&quot;_blank\&quot; rel&#x3D;\&quot;noopener noreferrer\&quot;&gt;here&lt;/a&gt;.
765
+ * @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is &lt;b&gt;not&lt;/b&gt; case sensitive.
766
+ * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 100 is allowed.
767
+ * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
768
+
769
+ * @throws {RequiredError}
770
+ */
771
+ searchOrganizationWithHttpInfo(term, fields, exact_match, limit, cursor) {
772
+ return __awaiter(this, void 0, void 0, function* () {
773
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchOrganization(term, fields, exact_match, limit, cursor);
774
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
775
+ });
776
+ },
634
777
  /**
635
778
  * Updates the properties of a organization.
636
779
  * @summary Update a organization
@@ -645,6 +788,20 @@ export const OrganizationsApiFp = function (configuration) {
645
788
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
646
789
  });
647
790
  },
791
+ /**
792
+ * Same as `updateOrganization`, but resolves with the response body together with the HTTP status and headers.
793
+ * @summary Update a organization
794
+ * @param {number} id The ID of the organization
795
+ * @param {UpdateOrganizationRequest} [UpdateOrganizationRequest]
796
+
797
+ * @throws {RequiredError}
798
+ */
799
+ updateOrganizationWithHttpInfo(id, UpdateOrganizationRequest) {
800
+ return __awaiter(this, void 0, void 0, function* () {
801
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganization(id, UpdateOrganizationRequest);
802
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
803
+ });
804
+ },
648
805
  };
649
806
  };
650
807
  /**
@@ -664,6 +821,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
664
821
  addOrganization(requestParameters = {}) {
665
822
  return localVarFp.addOrganization(requestParameters.AddOrganizationRequest).then((request) => request(axios, basePath));
666
823
  },
824
+ addOrganizationWithHttpInfo(requestParameters = {}) {
825
+ return localVarFp.addOrganizationWithHttpInfo(requestParameters.AddOrganizationRequest).then((request) => request(axios, basePath));
826
+ },
667
827
  /**
668
828
  * Adds a user as a follower to the organization.
669
829
  * @summary Add a follower to an organization
@@ -674,6 +834,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
674
834
  addOrganizationFollower(requestParameters) {
675
835
  return localVarFp.addOrganizationFollower(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(axios, basePath));
676
836
  },
837
+ addOrganizationFollowerWithHttpInfo(requestParameters) {
838
+ return localVarFp.addOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(axios, basePath));
839
+ },
677
840
  /**
678
841
  * Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
679
842
  * @summary Delete a organization
@@ -684,6 +847,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
684
847
  deleteOrganization(requestParameters) {
685
848
  return localVarFp.deleteOrganization(requestParameters.id).then((request) => request(axios, basePath));
686
849
  },
850
+ deleteOrganizationWithHttpInfo(requestParameters) {
851
+ return localVarFp.deleteOrganizationWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
852
+ },
687
853
  /**
688
854
  * Deletes a user follower from the organization.
689
855
  * @summary Delete a follower from an organization
@@ -694,6 +860,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
694
860
  deleteOrganizationFollower(requestParameters) {
695
861
  return localVarFp.deleteOrganizationFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
696
862
  },
863
+ deleteOrganizationFollowerWithHttpInfo(requestParameters) {
864
+ return localVarFp.deleteOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
865
+ },
697
866
  /**
698
867
  * Returns the details of a specific organization.
699
868
  * @summary Get details of a organization
@@ -704,6 +873,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
704
873
  getOrganization(requestParameters) {
705
874
  return localVarFp.getOrganization(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(axios, basePath));
706
875
  },
876
+ getOrganizationWithHttpInfo(requestParameters) {
877
+ return localVarFp.getOrganizationWithHttpInfo(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(axios, basePath));
878
+ },
707
879
  /**
708
880
  * Lists users who are following the organization.
709
881
  * @summary List followers of an organization
@@ -714,6 +886,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
714
886
  getOrganizationFollowers(requestParameters) {
715
887
  return localVarFp.getOrganizationFollowers(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
716
888
  },
889
+ getOrganizationFollowersWithHttpInfo(requestParameters) {
890
+ return localVarFp.getOrganizationFollowersWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
891
+ },
717
892
  /**
718
893
  * Lists changelogs about users have followed the organization.
719
894
  * @summary List followers changelog of an organization
@@ -724,6 +899,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
724
899
  getOrganizationFollowersChangelog(requestParameters) {
725
900
  return localVarFp.getOrganizationFollowersChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
726
901
  },
902
+ getOrganizationFollowersChangelogWithHttpInfo(requestParameters) {
903
+ return localVarFp.getOrganizationFollowersChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
904
+ },
727
905
  /**
728
906
  * Returns data about all organizations.
729
907
  * @summary Get all organizations
@@ -734,6 +912,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
734
912
  getOrganizations(requestParameters = {}) {
735
913
  return localVarFp.getOrganizations(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
736
914
  },
915
+ getOrganizationsWithHttpInfo(requestParameters = {}) {
916
+ return localVarFp.getOrganizationsWithHttpInfo(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
917
+ },
737
918
  /**
738
919
  * Searches all organizations by name, address, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
739
920
  * @summary Search organizations
@@ -744,6 +925,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
744
925
  searchOrganization(requestParameters) {
745
926
  return localVarFp.searchOrganization(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
746
927
  },
928
+ searchOrganizationWithHttpInfo(requestParameters) {
929
+ return localVarFp.searchOrganizationWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
930
+ },
747
931
  /**
748
932
  * Updates the properties of a organization.
749
933
  * @summary Update a organization
@@ -754,6 +938,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
754
938
  updateOrganization(requestParameters) {
755
939
  return localVarFp.updateOrganization(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(axios, basePath));
756
940
  },
941
+ updateOrganizationWithHttpInfo(requestParameters) {
942
+ return localVarFp.updateOrganizationWithHttpInfo(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(axios, basePath));
943
+ },
757
944
  };
758
945
  };
759
946
  /**
@@ -774,6 +961,17 @@ export class OrganizationsApi extends BaseAPI {
774
961
  addOrganization(requestParameters = {}) {
775
962
  return OrganizationsApiFp(this.configuration).addOrganization(requestParameters.AddOrganizationRequest).then((request) => request(this.axios, this.basePath));
776
963
  }
964
+ /**
965
+ * Same as `addOrganization`, but resolves with the response body together with the HTTP status and headers.
966
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
967
+ * @param {OrganizationsApiAddOrganizationRequest} requestParameters Request parameters.
968
+
969
+ * @throws {RequiredError}
970
+ * @memberof OrganizationsApi
971
+ */
972
+ addOrganizationWithHttpInfo(requestParameters = {}) {
973
+ return OrganizationsApiFp(this.configuration).addOrganizationWithHttpInfo(requestParameters.AddOrganizationRequest).then((request) => request(this.axios, this.basePath));
974
+ }
777
975
  /**
778
976
  * Adds a user as a follower to the organization.
779
977
  * @summary Add a follower to an organization
@@ -785,6 +983,17 @@ export class OrganizationsApi extends BaseAPI {
785
983
  addOrganizationFollower(requestParameters) {
786
984
  return OrganizationsApiFp(this.configuration).addOrganizationFollower(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(this.axios, this.basePath));
787
985
  }
986
+ /**
987
+ * Same as `addOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
988
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
989
+ * @param {OrganizationsApiAddOrganizationFollowerRequest} requestParameters Request parameters.
990
+
991
+ * @throws {RequiredError}
992
+ * @memberof OrganizationsApi
993
+ */
994
+ addOrganizationFollowerWithHttpInfo(requestParameters) {
995
+ return OrganizationsApiFp(this.configuration).addOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(this.axios, this.basePath));
996
+ }
788
997
  /**
789
998
  * Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
790
999
  * @summary Delete a organization
@@ -796,6 +1005,17 @@ export class OrganizationsApi extends BaseAPI {
796
1005
  deleteOrganization(requestParameters) {
797
1006
  return OrganizationsApiFp(this.configuration).deleteOrganization(requestParameters.id).then((request) => request(this.axios, this.basePath));
798
1007
  }
1008
+ /**
1009
+ * Same as `deleteOrganization`, but resolves with the response body together with the HTTP status and headers.
1010
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1011
+ * @param {OrganizationsApiDeleteOrganizationRequest} requestParameters Request parameters.
1012
+
1013
+ * @throws {RequiredError}
1014
+ * @memberof OrganizationsApi
1015
+ */
1016
+ deleteOrganizationWithHttpInfo(requestParameters) {
1017
+ return OrganizationsApiFp(this.configuration).deleteOrganizationWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
1018
+ }
799
1019
  /**
800
1020
  * Deletes a user follower from the organization.
801
1021
  * @summary Delete a follower from an organization
@@ -807,6 +1027,17 @@ export class OrganizationsApi extends BaseAPI {
807
1027
  deleteOrganizationFollower(requestParameters) {
808
1028
  return OrganizationsApiFp(this.configuration).deleteOrganizationFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
809
1029
  }
1030
+ /**
1031
+ * Same as `deleteOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
1032
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1033
+ * @param {OrganizationsApiDeleteOrganizationFollowerRequest} requestParameters Request parameters.
1034
+
1035
+ * @throws {RequiredError}
1036
+ * @memberof OrganizationsApi
1037
+ */
1038
+ deleteOrganizationFollowerWithHttpInfo(requestParameters) {
1039
+ return OrganizationsApiFp(this.configuration).deleteOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
1040
+ }
810
1041
  /**
811
1042
  * Returns the details of a specific organization.
812
1043
  * @summary Get details of a organization
@@ -818,6 +1049,17 @@ export class OrganizationsApi extends BaseAPI {
818
1049
  getOrganization(requestParameters) {
819
1050
  return OrganizationsApiFp(this.configuration).getOrganization(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(this.axios, this.basePath));
820
1051
  }
1052
+ /**
1053
+ * Same as `getOrganization`, but resolves with the response body together with the HTTP status and headers.
1054
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1055
+ * @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
1056
+
1057
+ * @throws {RequiredError}
1058
+ * @memberof OrganizationsApi
1059
+ */
1060
+ getOrganizationWithHttpInfo(requestParameters) {
1061
+ return OrganizationsApiFp(this.configuration).getOrganizationWithHttpInfo(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(this.axios, this.basePath));
1062
+ }
821
1063
  /**
822
1064
  * Lists users who are following the organization.
823
1065
  * @summary List followers of an organization
@@ -829,6 +1071,17 @@ export class OrganizationsApi extends BaseAPI {
829
1071
  getOrganizationFollowers(requestParameters) {
830
1072
  return OrganizationsApiFp(this.configuration).getOrganizationFollowers(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
831
1073
  }
1074
+ /**
1075
+ * Same as `getOrganizationFollowers`, but resolves with the response body together with the HTTP status and headers.
1076
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1077
+ * @param {OrganizationsApiGetOrganizationFollowersRequest} requestParameters Request parameters.
1078
+
1079
+ * @throws {RequiredError}
1080
+ * @memberof OrganizationsApi
1081
+ */
1082
+ getOrganizationFollowersWithHttpInfo(requestParameters) {
1083
+ return OrganizationsApiFp(this.configuration).getOrganizationFollowersWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1084
+ }
832
1085
  /**
833
1086
  * Lists changelogs about users have followed the organization.
834
1087
  * @summary List followers changelog of an organization
@@ -840,6 +1093,17 @@ export class OrganizationsApi extends BaseAPI {
840
1093
  getOrganizationFollowersChangelog(requestParameters) {
841
1094
  return OrganizationsApiFp(this.configuration).getOrganizationFollowersChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
842
1095
  }
1096
+ /**
1097
+ * Same as `getOrganizationFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
1098
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1099
+ * @param {OrganizationsApiGetOrganizationFollowersChangelogRequest} requestParameters Request parameters.
1100
+
1101
+ * @throws {RequiredError}
1102
+ * @memberof OrganizationsApi
1103
+ */
1104
+ getOrganizationFollowersChangelogWithHttpInfo(requestParameters) {
1105
+ return OrganizationsApiFp(this.configuration).getOrganizationFollowersChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1106
+ }
843
1107
  /**
844
1108
  * Returns data about all organizations.
845
1109
  * @summary Get all organizations
@@ -851,6 +1115,17 @@ export class OrganizationsApi extends BaseAPI {
851
1115
  getOrganizations(requestParameters = {}) {
852
1116
  return OrganizationsApiFp(this.configuration).getOrganizations(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
853
1117
  }
1118
+ /**
1119
+ * Same as `getOrganizations`, but resolves with the response body together with the HTTP status and headers.
1120
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1121
+ * @param {OrganizationsApiGetOrganizationsRequest} requestParameters Request parameters.
1122
+
1123
+ * @throws {RequiredError}
1124
+ * @memberof OrganizationsApi
1125
+ */
1126
+ getOrganizationsWithHttpInfo(requestParameters = {}) {
1127
+ return OrganizationsApiFp(this.configuration).getOrganizationsWithHttpInfo(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1128
+ }
854
1129
  /**
855
1130
  * Searches all organizations by name, address, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
856
1131
  * @summary Search organizations
@@ -862,6 +1137,17 @@ export class OrganizationsApi extends BaseAPI {
862
1137
  searchOrganization(requestParameters) {
863
1138
  return OrganizationsApiFp(this.configuration).searchOrganization(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
864
1139
  }
1140
+ /**
1141
+ * Same as `searchOrganization`, but resolves with the response body together with the HTTP status and headers.
1142
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1143
+ * @param {OrganizationsApiSearchOrganizationRequest} requestParameters Request parameters.
1144
+
1145
+ * @throws {RequiredError}
1146
+ * @memberof OrganizationsApi
1147
+ */
1148
+ searchOrganizationWithHttpInfo(requestParameters) {
1149
+ return OrganizationsApiFp(this.configuration).searchOrganizationWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
1150
+ }
865
1151
  /**
866
1152
  * Updates the properties of a organization.
867
1153
  * @summary Update a organization
@@ -873,4 +1159,15 @@ export class OrganizationsApi extends BaseAPI {
873
1159
  updateOrganization(requestParameters) {
874
1160
  return OrganizationsApiFp(this.configuration).updateOrganization(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(this.axios, this.basePath));
875
1161
  }
1162
+ /**
1163
+ * Same as `updateOrganization`, but resolves with the response body together with the HTTP status and headers.
1164
+ * Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
1165
+ * @param {OrganizationsApiUpdateOrganizationRequest} requestParameters Request parameters.
1166
+
1167
+ * @throws {RequiredError}
1168
+ * @memberof OrganizationsApi
1169
+ */
1170
+ updateOrganizationWithHttpInfo(requestParameters) {
1171
+ return OrganizationsApiFp(this.configuration).updateOrganizationWithHttpInfo(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(this.axios, this.basePath));
1172
+ }
876
1173
  }