pipedrive 23.2.5-rc.2 → 23.3.0-rc.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2068) hide show
  1. package/dist/api/deals-api.d.ts +4 -4
  2. package/dist/api/deals-api.js +4 -4
  3. package/dist/configuration.d.ts +6 -5
  4. package/dist/configuration.js +4 -1
  5. package/dist/esm/api/deals-api.d.ts +4 -4
  6. package/dist/esm/api/deals-api.js +4 -4
  7. package/dist/esm/configuration.d.ts +6 -5
  8. package/dist/esm/configuration.js +4 -1
  9. package/dist/esm/models/activity-collection-response-object-all-of.d.ts +26 -26
  10. package/dist/esm/models/activity-response-object-all-of1.d.ts +51 -51
  11. package/dist/esm/models/add-channel200-response.d.ts +2 -2
  12. package/dist/esm/models/add-deal-product-request-all-of.d.ts +1 -1
  13. package/dist/esm/models/add-filters-response-all-of.d.ts +1 -1
  14. package/dist/esm/models/add-new-follower-response.d.ts +2 -2
  15. package/dist/esm/models/add-organization-follower-response.d.ts +2 -2
  16. package/dist/esm/models/add-organization-relationship-response-all-of.d.ts +2 -2
  17. package/dist/esm/models/add-organization-response-all-of.d.ts +2 -2
  18. package/dist/esm/models/add-person-follower-response-all-of.d.ts +1 -1
  19. package/dist/esm/models/add-person-picture-response-all-of.d.ts +1 -1
  20. package/dist/esm/models/add-person-response-all-of.d.ts +2 -2
  21. package/{models/basic-deal.ts → dist/esm/models/basic-deal1.d.ts} +21 -29
  22. package/{models/team-id.ts → dist/esm/models/basic-deal1.js} +7 -18
  23. package/{models/basic-organization.ts → dist/esm/models/basic-organization1.d.ts} +18 -26
  24. package/{models/owner-all-of.ts → dist/esm/models/basic-organization1.js} +7 -18
  25. package/dist/esm/models/deal-collection-response-object.d.ts +21 -21
  26. package/dist/esm/models/deal-product-request-body.d.ts +1 -1
  27. package/dist/esm/models/deal-product-request-body1.d.ts +1 -1
  28. package/dist/esm/models/delete-activity-types-response-all-of.d.ts +1 -1
  29. package/dist/esm/models/delete-fields-response-all-of.d.ts +1 -1
  30. package/dist/esm/models/delete-filter-response-all-of.d.ts +1 -1
  31. package/dist/esm/models/delete-filters-response-all-of.d.ts +1 -1
  32. package/dist/esm/models/delete-organization-follower-response.d.ts +2 -2
  33. package/dist/esm/models/delete-organization-relationship-response-all-of.d.ts +1 -1
  34. package/dist/esm/models/delete-organization-response.d.ts +2 -2
  35. package/dist/esm/models/delete-organizations-response.d.ts +2 -2
  36. package/dist/esm/models/delete-person-response-all-of.d.ts +1 -1
  37. package/dist/esm/models/delete-persons-response-all-of.d.ts +1 -1
  38. package/dist/esm/models/delete-product-field-response.d.ts +2 -2
  39. package/dist/esm/models/delete-product-fields-response.d.ts +2 -2
  40. package/dist/esm/models/delete-product-follower-response.d.ts +2 -2
  41. package/dist/esm/models/delete-product-response.d.ts +2 -2
  42. package/dist/esm/models/delete-response-all-of.d.ts +1 -1
  43. package/dist/esm/models/fail-response.d.ts +2 -2
  44. package/dist/esm/models/get-activity-types-response-all-of-data-inner.d.ts +10 -10
  45. package/dist/esm/models/get-activity-types-response-all-of.d.ts +1 -1
  46. package/dist/esm/models/get-associated-activities-response-all-of.d.ts +2 -2
  47. package/dist/esm/models/get-associated-deals-response-all-of.d.ts +3 -3
  48. package/dist/esm/models/get-associated-files-response-all-of.d.ts +2 -2
  49. package/dist/esm/models/get-associated-followers-response-all-of.d.ts +2 -2
  50. package/dist/esm/models/get-associated-followers-response1.d.ts +3 -3
  51. package/dist/esm/models/get-associated-mail-messages-response-all-of.d.ts +2 -2
  52. package/dist/esm/models/get-associated-organization-updates-response-all-of.d.ts +3 -3
  53. package/dist/esm/models/get-associated-person-updates-response-all-of.d.ts +3 -3
  54. package/dist/esm/models/get-associated-product-files-response-all-of.d.ts +2 -2
  55. package/dist/esm/models/get-call-log-response.d.ts +2 -2
  56. package/dist/esm/models/get-call-logs-response.d.ts +3 -3
  57. package/dist/esm/models/get-changelog-response-all-of.d.ts +2 -2
  58. package/dist/esm/models/get-deal-activities-response-all-of.d.ts +3 -3
  59. package/dist/esm/models/get-deal-search-response-all-of.d.ts +2 -2
  60. package/dist/esm/models/get-deal-updates-response-all-of.d.ts +3 -3
  61. package/dist/esm/models/get-field-response-all-of.d.ts +3 -3
  62. package/{models/get-fields-response-all-of-data-inner.ts → dist/esm/models/get-fields-response-all-of-data-inner-all-of.d.ts} +49 -58
  63. package/dist/esm/models/get-fields-response-all-of-data-inner-all-of.js +32 -0
  64. package/dist/esm/models/get-fields-response-all-of-data-inner-all-of1.d.ts +61 -0
  65. package/dist/esm/models/get-fields-response-all-of-data-inner-all-of1.js +49 -0
  66. package/dist/esm/models/get-fields-response-all-of-data-inner.d.ts +4 -168
  67. package/dist/esm/models/get-fields-response-all-of-data-inner.js +1 -19
  68. package/dist/esm/models/get-fields-response-all-of.d.ts +2 -2
  69. package/dist/esm/models/get-filters-response-all-of.d.ts +1 -1
  70. package/dist/esm/models/get-filters-response1-all-of.d.ts +1 -1
  71. package/dist/esm/models/get-goals-response-data.d.ts +1 -1
  72. package/dist/esm/models/get-item-search-field-response-all-of.d.ts +2 -2
  73. package/dist/esm/models/get-item-search-response-all-of.d.ts +2 -2
  74. package/dist/esm/models/get-lead-labels-response-data-inner.d.ts +5 -5
  75. package/dist/esm/models/get-lead-search-response-all-of.d.ts +2 -2
  76. package/dist/esm/models/get-leads-response-data-inner.d.ts +21 -21
  77. package/dist/esm/models/get-mail-message-response-all-of.d.ts +4 -4
  78. package/{models/get-note-fields-response-all-of-data-inner-options-inner.ts → dist/esm/models/get-note-fields-response-all-of-data-inner-all-of-options-inner.d.ts} +8 -14
  79. package/{index.ts → dist/esm/models/get-note-fields-response-all-of-data-inner-all-of-options-inner.js} +2 -6
  80. package/{models/get-note-fields-response-all-of-data-inner.ts → dist/esm/models/get-note-fields-response-all-of-data-inner-all-of.d.ts} +37 -48
  81. package/dist/esm/models/get-note-fields-response-all-of-data-inner-all-of.js +32 -0
  82. package/dist/esm/models/get-note-fields-response-all-of-data-inner.d.ts +4 -79
  83. package/dist/esm/models/get-note-fields-response-all-of-data-inner.js +1 -19
  84. package/dist/esm/models/get-note-fields-response-all-of.d.ts +2 -2
  85. package/dist/esm/models/get-organization-relationship-response-all-of.d.ts +2 -2
  86. package/dist/esm/models/get-organization-relationships-response-all-of.d.ts +3 -3
  87. package/dist/esm/models/get-organization-response-all-of.d.ts +3 -3
  88. package/dist/esm/models/get-organization-search-response-all-of.d.ts +2 -2
  89. package/dist/esm/models/get-organizations-collection-response-object-all-of.d.ts +11 -11
  90. package/dist/esm/models/get-organizations-response-all-of.d.ts +3 -3
  91. package/dist/esm/models/get-payments-response-all-of.d.ts +1 -1
  92. package/dist/esm/models/get-permitted-users-response1-all-of.d.ts +1 -1
  93. package/dist/esm/models/get-person-details-response-all-of.d.ts +3 -3
  94. package/dist/esm/models/get-person-products-response-all-of.d.ts +2 -2
  95. package/dist/esm/models/get-person-search-response-all-of.d.ts +2 -2
  96. package/dist/esm/models/get-persons-response-all-of.d.ts +3 -3
  97. package/dist/esm/models/get-persons-response1-all-of.d.ts +3 -3
  98. package/dist/esm/models/get-product-field-response.d.ts +2 -2
  99. package/{models/get-product-field-response-data.ts → dist/esm/models/get-product-fields-response-data-inner.d.ts} +4 -13
  100. package/{models/base-response1.ts → dist/esm/models/get-product-fields-response-data-inner.js} +2 -18
  101. package/dist/esm/models/get-product-fields-response.d.ts +5 -5
  102. package/dist/esm/models/get-product-followers-response-all-of.d.ts +2 -2
  103. package/dist/esm/models/get-product-response.d.ts +3 -3
  104. package/dist/esm/models/get-product-search-response-all-of.d.ts +2 -2
  105. package/dist/esm/models/get-products-response-all-of.d.ts +3 -3
  106. package/dist/esm/models/get-products-response1.d.ts +4 -4
  107. package/dist/esm/models/get-subscription-addons-response-all-of.d.ts +1 -1
  108. package/dist/esm/models/get-subscriptions-id-response-all-of.d.ts +1 -1
  109. package/dist/esm/models/get-user-provider-link-success-response.d.ts +2 -2
  110. package/dist/esm/models/index.d.ts +8 -1
  111. package/dist/esm/models/index.js +8 -1
  112. package/dist/esm/models/merge-organizations-response.d.ts +2 -2
  113. package/dist/esm/models/merge-persons-response-all-of.d.ts +1 -1
  114. package/dist/esm/models/persons-collection-response-object.d.ts +15 -15
  115. package/dist/esm/models/product-request.d.ts +1 -1
  116. package/{models/product-request.ts → dist/esm/models/product-request1.d.ts} +24 -32
  117. package/dist/esm/models/product-request1.js +19 -0
  118. package/dist/esm/models/response-call-log-object-all-of.d.ts +3 -3
  119. package/dist/esm/models/update-deal-product-request-all-of.d.ts +1 -1
  120. package/dist/esm/models/update-deal-request.d.ts +2 -2
  121. package/dist/esm/models/update-organization-request.d.ts +2 -2
  122. package/dist/esm/models/update-organization-response-all-of.d.ts +2 -2
  123. package/dist/esm/models/update-person-request-all-of.d.ts +1 -0
  124. package/dist/esm/models/update-product-request.d.ts +2 -2
  125. package/dist/esm/models/update-product-response.d.ts +3 -3
  126. package/dist/esm/models/upsert-activity-type-response-all-of.d.ts +1 -1
  127. package/dist/esm/models/upsert-goal-response-data-goal.d.ts +10 -10
  128. package/dist/esm/models/upsert-goal-response-data.d.ts +1 -1
  129. package/dist/esm/models/user-provider-link-error-response.d.ts +2 -2
  130. package/dist/models/activity-collection-response-object-all-of.d.ts +26 -26
  131. package/dist/models/activity-response-object-all-of1.d.ts +51 -51
  132. package/dist/models/add-channel200-response.d.ts +2 -2
  133. package/dist/models/add-deal-product-request-all-of.d.ts +1 -1
  134. package/dist/models/add-filters-response-all-of.d.ts +1 -1
  135. package/dist/models/add-new-follower-response.d.ts +2 -2
  136. package/dist/models/add-organization-follower-response.d.ts +2 -2
  137. package/dist/models/add-organization-relationship-response-all-of.d.ts +2 -2
  138. package/dist/models/add-organization-response-all-of.d.ts +2 -2
  139. package/dist/models/add-person-follower-response-all-of.d.ts +1 -1
  140. package/dist/models/add-person-picture-response-all-of.d.ts +1 -1
  141. package/dist/models/add-person-response-all-of.d.ts +2 -2
  142. package/dist/models/basic-deal1.d.ts +68 -0
  143. package/{models/get-lead-id-response-data.ts → dist/models/basic-deal1.js} +10 -18
  144. package/dist/models/basic-organization1.d.ts +50 -0
  145. package/{models/base-response.ts → dist/models/basic-organization1.js} +10 -18
  146. package/dist/models/deal-collection-response-object.d.ts +21 -21
  147. package/dist/models/deal-product-request-body.d.ts +1 -1
  148. package/dist/models/deal-product-request-body1.d.ts +1 -1
  149. package/dist/models/delete-activity-types-response-all-of.d.ts +1 -1
  150. package/dist/models/delete-fields-response-all-of.d.ts +1 -1
  151. package/dist/models/delete-filter-response-all-of.d.ts +1 -1
  152. package/dist/models/delete-filters-response-all-of.d.ts +1 -1
  153. package/dist/models/delete-organization-follower-response.d.ts +2 -2
  154. package/dist/models/delete-organization-relationship-response-all-of.d.ts +1 -1
  155. package/dist/models/delete-organization-response.d.ts +2 -2
  156. package/dist/models/delete-organizations-response.d.ts +2 -2
  157. package/dist/models/delete-person-response-all-of.d.ts +1 -1
  158. package/dist/models/delete-persons-response-all-of.d.ts +1 -1
  159. package/dist/models/delete-product-field-response.d.ts +2 -2
  160. package/dist/models/delete-product-fields-response.d.ts +2 -2
  161. package/dist/models/delete-product-follower-response.d.ts +2 -2
  162. package/dist/models/delete-product-response.d.ts +2 -2
  163. package/dist/models/delete-response-all-of.d.ts +1 -1
  164. package/dist/models/fail-response.d.ts +2 -2
  165. package/dist/models/get-activity-types-response-all-of-data-inner.d.ts +10 -10
  166. package/dist/models/get-activity-types-response-all-of.d.ts +1 -1
  167. package/dist/models/get-associated-activities-response-all-of.d.ts +2 -2
  168. package/dist/models/get-associated-deals-response-all-of.d.ts +3 -3
  169. package/dist/models/get-associated-files-response-all-of.d.ts +2 -2
  170. package/dist/models/get-associated-followers-response-all-of.d.ts +2 -2
  171. package/dist/models/get-associated-followers-response1.d.ts +3 -3
  172. package/dist/models/get-associated-mail-messages-response-all-of.d.ts +2 -2
  173. package/dist/models/get-associated-organization-updates-response-all-of.d.ts +3 -3
  174. package/dist/models/get-associated-person-updates-response-all-of.d.ts +3 -3
  175. package/dist/models/get-associated-product-files-response-all-of.d.ts +2 -2
  176. package/dist/models/get-call-log-response.d.ts +2 -2
  177. package/dist/models/get-call-logs-response.d.ts +3 -3
  178. package/dist/models/get-changelog-response-all-of.d.ts +2 -2
  179. package/dist/models/get-deal-activities-response-all-of.d.ts +3 -3
  180. package/dist/models/get-deal-search-response-all-of.d.ts +2 -2
  181. package/dist/models/get-deal-updates-response-all-of.d.ts +3 -3
  182. package/dist/models/get-field-response-all-of.d.ts +3 -3
  183. package/dist/models/get-fields-response-all-of-data-inner-all-of.d.ts +182 -0
  184. package/dist/models/get-fields-response-all-of-data-inner-all-of.js +35 -0
  185. package/dist/models/get-fields-response-all-of-data-inner-all-of1.d.ts +61 -0
  186. package/dist/models/get-fields-response-all-of-data-inner-all-of1.js +52 -0
  187. package/dist/models/get-fields-response-all-of-data-inner.d.ts +4 -168
  188. package/dist/models/get-fields-response-all-of-data-inner.js +0 -20
  189. package/dist/models/get-fields-response-all-of.d.ts +2 -2
  190. package/dist/models/get-filters-response-all-of.d.ts +1 -1
  191. package/dist/models/get-filters-response1-all-of.d.ts +1 -1
  192. package/dist/models/get-goals-response-data.d.ts +1 -1
  193. package/dist/models/get-item-search-field-response-all-of.d.ts +2 -2
  194. package/dist/models/get-item-search-response-all-of.d.ts +2 -2
  195. package/dist/models/get-lead-labels-response-data-inner.d.ts +5 -5
  196. package/dist/models/get-lead-search-response-all-of.d.ts +2 -2
  197. package/dist/models/get-leads-response-data-inner.d.ts +21 -21
  198. package/dist/models/get-mail-message-response-all-of.d.ts +4 -4
  199. package/{models/add-role-request.ts → dist/models/get-note-fields-response-all-of-data-inner-all-of-options-inner.d.ts} +12 -18
  200. package/dist/models/get-note-fields-response-all-of-data-inner-all-of-options-inner.js +15 -0
  201. package/dist/models/get-note-fields-response-all-of-data-inner-all-of.d.ts +93 -0
  202. package/dist/models/get-note-fields-response-all-of-data-inner-all-of.js +35 -0
  203. package/dist/models/get-note-fields-response-all-of-data-inner.d.ts +4 -79
  204. package/dist/models/get-note-fields-response-all-of-data-inner.js +0 -20
  205. package/dist/models/get-note-fields-response-all-of.d.ts +2 -2
  206. package/dist/models/get-organization-relationship-response-all-of.d.ts +2 -2
  207. package/dist/models/get-organization-relationships-response-all-of.d.ts +3 -3
  208. package/dist/models/get-organization-response-all-of.d.ts +3 -3
  209. package/dist/models/get-organization-search-response-all-of.d.ts +2 -2
  210. package/dist/models/get-organizations-collection-response-object-all-of.d.ts +11 -11
  211. package/dist/models/get-organizations-response-all-of.d.ts +3 -3
  212. package/dist/models/get-payments-response-all-of.d.ts +1 -1
  213. package/dist/models/get-permitted-users-response1-all-of.d.ts +1 -1
  214. package/dist/models/get-person-details-response-all-of.d.ts +3 -3
  215. package/dist/models/get-person-products-response-all-of.d.ts +2 -2
  216. package/dist/models/get-person-search-response-all-of.d.ts +2 -2
  217. package/dist/models/get-persons-response-all-of.d.ts +3 -3
  218. package/dist/models/get-persons-response1-all-of.d.ts +3 -3
  219. package/dist/models/get-product-field-response.d.ts +2 -2
  220. package/{models/add-deal-participant-request.ts → dist/models/get-product-fields-response-data-inner.d.ts} +5 -17
  221. package/dist/models/get-product-fields-response-data-inner.js +15 -0
  222. package/dist/models/get-product-fields-response.d.ts +5 -5
  223. package/dist/models/get-product-followers-response-all-of.d.ts +2 -2
  224. package/dist/models/get-product-response.d.ts +3 -3
  225. package/dist/models/get-product-search-response-all-of.d.ts +2 -2
  226. package/dist/models/get-products-response-all-of.d.ts +3 -3
  227. package/dist/models/get-products-response1.d.ts +4 -4
  228. package/dist/models/get-subscription-addons-response-all-of.d.ts +1 -1
  229. package/dist/models/get-subscriptions-id-response-all-of.d.ts +1 -1
  230. package/dist/models/get-user-provider-link-success-response.d.ts +2 -2
  231. package/dist/models/index.d.ts +8 -1
  232. package/dist/models/index.js +8 -1
  233. package/dist/models/merge-organizations-response.d.ts +2 -2
  234. package/dist/models/merge-persons-response-all-of.d.ts +1 -1
  235. package/dist/models/persons-collection-response-object.d.ts +15 -15
  236. package/dist/models/product-request.d.ts +1 -1
  237. package/dist/models/product-request1.d.ts +80 -0
  238. package/{models/deal-title-param.ts → dist/models/product-request1.js} +10 -18
  239. package/dist/models/response-call-log-object-all-of.d.ts +3 -3
  240. package/dist/models/update-deal-product-request-all-of.d.ts +1 -1
  241. package/dist/models/update-deal-request.d.ts +2 -2
  242. package/dist/models/update-organization-request.d.ts +2 -2
  243. package/dist/models/update-organization-response-all-of.d.ts +2 -2
  244. package/dist/models/update-person-request-all-of.d.ts +1 -0
  245. package/dist/models/update-product-request.d.ts +2 -2
  246. package/dist/models/update-product-response.d.ts +3 -3
  247. package/dist/models/upsert-activity-type-response-all-of.d.ts +1 -1
  248. package/dist/models/upsert-goal-response-data-goal.d.ts +10 -10
  249. package/dist/models/upsert-goal-response-data.d.ts +1 -1
  250. package/dist/models/user-provider-link-error-response.d.ts +2 -2
  251. package/package.json +17 -1
  252. package/.babelrc +0 -34
  253. package/.dora.json +0 -11
  254. package/.editorconfig +0 -25
  255. package/.eslintignore +0 -5
  256. package/.eslintrc.json +0 -10
  257. package/.github/workflows/auto-close-stale-issues.yml +0 -19
  258. package/.github/workflows/on-commit.yml +0 -33
  259. package/.github/workflows/on-pd-bot-pr-opened.yml +0 -50
  260. package/.nvmrc +0 -1
  261. package/.openapi-generator/FILES +0 -859
  262. package/.openapi-generator/VERSION +0 -1
  263. package/.openapi-generator-ignore +0 -23
  264. package/.travis.yml +0 -5
  265. package/CHANGELOG.md +0 -739
  266. package/CertificateAuthorityCertificate.pem +0 -22
  267. package/Jenkinsfile +0 -3
  268. package/api/activities-api.ts +0 -886
  269. package/api/activity-fields-api.ts +0 -129
  270. package/api/activity-types-api.ts +0 -504
  271. package/api/billing-api.ts +0 -129
  272. package/api/call-logs-api.ts +0 -553
  273. package/api/channels-api.ts +0 -444
  274. package/api/currencies-api.ts +0 -151
  275. package/api/deal-fields-api.ts +0 -629
  276. package/api/deals-api.ts +0 -3642
  277. package/api/files-api.ts +0 -1039
  278. package/api/filters-api.ts +0 -685
  279. package/api/goals-api.ts +0 -719
  280. package/api/item-search-api.ts +0 -419
  281. package/api/lead-labels-api.ts +0 -415
  282. package/api/lead-sources-api.ts +0 -129
  283. package/api/leads-api.ts +0 -890
  284. package/api/legacy-teams-api.ts +0 -869
  285. package/api/mailbox-api.ts +0 -711
  286. package/api/meetings-api.ts +0 -242
  287. package/api/note-fields-api.ts +0 -129
  288. package/api/notes-api.ts +0 -1230
  289. package/api/organization-fields-api.ts +0 -629
  290. package/api/organization-relationships-api.ts +0 -542
  291. package/api/organizations-api.ts +0 -2394
  292. package/api/permission-sets-api.ts +0 -357
  293. package/api/person-fields-api.ts +0 -629
  294. package/api/persons-api.ts +0 -2654
  295. package/api/pipelines-api.ts +0 -986
  296. package/api/product-fields-api.ts +0 -631
  297. package/api/products-api.ts +0 -1431
  298. package/api/project-templates-api.ts +0 -434
  299. package/api/projects-api.ts +0 -1432
  300. package/api/recents-api.ts +0 -192
  301. package/api/roles-api.ts +0 -1263
  302. package/api/stages-api.ts +0 -812
  303. package/api/subscriptions-api.ts +0 -902
  304. package/api/tasks-api.ts +0 -592
  305. package/api/user-connections-api.ts +0 -131
  306. package/api/user-settings-api.ts +0 -131
  307. package/api/users-api.ts +0 -974
  308. package/api/webhooks-api.ts +0 -317
  309. package/api.ts +0 -58
  310. package/babel.config.js +0 -1
  311. package/base.ts +0 -124
  312. package/common.ts +0 -148
  313. package/configuration.ts +0 -306
  314. package/docs/ActivitiesApi.md +0 -424
  315. package/docs/ActivityCollectionResponseObject.md +0 -44
  316. package/docs/ActivityCollectionResponseObjectAllOf.md +0 -34
  317. package/docs/ActivityDistributionData.md +0 -9
  318. package/docs/ActivityDistributionDataActivityDistribution.md +0 -9
  319. package/docs/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.md +0 -12
  320. package/docs/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.md +0 -9
  321. package/docs/ActivityDistributionDataWithAdditionalData.md +0 -12
  322. package/docs/ActivityFieldsApi.md +0 -58
  323. package/docs/ActivityInfo.md +0 -13
  324. package/docs/ActivityObjectFragment.md +0 -18
  325. package/docs/ActivityPostObject.md +0 -26
  326. package/docs/ActivityPostObjectAllOf.md +0 -16
  327. package/docs/ActivityPutObject.md +0 -26
  328. package/docs/ActivityPutObjectAllOf.md +0 -16
  329. package/docs/ActivityRecordAdditionalData.md +0 -9
  330. package/docs/ActivityResponseObject.md +0 -69
  331. package/docs/ActivityResponseObjectAllOf.md +0 -59
  332. package/docs/ActivityTypeBulkDeleteResponse.md +0 -10
  333. package/docs/ActivityTypeBulkDeleteResponseAllOf.md +0 -9
  334. package/docs/ActivityTypeBulkDeleteResponseAllOfData.md +0 -9
  335. package/docs/ActivityTypeCreateRequest.md +0 -11
  336. package/docs/ActivityTypeCreateUpdateDeleteResponse.md +0 -10
  337. package/docs/ActivityTypeCreateUpdateDeleteResponseAllOf.md +0 -9
  338. package/docs/ActivityTypeListResponse.md +0 -10
  339. package/docs/ActivityTypeListResponseAllOf.md +0 -9
  340. package/docs/ActivityTypeObjectResponse.md +0 -18
  341. package/docs/ActivityTypeUpdateRequest.md +0 -12
  342. package/docs/ActivityTypesApi.md +0 -280
  343. package/docs/AddActivityResponse.md +0 -12
  344. package/docs/AddActivityResponse200.md +0 -12
  345. package/docs/AddActivityResponse200RelatedObjects.md +0 -12
  346. package/docs/AddActivityResponseRelatedObjects.md +0 -12
  347. package/docs/AddCallLogAudioFileRequest.md +0 -9
  348. package/docs/AddDealFollowerRequest.md +0 -9
  349. package/docs/AddDealParticipantRequest.md +0 -9
  350. package/docs/AddFile.md +0 -10
  351. package/docs/AddFileAndLinkItRequest.md +0 -52
  352. package/docs/AddFileRequest.md +0 -14
  353. package/docs/AddFilterRequest.md +0 -11
  354. package/docs/AddFollowerToPersonResponse.md +0 -10
  355. package/docs/AddFollowerToPersonResponseAllOf.md +0 -9
  356. package/docs/AddFollowerToPersonResponseAllOfData.md +0 -12
  357. package/docs/AddLeadLabelRequest.md +0 -10
  358. package/docs/AddLeadRequest.md +0 -20
  359. package/docs/AddNewPipeline.md +0 -10
  360. package/docs/AddNewPipelineAllOf.md +0 -9
  361. package/docs/AddNoteRequest.md +0 -19
  362. package/docs/AddNoteRequestAllOf.md +0 -13
  363. package/docs/AddOrUpdateGoalResponse200.md +0 -10
  364. package/docs/AddOrUpdateLeadLabelResponse200.md +0 -10
  365. package/docs/AddOrUpdateRoleSettingRequest.md +0 -42
  366. package/docs/AddOrganizationFollowerRequest.md +0 -9
  367. package/docs/AddOrganizationRelationshipRequest.md +0 -23
  368. package/docs/AddPersonFollowerRequest.md +0 -9
  369. package/docs/AddPersonPictureRequest.md +0 -13
  370. package/docs/AddPersonPictureResponse.md +0 -10
  371. package/docs/AddPersonPictureResponseAllOf.md +0 -9
  372. package/docs/AddPersonResponse.md +0 -11
  373. package/docs/AddPersonResponseAllOf.md +0 -10
  374. package/docs/AddPersonResponseAllOfRelatedObjects.md +0 -9
  375. package/docs/AddProductAttachmentDetails.md +0 -55
  376. package/docs/AddProductAttachmentDetailsAllOf.md +0 -9
  377. package/docs/AddProductFollowerRequest.md +0 -9
  378. package/docs/AddProductRequestBody.md +0 -20
  379. package/docs/AddProductRequestBodyAllOf.md +0 -9
  380. package/docs/AddProjectResponse.md +0 -11
  381. package/docs/AddProjectResponse201.md +0 -11
  382. package/docs/AddRole.md +0 -10
  383. package/docs/AddRoleAssignmentRequest.md +0 -9
  384. package/docs/AddTaskResponse.md +0 -11
  385. package/docs/AddTaskResponse201.md +0 -11
  386. package/docs/AddTeamUserRequest.md +0 -9
  387. package/docs/AddUserBlacklistedEmailRequest.md +0 -9
  388. package/docs/AddUserRequest.md +0 -11
  389. package/docs/AddUserRoleAssignmentRequest.md +0 -9
  390. package/docs/AddWebhookRequest.md +0 -72
  391. package/docs/AddedDealFollower.md +0 -10
  392. package/docs/AddedDealFollowerData.md +0 -12
  393. package/docs/AdditionalBaseOrganizationItemInfo.md +0 -40
  394. package/docs/AdditionalData.md +0 -11
  395. package/docs/AdditionalDataWithCursorPagination.md +0 -9
  396. package/docs/AdditionalDataWithOffsetPagination.md +0 -9
  397. package/docs/AdditionalDataWithPagination.md +0 -9
  398. package/docs/AdditionalDataWithPaginationDetails.md +0 -9
  399. package/docs/AdditionalMergePersonInfo.md +0 -38
  400. package/docs/AdditionalPersonInfo.md +0 -35
  401. package/docs/AllOrganizationRelationshipsGetResponse.md +0 -12
  402. package/docs/AllOrganizationRelationshipsGetResponseAllOf.md +0 -11
  403. package/docs/AllOrganizationRelationshipsGetResponseAllOfRelatedObjects.md +0 -9
  404. package/docs/AllOrganizationsGetResponse.md +0 -12
  405. package/docs/AllOrganizationsGetResponseAllOf.md +0 -11
  406. package/docs/AllOrganizationsGetResponseAllOfRelatedObjects.md +0 -11
  407. package/docs/ArrayPrices.md +0 -9
  408. package/docs/Assignee.md +0 -10
  409. package/docs/BaseComment.md +0 -18
  410. package/docs/BaseCurrency.md +0 -15
  411. package/docs/BaseDeal.md +0 -70
  412. package/docs/BaseFollowerItem.md +0 -11
  413. package/docs/BaseMailThread.md +0 -45
  414. package/docs/BaseMailThreadAllOf.md +0 -31
  415. package/docs/BaseMailThreadAllOfParties.md +0 -10
  416. package/docs/BaseMailThreadMessages.md +0 -35
  417. package/docs/BaseMailThreadMessagesAllOf.md +0 -21
  418. package/docs/BaseNote.md +0 -26
  419. package/docs/BaseNoteDealTitle.md +0 -9
  420. package/docs/BaseNoteOrganization.md +0 -9
  421. package/docs/BaseNotePerson.md +0 -9
  422. package/docs/BaseOrganizationItem.md +0 -55
  423. package/docs/BaseOrganizationItemFields.md +0 -23
  424. package/docs/BaseOrganizationItemWithEditNameFlag.md +0 -56
  425. package/docs/BaseOrganizationItemWithEditNameFlagAllOf.md +0 -9
  426. package/docs/BaseOrganizationRelationshipItem.md +0 -15
  427. package/docs/BasePersonItem.md +0 -23
  428. package/docs/BasePersonItemEmail.md +0 -11
  429. package/docs/BasePersonItemPhone.md +0 -11
  430. package/docs/BasePipeline.md +0 -16
  431. package/docs/BasePipelineWithSelectedFlag.md +0 -17
  432. package/docs/BasePipelineWithSelectedFlagAllOf.md +0 -9
  433. package/docs/BaseProduct.md +0 -38
  434. package/docs/BaseResponse.md +0 -9
  435. package/docs/BaseResponseWithStatus.md +0 -10
  436. package/docs/BaseResponseWithStatusAllOf.md +0 -9
  437. package/docs/BaseRole.md +0 -10
  438. package/docs/BaseStage.md +0 -18
  439. package/docs/BaseTeam.md +0 -17
  440. package/docs/BaseTeamAdditionalProperties.md +0 -10
  441. package/docs/BaseUser.md +0 -28
  442. package/docs/BaseUserMe.md +0 -34
  443. package/docs/BaseUserMeAllOf.md +0 -14
  444. package/docs/BaseUserMeAllOfLanguage.md +0 -10
  445. package/docs/BaseWebhook.md +0 -37
  446. package/docs/BasicDeal.md +0 -15
  447. package/docs/BasicDealProduct.md +0 -45
  448. package/docs/BasicDealProductAllOf.md +0 -42
  449. package/docs/BasicGoal.md +0 -29
  450. package/docs/BasicOrganization.md +0 -12
  451. package/docs/BasicPerson.md +0 -17
  452. package/docs/BasicPersonEmail.md +0 -11
  453. package/docs/BasicProductField.md +0 -10
  454. package/docs/BillingApi.md +0 -58
  455. package/docs/BillingFrequency.md +0 -18
  456. package/docs/BillingFrequency1.md +0 -18
  457. package/docs/BulkDeleteResponse.md +0 -10
  458. package/docs/BulkDeleteResponseAllOf.md +0 -9
  459. package/docs/BulkDeleteResponseAllOfData.md +0 -9
  460. package/docs/CalculatedFields.md +0 -10
  461. package/docs/CallLogBadRequestResponse.md +0 -13
  462. package/docs/CallLogConflictResponse.md +0 -13
  463. package/docs/CallLogForbiddenResponse.md +0 -13
  464. package/docs/CallLogGoneResponse.md +0 -13
  465. package/docs/CallLogInternalErrorResponse.md +0 -13
  466. package/docs/CallLogNotFoundResponse.md +0 -13
  467. package/docs/CallLogObject.md +0 -41
  468. package/docs/CallLogResponse200.md +0 -10
  469. package/docs/CallLogResponse400.md +0 -13
  470. package/docs/CallLogResponse403.md +0 -13
  471. package/docs/CallLogResponse404.md +0 -13
  472. package/docs/CallLogResponse409.md +0 -13
  473. package/docs/CallLogResponse410.md +0 -13
  474. package/docs/CallLogResponse500.md +0 -13
  475. package/docs/CallLogsApi.md +0 -287
  476. package/docs/CallLogsResponse.md +0 -11
  477. package/docs/CallLogsResponseAdditionalData.md +0 -9
  478. package/docs/ChangelogResponse.md +0 -11
  479. package/docs/ChangelogResponseAllOf.md +0 -10
  480. package/docs/ChangelogResponseAllOfData.md +0 -16
  481. package/docs/ChannelObject.md +0 -26
  482. package/docs/ChannelObjectResponse.md +0 -10
  483. package/docs/ChannelObjectResponseData.md +0 -31
  484. package/docs/ChannelsApi.md +0 -230
  485. package/docs/CommentPostPutObject.md +0 -9
  486. package/docs/CommonMailThread.md +0 -22
  487. package/docs/CreateRemoteFileAndLinkItToItem.md +0 -10
  488. package/docs/CreateTeam.md +0 -12
  489. package/docs/Currencies.md +0 -10
  490. package/docs/CurrenciesApi.md +0 -65
  491. package/docs/DealCollectionResponseObject.md +0 -29
  492. package/docs/DealCountAndActivityInfo.md +0 -21
  493. package/docs/DealFieldsApi.md +0 -343
  494. package/docs/DealFlowResponse.md +0 -12
  495. package/docs/DealFlowResponseAllOf.md +0 -11
  496. package/docs/DealFlowResponseAllOfData.md +0 -11
  497. package/docs/DealFlowResponseAllOfRelatedObjects.md +0 -12
  498. package/docs/DealListActivitiesResponse.md +0 -12
  499. package/docs/DealListActivitiesResponseAllOf.md +0 -11
  500. package/docs/DealListActivitiesResponseAllOfRelatedObjects.md +0 -12
  501. package/docs/DealNonStrict.md +0 -75
  502. package/docs/DealNonStrictModeFields.md +0 -13
  503. package/docs/DealNonStrictModeFieldsCreatorUserId.md +0 -15
  504. package/docs/DealNonStrictWithDetails.md +0 -81
  505. package/docs/DealNonStrictWithDetailsAllOf.md +0 -14
  506. package/docs/DealNonStrictWithDetailsAllOfAge.md +0 -15
  507. package/docs/DealNonStrictWithDetailsAllOfAverageTimeToWon.md +0 -15
  508. package/docs/DealNonStrictWithDetailsAllOfStayInPipelineStages.md +0 -10
  509. package/docs/DealOrganizationData.md +0 -14
  510. package/docs/DealOrganizationDataWithId.md +0 -15
  511. package/docs/DealOrganizationDataWithIdAllOf.md +0 -9
  512. package/docs/DealParticipantCountInfo.md +0 -10
  513. package/docs/DealParticipants.md +0 -12
  514. package/docs/DealParticipantsChangelog.md +0 -12
  515. package/docs/DealPersonData.md +0 -13
  516. package/docs/DealPersonDataEmail.md +0 -11
  517. package/docs/DealPersonDataPhone.md +0 -11
  518. package/docs/DealPersonDataWithId.md +0 -14
  519. package/docs/DealPersonDataWithIdAllOf.md +0 -9
  520. package/docs/DealProductRequestBody.md +0 -42
  521. package/docs/DealProductUnitDuration.md +0 -16
  522. package/docs/DealSearchItem.md +0 -10
  523. package/docs/DealSearchItemItem.md +0 -21
  524. package/docs/DealSearchItemItemOrganization.md +0 -10
  525. package/docs/DealSearchItemItemOwner.md +0 -9
  526. package/docs/DealSearchItemItemPerson.md +0 -10
  527. package/docs/DealSearchItemItemStage.md +0 -10
  528. package/docs/DealSearchResponse.md +0 -11
  529. package/docs/DealSearchResponseAllOf.md +0 -10
  530. package/docs/DealSearchResponseAllOfData.md +0 -9
  531. package/docs/DealStrict.md +0 -75
  532. package/docs/DealStrictModeFields.md +0 -13
  533. package/docs/DealStrictWithMergeId.md +0 -76
  534. package/docs/DealStrictWithMergeIdAllOf.md +0 -9
  535. package/docs/DealSummary.md +0 -12
  536. package/docs/DealSummaryPerCurrency.md +0 -9
  537. package/docs/DealSummaryPerCurrencyFull.md +0 -9
  538. package/docs/DealSummaryPerCurrencyFullCURRENCYID.md +0 -10
  539. package/docs/DealSummaryPerStages.md +0 -9
  540. package/docs/DealSummaryPerStagesSTAGEID.md +0 -9
  541. package/docs/DealSummaryPerStagesSTAGEIDCURRENCYID.md +0 -13
  542. package/docs/DealTitleParameter.md +0 -9
  543. package/docs/DealUserData.md +0 -14
  544. package/docs/DealUserDataWithId.md +0 -15
  545. package/docs/DealUserDataWithIdAllOf.md +0 -9
  546. package/docs/DealsApi.md +0 -1816
  547. package/docs/DealsCountAndActivityInfo.md +0 -21
  548. package/docs/DealsCountInfo.md +0 -16
  549. package/docs/DealsMovementsInfo.md +0 -12
  550. package/docs/DealsMovementsInfoFormattedValues.md +0 -9
  551. package/docs/DealsMovementsInfoValues.md +0 -9
  552. package/docs/DeleteActivitiesResponse.md +0 -10
  553. package/docs/DeleteActivitiesResponse200.md +0 -10
  554. package/docs/DeleteActivitiesResponse200Data.md +0 -9
  555. package/docs/DeleteActivitiesResponseData.md +0 -9
  556. package/docs/DeleteActivityResponse.md +0 -10
  557. package/docs/DeleteActivityResponse200.md +0 -10
  558. package/docs/DeleteActivityResponse200Data.md +0 -9
  559. package/docs/DeleteActivityResponseData.md +0 -9
  560. package/docs/DeleteChannelSuccess.md +0 -9
  561. package/docs/DeleteComment.md +0 -10
  562. package/docs/DeleteConversationSuccess.md +0 -9
  563. package/docs/DeleteDeal.md +0 -10
  564. package/docs/DeleteDealData.md +0 -9
  565. package/docs/DeleteDealFollower.md +0 -10
  566. package/docs/DeleteDealFollowerData.md +0 -9
  567. package/docs/DeleteDealParticipant.md +0 -10
  568. package/docs/DeleteDealParticipantData.md +0 -9
  569. package/docs/DeleteDealProduct.md +0 -10
  570. package/docs/DeleteDealProductData.md +0 -9
  571. package/docs/DeleteFile.md +0 -10
  572. package/docs/DeleteFileData.md +0 -9
  573. package/docs/DeleteGoalResponse.md +0 -9
  574. package/docs/DeleteGoalResponse200.md +0 -9
  575. package/docs/DeleteLeadIdResponse.md +0 -10
  576. package/docs/DeleteMultipleDeals.md +0 -10
  577. package/docs/DeleteMultipleDealsData.md +0 -9
  578. package/docs/DeleteMultipleProductFieldsResponse.md +0 -10
  579. package/docs/DeleteMultipleProductFieldsResponseData.md +0 -9
  580. package/docs/DeleteNote.md +0 -10
  581. package/docs/DeletePersonResponse.md +0 -10
  582. package/docs/DeletePersonResponseAllOf.md +0 -9
  583. package/docs/DeletePersonResponseAllOfData.md +0 -9
  584. package/docs/DeletePersonsInBulkResponse.md +0 -10
  585. package/docs/DeletePersonsInBulkResponseAllOf.md +0 -9
  586. package/docs/DeletePersonsInBulkResponseAllOfData.md +0 -9
  587. package/docs/DeletePipelineResponse.md +0 -10
  588. package/docs/DeletePipelineResponse200.md +0 -10
  589. package/docs/DeletePipelineResponse200Data.md +0 -9
  590. package/docs/DeletePipelineResponseData.md +0 -9
  591. package/docs/DeleteProductFieldResponse.md +0 -10
  592. package/docs/DeleteProductFieldResponseData.md +0 -9
  593. package/docs/DeleteProductFollowerResponse.md +0 -10
  594. package/docs/DeleteProductFollowerResponseData.md +0 -9
  595. package/docs/DeleteProductResponse.md +0 -10
  596. package/docs/DeleteProductResponseData.md +0 -9
  597. package/docs/DeleteProject.md +0 -10
  598. package/docs/DeleteProjectData.md +0 -9
  599. package/docs/DeleteProjectResponse.md +0 -11
  600. package/docs/DeleteProjectResponse200.md +0 -11
  601. package/docs/DeleteResponse.md +0 -10
  602. package/docs/DeleteResponseAllOf.md +0 -9
  603. package/docs/DeleteResponseAllOfData.md +0 -9
  604. package/docs/DeleteRole.md +0 -10
  605. package/docs/DeleteRoleAllOf.md +0 -9
  606. package/docs/DeleteRoleAllOfData.md +0 -9
  607. package/docs/DeleteRoleAssignment.md +0 -10
  608. package/docs/DeleteRoleAssignmentAllOf.md +0 -9
  609. package/docs/DeleteRoleAssignmentAllOfData.md +0 -9
  610. package/docs/DeleteRoleAssignmentRequest.md +0 -9
  611. package/docs/DeleteStageResponse.md +0 -10
  612. package/docs/DeleteStageResponse200.md +0 -10
  613. package/docs/DeleteStageResponse200Data.md +0 -9
  614. package/docs/DeleteStageResponseData.md +0 -9
  615. package/docs/DeleteStagesResponse.md +0 -10
  616. package/docs/DeleteStagesResponse200.md +0 -10
  617. package/docs/DeleteStagesResponse200Data.md +0 -9
  618. package/docs/DeleteStagesResponseData.md +0 -9
  619. package/docs/DeleteTask.md +0 -10
  620. package/docs/DeleteTaskData.md +0 -9
  621. package/docs/DeleteTaskResponse.md +0 -11
  622. package/docs/DeleteTaskResponse200.md +0 -11
  623. package/docs/DeleteTeamUserRequest.md +0 -9
  624. package/docs/Duration.md +0 -10
  625. package/docs/EditPipeline.md +0 -10
  626. package/docs/EditPipelineAllOf.md +0 -9
  627. package/docs/EmailInfo.md +0 -10
  628. package/docs/ExpectedOutcome.md +0 -10
  629. package/docs/FailResponse.md +0 -10
  630. package/docs/Field.md +0 -32
  631. package/docs/FieldCreateRequest.md +0 -12
  632. package/docs/FieldCreateRequestAllOf.md +0 -11
  633. package/docs/FieldResponse.md +0 -10
  634. package/docs/FieldResponseAllOf.md +0 -9
  635. package/docs/FieldType.md +0 -9
  636. package/docs/FieldTypeAsString.md +0 -40
  637. package/docs/FieldUpdateRequest.md +0 -11
  638. package/docs/FieldsResponse.md +0 -11
  639. package/docs/FieldsResponseAllOf.md +0 -10
  640. package/docs/FileData.md +0 -36
  641. package/docs/FileItem.md +0 -36
  642. package/docs/FilesApi.md +0 -483
  643. package/docs/FilterGetItem.md +0 -17
  644. package/docs/FilterType.md +0 -20
  645. package/docs/FiltersApi.md +0 -391
  646. package/docs/FiltersBulkDeleteResponse.md +0 -10
  647. package/docs/FiltersBulkDeleteResponseAllOf.md +0 -9
  648. package/docs/FiltersBulkDeleteResponseAllOfData.md +0 -9
  649. package/docs/FiltersBulkGetResponse.md +0 -10
  650. package/docs/FiltersBulkGetResponseAllOf.md +0 -9
  651. package/docs/FiltersDeleteResponse.md +0 -10
  652. package/docs/FiltersDeleteResponseAllOf.md +0 -9
  653. package/docs/FiltersDeleteResponseAllOfData.md +0 -9
  654. package/docs/FiltersGetResponse.md +0 -10
  655. package/docs/FiltersGetResponseAllOf.md +0 -9
  656. package/docs/FiltersPostResponse.md +0 -10
  657. package/docs/FiltersPostResponseAllOf.md +0 -9
  658. package/docs/FiltersPostResponseAllOfData.md +0 -19
  659. package/docs/FindGoalResponse.md +0 -9
  660. package/docs/FindProductsByNameResponse.md +0 -11
  661. package/docs/FindProductsByNameResponseData.md +0 -15
  662. package/docs/FollowerData.md +0 -12
  663. package/docs/FollowerDataWithID.md +0 -13
  664. package/docs/FollowerDataWithIDAllOf.md +0 -9
  665. package/docs/FullProjectObject.md +0 -24
  666. package/docs/FullRole.md +0 -15
  667. package/docs/FullRoleAllOf.md +0 -9
  668. package/docs/FullTaskObject.md +0 -19
  669. package/docs/GetActivitiesCollectionResponse.md +0 -11
  670. package/docs/GetActivitiesCollectionResponse200.md +0 -11
  671. package/docs/GetActivitiesResponse.md +0 -12
  672. package/docs/GetActivitiesResponse200.md +0 -12
  673. package/docs/GetActivitiesResponse200RelatedObjects.md +0 -12
  674. package/docs/GetActivitiesResponseRelatedObjects.md +0 -12
  675. package/docs/GetActivityResponse.md +0 -11
  676. package/docs/GetActivityResponse200.md +0 -11
  677. package/docs/GetAddProductAttachementDetails.md +0 -10
  678. package/docs/GetAddProductAttachmentDetails.md +0 -10
  679. package/docs/GetAddUpdateStage.md +0 -10
  680. package/docs/GetAddedDeal.md +0 -11
  681. package/docs/GetAddedDealAdditionalData.md +0 -9
  682. package/docs/GetAllFiles.md +0 -11
  683. package/docs/GetAllPersonsResponse.md +0 -12
  684. package/docs/GetAllPersonsResponseAllOf.md +0 -11
  685. package/docs/GetAllPipelines.md +0 -10
  686. package/docs/GetAllPipelinesAllOf.md +0 -9
  687. package/docs/GetAllProductFieldsResponse.md +0 -11
  688. package/docs/GetComments.md +0 -11
  689. package/docs/GetDeal.md +0 -12
  690. package/docs/GetDealAdditionalData.md +0 -9
  691. package/docs/GetDealRelatedObjects.md +0 -11
  692. package/docs/GetDeals.md +0 -12
  693. package/docs/GetDealsByName.md +0 -11
  694. package/docs/GetDealsByNameAdditionalData.md +0 -9
  695. package/docs/GetDealsByNameData.md +0 -21
  696. package/docs/GetDealsCollection.md +0 -11
  697. package/docs/GetDealsConversionRatesInPipeline.md +0 -10
  698. package/docs/GetDealsConversionRatesInPipelineAllOf.md +0 -9
  699. package/docs/GetDealsConversionRatesInPipelineAllOfData.md +0 -11
  700. package/docs/GetDealsMovementsInPipeline.md +0 -10
  701. package/docs/GetDealsMovementsInPipelineAllOf.md +0 -9
  702. package/docs/GetDealsMovementsInPipelineAllOfData.md +0 -14
  703. package/docs/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.md +0 -10
  704. package/docs/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.md +0 -10
  705. package/docs/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.md +0 -9
  706. package/docs/GetDealsRelatedObjects.md +0 -11
  707. package/docs/GetDealsSummary.md +0 -10
  708. package/docs/GetDealsSummaryData.md +0 -15
  709. package/docs/GetDealsSummaryDataValuesTotal.md +0 -13
  710. package/docs/GetDealsSummaryDataWeightedValuesTotal.md +0 -11
  711. package/docs/GetDealsTimeline.md +0 -10
  712. package/docs/GetDealsTimelineData.md +0 -12
  713. package/docs/GetDealsTimelineDataTotals.md +0 -16
  714. package/docs/GetDuplicatedDeal.md +0 -10
  715. package/docs/GetGoalResultResponse.md +0 -10
  716. package/docs/GetGoalResultResponse200.md +0 -10
  717. package/docs/GetGoalsResponse.md +0 -10
  718. package/docs/GetGoalsResponse200.md +0 -10
  719. package/docs/GetLeadIdResponse.md +0 -10
  720. package/docs/GetLeadIdResponseData.md +0 -9
  721. package/docs/GetLeadLabelsResponse.md +0 -10
  722. package/docs/GetLeadLabelsResponse200.md +0 -10
  723. package/docs/GetLeadResponse.md +0 -10
  724. package/docs/GetLeadSourcesResponse200.md +0 -10
  725. package/docs/GetLeadSourcesResponse200Data.md +0 -9
  726. package/docs/GetLeadsResponse.md +0 -11
  727. package/docs/GetLeadsResponse200.md +0 -11
  728. package/docs/GetLeadsSourceResponse.md +0 -10
  729. package/docs/GetLeadsSourceResponseData.md +0 -9
  730. package/docs/GetMergedDeal.md +0 -10
  731. package/docs/GetNotes.md +0 -11
  732. package/docs/GetOneFile.md +0 -10
  733. package/docs/GetOnePipeline.md +0 -10
  734. package/docs/GetOnePipelineAllOf.md +0 -9
  735. package/docs/GetOneStage.md +0 -10
  736. package/docs/GetPersonDetailsResponse.md +0 -12
  737. package/docs/GetPersonDetailsResponseAllOf.md +0 -11
  738. package/docs/GetPersonDetailsResponseAllOfAdditionalData.md +0 -9
  739. package/docs/GetProductAttachementDetails.md +0 -10
  740. package/docs/GetProductAttachmentDetails.md +0 -10
  741. package/docs/GetProductFieldResponse.md +0 -10
  742. package/docs/GetProjectBoardResponse.md +0 -11
  743. package/docs/GetProjectBoardResponse200.md +0 -11
  744. package/docs/GetProjectBoardsResponse.md +0 -11
  745. package/docs/GetProjectBoardsResponse200.md +0 -11
  746. package/docs/GetProjectGroupsResponse.md +0 -11
  747. package/docs/GetProjectGroupsResponse200.md +0 -11
  748. package/docs/GetProjectPhaseResponse.md +0 -11
  749. package/docs/GetProjectPhaseResponse200.md +0 -11
  750. package/docs/GetProjectPhasesResponse.md +0 -11
  751. package/docs/GetProjectPhasesResponse200.md +0 -11
  752. package/docs/GetProjectPlanResponse.md +0 -11
  753. package/docs/GetProjectPlanResponse200.md +0 -11
  754. package/docs/GetProjectResponse.md +0 -11
  755. package/docs/GetProjectResponse200.md +0 -11
  756. package/docs/GetProjectTemplateResponse.md +0 -11
  757. package/docs/GetProjectTemplateResponse200.md +0 -11
  758. package/docs/GetProjectTemplatesResponse.md +0 -11
  759. package/docs/GetProjectTemplatesResponse200.md +0 -11
  760. package/docs/GetProjectsResponse.md +0 -11
  761. package/docs/GetProjectsResponse200.md +0 -11
  762. package/docs/GetRecents.md +0 -11
  763. package/docs/GetRecentsAdditionalData.md +0 -11
  764. package/docs/GetRole.md +0 -11
  765. package/docs/GetRoleAllOf.md +0 -10
  766. package/docs/GetRoleAllOfAdditionalData.md +0 -9
  767. package/docs/GetRoleAssignments.md +0 -11
  768. package/docs/GetRoleAssignmentsAllOf.md +0 -10
  769. package/docs/GetRolePipelines.md +0 -10
  770. package/docs/GetRolePipelinesAllOf.md +0 -9
  771. package/docs/GetRolePipelinesAllOfData.md +0 -10
  772. package/docs/GetRoleSettings.md +0 -10
  773. package/docs/GetRoleSettingsAllOf.md +0 -9
  774. package/docs/GetRoleSubroles.md +0 -11
  775. package/docs/GetRoleSubrolesAllOf.md +0 -10
  776. package/docs/GetRoles.md +0 -11
  777. package/docs/GetRolesAllOf.md +0 -10
  778. package/docs/GetStageDeals.md +0 -11
  779. package/docs/GetStages.md +0 -10
  780. package/docs/GetTaskResponse.md +0 -11
  781. package/docs/GetTaskResponse200.md +0 -11
  782. package/docs/GetTasksResponse.md +0 -11
  783. package/docs/GetTasksResponse200.md +0 -11
  784. package/docs/GlobalMessageBaseResponse.md +0 -9
  785. package/docs/GlobalMessageData.md +0 -14
  786. package/docs/GlobalMessageDelete.md +0 -12
  787. package/docs/GlobalMessageDeleteAllOf.md +0 -11
  788. package/docs/GlobalMessageGet.md +0 -12
  789. package/docs/GlobalMessageGetAllOf.md +0 -11
  790. package/docs/GlobalMessageUserData.md +0 -11
  791. package/docs/GlobalMessagesApi.md +0 -112
  792. package/docs/GoalResults.md +0 -10
  793. package/docs/GoalType.md +0 -10
  794. package/docs/GoalsApi.md +0 -315
  795. package/docs/GoalsResponseComponent.md +0 -18
  796. package/docs/IconKey.md +0 -86
  797. package/docs/InlineResponse200.md +0 -10
  798. package/docs/InlineResponse2001.md +0 -11
  799. package/docs/InlineResponse2002.md +0 -11
  800. package/docs/InlineResponse400.md +0 -12
  801. package/docs/InlineResponse4001.md +0 -12
  802. package/docs/InlineResponse4001AdditionalData.md +0 -9
  803. package/docs/InlineResponse400AdditionalData.md +0 -9
  804. package/docs/InlineResponse403.md +0 -12
  805. package/docs/InlineResponse4031.md +0 -12
  806. package/docs/InlineResponse4031AdditionalData.md +0 -9
  807. package/docs/InlineResponse403AdditionalData.md +0 -9
  808. package/docs/InlineResponse404.md +0 -12
  809. package/docs/InlineResponse404AdditionalData.md +0 -9
  810. package/docs/ItemSearchAdditionalData.md +0 -9
  811. package/docs/ItemSearchAdditionalDataPagination.md +0 -12
  812. package/docs/ItemSearchApi.md +0 -148
  813. package/docs/ItemSearchFieldResponse.md +0 -11
  814. package/docs/ItemSearchFieldResponseAllOf.md +0 -10
  815. package/docs/ItemSearchFieldResponseAllOfData.md +0 -10
  816. package/docs/ItemSearchItem.md +0 -10
  817. package/docs/ItemSearchResponse.md +0 -11
  818. package/docs/ItemSearchResponseAllOf.md +0 -10
  819. package/docs/ItemSearchResponseAllOfData.md +0 -10
  820. package/docs/LeadIdResponse200.md +0 -10
  821. package/docs/LeadIdResponse200Data.md +0 -9
  822. package/docs/LeadLabelColor.md +0 -18
  823. package/docs/LeadLabelResponse.md +0 -13
  824. package/docs/LeadLabelsApi.md +0 -226
  825. package/docs/LeadNotFoundResponse.md +0 -13
  826. package/docs/LeadResponse.md +0 -29
  827. package/docs/LeadResponse404.md +0 -13
  828. package/docs/LeadSearchItem.md +0 -10
  829. package/docs/LeadSearchItemItem.md +0 -22
  830. package/docs/LeadSearchItemItemOrganization.md +0 -10
  831. package/docs/LeadSearchItemItemOwner.md +0 -9
  832. package/docs/LeadSearchItemItemPerson.md +0 -10
  833. package/docs/LeadSearchResponse.md +0 -11
  834. package/docs/LeadSearchResponseAllOf.md +0 -10
  835. package/docs/LeadSearchResponseAllOfData.md +0 -9
  836. package/docs/LeadSourcesApi.md +0 -58
  837. package/docs/LeadValue.md +0 -10
  838. package/docs/LeadsApi.md +0 -426
  839. package/docs/LegacyTeamsApi.md +0 -471
  840. package/docs/LinkFileToItemRequest.md +0 -34
  841. package/docs/LinkRemoteFileToItem.md +0 -10
  842. package/docs/ListActivitiesResponse.md +0 -11
  843. package/docs/ListActivitiesResponseAllOf.md +0 -10
  844. package/docs/ListDealsResponse.md +0 -12
  845. package/docs/ListDealsResponseAllOf.md +0 -11
  846. package/docs/ListDealsResponseAllOfRelatedObjects.md +0 -13
  847. package/docs/ListFilesResponse.md +0 -11
  848. package/docs/ListFilesResponseAllOf.md +0 -10
  849. package/docs/ListFollowersResponse.md +0 -11
  850. package/docs/ListFollowersResponseAllOf.md +0 -10
  851. package/docs/ListFollowersResponseAllOfData.md +0 -12
  852. package/docs/ListMailMessagesResponse.md +0 -11
  853. package/docs/ListMailMessagesResponseAllOf.md +0 -10
  854. package/docs/ListMailMessagesResponseAllOfData.md +0 -11
  855. package/docs/ListPermittedUsersResponse.md +0 -9
  856. package/docs/ListPermittedUsersResponse1.md +0 -10
  857. package/docs/ListPermittedUsersResponse1AllOf.md +0 -9
  858. package/docs/ListPermittedUsersResponse2.md +0 -10
  859. package/docs/ListPermittedUsersResponse2AllOf.md +0 -9
  860. package/docs/ListPermittedUsersResponseAllOf.md +0 -9
  861. package/docs/ListPermittedUsersResponseAllOfData.md +0 -9
  862. package/docs/ListPersonProductsResponse.md +0 -11
  863. package/docs/ListPersonProductsResponseAllOf.md +0 -10
  864. package/docs/ListPersonProductsResponseAllOfDEALID.md +0 -10
  865. package/docs/ListPersonProductsResponseAllOfData.md +0 -9
  866. package/docs/ListPersonsResponse.md +0 -12
  867. package/docs/ListPersonsResponseAllOf.md +0 -11
  868. package/docs/ListPersonsResponseAllOfRelatedObjects.md +0 -10
  869. package/docs/ListProductAdditionalData.md +0 -13
  870. package/docs/ListProductAdditionalDataAllOf.md +0 -12
  871. package/docs/ListProductFilesResponse.md +0 -11
  872. package/docs/ListProductFilesResponseAllOf.md +0 -10
  873. package/docs/ListProductFollowersResponse.md +0 -11
  874. package/docs/ListProductFollowersResponseAllOf.md +0 -10
  875. package/docs/ListProductFollowersResponseAllOfData.md +0 -12
  876. package/docs/ListProductsResponse.md +0 -12
  877. package/docs/ListProductsResponseAllOf.md +0 -11
  878. package/docs/ListProductsResponseAllOfData.md +0 -9
  879. package/docs/ListProductsResponseAllOfRelatedObjects.md +0 -9
  880. package/docs/MailMessage.md +0 -13
  881. package/docs/MailMessageAllOf.md +0 -9
  882. package/docs/MailMessageData.md +0 -47
  883. package/docs/MailMessageItemForList.md +0 -56
  884. package/docs/MailMessageItemForListAllOf.md +0 -17
  885. package/docs/MailParticipant.md +0 -14
  886. package/docs/MailServiceBaseResponse.md +0 -12
  887. package/docs/MailThread.md +0 -10
  888. package/docs/MailThreadAllOf.md +0 -9
  889. package/docs/MailThreadDelete.md +0 -10
  890. package/docs/MailThreadDeleteAllOf.md +0 -9
  891. package/docs/MailThreadDeleteAllOfData.md +0 -9
  892. package/docs/MailThreadMessages.md +0 -10
  893. package/docs/MailThreadMessagesAllOf.md +0 -9
  894. package/docs/MailThreadOne.md +0 -10
  895. package/docs/MailThreadOneAllOf.md +0 -9
  896. package/docs/MailThreadParticipant.md +0 -17
  897. package/docs/MailThreadPut.md +0 -10
  898. package/docs/MailThreadPutAllOf.md +0 -9
  899. package/docs/MailboxApi.md +0 -357
  900. package/docs/MarketingStatus.md +0 -14
  901. package/docs/MeetingsApi.md +0 -118
  902. package/docs/MergeDealsRequest.md +0 -9
  903. package/docs/MergeOrganizationsRequest.md +0 -9
  904. package/docs/MergePersonDealRelatedInfo.md +0 -23
  905. package/docs/MergePersonItem.md +0 -53
  906. package/docs/MergePersonsRequest.md +0 -9
  907. package/docs/MergePersonsResponse.md +0 -10
  908. package/docs/MergePersonsResponseAllOf.md +0 -9
  909. package/docs/MessageObject.md +0 -33
  910. package/docs/MessageObjectAttachments.md +0 -15
  911. package/docs/NameObject.md +0 -9
  912. package/docs/NewDeal.md +0 -44
  913. package/docs/NewDealAllOf.md +0 -9
  914. package/docs/NewDealParameters.md +0 -36
  915. package/docs/NewDealProduct.md +0 -45
  916. package/docs/NewDealProductAllOf.md +0 -9
  917. package/docs/NewDealProductAllOf1.md +0 -9
  918. package/docs/NewDealProductAllOf2.md +0 -9
  919. package/docs/NewFollowerResponse.md +0 -10
  920. package/docs/NewFollowerResponseData.md +0 -12
  921. package/docs/NewGoal.md +0 -29
  922. package/docs/NewOrganization.md +0 -14
  923. package/docs/NewOrganizationAllOf.md +0 -10
  924. package/docs/NewPerson.md +0 -18
  925. package/docs/NewPersonAllOf.md +0 -9
  926. package/docs/NewProductField.md +0 -50
  927. package/docs/NewProductFieldAllOf.md +0 -50
  928. package/docs/Note.md +0 -19
  929. package/docs/NoteAllOf.md +0 -9
  930. package/docs/NoteConnectToParams.md +0 -12
  931. package/docs/NoteCreatorUser.md +0 -12
  932. package/docs/NoteField.md +0 -17
  933. package/docs/NoteFieldOptions.md +0 -10
  934. package/docs/NoteFieldsApi.md +0 -58
  935. package/docs/NoteFieldsResponse.md +0 -11
  936. package/docs/NoteFieldsResponseAllOf.md +0 -10
  937. package/docs/NoteParams.md +0 -14
  938. package/docs/NotesApi.md +0 -604
  939. package/docs/NumberBoolean.md +0 -10
  940. package/docs/NumberBooleanDefault0.md +0 -10
  941. package/docs/NumberBooleanDefault1.md +0 -10
  942. package/docs/ObjectPrices.md +0 -9
  943. package/docs/OneLeadResponse200.md +0 -10
  944. package/docs/OptionalNameObject.md +0 -9
  945. package/docs/OrgAndOwnerId.md +0 -10
  946. package/docs/OrganizationAddressInfo.md +0 -19
  947. package/docs/OrganizationCountAndAddressInfo.md +0 -27
  948. package/docs/OrganizationCountInfo.md +0 -16
  949. package/docs/OrganizationData.md +0 -13
  950. package/docs/OrganizationDataWithId.md +0 -14
  951. package/docs/OrganizationDataWithIdAllOf.md +0 -9
  952. package/docs/OrganizationDataWithIdAndActiveFlag.md +0 -15
  953. package/docs/OrganizationDataWithIdAndActiveFlagAllOf.md +0 -9
  954. package/docs/OrganizationDeleteResponse.md +0 -10
  955. package/docs/OrganizationDeleteResponseData.md +0 -9
  956. package/docs/OrganizationDetailsGetResponse.md +0 -12
  957. package/docs/OrganizationDetailsGetResponseAllOf.md +0 -11
  958. package/docs/OrganizationDetailsGetResponseAllOfAdditionalData.md +0 -10
  959. package/docs/OrganizationFieldsApi.md +0 -343
  960. package/docs/OrganizationFlowResponse.md +0 -12
  961. package/docs/OrganizationFlowResponseAllOf.md +0 -11
  962. package/docs/OrganizationFlowResponseAllOfData.md +0 -11
  963. package/docs/OrganizationFlowResponseAllOfRelatedObjects.md +0 -10
  964. package/docs/OrganizationFollowerDeleteResponse.md +0 -10
  965. package/docs/OrganizationFollowerDeleteResponseData.md +0 -9
  966. package/docs/OrganizationFollowerItem.md +0 -12
  967. package/docs/OrganizationFollowerItemAllOf.md +0 -9
  968. package/docs/OrganizationFollowerPostResponse.md +0 -10
  969. package/docs/OrganizationFollowersListResponse.md +0 -11
  970. package/docs/OrganizationItem.md +0 -58
  971. package/docs/OrganizationItemAllOf.md +0 -10
  972. package/docs/OrganizationPostResponse.md +0 -11
  973. package/docs/OrganizationPostResponseAllOf.md +0 -10
  974. package/docs/OrganizationRelationship.md +0 -23
  975. package/docs/OrganizationRelationshipDeleteResponse.md +0 -10
  976. package/docs/OrganizationRelationshipDeleteResponseAllOf.md +0 -9
  977. package/docs/OrganizationRelationshipDeleteResponseAllOfData.md +0 -9
  978. package/docs/OrganizationRelationshipDetails.md +0 -18
  979. package/docs/OrganizationRelationshipGetResponse.md +0 -11
  980. package/docs/OrganizationRelationshipGetResponseAllOf.md +0 -10
  981. package/docs/OrganizationRelationshipPostResponse.md +0 -11
  982. package/docs/OrganizationRelationshipPostResponseAllOf.md +0 -10
  983. package/docs/OrganizationRelationshipUpdateResponse.md +0 -11
  984. package/docs/OrganizationRelationshipWithCalculatedFields.md +0 -17
  985. package/docs/OrganizationRelationshipsApi.md +0 -289
  986. package/docs/OrganizationSearchItem.md +0 -10
  987. package/docs/OrganizationSearchItemItem.md +0 -16
  988. package/docs/OrganizationSearchResponse.md +0 -11
  989. package/docs/OrganizationSearchResponseAllOf.md +0 -10
  990. package/docs/OrganizationSearchResponseAllOfData.md +0 -9
  991. package/docs/OrganizationUpdateResponse.md +0 -11
  992. package/docs/OrganizationUpdateResponseAllOf.md +0 -10
  993. package/docs/OrganizationsApi.md +0 -1206
  994. package/docs/OrganizationsCollectionResponseObject.md +0 -30
  995. package/docs/OrganizationsCollectionResponseObjectAllOf.md +0 -19
  996. package/docs/OrganizationsDeleteResponse.md +0 -10
  997. package/docs/OrganizationsDeleteResponseData.md +0 -9
  998. package/docs/OrganizationsMergeResponse.md +0 -10
  999. package/docs/OrganizationsMergeResponseData.md +0 -9
  1000. package/docs/Owner.md +0 -15
  1001. package/docs/OwnerAllOf.md +0 -9
  1002. package/docs/PaginationDetails.md +0 -12
  1003. package/docs/PaginationDetailsAllOf.md +0 -9
  1004. package/docs/Params.md +0 -10
  1005. package/docs/ParticipantsChangelog.md +0 -11
  1006. package/docs/ParticipantsChangelogItem.md +0 -12
  1007. package/docs/PaymentItem.md +0 -53
  1008. package/docs/PaymentsResponse.md +0 -10
  1009. package/docs/PaymentsResponseAllOf.md +0 -9
  1010. package/docs/PaymentsResponseAllOfData.md +0 -9
  1011. package/docs/PermissionSets.md +0 -10
  1012. package/docs/PermissionSetsAllOf.md +0 -9
  1013. package/docs/PermissionSetsApi.md +0 -180
  1014. package/docs/PermissionSetsItem.md +0 -46
  1015. package/docs/PersonCountAndEmailInfo.md +0 -17
  1016. package/docs/PersonCountEmailDealAndActivityInfo.md +0 -30
  1017. package/docs/PersonCountInfo.md +0 -15
  1018. package/docs/PersonData.md +0 -13
  1019. package/docs/PersonDataEmail.md +0 -11
  1020. package/docs/PersonDataPhone.md +0 -11
  1021. package/docs/PersonDataWithActiveFlag.md +0 -14
  1022. package/docs/PersonDataWithActiveFlagAllOf.md +0 -9
  1023. package/docs/PersonFieldsApi.md +0 -343
  1024. package/docs/PersonFlowResponse.md +0 -12
  1025. package/docs/PersonFlowResponseAllOf.md +0 -11
  1026. package/docs/PersonFlowResponseAllOfData.md +0 -11
  1027. package/docs/PersonItem.md +0 -50
  1028. package/docs/PersonListProduct.md +0 -25
  1029. package/docs/PersonNameCountAndEmailInfo.md +0 -20
  1030. package/docs/PersonNameCountAndEmailInfoWithIds.md +0 -23
  1031. package/docs/PersonNameCountAndEmailInfoWithIdsAllOf.md +0 -11
  1032. package/docs/PersonNameInfo.md +0 -11
  1033. package/docs/PersonNameInfoWithOrgAndOwnerId.md +0 -13
  1034. package/docs/PersonSearchItem.md +0 -10
  1035. package/docs/PersonSearchItemItem.md +0 -18
  1036. package/docs/PersonSearchItemItemOrganization.md +0 -10
  1037. package/docs/PersonSearchItemItemOwner.md +0 -9
  1038. package/docs/PersonSearchResponse.md +0 -11
  1039. package/docs/PersonSearchResponseAllOf.md +0 -10
  1040. package/docs/PersonSearchResponseAllOfData.md +0 -9
  1041. package/docs/PersonsApi.md +0 -1329
  1042. package/docs/PersonsCollectionResponseObject.md +0 -23
  1043. package/docs/PictureData.md +0 -15
  1044. package/docs/PictureDataPictures.md +0 -10
  1045. package/docs/PictureDataWithID.md +0 -16
  1046. package/docs/PictureDataWithIDAllOf.md +0 -9
  1047. package/docs/PictureDataWithValue.md +0 -16
  1048. package/docs/PictureDataWithValueAllOf.md +0 -9
  1049. package/docs/Pipeline.md +0 -12
  1050. package/docs/PipelineDetails.md +0 -18
  1051. package/docs/PipelineDetailsAllOf.md +0 -9
  1052. package/docs/PipelinesApi.md +0 -484
  1053. package/docs/PostComment.md +0 -10
  1054. package/docs/PostDealParticipants.md +0 -11
  1055. package/docs/PostDealParticipantsRelatedObjects.md +0 -10
  1056. package/docs/PostGoalResponse.md +0 -9
  1057. package/docs/PostNote.md +0 -10
  1058. package/docs/PostRoleAssignment.md +0 -10
  1059. package/docs/PostRoleAssignmentAllOf.md +0 -9
  1060. package/docs/PostRoleAssignmentAllOfData.md +0 -10
  1061. package/docs/PostRoleSettings.md +0 -10
  1062. package/docs/PostRoleSettingsAllOf.md +0 -9
  1063. package/docs/PostRoleSettingsAllOfData.md +0 -25
  1064. package/docs/PostRoles.md +0 -10
  1065. package/docs/PostRolesAllOf.md +0 -9
  1066. package/docs/PostRolesAllOfData.md +0 -9
  1067. package/docs/Product.md +0 -18
  1068. package/docs/ProductAttachementFields.md +0 -19
  1069. package/docs/ProductAttachmentDetails.md +0 -54
  1070. package/docs/ProductBaseDeal.md +0 -51
  1071. package/docs/ProductField.md +0 -66
  1072. package/docs/ProductFieldAllOf.md +0 -24
  1073. package/docs/ProductFieldsApi.md +0 -343
  1074. package/docs/ProductFileItem.md +0 -23
  1075. package/docs/ProductListItem.md +0 -54
  1076. package/docs/ProductRequest.md +0 -17
  1077. package/docs/ProductResponse.md +0 -11
  1078. package/docs/ProductSearchItem.md +0 -10
  1079. package/docs/ProductSearchItemItem.md +0 -15
  1080. package/docs/ProductSearchItemItemOwner.md +0 -9
  1081. package/docs/ProductSearchResponse.md +0 -11
  1082. package/docs/ProductSearchResponseAllOf.md +0 -10
  1083. package/docs/ProductSearchResponseAllOfData.md +0 -9
  1084. package/docs/ProductWithArrayPrices.md +0 -39
  1085. package/docs/ProductWithObjectPrices.md +0 -18
  1086. package/docs/ProductsApi.md +0 -721
  1087. package/docs/ProductsResponse.md +0 -12
  1088. package/docs/ProjectBoardObject.md +0 -13
  1089. package/docs/ProjectGroupsObject.md +0 -11
  1090. package/docs/ProjectId.md +0 -9
  1091. package/docs/ProjectMandatoryObjectFragment.md +0 -11
  1092. package/docs/ProjectNotChangeableObjectFragment.md +0 -12
  1093. package/docs/ProjectObjectFragment.md +0 -17
  1094. package/docs/ProjectPhaseObject.md +0 -14
  1095. package/docs/ProjectPlanItemObject.md +0 -12
  1096. package/docs/ProjectPostObject.md +0 -21
  1097. package/docs/ProjectPostObjectAllOf.md +0 -9
  1098. package/docs/ProjectPutObject.md +0 -20
  1099. package/docs/ProjectPutPlanItemBodyObject.md +0 -10
  1100. package/docs/ProjectResponseObject.md +0 -25
  1101. package/docs/ProjectTemplatesApi.md +0 -229
  1102. package/docs/ProjectsApi.md +0 -791
  1103. package/docs/PutRole.md +0 -10
  1104. package/docs/PutRoleAllOf.md +0 -9
  1105. package/docs/PutRoleAllOfData.md +0 -9
  1106. package/docs/PutRolePipelinesBody.md +0 -9
  1107. package/docs/RecentDataProduct.md +0 -24
  1108. package/docs/RecentsActivity.md +0 -20
  1109. package/docs/RecentsActivityType.md +0 -20
  1110. package/docs/RecentsApi.md +0 -71
  1111. package/docs/RecentsDeal.md +0 -20
  1112. package/docs/RecentsFile.md +0 -20
  1113. package/docs/RecentsFilter.md +0 -20
  1114. package/docs/RecentsNote.md +0 -20
  1115. package/docs/RecentsOrganization.md +0 -20
  1116. package/docs/RecentsPerson.md +0 -20
  1117. package/docs/RecentsPipeline.md +0 -20
  1118. package/docs/RecentsProduct.md +0 -20
  1119. package/docs/RecentsStage.md +0 -20
  1120. package/docs/RecentsUser.md +0 -20
  1121. package/docs/RelatedDealData.md +0 -9
  1122. package/docs/RelatedDealDataDEALID.md +0 -15
  1123. package/docs/RelatedFollowerData.md +0 -9
  1124. package/docs/RelatedOrganizationData.md +0 -9
  1125. package/docs/RelatedOrganizationDataWithActiveFlag.md +0 -9
  1126. package/docs/RelatedOrganizationName.md +0 -9
  1127. package/docs/RelatedPersonData.md +0 -9
  1128. package/docs/RelatedPersonDataWithActiveFlag.md +0 -9
  1129. package/docs/RelatedPictureData.md +0 -9
  1130. package/docs/RelatedUserData.md +0 -9
  1131. package/docs/RelationshipOrganizationInfoItem.md +0 -14
  1132. package/docs/RelationshipOrganizationInfoItemAllOf.md +0 -9
  1133. package/docs/RelationshipOrganizationInfoItemWithActiveFlag.md +0 -15
  1134. package/docs/RequiredNameObject.md +0 -9
  1135. package/docs/RequiredPostProjectParameters.md +0 -11
  1136. package/docs/RequiredPostTaskParameters.md +0 -10
  1137. package/docs/RequredTitleParameter.md +0 -9
  1138. package/docs/ResponseCallLogObject.md +0 -44
  1139. package/docs/ResponseCallLogObjectAllOf.md +0 -11
  1140. package/docs/RoleAssignment.md +0 -14
  1141. package/docs/RoleAssignmentAllOf.md +0 -12
  1142. package/docs/RoleSettings.md +0 -17
  1143. package/docs/RolesAdditionalData.md +0 -9
  1144. package/docs/RolesAdditionalDataPagination.md +0 -11
  1145. package/docs/RolesApi.md +0 -695
  1146. package/docs/SearchResultsApi.md +0 -142
  1147. package/docs/SinglePermissionSetsItem.md +0 -47
  1148. package/docs/SinglePermissionSetsItemAllOf.md +0 -9
  1149. package/docs/Stage.md +0 -13
  1150. package/docs/StageConversions.md +0 -11
  1151. package/docs/StageDetails.md +0 -19
  1152. package/docs/StageWithPipelineInfo.md +0 -20
  1153. package/docs/StageWithPipelineInfoAllOf.md +0 -10
  1154. package/docs/StagesApi.md +0 -417
  1155. package/docs/SubRole.md +0 -14
  1156. package/docs/SubRoleAllOf.md +0 -12
  1157. package/docs/SubscriptionAddonsResponse.md +0 -10
  1158. package/docs/SubscriptionAddonsResponseAllOf.md +0 -9
  1159. package/docs/SubscriptionInstallmentCreateRequest.md +0 -12
  1160. package/docs/SubscriptionInstallmentUpdateRequest.md +0 -10
  1161. package/docs/SubscriptionItem.md +0 -24
  1162. package/docs/SubscriptionRecurringCancelRequest.md +0 -9
  1163. package/docs/SubscriptionRecurringCreateRequest.md +0 -33
  1164. package/docs/SubscriptionRecurringUpdateRequest.md +0 -13
  1165. package/docs/SubscriptionsApi.md +0 -510
  1166. package/docs/SubscriptionsIdResponse.md +0 -10
  1167. package/docs/SubscriptionsIdResponseAllOf.md +0 -9
  1168. package/docs/TaskId.md +0 -9
  1169. package/docs/TaskMandatoryObjectFragment.md +0 -10
  1170. package/docs/TaskNotChangeableObjectFragment.md +0 -12
  1171. package/docs/TaskObjectFragment.md +0 -13
  1172. package/docs/TaskPostObject.md +0 -15
  1173. package/docs/TaskPutObject.md +0 -15
  1174. package/docs/TaskResponseObject.md +0 -20
  1175. package/docs/TasksApi.md +0 -297
  1176. package/docs/Team.md +0 -10
  1177. package/docs/TeamAllOf.md +0 -9
  1178. package/docs/TeamId.md +0 -9
  1179. package/docs/Teams.md +0 -10
  1180. package/docs/TeamsAllOf.md +0 -9
  1181. package/docs/TeamsApi.md +0 -468
  1182. package/docs/TemplateObject.md +0 -15
  1183. package/docs/TemplateResponseObject.md +0 -15
  1184. package/docs/Unauthorized.md +0 -11
  1185. package/docs/UpdateActivityPlanItem.md +0 -11
  1186. package/docs/UpdateActivityResponse.md +0 -11
  1187. package/docs/UpdateActivityResponse200.md +0 -11
  1188. package/docs/UpdateDealParameters.md +0 -34
  1189. package/docs/UpdateDealProduct.md +0 -45
  1190. package/docs/UpdateDealRequest.md +0 -42
  1191. package/docs/UpdateFile.md +0 -10
  1192. package/docs/UpdateFileRequest.md +0 -10
  1193. package/docs/UpdateFilterRequest.md +0 -10
  1194. package/docs/UpdateLeadLabelRequest.md +0 -10
  1195. package/docs/UpdateLeadRequest.md +0 -20
  1196. package/docs/UpdateMailThreadDetailsRequest.md +0 -13
  1197. package/docs/UpdateOrganization.md +0 -13
  1198. package/docs/UpdateOrganizationAllOf.md +0 -9
  1199. package/docs/UpdatePerson.md +0 -18
  1200. package/docs/UpdatePersonAllOf.md +0 -9
  1201. package/docs/UpdatePersonResponse.md +0 -11
  1202. package/docs/UpdateProductField.md +0 -10
  1203. package/docs/UpdateProductRequestBody.md +0 -20
  1204. package/docs/UpdateProductResponse.md +0 -11
  1205. package/docs/UpdateProjectResponse.md +0 -11
  1206. package/docs/UpdateProjectResponse200.md +0 -11
  1207. package/docs/UpdateStageRequest.md +0 -14
  1208. package/docs/UpdateStageRequestAllOf.md +0 -9
  1209. package/docs/UpdateTaskPlanItem.md +0 -11
  1210. package/docs/UpdateTaskResponse.md +0 -11
  1211. package/docs/UpdateTaskResponse200.md +0 -11
  1212. package/docs/UpdateTeam.md +0 -14
  1213. package/docs/UpdateTeamAllOf.md +0 -10
  1214. package/docs/UpdateTeamWithAdditionalProperties.md +0 -16
  1215. package/docs/UpdateUserRequest.md +0 -9
  1216. package/docs/UpdatedActivityPlanItem200.md +0 -11
  1217. package/docs/UpdatedTaskPlanItem200.md +0 -11
  1218. package/docs/UpsertGoalResponse.md +0 -10
  1219. package/docs/UpsertLeadLabelResponse.md +0 -10
  1220. package/docs/User.md +0 -10
  1221. package/docs/UserAccess.md +0 -28
  1222. package/docs/UserAllOf.md +0 -9
  1223. package/docs/UserAssignmentToPermissionSet.md +0 -11
  1224. package/docs/UserAssignmentsToPermissionSet.md +0 -10
  1225. package/docs/UserAssignmentsToPermissionSetAllOf.md +0 -9
  1226. package/docs/UserConnections.md +0 -10
  1227. package/docs/UserConnectionsAllOf.md +0 -9
  1228. package/docs/UserConnectionsAllOfData.md +0 -9
  1229. package/docs/UserConnectionsApi.md +0 -58
  1230. package/docs/UserData.md +0 -14
  1231. package/docs/UserDataWithId.md +0 -14
  1232. package/docs/UserIDs.md +0 -10
  1233. package/docs/UserIDsAllOf.md +0 -9
  1234. package/docs/UserMe.md +0 -10
  1235. package/docs/UserMeAllOf.md +0 -9
  1236. package/docs/UserPermissions.md +0 -10
  1237. package/docs/UserPermissionsAllOf.md +0 -9
  1238. package/docs/UserPermissionsItem.md +0 -39
  1239. package/docs/UserProviderLinkCreateRequest.md +0 -12
  1240. package/docs/UserProviderLinkErrorResponse.md +0 -10
  1241. package/docs/UserProviderLinkSuccessResponse.md +0 -10
  1242. package/docs/UserProviderLinkSuccessResponseData.md +0 -9
  1243. package/docs/UserSettings.md +0 -10
  1244. package/docs/UserSettingsAllOf.md +0 -9
  1245. package/docs/UserSettingsApi.md +0 -58
  1246. package/docs/UserSettingsItem.md +0 -16
  1247. package/docs/Users.md +0 -10
  1248. package/docs/UsersAllOf.md +0 -9
  1249. package/docs/UsersApi.md +0 -558
  1250. package/docs/VisibleTo.md +0 -14
  1251. package/docs/Webhook.md +0 -11
  1252. package/docs/WebhookAllOf.md +0 -9
  1253. package/docs/WebhookBadRequest.md +0 -11
  1254. package/docs/WebhookBadRequestAllOf.md +0 -9
  1255. package/docs/Webhooks.md +0 -11
  1256. package/docs/WebhooksAllOf.md +0 -9
  1257. package/docs/WebhooksApi.md +0 -168
  1258. package/docs/WebhooksDeleteForbiddenSchema.md +0 -10
  1259. package/docs/WebhooksDeleteForbiddenSchemaAllOf.md +0 -9
  1260. package/git_push.sh +0 -57
  1261. package/migration.md +0 -309
  1262. package/mocha.opts +0 -1
  1263. package/models/activity-collection-response-object-all-of.ts +0 -180
  1264. package/models/activity-collection-response-object.ts +0 -29
  1265. package/models/activity-distribution-data-with-additional-data-all-of-activity-distribution-assignedtouserid.ts +0 -51
  1266. package/models/activity-distribution-data-with-additional-data-all-of-activity-distribution-assignedtouseridactivities.ts +0 -30
  1267. package/models/activity-distribution-data-with-additional-data-all-of-activity-distribution.ts +0 -33
  1268. package/models/activity-distribution-data-with-additional-data-all-of.ts +0 -33
  1269. package/models/activity-distribution-data-with-additional-data.ts +0 -32
  1270. package/models/activity-response-object-all-of.ts +0 -84
  1271. package/models/activity-response-object-all-of1.ts +0 -330
  1272. package/models/activity-response-object.ts +0 -29
  1273. package/models/add-activity-request-all-of.ts +0 -80
  1274. package/models/add-activity-request.ts +0 -29
  1275. package/models/add-activity-response-additional-data.ts +0 -30
  1276. package/models/add-activity-response-related-objects-organization-organizationid.ts +0 -30
  1277. package/models/add-activity-response-related-objects-organization-organizationidall-of.ts +0 -30
  1278. package/models/add-activity-response-related-objects-organization.ts +0 -33
  1279. package/models/add-activity-response-related-objects-person-personid.ts +0 -36
  1280. package/models/add-activity-response-related-objects-person-personidall-of.ts +0 -30
  1281. package/models/add-activity-response-related-objects-person.ts +0 -33
  1282. package/models/add-activity-response-related-objects.ts +0 -60
  1283. package/models/add-activity-response.ts +0 -57
  1284. package/models/add-activity-type-request.ts +0 -88
  1285. package/models/add-call-log-request.ts +0 -120
  1286. package/models/add-channel-request.ts +0 -63
  1287. package/models/add-channel200-response-data.ts +0 -93
  1288. package/models/add-channel200-response.ts +0 -39
  1289. package/models/add-channel400-response-additional-data.ts +0 -30
  1290. package/models/add-channel400-response.ts +0 -51
  1291. package/models/add-channel403-response-additional-data.ts +0 -30
  1292. package/models/add-channel403-response.ts +0 -51
  1293. package/models/add-deal-follower-request.ts +0 -30
  1294. package/models/add-deal-follower-response-data.ts +0 -48
  1295. package/models/add-deal-follower-response.ts +0 -39
  1296. package/models/add-deal-product-request-all-of.ts +0 -42
  1297. package/models/add-deal-product-request-all-of1.ts +0 -30
  1298. package/models/add-deal-product-request-all-of2.ts +0 -30
  1299. package/models/add-deal-product-request.ts +0 -35
  1300. package/models/add-deal-request.ts +0 -32
  1301. package/models/add-file-response.ts +0 -39
  1302. package/models/add-filter-request.ts +0 -55
  1303. package/models/add-filters-response-all-of-data.ts +0 -103
  1304. package/models/add-filters-response-all-of.ts +0 -33
  1305. package/models/add-filters-response.ts +0 -32
  1306. package/models/add-goal-request.ts +0 -70
  1307. package/models/add-lead-label-request.ts +0 -48
  1308. package/models/add-lead-request.ts +0 -109
  1309. package/models/add-new-follower-response-data.ts +0 -48
  1310. package/models/add-new-follower-response.ts +0 -39
  1311. package/models/add-note-request-all-of.ts +0 -54
  1312. package/models/add-note-request-all-of1.ts +0 -86
  1313. package/models/add-note-request.ts +0 -29
  1314. package/models/add-or-update-role-setting-request.ts +0 -55
  1315. package/models/add-organization-follower-request.ts +0 -30
  1316. package/models/add-organization-follower-response.ts +0 -39
  1317. package/models/add-organization-relationship-request.ts +0 -56
  1318. package/models/add-organization-relationship-response-all-of.ts +0 -42
  1319. package/models/add-organization-relationship-response.ts +0 -35
  1320. package/models/add-organization-request-all-of.ts +0 -36
  1321. package/models/add-organization-request.ts +0 -29
  1322. package/models/add-organization-response-all-of.ts +0 -42
  1323. package/models/add-organization-response.ts +0 -35
  1324. package/models/add-participants-response-data.ts +0 -42
  1325. package/models/add-participants-response-related-objects.ts +0 -42
  1326. package/models/add-participants-response.ts +0 -48
  1327. package/models/add-person-follower-request.ts +0 -30
  1328. package/models/add-person-follower-response-all-of-data.ts +0 -48
  1329. package/models/add-person-follower-response-all-of.ts +0 -33
  1330. package/models/add-person-follower-response.ts +0 -32
  1331. package/models/add-person-picture-response-all-of.ts +0 -33
  1332. package/models/add-person-picture-response.ts +0 -32
  1333. package/models/add-person-request-all-of.ts +0 -30
  1334. package/models/add-person-request.ts +0 -35
  1335. package/models/add-person-response-all-of.ts +0 -42
  1336. package/models/add-person-response.ts +0 -35
  1337. package/models/add-pipeline-response-all-of-data.ts +0 -72
  1338. package/models/add-pipeline-response-all-of.ts +0 -33
  1339. package/models/add-pipeline-response.ts +0 -32
  1340. package/models/add-product-follower-request.ts +0 -30
  1341. package/models/add-product-request-all-of.ts +0 -30
  1342. package/models/add-product-request-all-of1.ts +0 -42
  1343. package/models/add-product-request.ts +0 -35
  1344. package/models/add-project-request-all-of.ts +0 -30
  1345. package/models/add-project-request.ts +0 -32
  1346. package/models/add-project-response.ts +0 -45
  1347. package/models/add-recurring-subscription-request.ts +0 -94
  1348. package/models/add-remote-file-and-link-it-to-item-response.ts +0 -39
  1349. package/models/add-role-assignment-request.ts +0 -30
  1350. package/models/add-role-assignment-response-all-of-data.ts +0 -36
  1351. package/models/add-role-assignment-response-all-of.ts +0 -33
  1352. package/models/add-role-assignment-response.ts +0 -32
  1353. package/models/add-roles-response-all-of-data.ts +0 -30
  1354. package/models/add-roles-response-all-of.ts +0 -33
  1355. package/models/add-roles-response.ts +0 -32
  1356. package/models/add-stage-request.ts +0 -54
  1357. package/models/add-subscription-installment-request.ts +0 -48
  1358. package/models/add-task-request.ts +0 -29
  1359. package/models/add-task-response.ts +0 -45
  1360. package/models/add-team-request.ts +0 -48
  1361. package/models/add-team-request1.ts +0 -48
  1362. package/models/add-team-user-request.ts +0 -30
  1363. package/models/add-user-provider-link-request.ts +0 -48
  1364. package/models/add-user-request-access-inner.ts +0 -53
  1365. package/models/add-user-request.ts +0 -45
  1366. package/models/add-webhook-request.ts +0 -98
  1367. package/models/additional-base-organization-item-info.ts +0 -29
  1368. package/models/additional-merge-person-info.ts +0 -29
  1369. package/models/additional-person-info.ts +0 -35
  1370. package/models/base-deal.ts +0 -396
  1371. package/models/base-mail-thread-all-of.ts +0 -158
  1372. package/models/base-mail-thread-all-of1-parties-to-inner.ts +0 -78
  1373. package/models/base-mail-thread-all-of1-parties.ts +0 -39
  1374. package/models/base-mail-thread-all-of1.ts +0 -209
  1375. package/models/base-mail-thread.ts +0 -32
  1376. package/models/base-mail-thread1.ts +0 -33
  1377. package/models/base-organization-item-all-of-picture-id-all-of.ts +0 -30
  1378. package/models/base-organization-item-all-of-picture-id.ts +0 -32
  1379. package/models/base-organization-item-all-of.ts +0 -120
  1380. package/models/base-organization-item-with-edit-name-flag-all-of.ts +0 -30
  1381. package/models/base-organization-item-with-edit-name-flag.ts +0 -35
  1382. package/models/base-organization-item.ts +0 -35
  1383. package/models/base-pipeline-with-selected-flag-all-of.ts +0 -30
  1384. package/models/base-pipeline-with-selected-flag.ts +0 -29
  1385. package/models/base-response-all-of.ts +0 -30
  1386. package/models/base-role-request.ts +0 -36
  1387. package/models/base-team-additional-properties.ts +0 -36
  1388. package/models/base-team.ts +0 -29
  1389. package/models/basic-deal-product-request-all-of.ts +0 -99
  1390. package/models/basic-deal-product-request.ts +0 -35
  1391. package/models/basic-goal-request.ts +0 -70
  1392. package/models/basic-person-request-email-inner.ts +0 -42
  1393. package/models/basic-person-request.ts +0 -102
  1394. package/models/call-log-bad-request-response.ts +0 -54
  1395. package/models/call-log-conflict-response.ts +0 -54
  1396. package/models/call-log-forbidden-response.ts +0 -54
  1397. package/models/call-log-gone-response.ts +0 -54
  1398. package/models/call-log-internal-error-response.ts +0 -54
  1399. package/models/call-log-not-found-response.ts +0 -54
  1400. package/models/cancel-recurring-subscription-request.ts +0 -30
  1401. package/models/comment-post-put-object.ts +0 -30
  1402. package/models/create-field-request-all-of.ts +0 -42
  1403. package/models/create-field-request-all-of1.ts +0 -53
  1404. package/models/create-field-request.ts +0 -29
  1405. package/models/deal-collection-response-object.ts +0 -150
  1406. package/models/deal-count-and-activity-info-all-of.ts +0 -72
  1407. package/models/deal-count-and-activity-info-all-of1.ts +0 -54
  1408. package/models/deal-count-and-activity-info.ts +0 -29
  1409. package/models/deal-non-strict-all-of-creator-user-id.ts +0 -66
  1410. package/models/deal-non-strict-all-of.ts +0 -66
  1411. package/models/deal-non-strict-with-details-all-of-age.ts +0 -66
  1412. package/models/deal-non-strict-with-details-all-of-average-time-to-won.ts +0 -66
  1413. package/models/deal-non-strict-with-details-all-of-stay-in-pipeline-stages.ts +0 -36
  1414. package/models/deal-non-strict-with-details-all-of.ts +0 -69
  1415. package/models/deal-non-strict-with-details.ts +0 -50
  1416. package/models/deal-non-strict.ts +0 -41
  1417. package/models/deal-organization-data-with-id-all-of.ts +0 -60
  1418. package/models/deal-organization-data-with-id-all-of1.ts +0 -30
  1419. package/models/deal-organization-data-with-id.ts +0 -29
  1420. package/models/deal-person-data-with-id-all-of-email-inner.ts +0 -42
  1421. package/models/deal-person-data-with-id-all-of-phone-inner.ts +0 -42
  1422. package/models/deal-person-data-with-id-all-of.ts +0 -60
  1423. package/models/deal-person-data-with-id-all-of1.ts +0 -30
  1424. package/models/deal-person-data-with-id.ts +0 -35
  1425. package/models/deal-product-request-body.ts +0 -99
  1426. package/models/deal-product-request-body1.ts +0 -99
  1427. package/models/deal-strict-all-of.ts +0 -54
  1428. package/models/deal-strict.ts +0 -29
  1429. package/models/deal-user-data-with-id-all-of.ts +0 -60
  1430. package/models/deal-user-data-with-id-all-of1.ts +0 -30
  1431. package/models/deal-user-data-with-id.ts +0 -29
  1432. package/models/deals-count-and-activity-info.ts +0 -29
  1433. package/models/delete-activities-response-data.ts +0 -30
  1434. package/models/delete-activities-response.ts +0 -39
  1435. package/models/delete-activity-response-data.ts +0 -30
  1436. package/models/delete-activity-response.ts +0 -39
  1437. package/models/delete-activity-types-response-all-of-data.ts +0 -30
  1438. package/models/delete-activity-types-response-all-of.ts +0 -33
  1439. package/models/delete-activity-types-response.ts +0 -32
  1440. package/models/delete-channel200-response.ts +0 -30
  1441. package/models/delete-comment-response.ts +0 -36
  1442. package/models/delete-conversation403-response-additional-data.ts +0 -30
  1443. package/models/delete-conversation403-response.ts +0 -51
  1444. package/models/delete-conversation404-response-additional-data.ts +0 -30
  1445. package/models/delete-conversation404-response.ts +0 -51
  1446. package/models/delete-deal-follower-response-data.ts +0 -30
  1447. package/models/delete-deal-follower-response.ts +0 -39
  1448. package/models/delete-deal-participant-response-data.ts +0 -30
  1449. package/models/delete-deal-participant-response.ts +0 -39
  1450. package/models/delete-deal-product-response-data.ts +0 -30
  1451. package/models/delete-deal-product-response.ts +0 -39
  1452. package/models/delete-deal-response-data.ts +0 -30
  1453. package/models/delete-deal-response.ts +0 -39
  1454. package/models/delete-deals-response-data.ts +0 -30
  1455. package/models/delete-deals-response.ts +0 -39
  1456. package/models/delete-fields-response-all-of-data.ts +0 -30
  1457. package/models/delete-fields-response-all-of.ts +0 -33
  1458. package/models/delete-fields-response.ts +0 -32
  1459. package/models/delete-file-response-data.ts +0 -30
  1460. package/models/delete-file-response.ts +0 -39
  1461. package/models/delete-filter-response-all-of-data.ts +0 -30
  1462. package/models/delete-filter-response-all-of.ts +0 -33
  1463. package/models/delete-filter-response.ts +0 -32
  1464. package/models/delete-filters-response-all-of-data.ts +0 -30
  1465. package/models/delete-filters-response-all-of.ts +0 -33
  1466. package/models/delete-filters-response.ts +0 -32
  1467. package/models/delete-goal-response.ts +0 -30
  1468. package/models/delete-lead-id-response.ts +0 -39
  1469. package/models/delete-mail-thread-response-all-of-data.ts +0 -30
  1470. package/models/delete-mail-thread-response-all-of.ts +0 -33
  1471. package/models/delete-mail-thread-response.ts +0 -32
  1472. package/models/delete-note-response.ts +0 -36
  1473. package/models/delete-organization-follower-response-data.ts +0 -30
  1474. package/models/delete-organization-follower-response.ts +0 -39
  1475. package/models/delete-organization-relationship-response-all-of-data.ts +0 -30
  1476. package/models/delete-organization-relationship-response-all-of.ts +0 -33
  1477. package/models/delete-organization-relationship-response.ts +0 -32
  1478. package/models/delete-organization-response-data.ts +0 -30
  1479. package/models/delete-organization-response.ts +0 -39
  1480. package/models/delete-organizations-response-data.ts +0 -30
  1481. package/models/delete-organizations-response.ts +0 -39
  1482. package/models/delete-person-response-all-of-data.ts +0 -30
  1483. package/models/delete-person-response-all-of.ts +0 -33
  1484. package/models/delete-person-response.ts +0 -32
  1485. package/models/delete-persons-response-all-of-data.ts +0 -30
  1486. package/models/delete-persons-response-all-of.ts +0 -33
  1487. package/models/delete-persons-response.ts +0 -32
  1488. package/models/delete-pipeline-response-data.ts +0 -30
  1489. package/models/delete-pipeline-response.ts +0 -39
  1490. package/models/delete-product-field-response.ts +0 -39
  1491. package/models/delete-product-fields-response-data.ts +0 -30
  1492. package/models/delete-product-fields-response.ts +0 -39
  1493. package/models/delete-product-follower-response.ts +0 -39
  1494. package/models/delete-product-response-data.ts +0 -30
  1495. package/models/delete-product-response.ts +0 -39
  1496. package/models/delete-project-data.ts +0 -30
  1497. package/models/delete-project-response.ts +0 -45
  1498. package/models/delete-project.ts +0 -39
  1499. package/models/delete-response-all-of-data.ts +0 -30
  1500. package/models/delete-response-all-of.ts +0 -33
  1501. package/models/delete-response.ts +0 -32
  1502. package/models/delete-role-assignment-request.ts +0 -30
  1503. package/models/delete-role-assignment-response.ts +0 -32
  1504. package/models/delete-role-response.ts +0 -32
  1505. package/models/delete-stage-response-data.ts +0 -30
  1506. package/models/delete-stage-response.ts +0 -39
  1507. package/models/delete-stages-response-data.ts +0 -30
  1508. package/models/delete-stages-response.ts +0 -39
  1509. package/models/delete-task-data.ts +0 -30
  1510. package/models/delete-task-response.ts +0 -45
  1511. package/models/delete-task.ts +0 -39
  1512. package/models/delete-team-user-request.ts +0 -30
  1513. package/models/delete-webhook403-response-all-of.ts +0 -30
  1514. package/models/delete-webhook403-response.ts +0 -29
  1515. package/models/fail-response.ts +0 -36
  1516. package/models/full-project-object-all-of.ts +0 -42
  1517. package/models/full-project-object-all-of1.ts +0 -78
  1518. package/models/full-project-object-all-of2.ts +0 -48
  1519. package/models/full-project-object.ts +0 -32
  1520. package/models/full-role-all-of.ts +0 -30
  1521. package/models/full-role.ts +0 -29
  1522. package/models/get-activities-collection-response-additional-data.ts +0 -30
  1523. package/models/get-activities-collection-response.ts +0 -48
  1524. package/models/get-activities-response-additional-data-pagination.ts +0 -48
  1525. package/models/get-activities-response-additional-data.ts +0 -33
  1526. package/models/get-activities-response-related-objects-deal-dealid.ts +0 -66
  1527. package/models/get-activities-response-related-objects-deal.ts +0 -33
  1528. package/models/get-activities-response-related-objects-organization-organizationid.ts +0 -30
  1529. package/models/get-activities-response-related-objects-organization-organizationidall-of.ts +0 -30
  1530. package/models/get-activities-response-related-objects-organization-organizationidall-of1.ts +0 -54
  1531. package/models/get-activities-response-related-objects-organization.ts +0 -33
  1532. package/models/get-activities-response-related-objects-person-personid.ts +0 -33
  1533. package/models/get-activities-response-related-objects-person-personidall-of-email-inner.ts +0 -42
  1534. package/models/get-activities-response-related-objects-person-personidall-of-phone-inner.ts +0 -42
  1535. package/models/get-activities-response-related-objects-person-personidall-of.ts +0 -60
  1536. package/models/get-activities-response-related-objects-person.ts +0 -33
  1537. package/models/get-activities-response-related-objects-user.ts +0 -33
  1538. package/models/get-activities-response-related-objects.ts +0 -60
  1539. package/models/get-activities-response.ts +0 -57
  1540. package/models/get-activity-response.ts +0 -48
  1541. package/models/get-activity-types-response-all-of-data-inner.ts +0 -130
  1542. package/models/get-activity-types-response-all-of.ts +0 -33
  1543. package/models/get-activity-types-response.ts +0 -32
  1544. package/models/get-add-product-attachment-details-response-data-all-of-all-of-all-of.ts +0 -90
  1545. package/models/get-add-product-attachment-details-response-data-all-of-all-of.ts +0 -29
  1546. package/models/get-add-product-attachment-details-response-data-all-of-all-of1.ts +0 -30
  1547. package/models/get-add-product-attachment-details-response-data-all-of.ts +0 -29
  1548. package/models/get-add-product-attachment-details-response-data.ts +0 -27
  1549. package/models/get-add-product-attachment-details-response.ts +0 -39
  1550. package/models/get-added-deal-response.ts +0 -48
  1551. package/models/get-associated-activities-response-all-of.ts +0 -42
  1552. package/models/get-associated-activities-response.ts +0 -35
  1553. package/models/get-associated-deals-response-all-of-related-objects-pipeline.ts +0 -72
  1554. package/models/get-associated-deals-response-all-of-related-objects-stage.ts +0 -84
  1555. package/models/get-associated-deals-response-all-of-related-objects.ts +0 -69
  1556. package/models/get-associated-deals-response-all-of.ts +0 -51
  1557. package/models/get-associated-deals-response.ts +0 -38
  1558. package/models/get-associated-files-response-all-of-data-inner.ts +0 -192
  1559. package/models/get-associated-files-response-all-of.ts +0 -42
  1560. package/models/get-associated-files-response.ts +0 -35
  1561. package/models/get-associated-followers-response-all-of-data-inner.ts +0 -48
  1562. package/models/get-associated-followers-response-all-of.ts +0 -42
  1563. package/models/get-associated-followers-response.ts +0 -35
  1564. package/models/get-associated-followers-response1-data-inner-all-of.ts +0 -30
  1565. package/models/get-associated-followers-response1-data-inner-all-of1.ts +0 -42
  1566. package/models/get-associated-followers-response1-data-inner.ts +0 -29
  1567. package/models/get-associated-followers-response1.ts +0 -48
  1568. package/models/get-associated-mail-messages-response-all-of-data-inner.ts +0 -45
  1569. package/models/get-associated-mail-messages-response-all-of.ts +0 -42
  1570. package/models/get-associated-mail-messages-response.ts +0 -35
  1571. package/models/get-associated-organization-updates-response-all-of-data-inner.ts +0 -42
  1572. package/models/get-associated-organization-updates-response-all-of-related-objects.ts +0 -42
  1573. package/models/get-associated-organization-updates-response-all-of.ts +0 -51
  1574. package/models/get-associated-organization-updates-response.ts +0 -38
  1575. package/models/get-associated-person-updates-response-all-of-data-inner.ts +0 -42
  1576. package/models/get-associated-person-updates-response-all-of.ts +0 -51
  1577. package/models/get-associated-person-updates-response.ts +0 -38
  1578. package/models/get-associated-product-files-response-all-of-data-inner.ts +0 -114
  1579. package/models/get-associated-product-files-response-all-of.ts +0 -42
  1580. package/models/get-associated-product-files-response.ts +0 -35
  1581. package/models/get-call-log-response.ts +0 -39
  1582. package/models/get-call-logs-response-additional-data.ts +0 -33
  1583. package/models/get-call-logs-response.ts +0 -48
  1584. package/models/get-changelog-response-all-of-data-inner.ts +0 -72
  1585. package/models/get-changelog-response-all-of.ts +0 -42
  1586. package/models/get-changelog-response.ts +0 -35
  1587. package/models/get-comments-response-data-inner.ts +0 -84
  1588. package/models/get-comments-response.ts +0 -48
  1589. package/models/get-currencies-response-data-inner.ts +0 -66
  1590. package/models/get-currencies-response.ts +0 -39
  1591. package/models/get-current-user-response-all-of-data-all-of-language.ts +0 -36
  1592. package/models/get-current-user-response-all-of-data-all-of.ts +0 -63
  1593. package/models/get-current-user-response-all-of-data.ts +0 -35
  1594. package/models/get-current-user-response-all-of.ts +0 -33
  1595. package/models/get-current-user-response.ts +0 -32
  1596. package/models/get-deal-activities-response-all-of-related-objects.ts +0 -60
  1597. package/models/get-deal-activities-response-all-of.ts +0 -51
  1598. package/models/get-deal-activities-response.ts +0 -38
  1599. package/models/get-deal-participants-response.ts +0 -57
  1600. package/models/get-deal-response-additional-data.ts +0 -30
  1601. package/models/get-deal-response-related-objects.ts +0 -51
  1602. package/models/get-deal-response.ts +0 -57
  1603. package/models/get-deal-search-response-all-of-data-items-inner-item-organization.ts +0 -36
  1604. package/models/get-deal-search-response-all-of-data-items-inner-item-owner.ts +0 -30
  1605. package/models/get-deal-search-response-all-of-data-items-inner-item-person.ts +0 -36
  1606. package/models/get-deal-search-response-all-of-data-items-inner-item-stage.ts +0 -36
  1607. package/models/get-deal-search-response-all-of-data-items-inner-item.ts +0 -114
  1608. package/models/get-deal-search-response-all-of-data-items-inner.ts +0 -39
  1609. package/models/get-deal-search-response-all-of-data.ts +0 -33
  1610. package/models/get-deal-search-response-all-of.ts +0 -42
  1611. package/models/get-deal-search-response.ts +0 -35
  1612. package/models/get-deal-updates-response-all-of-data-inner.ts +0 -42
  1613. package/models/get-deal-updates-response-all-of-related-objects.ts +0 -60
  1614. package/models/get-deal-updates-response-all-of.ts +0 -51
  1615. package/models/get-deal-updates-response.ts +0 -38
  1616. package/models/get-deals-collection-response.ts +0 -48
  1617. package/models/get-deals-response-related-objects.ts +0 -51
  1618. package/models/get-deals-response.ts +0 -57
  1619. package/models/get-deals-summary-response-data-values-total.ts +0 -54
  1620. package/models/get-deals-summary-response-data-weighted-values-total.ts +0 -42
  1621. package/models/get-deals-summary-response-data.ts +0 -72
  1622. package/models/get-deals-summary-response.ts +0 -39
  1623. package/models/get-deals-timeline-response-data-totals.ts +0 -72
  1624. package/models/get-deals-timeline-response-data.ts +0 -54
  1625. package/models/get-deals-timeline-response.ts +0 -39
  1626. package/models/get-duplicated-deal-response.ts +0 -39
  1627. package/models/get-field-response-all-of.ts +0 -33
  1628. package/models/get-field-response.ts +0 -32
  1629. package/models/get-fields-response-all-of-additional-data.ts +0 -42
  1630. package/models/get-fields-response-all-of.ts +0 -42
  1631. package/models/get-fields-response.ts +0 -35
  1632. package/models/get-file-response.ts +0 -39
  1633. package/models/get-files-response-additional-data.ts +0 -33
  1634. package/models/get-files-response-data-inner.ts +0 -192
  1635. package/models/get-files-response.ts +0 -48
  1636. package/models/get-filters-response-all-of-data-inner.ts +0 -78
  1637. package/models/get-filters-response-all-of.ts +0 -33
  1638. package/models/get-filters-response.ts +0 -32
  1639. package/models/get-filters-response1-all-of.ts +0 -33
  1640. package/models/get-filters-response1.ts +0 -32
  1641. package/models/get-goal-result-response-data.ts +0 -39
  1642. package/models/get-goal-result-response.ts +0 -39
  1643. package/models/get-goals-response-data.ts +0 -33
  1644. package/models/get-goals-response.ts +0 -39
  1645. package/models/get-item-search-field-response-all-of-data-inner.ts +0 -36
  1646. package/models/get-item-search-field-response-all-of.ts +0 -42
  1647. package/models/get-item-search-field-response.ts +0 -35
  1648. package/models/get-item-search-response-all-of-data-items-inner.ts +0 -36
  1649. package/models/get-item-search-response-all-of-data.ts +0 -39
  1650. package/models/get-item-search-response-all-of.ts +0 -42
  1651. package/models/get-item-search-response.ts +0 -35
  1652. package/models/get-lead-id-response.ts +0 -39
  1653. package/models/get-lead-labels-response-data-inner.ts +0 -66
  1654. package/models/get-lead-labels-response.ts +0 -39
  1655. package/models/get-lead-response.ts +0 -39
  1656. package/models/get-lead-search-response-all-of-data-items-inner-item-organization.ts +0 -36
  1657. package/models/get-lead-search-response-all-of-data-items-inner-item-owner.ts +0 -30
  1658. package/models/get-lead-search-response-all-of-data-items-inner-item-person.ts +0 -36
  1659. package/models/get-lead-search-response-all-of-data-items-inner-item.ts +0 -117
  1660. package/models/get-lead-search-response-all-of-data-items-inner.ts +0 -39
  1661. package/models/get-lead-search-response-all-of-data.ts +0 -33
  1662. package/models/get-lead-search-response-all-of.ts +0 -42
  1663. package/models/get-lead-search-response.ts +0 -35
  1664. package/models/get-leads-response-data-inner-value.ts +0 -36
  1665. package/models/get-leads-response-data-inner.ts +0 -163
  1666. package/models/get-leads-response.ts +0 -48
  1667. package/models/get-leads-source-response-data-inner.ts +0 -30
  1668. package/models/get-leads-source-response.ts +0 -39
  1669. package/models/get-link-remote-file-to-item-response.ts +0 -39
  1670. package/models/get-mail-message-response-all-of.ts +0 -48
  1671. package/models/get-mail-message-response-all-of1.ts +0 -33
  1672. package/models/get-mail-message-response.ts +0 -32
  1673. package/models/get-mail-thread-messages-response-all-of-data-inner-all-of.ts +0 -125
  1674. package/models/get-mail-thread-messages-response-all-of-data-inner.ts +0 -32
  1675. package/models/get-mail-thread-messages-response-all-of.ts +0 -33
  1676. package/models/get-mail-thread-messages-response.ts +0 -32
  1677. package/models/get-mail-thread-response-all-of.ts +0 -33
  1678. package/models/get-mail-thread-response.ts +0 -32
  1679. package/models/get-mail-thread-response1-all-of-data.ts +0 -30
  1680. package/models/get-mail-thread-response1-all-of.ts +0 -33
  1681. package/models/get-mail-thread-response1.ts +0 -32
  1682. package/models/get-merged-deal-response-data-all-of.ts +0 -30
  1683. package/models/get-merged-deal-response-data.ts +0 -29
  1684. package/models/get-merged-deal-response.ts +0 -39
  1685. package/models/get-note-fields-response-all-of.ts +0 -42
  1686. package/models/get-note-fields-response.ts +0 -35
  1687. package/models/get-notes-response-additional-data-pagination.ts +0 -30
  1688. package/models/get-notes-response-additional-data.ts +0 -33
  1689. package/models/get-notes-response-data-inner-deal.ts +0 -30
  1690. package/models/get-notes-response-data-inner-organization.ts +0 -30
  1691. package/models/get-notes-response-data-inner-person.ts +0 -30
  1692. package/models/get-notes-response-data-inner-user.ts +0 -48
  1693. package/models/get-notes-response-data-inner.ts +0 -144
  1694. package/models/get-notes-response.ts +0 -48
  1695. package/models/get-organization-item-all-of.ts +0 -36
  1696. package/models/get-organization-item.ts +0 -35
  1697. package/models/get-organization-relationship-response-all-of.ts +0 -42
  1698. package/models/get-organization-relationship-response.ts +0 -35
  1699. package/models/get-organization-relationships-response-all-of-related-objects.ts +0 -33
  1700. package/models/get-organization-relationships-response-all-of.ts +0 -51
  1701. package/models/get-organization-relationships-response.ts +0 -38
  1702. package/models/get-organization-response-all-of-additional-data-followers-followeruserid.ts +0 -27
  1703. package/models/get-organization-response-all-of-additional-data-followers-followeruseridall-of-all-of.ts +0 -30
  1704. package/models/get-organization-response-all-of-additional-data-followers-followeruseridall-of-all-of1.ts +0 -48
  1705. package/models/get-organization-response-all-of-additional-data-followers-followeruseridall-of.ts +0 -29
  1706. package/models/get-organization-response-all-of-additional-data-followers.ts +0 -33
  1707. package/models/get-organization-response-all-of-additional-data.ts +0 -39
  1708. package/models/get-organization-response-all-of.ts +0 -51
  1709. package/models/get-organization-response.ts +0 -38
  1710. package/models/get-organization-search-response-all-of-data-items-inner-item.ts +0 -75
  1711. package/models/get-organization-search-response-all-of-data-items-inner.ts +0 -39
  1712. package/models/get-organization-search-response-all-of-data.ts +0 -33
  1713. package/models/get-organization-search-response-all-of.ts +0 -42
  1714. package/models/get-organization-search-response.ts +0 -35
  1715. package/models/get-organizations-collection-response-object-all-of.ts +0 -90
  1716. package/models/get-organizations-collection-response-object.ts +0 -29
  1717. package/models/get-organizations-collection200-response.ts +0 -48
  1718. package/models/get-organizations-response-all-of-related-objects-picture-pictureid.ts +0 -30
  1719. package/models/get-organizations-response-all-of-related-objects-picture.ts +0 -33
  1720. package/models/get-organizations-response-all-of-related-objects.ts +0 -51
  1721. package/models/get-organizations-response-all-of.ts +0 -51
  1722. package/models/get-organizations-response.ts +0 -38
  1723. package/models/get-participants-changelog-response.ts +0 -48
  1724. package/models/get-payments-response-all-of-data-inner.ts +0 -121
  1725. package/models/get-payments-response-all-of.ts +0 -33
  1726. package/models/get-payments-response.ts +0 -32
  1727. package/models/get-permission-set-response-all-of.ts +0 -30
  1728. package/models/get-permission-set-response.ts +0 -29
  1729. package/models/get-permission-sets-response-all-of-data-inner.ts +0 -79
  1730. package/models/get-permission-sets-response-all-of.ts +0 -33
  1731. package/models/get-permission-sets-response.ts +0 -32
  1732. package/models/get-permitted-users-response.ts +0 -26
  1733. package/models/get-permitted-users-response1-all-of.ts +0 -30
  1734. package/models/get-permitted-users-response1.ts +0 -29
  1735. package/models/get-person-details-response-all-of-additional-data.ts +0 -30
  1736. package/models/get-person-details-response-all-of.ts +0 -51
  1737. package/models/get-person-details-response.ts +0 -38
  1738. package/models/get-person-products-response-all-of-data-inner-dealid.ts +0 -42
  1739. package/models/get-person-products-response-all-of-data-inner-dealiddeal.ts +0 -282
  1740. package/models/get-person-products-response-all-of-data-inner-dealidproduct.ts +0 -136
  1741. package/models/get-person-products-response-all-of-data-inner.ts +0 -33
  1742. package/models/get-person-products-response-all-of.ts +0 -42
  1743. package/models/get-person-products-response.ts +0 -35
  1744. package/models/get-person-search-response-all-of-data-items-inner-item-organization.ts +0 -36
  1745. package/models/get-person-search-response-all-of-data-items-inner-item-owner.ts +0 -30
  1746. package/models/get-person-search-response-all-of-data-items-inner-item.ts +0 -90
  1747. package/models/get-person-search-response-all-of-data-items-inner.ts +0 -39
  1748. package/models/get-person-search-response-all-of-data.ts +0 -33
  1749. package/models/get-person-search-response-all-of.ts +0 -42
  1750. package/models/get-person-search-response.ts +0 -35
  1751. package/models/get-persons-collection200-response.ts +0 -48
  1752. package/models/get-persons-response-all-of-related-objects.ts +0 -42
  1753. package/models/get-persons-response-all-of.ts +0 -51
  1754. package/models/get-persons-response.ts +0 -38
  1755. package/models/get-persons-response1-all-of.ts +0 -51
  1756. package/models/get-persons-response1.ts +0 -38
  1757. package/models/get-pipeline-deals-conversion-rates-in-response-all-of-data-stage-conversions-inner.ts +0 -42
  1758. package/models/get-pipeline-deals-conversion-rates-in-response-all-of-data.ts +0 -45
  1759. package/models/get-pipeline-deals-conversion-rates-in-response-all-of.ts +0 -33
  1760. package/models/get-pipeline-deals-conversion-rates-in-response.ts +0 -32
  1761. package/models/get-pipeline-deals-movements-statistics-response-all-of-data-average-age-in-days-by-stages-inner.ts +0 -36
  1762. package/models/get-pipeline-deals-movements-statistics-response-all-of-data-average-age-in-days.ts +0 -39
  1763. package/models/get-pipeline-deals-movements-statistics-response-all-of-data-movements-between-stages.ts +0 -30
  1764. package/models/get-pipeline-deals-movements-statistics-response-all-of-data-new-deals-formatted-values.ts +0 -30
  1765. package/models/get-pipeline-deals-movements-statistics-response-all-of-data-new-deals-values.ts +0 -30
  1766. package/models/get-pipeline-deals-movements-statistics-response-all-of-data-new-deals.ts +0 -54
  1767. package/models/get-pipeline-deals-movements-statistics-response-all-of-data.ts +0 -69
  1768. package/models/get-pipeline-deals-movements-statistics-response-all-of.ts +0 -33
  1769. package/models/get-pipeline-deals-movements-statistics-response.ts +0 -32
  1770. package/models/get-pipeline-response-all-of.ts +0 -33
  1771. package/models/get-pipeline-response.ts +0 -32
  1772. package/models/get-pipelines-response-all-of.ts +0 -33
  1773. package/models/get-pipelines-response.ts +0 -32
  1774. package/models/get-product-attachment-details-response-data.ts +0 -27
  1775. package/models/get-product-attachment-details-response.ts +0 -39
  1776. package/models/get-product-field-response.ts +0 -39
  1777. package/models/get-product-fields-response.ts +0 -45
  1778. package/models/get-product-followers-response-all-of-data-inner.ts +0 -48
  1779. package/models/get-product-followers-response-all-of.ts +0 -42
  1780. package/models/get-product-followers-response.ts +0 -35
  1781. package/models/get-product-response.ts +0 -48
  1782. package/models/get-product-search-response-all-of-data-items-inner-item-owner.ts +0 -30
  1783. package/models/get-product-search-response-all-of-data-items-inner-item.ts +0 -69
  1784. package/models/get-product-search-response-all-of-data-items-inner.ts +0 -39
  1785. package/models/get-product-search-response-all-of-data.ts +0 -33
  1786. package/models/get-product-search-response-all-of.ts +0 -42
  1787. package/models/get-product-search-response.ts +0 -35
  1788. package/models/get-products-response-all-of-additional-data-all-of.ts +0 -48
  1789. package/models/get-products-response-all-of-additional-data.ts +0 -32
  1790. package/models/get-products-response-all-of-data-inner-product-all-of.ts +0 -110
  1791. package/models/get-products-response-all-of-data-inner-product-all-of1.ts +0 -30
  1792. package/models/get-products-response-all-of-data-inner-product.ts +0 -29
  1793. package/models/get-products-response-all-of-data-inner.ts +0 -174
  1794. package/models/get-products-response-all-of-related-objects.ts +0 -33
  1795. package/models/get-products-response-all-of.ts +0 -51
  1796. package/models/get-products-response.ts +0 -38
  1797. package/models/get-products-response1-additional-data.ts +0 -42
  1798. package/models/get-products-response1.ts +0 -57
  1799. package/models/get-project-board-response.ts +0 -45
  1800. package/models/get-project-boards-response-data-inner.ts +0 -54
  1801. package/models/get-project-boards-response.ts +0 -45
  1802. package/models/get-project-groups-response-data-inner.ts +0 -42
  1803. package/models/get-project-groups-response.ts +0 -45
  1804. package/models/get-project-phase-response.ts +0 -45
  1805. package/models/get-project-phases-response-data-inner.ts +0 -60
  1806. package/models/get-project-phases-response.ts +0 -45
  1807. package/models/get-project-plan-response-data-inner.ts +0 -48
  1808. package/models/get-project-plan-response.ts +0 -45
  1809. package/models/get-project-response.ts +0 -45
  1810. package/models/get-project-template-response.ts +0 -45
  1811. package/models/get-project-templates-response.ts +0 -48
  1812. package/models/get-projects-response.ts +0 -48
  1813. package/models/get-recents-response-additional-data.ts +0 -45
  1814. package/models/get-recents-response-data-inner-any-of.ts +0 -52
  1815. package/models/get-recents-response-data-inner-any-of1.ts +0 -52
  1816. package/models/get-recents-response-data-inner-any-of10.ts +0 -52
  1817. package/models/get-recents-response-data-inner-any-of11-data-access-inner.ts +0 -53
  1818. package/models/get-recents-response-data-inner-any-of11-data.ts +0 -147
  1819. package/models/get-recents-response-data-inner-any-of11.ts +0 -52
  1820. package/models/get-recents-response-data-inner-any-of2.ts +0 -52
  1821. package/models/get-recents-response-data-inner-any-of3.ts +0 -52
  1822. package/models/get-recents-response-data-inner-any-of4.ts +0 -52
  1823. package/models/get-recents-response-data-inner-any-of5.ts +0 -52
  1824. package/models/get-recents-response-data-inner-any-of6.ts +0 -52
  1825. package/models/get-recents-response-data-inner-any-of7.ts +0 -52
  1826. package/models/get-recents-response-data-inner-any-of8.ts +0 -52
  1827. package/models/get-recents-response-data-inner-any-of9-data.ts +0 -120
  1828. package/models/get-recents-response-data-inner-any-of9.ts +0 -52
  1829. package/models/get-recents-response-data-inner.ts +0 -88
  1830. package/models/get-recents-response.ts +0 -48
  1831. package/models/get-role-assignments-response-all-of.ts +0 -42
  1832. package/models/get-role-assignments-response.ts +0 -35
  1833. package/models/get-role-pipelines-response-all-of-data.ts +0 -36
  1834. package/models/get-role-pipelines-response-all-of.ts +0 -33
  1835. package/models/get-role-pipelines-response.ts +0 -32
  1836. package/models/get-role-response-all-of-additional-data-settings.ts +0 -78
  1837. package/models/get-role-response-all-of-additional-data.ts +0 -33
  1838. package/models/get-role-response-all-of.ts +0 -42
  1839. package/models/get-role-response.ts +0 -35
  1840. package/models/get-role-settings-response-all-of.ts +0 -33
  1841. package/models/get-role-settings-response.ts +0 -32
  1842. package/models/get-roles-response-all-of-additional-data-pagination.ts +0 -42
  1843. package/models/get-roles-response-all-of-additional-data.ts +0 -33
  1844. package/models/get-roles-response-all-of.ts +0 -42
  1845. package/models/get-roles-response.ts +0 -35
  1846. package/models/get-stage-deals-response.ts +0 -48
  1847. package/models/get-stage-response-data.ts +0 -33
  1848. package/models/get-stage-response.ts +0 -39
  1849. package/models/get-stages-response-data-inner-all-of.ts +0 -36
  1850. package/models/get-stages-response-data-inner.ts +0 -29
  1851. package/models/get-stages-response.ts +0 -39
  1852. package/models/get-subscription-addons-response-all-of.ts +0 -30
  1853. package/models/get-subscription-addons-response.ts +0 -29
  1854. package/models/get-subscriptions-id-response-all-of-data.ts +0 -120
  1855. package/models/get-subscriptions-id-response-all-of.ts +0 -33
  1856. package/models/get-subscriptions-id-response.ts +0 -32
  1857. package/models/get-task-response.ts +0 -45
  1858. package/models/get-tasks-response.ts +0 -48
  1859. package/models/get-team-response-all-of.ts +0 -33
  1860. package/models/get-team-response.ts +0 -32
  1861. package/models/get-teams-response-all-of.ts +0 -33
  1862. package/models/get-teams-response.ts +0 -32
  1863. package/models/get-user-assignments-to-permission-set-response-all-of-data-inner.ts +0 -42
  1864. package/models/get-user-assignments-to-permission-set-response-all-of.ts +0 -33
  1865. package/models/get-user-assignments-to-permission-set-response.ts +0 -32
  1866. package/models/get-user-connections-response-all-of-data.ts +0 -30
  1867. package/models/get-user-connections-response-all-of.ts +0 -33
  1868. package/models/get-user-connections-response.ts +0 -32
  1869. package/models/get-user-permissions-response-all-of-data.ts +0 -210
  1870. package/models/get-user-permissions-response-all-of.ts +0 -33
  1871. package/models/get-user-permissions-response.ts +0 -32
  1872. package/models/get-user-provider-link-success-response-data.ts +0 -30
  1873. package/models/get-user-provider-link-success-response.ts +0 -39
  1874. package/models/get-user-response-all-of.ts +0 -33
  1875. package/models/get-user-response.ts +0 -32
  1876. package/models/get-user-settings-response-all-of-data.ts +0 -72
  1877. package/models/get-user-settings-response-all-of.ts +0 -33
  1878. package/models/get-user-settings-response.ts +0 -32
  1879. package/models/get-users-response-all-of.ts +0 -33
  1880. package/models/get-users-response.ts +0 -32
  1881. package/models/get-webhook-response-all-of.ts +0 -33
  1882. package/models/get-webhook-response.ts +0 -32
  1883. package/models/get-webhooks-response-all-of-data-inner.ts +0 -146
  1884. package/models/get-webhooks-response-all-of.ts +0 -33
  1885. package/models/get-webhooks-response.ts +0 -32
  1886. package/models/index.ts +0 -806
  1887. package/models/lead-not-found-response.ts +0 -54
  1888. package/models/mail-message-item-for-list-all-of-from-inner.ts +0 -60
  1889. package/models/mail-message-item-for-list-all-of.ts +0 -275
  1890. package/models/mail-message-item-for-list-all-of1.ts +0 -78
  1891. package/models/mail-message-item-for-list.ts +0 -32
  1892. package/models/merge-deals-request.ts +0 -30
  1893. package/models/merge-organizations-request.ts +0 -30
  1894. package/models/merge-organizations-response-data.ts +0 -30
  1895. package/models/merge-organizations-response.ts +0 -39
  1896. package/models/merge-person-deal-related-info-all-of.ts +0 -36
  1897. package/models/merge-person-deal-related-info.ts +0 -29
  1898. package/models/merge-person-item.ts +0 -38
  1899. package/models/merge-persons-request.ts +0 -30
  1900. package/models/merge-persons-response-all-of.ts +0 -33
  1901. package/models/merge-persons-response.ts +0 -32
  1902. package/models/new-deal-parameters.ts +0 -112
  1903. package/models/note-request-all-of.ts +0 -30
  1904. package/models/note-request-all-of1.ts +0 -48
  1905. package/models/note-request.ts +0 -32
  1906. package/models/organization-count-and-address-info-all-of.ts +0 -72
  1907. package/models/organization-count-and-address-info-all-of1.ts +0 -90
  1908. package/models/organization-count-and-address-info.ts +0 -29
  1909. package/models/organization-relationship-details-all-of.ts +0 -30
  1910. package/models/organization-relationship-details.ts +0 -32
  1911. package/models/organization-relationship-with-calculated-fields-all-of.ts +0 -69
  1912. package/models/organization-relationship-with-calculated-fields-all-of1.ts +0 -36
  1913. package/models/organization-relationship-with-calculated-fields.ts +0 -32
  1914. package/models/organization-relationship.ts +0 -56
  1915. package/models/owner.ts +0 -29
  1916. package/models/pagination-details-all-of.ts +0 -30
  1917. package/models/pagination-details.ts +0 -30
  1918. package/models/participant-changelog-item-all-of.ts +0 -48
  1919. package/models/participant-changelog-item.ts +0 -26
  1920. package/models/person-count-and-email-info-all-of.ts +0 -66
  1921. package/models/person-count-and-email-info-all-of1.ts +0 -36
  1922. package/models/person-count-and-email-info.ts +0 -29
  1923. package/models/person-count-email-deal-and-activity-info.ts +0 -29
  1924. package/models/person-item-all-of-email-inner.ts +0 -42
  1925. package/models/person-item-all-of-phone-inner.ts +0 -42
  1926. package/models/person-item-all-of-picture-id-all-of.ts +0 -30
  1927. package/models/person-item-all-of-picture-id-all-of1-pictures.ts +0 -36
  1928. package/models/person-item-all-of-picture-id-all-of1.ts +0 -69
  1929. package/models/person-item-all-of-picture-id.ts +0 -32
  1930. package/models/person-item-all-of.ts +0 -123
  1931. package/models/person-item.ts +0 -44
  1932. package/models/person-name-count-and-email-info-with-ids-all-of.ts +0 -42
  1933. package/models/person-name-count-and-email-info-with-ids.ts +0 -29
  1934. package/models/person-name-count-and-email-info.ts +0 -29
  1935. package/models/person-name-info-with-org-and-owner-id-all-of.ts +0 -42
  1936. package/models/person-name-info-with-org-and-owner-id-all-of1.ts +0 -42
  1937. package/models/person-name-info-with-org-and-owner-id.ts +0 -35
  1938. package/models/persons-collection-response-object.ts +0 -120
  1939. package/models/pipeline-details-all-of-deals-summary-per-currency-full-currencyid.ts +0 -36
  1940. package/models/pipeline-details-all-of-deals-summary-per-currency-full.ts +0 -33
  1941. package/models/pipeline-details-all-of-deals-summary-per-currency.ts +0 -30
  1942. package/models/pipeline-details-all-of-deals-summary-per-stages-stageid.ts +0 -33
  1943. package/models/pipeline-details-all-of-deals-summary-per-stages-stageidcurrencyid.ts +0 -54
  1944. package/models/pipeline-details-all-of-deals-summary-per-stages.ts +0 -33
  1945. package/models/pipeline-details-all-of-deals-summary.ts +0 -57
  1946. package/models/pipeline-details-all-of.ts +0 -33
  1947. package/models/pipeline-details.ts +0 -33
  1948. package/models/pipeline-request.ts +0 -62
  1949. package/models/pipeline-request1.ts +0 -62
  1950. package/models/product-field-all-of.ts +0 -64
  1951. package/models/product-field-all-of1.ts +0 -120
  1952. package/models/product-field.ts +0 -29
  1953. package/models/project-put-plan-item-body-object.ts +0 -36
  1954. package/models/project-response-object-all-of.ts +0 -30
  1955. package/models/project-response-object.ts +0 -29
  1956. package/models/put-role-pipelines-body.ts +0 -30
  1957. package/models/receive-message-request-attachments-inner.ts +0 -66
  1958. package/models/receive-message-request.ts +0 -97
  1959. package/models/receive-message200-response.ts +0 -39
  1960. package/models/receive-message400-response-additional-data.ts +0 -30
  1961. package/models/receive-message400-response.ts +0 -51
  1962. package/models/relationship-organization-info-item-all-of.ts +0 -30
  1963. package/models/relationship-organization-info-item-with-active-flag.ts +0 -29
  1964. package/models/relationship-organization-info-item.ts +0 -29
  1965. package/models/requied-post-project-parameters.ts +0 -36
  1966. package/models/required-post-project-parameters.ts +0 -42
  1967. package/models/requred-title-parameter.ts +0 -30
  1968. package/models/response-call-log-object-all-of.ts +0 -42
  1969. package/models/response-call-log-object.ts +0 -29
  1970. package/models/role-assignment-all-of.ts +0 -48
  1971. package/models/role-assignment.ts +0 -30
  1972. package/models/sub-role-all-of.ts +0 -48
  1973. package/models/sub-role.ts +0 -30
  1974. package/models/task-response-object-all-of.ts +0 -30
  1975. package/models/task-response-object.ts +0 -29
  1976. package/models/template-response-object-all-of.ts +0 -66
  1977. package/models/template-response-object.ts +0 -26
  1978. package/models/unathorized-response.ts +0 -42
  1979. package/models/update-activity-plan-item-response.ts +0 -45
  1980. package/models/update-activity-request-all-of.ts +0 -80
  1981. package/models/update-activity-request.ts +0 -29
  1982. package/models/update-activity-response.ts +0 -48
  1983. package/models/update-activity-type-request.ts +0 -94
  1984. package/models/update-deal-parameters.ts +0 -100
  1985. package/models/update-deal-product-request-all-of.ts +0 -42
  1986. package/models/update-deal-product-request.ts +0 -35
  1987. package/models/update-deal-request.ts +0 -32
  1988. package/models/update-field-request.ts +0 -42
  1989. package/models/update-file-response.ts +0 -39
  1990. package/models/update-filter-request.ts +0 -36
  1991. package/models/update-lead-label-request.ts +0 -48
  1992. package/models/update-lead-request.ts +0 -109
  1993. package/models/update-mail-thread-response-all-of.ts +0 -33
  1994. package/models/update-mail-thread-response.ts +0 -32
  1995. package/models/update-organization-relationship-response.ts +0 -35
  1996. package/models/update-organization-request-all-of.ts +0 -30
  1997. package/models/update-organization-request.ts +0 -29
  1998. package/models/update-organization-response-all-of.ts +0 -42
  1999. package/models/update-organization-response.ts +0 -35
  2000. package/models/update-person-request-all-of.ts +0 -30
  2001. package/models/update-person-request.ts +0 -35
  2002. package/models/update-person-response.ts +0 -35
  2003. package/models/update-pipeline-response-all-of-data.ts +0 -27
  2004. package/models/update-pipeline-response-all-of.ts +0 -33
  2005. package/models/update-pipeline-response.ts +0 -32
  2006. package/models/update-product-field-response.ts +0 -36
  2007. package/models/update-product-request-all-of.ts +0 -30
  2008. package/models/update-product-request-all-of1.ts +0 -42
  2009. package/models/update-product-request.ts +0 -35
  2010. package/models/update-product-response.ts +0 -48
  2011. package/models/update-project-request.ts +0 -29
  2012. package/models/update-project-request1-all-of.ts +0 -36
  2013. package/models/update-project-request1-all-of1.ts +0 -62
  2014. package/models/update-project-request1-all-of2.ts +0 -48
  2015. package/models/update-project-request1.ts +0 -32
  2016. package/models/update-project-request2.ts +0 -29
  2017. package/models/update-project-response.ts +0 -45
  2018. package/models/update-recurring-subscription-request.ts +0 -54
  2019. package/models/update-role-response.ts +0 -32
  2020. package/models/update-stage-request-all-of.ts +0 -54
  2021. package/models/update-stage-request-all-of1.ts +0 -30
  2022. package/models/update-stage-request.ts +0 -29
  2023. package/models/update-subscription-installment-request.ts +0 -36
  2024. package/models/update-task-plan-item-response.ts +0 -45
  2025. package/models/update-task-response.ts +0 -45
  2026. package/models/update-team-request-all-of.ts +0 -50
  2027. package/models/update-team-request.ts +0 -29
  2028. package/models/update-team-with-additional-properties.ts +0 -29
  2029. package/models/update-user-request.ts +0 -30
  2030. package/models/upsert-activity-type-response-all-of.ts +0 -33
  2031. package/models/upsert-activity-type-response.ts +0 -32
  2032. package/models/upsert-comment-response.ts +0 -39
  2033. package/models/upsert-goal-response-data-goal-assignee.ts +0 -36
  2034. package/models/upsert-goal-response-data-goal-duration.ts +0 -36
  2035. package/models/upsert-goal-response-data-goal-expected-outcome.ts +0 -36
  2036. package/models/upsert-goal-response-data-goal-type-params.ts +0 -36
  2037. package/models/upsert-goal-response-data-goal-type.ts +0 -39
  2038. package/models/upsert-goal-response-data-goal.ts +0 -96
  2039. package/models/upsert-goal-response-data.ts +0 -33
  2040. package/models/upsert-goal-response.ts +0 -39
  2041. package/models/upsert-lead-label-response.ts +0 -39
  2042. package/models/upsert-note-response.ts +0 -39
  2043. package/models/upsert-role-settings-response-all-of-data.ts +0 -46
  2044. package/models/upsert-role-settings-response-all-of.ts +0 -33
  2045. package/models/upsert-role-settings-response.ts +0 -32
  2046. package/models/upsert-stage-response-data.ts +0 -84
  2047. package/models/upsert-stage-response.ts +0 -39
  2048. package/models/user-data-with-id-all-of.ts +0 -60
  2049. package/models/user-data-with-id.ts +0 -26
  2050. package/models/user-ids-all-of.ts +0 -30
  2051. package/models/user-ids.ts +0 -29
  2052. package/models/user-provider-link-error-response.ts +0 -36
  2053. package/models/webhooks-bad-request-response-all-of.ts +0 -30
  2054. package/models/webhooks-bad-request-response.ts +0 -29
  2055. package/repository.json +0 -7
  2056. package/sonar-project.properties +0 -9
  2057. package/test/functional/CertificateAuthorityCertificate.pem +0 -22
  2058. package/test/functional/access-token.test.js +0 -64
  2059. package/test/functional/authorisation.test.js +0 -90
  2060. package/test/functional/automatic-token-refresh.test.js +0 -90
  2061. package/test/functional/environment.js +0 -42
  2062. package/test/functional/handlers.js +0 -0
  2063. package/test/functional/jest.config.js +0 -11
  2064. package/test/functional/jest.setup.js +0 -3
  2065. package/test/functional/utils.js +0 -117
  2066. package/test/runtime.js +0 -4
  2067. package/tsconfig.esm.json +0 -7
  2068. package/tsconfig.json +0 -22
@@ -1,2394 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Pipedrive API v1
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import type { Configuration } from '../configuration';
17
- import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
18
- import globalAxios from 'axios';
19
- // Some imports not used depending on template conditions
20
- // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
- // @ts-ignore
23
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
24
- // @ts-ignore
25
- import { AddOrganizationFollowerRequest } from '../models';
26
- // @ts-ignore
27
- import { AddOrganizationFollowerResponse } from '../models';
28
- // @ts-ignore
29
- import { AddOrganizationRequest } from '../models';
30
- // @ts-ignore
31
- import { AddOrganizationResponse } from '../models';
32
- // @ts-ignore
33
- import { DeleteOrganizationFollowerResponse } from '../models';
34
- // @ts-ignore
35
- import { DeleteOrganizationResponse } from '../models';
36
- // @ts-ignore
37
- import { DeleteOrganizationsResponse } from '../models';
38
- // @ts-ignore
39
- import { FailResponse } from '../models';
40
- // @ts-ignore
41
- import { GetAssociatedActivitiesResponse } from '../models';
42
- // @ts-ignore
43
- import { GetAssociatedDealsResponse } from '../models';
44
- // @ts-ignore
45
- import { GetAssociatedFilesResponse } from '../models';
46
- // @ts-ignore
47
- import { GetAssociatedFollowersResponse1 } from '../models';
48
- // @ts-ignore
49
- import { GetAssociatedMailMessagesResponse } from '../models';
50
- // @ts-ignore
51
- import { GetAssociatedOrganizationUpdatesResponse } from '../models';
52
- // @ts-ignore
53
- import { GetChangelogResponse } from '../models';
54
- // @ts-ignore
55
- import { GetOrganizationResponse } from '../models';
56
- // @ts-ignore
57
- import { GetOrganizationSearchResponse } from '../models';
58
- // @ts-ignore
59
- import { GetOrganizationsCollection200Response } from '../models';
60
- // @ts-ignore
61
- import { GetOrganizationsResponse } from '../models';
62
- // @ts-ignore
63
- import { GetPermittedUsersResponse1 } from '../models';
64
- // @ts-ignore
65
- import { GetPersonsResponse } from '../models';
66
- // @ts-ignore
67
- import { MergeOrganizationsRequest } from '../models';
68
- // @ts-ignore
69
- import { MergeOrganizationsResponse } from '../models';
70
- // @ts-ignore
71
- import { UpdateOrganizationRequest } from '../models';
72
- // @ts-ignore
73
- import { UpdateOrganizationResponse } from '../models';
74
- /**
75
- * OrganizationsApi - axios parameter creator
76
- * @export
77
- */
78
- export const OrganizationsApiAxiosParamCreator = function (configuration?: Configuration) {
79
- return {
80
- /**
81
- * Adds a new organization. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the organizationFields and look for `key` values. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-organization\" target=\"_blank\" rel=\"noopener noreferrer\">adding an organization</a>.
82
- * @summary Add an organization
83
- * @param {AddOrganizationRequest} [AddOrganizationRequest]
84
-
85
- * @throws {RequiredError}
86
- */
87
- addOrganization: async (AddOrganizationRequest?: AddOrganizationRequest, ): Promise<RequestArgs> => {
88
- const localVarPath = `/organizations`;
89
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
- let baseOptions;
92
- if (configuration) {
93
- baseOptions = configuration.baseOptions;
94
- }
95
-
96
- const localVarRequestOptions = { method: 'POST', ...baseOptions };
97
- const localVarHeaderParameter = {} as any;
98
- const localVarQueryParameter = {} as any;
99
-
100
- // authentication api_key required
101
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
102
-
103
- // authentication oauth2 required
104
- // oauth required
105
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
106
-
107
-
108
-
109
- localVarHeaderParameter['Content-Type'] = 'application/json';
110
-
111
- setSearchParams(localVarUrlObj, localVarQueryParameter);
112
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
113
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
114
- localVarRequestOptions.data = serializeDataIfNeeded(AddOrganizationRequest, localVarRequestOptions, configuration)
115
-
116
- return {
117
- url: toPathString(localVarUrlObj),
118
- options: localVarRequestOptions,
119
- };
120
- },
121
- /**
122
- * Adds a follower to an organization.
123
- * @summary Add a follower to an organization
124
- * @param {number} id The ID of the organization
125
- * @param {AddOrganizationFollowerRequest} [AddOrganizationFollowerRequest]
126
-
127
- * @throws {RequiredError}
128
- */
129
- addOrganizationFollower: async (id: number, AddOrganizationFollowerRequest?: AddOrganizationFollowerRequest, ): Promise<RequestArgs> => {
130
- // verify required parameter 'id' is not null or undefined
131
- assertParamExists('addOrganizationFollower', 'id', id)
132
- const localVarPath = `/organizations/{id}/followers`
133
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
134
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
135
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136
- let baseOptions;
137
- if (configuration) {
138
- baseOptions = configuration.baseOptions;
139
- }
140
-
141
- const localVarRequestOptions = { method: 'POST', ...baseOptions };
142
- const localVarHeaderParameter = {} as any;
143
- const localVarQueryParameter = {} as any;
144
-
145
- // authentication api_key required
146
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
147
-
148
- // authentication oauth2 required
149
- // oauth required
150
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
151
-
152
-
153
-
154
- localVarHeaderParameter['Content-Type'] = 'application/json';
155
-
156
- setSearchParams(localVarUrlObj, localVarQueryParameter);
157
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
158
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
159
- localVarRequestOptions.data = serializeDataIfNeeded(AddOrganizationFollowerRequest, localVarRequestOptions, configuration)
160
-
161
- return {
162
- url: toPathString(localVarUrlObj),
163
- options: localVarRequestOptions,
164
- };
165
- },
166
- /**
167
- * Marks an organization as deleted. After 30 days, the organization will be permanently deleted.
168
- * @summary Delete an organization
169
- * @param {number} id The ID of the organization
170
-
171
- * @throws {RequiredError}
172
- */
173
- deleteOrganization: async (id: number, ): Promise<RequestArgs> => {
174
- // verify required parameter 'id' is not null or undefined
175
- assertParamExists('deleteOrganization', 'id', id)
176
- const localVarPath = `/organizations/{id}`
177
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
178
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
- let baseOptions;
181
- if (configuration) {
182
- baseOptions = configuration.baseOptions;
183
- }
184
-
185
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions };
186
- const localVarHeaderParameter = {} as any;
187
- const localVarQueryParameter = {} as any;
188
-
189
- // authentication api_key required
190
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
191
-
192
- // authentication oauth2 required
193
- // oauth required
194
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
195
-
196
-
197
-
198
- setSearchParams(localVarUrlObj, localVarQueryParameter);
199
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
201
-
202
- return {
203
- url: toPathString(localVarUrlObj),
204
- options: localVarRequestOptions,
205
- };
206
- },
207
- /**
208
- * Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
209
- * @summary Delete a follower from an organization
210
- * @param {number} id The ID of the organization
211
- * @param {number} follower_id The ID of the follower
212
-
213
- * @throws {RequiredError}
214
- */
215
- deleteOrganizationFollower: async (id: number, follower_id: number, ): Promise<RequestArgs> => {
216
- // verify required parameter 'id' is not null or undefined
217
- assertParamExists('deleteOrganizationFollower', 'id', id)
218
- // verify required parameter 'follower_id' is not null or undefined
219
- assertParamExists('deleteOrganizationFollower', 'follower_id', follower_id)
220
- const localVarPath = `/organizations/{id}/followers/{follower_id}`
221
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
222
- .replace(`{${"follower_id"}}`, encodeURIComponent(String(follower_id)));
223
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
224
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
225
- let baseOptions;
226
- if (configuration) {
227
- baseOptions = configuration.baseOptions;
228
- }
229
-
230
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions };
231
- const localVarHeaderParameter = {} as any;
232
- const localVarQueryParameter = {} as any;
233
-
234
- // authentication api_key required
235
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
236
-
237
- // authentication oauth2 required
238
- // oauth required
239
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
240
-
241
-
242
-
243
- setSearchParams(localVarUrlObj, localVarQueryParameter);
244
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
245
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
246
-
247
- return {
248
- url: toPathString(localVarUrlObj),
249
- options: localVarRequestOptions,
250
- };
251
- },
252
- /**
253
- * Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted.
254
- * @summary Delete multiple organizations in bulk
255
- * @param {string} ids The comma-separated IDs that will be deleted
256
-
257
- * @throws {RequiredError}
258
- */
259
- deleteOrganizations: async (ids: string, ): Promise<RequestArgs> => {
260
- // verify required parameter 'ids' is not null or undefined
261
- assertParamExists('deleteOrganizations', 'ids', ids)
262
- const localVarPath = `/organizations`;
263
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
264
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
265
- let baseOptions;
266
- if (configuration) {
267
- baseOptions = configuration.baseOptions;
268
- }
269
-
270
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions };
271
- const localVarHeaderParameter = {} as any;
272
- const localVarQueryParameter = {} as any;
273
-
274
- // authentication api_key required
275
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
276
-
277
- // authentication oauth2 required
278
- // oauth required
279
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
280
-
281
- if (ids !== undefined) {
282
- localVarQueryParameter['ids'] = ids;
283
- }
284
-
285
-
286
-
287
- setSearchParams(localVarUrlObj, localVarQueryParameter);
288
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
289
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
290
-
291
- return {
292
- url: toPathString(localVarUrlObj),
293
- options: localVarRequestOptions,
294
- };
295
- },
296
- /**
297
- * Returns the details of an organization. Note that this also returns some additional fields which are not present when asking for all organizations. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of organizationFields.
298
- * @summary Get details of an organization
299
- * @param {number} id The ID of the organization
300
-
301
- * @throws {RequiredError}
302
- */
303
- getOrganization: async (id: number, ): Promise<RequestArgs> => {
304
- // verify required parameter 'id' is not null or undefined
305
- assertParamExists('getOrganization', 'id', id)
306
- const localVarPath = `/organizations/{id}`
307
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
308
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
310
- let baseOptions;
311
- if (configuration) {
312
- baseOptions = configuration.baseOptions;
313
- }
314
-
315
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
316
- const localVarHeaderParameter = {} as any;
317
- const localVarQueryParameter = {} as any;
318
-
319
- // authentication api_key required
320
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
321
-
322
- // authentication oauth2 required
323
- // oauth required
324
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
325
-
326
-
327
-
328
- setSearchParams(localVarUrlObj, localVarQueryParameter);
329
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
330
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
331
-
332
- return {
333
- url: toPathString(localVarUrlObj),
334
- options: localVarRequestOptions,
335
- };
336
- },
337
- /**
338
- * Lists activities associated with an organization.
339
- * @summary List activities associated with an organization
340
- * @param {number} id The ID of the organization
341
- * @param {number} [start] Pagination start
342
- * @param {number} [limit] Items shown per page
343
- * @param {0 | 1} [done] Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted returns both Done and Not done activities.
344
- * @param {string} [exclude] A comma-separated string of activity IDs to exclude from result
345
-
346
- * @throws {RequiredError}
347
- */
348
- getOrganizationActivities: async (id: number, start?: number, limit?: number, done?: 0 | 1, exclude?: string, ): Promise<RequestArgs> => {
349
- // verify required parameter 'id' is not null or undefined
350
- assertParamExists('getOrganizationActivities', 'id', id)
351
- const localVarPath = `/organizations/{id}/activities`
352
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
353
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
354
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
355
- let baseOptions;
356
- if (configuration) {
357
- baseOptions = configuration.baseOptions;
358
- }
359
-
360
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
361
- const localVarHeaderParameter = {} as any;
362
- const localVarQueryParameter = {} as any;
363
-
364
- // authentication api_key required
365
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
366
-
367
- // authentication oauth2 required
368
- // oauth required
369
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:read", "activities:full"], configuration)
370
-
371
- if (start !== undefined) {
372
- localVarQueryParameter['start'] = start;
373
- }
374
-
375
- if (limit !== undefined) {
376
- localVarQueryParameter['limit'] = limit;
377
- }
378
-
379
- if (done !== undefined) {
380
- localVarQueryParameter['done'] = done;
381
- }
382
-
383
- if (exclude !== undefined) {
384
- localVarQueryParameter['exclude'] = exclude;
385
- }
386
-
387
-
388
-
389
- setSearchParams(localVarUrlObj, localVarQueryParameter);
390
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
391
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
392
-
393
- return {
394
- url: toPathString(localVarUrlObj),
395
- options: localVarRequestOptions,
396
- };
397
- },
398
- /**
399
- * Lists updates about field values of an organization.
400
- * @summary List updates about organization field values
401
- * @param {number} id The ID of the organization
402
- * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
403
- * @param {number} [limit] Items shown per page
404
-
405
- * @throws {RequiredError}
406
- */
407
- getOrganizationChangelog: async (id: number, cursor?: string, limit?: number, ): Promise<RequestArgs> => {
408
- // verify required parameter 'id' is not null or undefined
409
- assertParamExists('getOrganizationChangelog', 'id', id)
410
- const localVarPath = `/organizations/{id}/changelog`
411
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
412
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
413
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
414
- let baseOptions;
415
- if (configuration) {
416
- baseOptions = configuration.baseOptions;
417
- }
418
-
419
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
420
- const localVarHeaderParameter = {} as any;
421
- const localVarQueryParameter = {} as any;
422
-
423
- // authentication api_key required
424
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
425
-
426
- // authentication oauth2 required
427
- // oauth required
428
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["recents:read"], configuration)
429
-
430
- if (cursor !== undefined) {
431
- localVarQueryParameter['cursor'] = cursor;
432
- }
433
-
434
- if (limit !== undefined) {
435
- localVarQueryParameter['limit'] = limit;
436
- }
437
-
438
-
439
-
440
- setSearchParams(localVarUrlObj, localVarQueryParameter);
441
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
442
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
443
-
444
- return {
445
- url: toPathString(localVarUrlObj),
446
- options: localVarRequestOptions,
447
- };
448
- },
449
- /**
450
- * Lists deals associated with an organization.
451
- * @summary List deals associated with an organization
452
- * @param {number} id The ID of the organization
453
- * @param {number} [start] Pagination start
454
- * @param {number} [limit] Items shown per page
455
- * @param {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
456
- * @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).
457
- * @param {0 | 1} [only_primary_association] If set, only deals that are directly associated to the organization are fetched. If not set (default), all deals are fetched that are either directly or indirectly related to the organization. Indirect relations include relations through custom, organization-type fields and through persons of the given organization.
458
-
459
- * @throws {RequiredError}
460
- */
461
- getOrganizationDeals: async (id: number, start?: number, limit?: number, status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted', sort?: string, only_primary_association?: 0 | 1, ): Promise<RequestArgs> => {
462
- // verify required parameter 'id' is not null or undefined
463
- assertParamExists('getOrganizationDeals', 'id', id)
464
- const localVarPath = `/organizations/{id}/deals`
465
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
466
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
467
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
468
- let baseOptions;
469
- if (configuration) {
470
- baseOptions = configuration.baseOptions;
471
- }
472
-
473
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
474
- const localVarHeaderParameter = {} as any;
475
- const localVarQueryParameter = {} as any;
476
-
477
- // authentication api_key required
478
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
479
-
480
- // authentication oauth2 required
481
- // oauth required
482
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration)
483
-
484
- if (start !== undefined) {
485
- localVarQueryParameter['start'] = start;
486
- }
487
-
488
- if (limit !== undefined) {
489
- localVarQueryParameter['limit'] = limit;
490
- }
491
-
492
- if (status !== undefined) {
493
- localVarQueryParameter['status'] = status;
494
- }
495
-
496
- if (sort !== undefined) {
497
- localVarQueryParameter['sort'] = sort;
498
- }
499
-
500
- if (only_primary_association !== undefined) {
501
- localVarQueryParameter['only_primary_association'] = only_primary_association;
502
- }
503
-
504
-
505
-
506
- setSearchParams(localVarUrlObj, localVarQueryParameter);
507
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
508
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
509
-
510
- return {
511
- url: toPathString(localVarUrlObj),
512
- options: localVarRequestOptions,
513
- };
514
- },
515
- /**
516
- * Lists files associated with an organization.
517
- * @summary List files attached to an organization
518
- * @param {number} id The ID of the organization
519
- * @param {number} [start] Pagination start
520
- * @param {number} [limit] Items shown per page
521
- * @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;product_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;file_name&#x60;, &#x60;file_type&#x60;, &#x60;file_size&#x60;, &#x60;comment&#x60;.
522
-
523
- * @throws {RequiredError}
524
- */
525
- getOrganizationFiles: async (id: number, start?: number, limit?: number, sort?: string, ): Promise<RequestArgs> => {
526
- // verify required parameter 'id' is not null or undefined
527
- assertParamExists('getOrganizationFiles', 'id', id)
528
- const localVarPath = `/organizations/{id}/files`
529
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
530
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
531
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
532
- let baseOptions;
533
- if (configuration) {
534
- baseOptions = configuration.baseOptions;
535
- }
536
-
537
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
538
- const localVarHeaderParameter = {} as any;
539
- const localVarQueryParameter = {} as any;
540
-
541
- // authentication api_key required
542
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
543
-
544
- // authentication oauth2 required
545
- // oauth required
546
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
547
-
548
- if (start !== undefined) {
549
- localVarQueryParameter['start'] = start;
550
- }
551
-
552
- if (limit !== undefined) {
553
- localVarQueryParameter['limit'] = limit;
554
- }
555
-
556
- if (sort !== undefined) {
557
- localVarQueryParameter['sort'] = sort;
558
- }
559
-
560
-
561
-
562
- setSearchParams(localVarUrlObj, localVarQueryParameter);
563
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
564
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
565
-
566
- return {
567
- url: toPathString(localVarUrlObj),
568
- options: localVarRequestOptions,
569
- };
570
- },
571
- /**
572
- * Lists the followers of an organization.
573
- * @summary List followers of an organization
574
- * @param {number} id The ID of the organization
575
-
576
- * @throws {RequiredError}
577
- */
578
- getOrganizationFollowers: async (id: number, ): Promise<RequestArgs> => {
579
- // verify required parameter 'id' is not null or undefined
580
- assertParamExists('getOrganizationFollowers', 'id', id)
581
- const localVarPath = `/organizations/{id}/followers`
582
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
583
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
584
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
585
- let baseOptions;
586
- if (configuration) {
587
- baseOptions = configuration.baseOptions;
588
- }
589
-
590
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
591
- const localVarHeaderParameter = {} as any;
592
- const localVarQueryParameter = {} as any;
593
-
594
- // authentication api_key required
595
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
596
-
597
- // authentication oauth2 required
598
- // oauth required
599
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
600
-
601
-
602
-
603
- setSearchParams(localVarUrlObj, localVarQueryParameter);
604
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
605
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
606
-
607
- return {
608
- url: toPathString(localVarUrlObj),
609
- options: localVarRequestOptions,
610
- };
611
- },
612
- /**
613
- * Lists mail messages associated with an organization.
614
- * @summary List mail messages associated with an organization
615
- * @param {number} id The ID of the organization
616
- * @param {number} [start] Pagination start
617
- * @param {number} [limit] Items shown per page
618
-
619
- * @throws {RequiredError}
620
- */
621
- getOrganizationMailMessages: async (id: number, start?: number, limit?: number, ): Promise<RequestArgs> => {
622
- // verify required parameter 'id' is not null or undefined
623
- assertParamExists('getOrganizationMailMessages', 'id', id)
624
- const localVarPath = `/organizations/{id}/mailMessages`
625
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
626
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
627
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
628
- let baseOptions;
629
- if (configuration) {
630
- baseOptions = configuration.baseOptions;
631
- }
632
-
633
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
634
- const localVarHeaderParameter = {} as any;
635
- const localVarQueryParameter = {} as any;
636
-
637
- // authentication api_key required
638
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
639
-
640
- // authentication oauth2 required
641
- // oauth required
642
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["mail:read", "mail:full"], configuration)
643
-
644
- if (start !== undefined) {
645
- localVarQueryParameter['start'] = start;
646
- }
647
-
648
- if (limit !== undefined) {
649
- localVarQueryParameter['limit'] = limit;
650
- }
651
-
652
-
653
-
654
- setSearchParams(localVarUrlObj, localVarQueryParameter);
655
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
656
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
657
-
658
- return {
659
- url: toPathString(localVarUrlObj),
660
- options: localVarRequestOptions,
661
- };
662
- },
663
- /**
664
- * Lists persons associated with an organization.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
665
- * @summary List persons of an organization
666
- * @param {number} id The ID of the organization
667
- * @param {number} [start] Pagination start
668
- * @param {number} [limit] Items shown per page
669
-
670
- * @throws {RequiredError}
671
- */
672
- getOrganizationPersons: async (id: number, start?: number, limit?: number, ): Promise<RequestArgs> => {
673
- // verify required parameter 'id' is not null or undefined
674
- assertParamExists('getOrganizationPersons', 'id', id)
675
- const localVarPath = `/organizations/{id}/persons`
676
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
677
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
678
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
679
- let baseOptions;
680
- if (configuration) {
681
- baseOptions = configuration.baseOptions;
682
- }
683
-
684
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
685
- const localVarHeaderParameter = {} as any;
686
- const localVarQueryParameter = {} as any;
687
-
688
- // authentication api_key required
689
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
690
-
691
- // authentication oauth2 required
692
- // oauth required
693
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
694
-
695
- if (start !== undefined) {
696
- localVarQueryParameter['start'] = start;
697
- }
698
-
699
- if (limit !== undefined) {
700
- localVarQueryParameter['limit'] = limit;
701
- }
702
-
703
-
704
-
705
- setSearchParams(localVarUrlObj, localVarQueryParameter);
706
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
707
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
708
-
709
- return {
710
- url: toPathString(localVarUrlObj),
711
- options: localVarRequestOptions,
712
- };
713
- },
714
- /**
715
- * Lists updates about an organization.
716
- * @summary List updates about an organization
717
- * @param {number} id The ID of the organization
718
- * @param {number} [start] Pagination start
719
- * @param {number} [limit] Items shown per page
720
- * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted, returns changes without custom field updates.
721
- * @param {string} [items] A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document).
722
-
723
- * @throws {RequiredError}
724
- */
725
- getOrganizationUpdates: async (id: number, start?: number, limit?: number, all_changes?: string, items?: string, ): Promise<RequestArgs> => {
726
- // verify required parameter 'id' is not null or undefined
727
- assertParamExists('getOrganizationUpdates', 'id', id)
728
- const localVarPath = `/organizations/{id}/flow`
729
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
730
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
731
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
732
- let baseOptions;
733
- if (configuration) {
734
- baseOptions = configuration.baseOptions;
735
- }
736
-
737
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
738
- const localVarHeaderParameter = {} as any;
739
- const localVarQueryParameter = {} as any;
740
-
741
- // authentication api_key required
742
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
743
-
744
- // authentication oauth2 required
745
- // oauth required
746
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["recents:read"], configuration)
747
-
748
- if (start !== undefined) {
749
- localVarQueryParameter['start'] = start;
750
- }
751
-
752
- if (limit !== undefined) {
753
- localVarQueryParameter['limit'] = limit;
754
- }
755
-
756
- if (all_changes !== undefined) {
757
- localVarQueryParameter['all_changes'] = all_changes;
758
- }
759
-
760
- if (items !== undefined) {
761
- localVarQueryParameter['items'] = items;
762
- }
763
-
764
-
765
-
766
- setSearchParams(localVarUrlObj, localVarQueryParameter);
767
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
768
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
769
-
770
- return {
771
- url: toPathString(localVarUrlObj),
772
- options: localVarRequestOptions,
773
- };
774
- },
775
- /**
776
- * List users permitted to access an organization.
777
- * @summary List permitted users
778
- * @param {number} id The ID of the organization
779
-
780
- * @throws {RequiredError}
781
- */
782
- getOrganizationUsers: async (id: number, ): Promise<RequestArgs> => {
783
- // verify required parameter 'id' is not null or undefined
784
- assertParamExists('getOrganizationUsers', 'id', id)
785
- const localVarPath = `/organizations/{id}/permittedUsers`
786
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
787
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
788
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
789
- let baseOptions;
790
- if (configuration) {
791
- baseOptions = configuration.baseOptions;
792
- }
793
-
794
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
795
- const localVarHeaderParameter = {} as any;
796
- const localVarQueryParameter = {} as any;
797
-
798
- // authentication api_key required
799
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
800
-
801
- // authentication oauth2 required
802
- // oauth required
803
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
804
-
805
-
806
-
807
- setSearchParams(localVarUrlObj, localVarQueryParameter);
808
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
809
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
810
-
811
- return {
812
- url: toPathString(localVarUrlObj),
813
- options: localVarRequestOptions,
814
- };
815
- },
816
- /**
817
- * Returns all organizations.
818
- * @summary Get all organizations
819
- * @param {number} [user_id] If supplied, only organizations owned by the given user will be returned. However, &#x60;filter_id&#x60; takes precedence over &#x60;user_id&#x60; when both are supplied.
820
- * @param {number} [filter_id] The ID of the filter to use
821
- * @param {string} [first_char] If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive)
822
- * @param {number} [start] Pagination start
823
- * @param {number} [limit] Items shown per page
824
- * @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).
825
-
826
- * @throws {RequiredError}
827
- */
828
- getOrganizations: async (user_id?: number, filter_id?: number, first_char?: string, start?: number, limit?: number, sort?: string, ): Promise<RequestArgs> => {
829
- const localVarPath = `/organizations`;
830
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
831
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
832
- let baseOptions;
833
- if (configuration) {
834
- baseOptions = configuration.baseOptions;
835
- }
836
-
837
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
838
- const localVarHeaderParameter = {} as any;
839
- const localVarQueryParameter = {} as any;
840
-
841
- // authentication api_key required
842
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
843
-
844
- // authentication oauth2 required
845
- // oauth required
846
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
847
-
848
- if (user_id !== undefined) {
849
- localVarQueryParameter['user_id'] = user_id;
850
- }
851
-
852
- if (filter_id !== undefined) {
853
- localVarQueryParameter['filter_id'] = filter_id;
854
- }
855
-
856
- if (first_char !== undefined) {
857
- localVarQueryParameter['first_char'] = first_char;
858
- }
859
-
860
- if (start !== undefined) {
861
- localVarQueryParameter['start'] = start;
862
- }
863
-
864
- if (limit !== undefined) {
865
- localVarQueryParameter['limit'] = limit;
866
- }
867
-
868
- if (sort !== undefined) {
869
- localVarQueryParameter['sort'] = sort;
870
- }
871
-
872
-
873
-
874
- setSearchParams(localVarUrlObj, localVarQueryParameter);
875
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
876
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
877
-
878
- return {
879
- url: toPathString(localVarUrlObj),
880
- options: localVarRequestOptions,
881
- };
882
- },
883
- /**
884
- * Returns all organizations. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
885
- * @summary Get all organizations (BETA)
886
- * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
887
- * @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.
888
- * @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
889
- * @param {string} [until] The time boundary that points to the end of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
890
- * @param {number} [owner_id] If supplied, only organizations owned by the given user will be returned
891
- * @param {string} [first_char] If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive)
892
-
893
- * @throws {RequiredError}
894
- */
895
- getOrganizationsCollection: async (cursor?: string, limit?: number, since?: string, until?: string, owner_id?: number, first_char?: string, ): Promise<RequestArgs> => {
896
- const localVarPath = `/organizations/collection`;
897
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
898
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
899
- let baseOptions;
900
- if (configuration) {
901
- baseOptions = configuration.baseOptions;
902
- }
903
-
904
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
905
- const localVarHeaderParameter = {} as any;
906
- const localVarQueryParameter = {} as any;
907
-
908
- // authentication api_key required
909
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
910
-
911
- // authentication oauth2 required
912
- // oauth required
913
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration)
914
-
915
- if (cursor !== undefined) {
916
- localVarQueryParameter['cursor'] = cursor;
917
- }
918
-
919
- if (limit !== undefined) {
920
- localVarQueryParameter['limit'] = limit;
921
- }
922
-
923
- if (since !== undefined) {
924
- localVarQueryParameter['since'] = since;
925
- }
926
-
927
- if (until !== undefined) {
928
- localVarQueryParameter['until'] = until;
929
- }
930
-
931
- if (owner_id !== undefined) {
932
- localVarQueryParameter['owner_id'] = owner_id;
933
- }
934
-
935
- if (first_char !== undefined) {
936
- localVarQueryParameter['first_char'] = first_char;
937
- }
938
-
939
-
940
-
941
- setSearchParams(localVarUrlObj, localVarQueryParameter);
942
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
943
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
944
-
945
- return {
946
- url: toPathString(localVarUrlObj),
947
- options: localVarRequestOptions,
948
- };
949
- },
950
- /**
951
- * Merges an organization with another organization. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-organizations\" target=\"_blank\" rel=\"noopener noreferrer\">merging two organizations</a>.
952
- * @summary Merge two organizations
953
- * @param {number} id The ID of the organization
954
- * @param {MergeOrganizationsRequest} [MergeOrganizationsRequest]
955
-
956
- * @throws {RequiredError}
957
- */
958
- mergeOrganizations: async (id: number, MergeOrganizationsRequest?: MergeOrganizationsRequest, ): Promise<RequestArgs> => {
959
- // verify required parameter 'id' is not null or undefined
960
- assertParamExists('mergeOrganizations', 'id', id)
961
- const localVarPath = `/organizations/{id}/merge`
962
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
963
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
964
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
965
- let baseOptions;
966
- if (configuration) {
967
- baseOptions = configuration.baseOptions;
968
- }
969
-
970
- const localVarRequestOptions = { method: 'PUT', ...baseOptions };
971
- const localVarHeaderParameter = {} as any;
972
- const localVarQueryParameter = {} as any;
973
-
974
- // authentication api_key required
975
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
976
-
977
- // authentication oauth2 required
978
- // oauth required
979
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
980
-
981
-
982
-
983
- localVarHeaderParameter['Content-Type'] = 'application/json';
984
-
985
- setSearchParams(localVarUrlObj, localVarQueryParameter);
986
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
987
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
988
- localVarRequestOptions.data = serializeDataIfNeeded(MergeOrganizationsRequest, localVarRequestOptions, configuration)
989
-
990
- return {
991
- url: toPathString(localVarUrlObj),
992
- options: localVarRequestOptions,
993
- };
994
- },
995
- /**
996
- * 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.
997
- * @summary Search organizations
998
- * @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.
999
- * @param {'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;.
1000
- * @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.
1001
- * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
1002
- * @param {number} [limit] Items shown per page
1003
-
1004
- * @throws {RequiredError}
1005
- */
1006
- searchOrganization: async (term: string, fields?: 'address' | 'custom_fields' | 'notes' | 'name', exact_match?: boolean, start?: number, limit?: number, ): Promise<RequestArgs> => {
1007
- // verify required parameter 'term' is not null or undefined
1008
- assertParamExists('searchOrganization', 'term', term)
1009
- const localVarPath = `/organizations/search`;
1010
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1011
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1012
- let baseOptions;
1013
- if (configuration) {
1014
- baseOptions = configuration.baseOptions;
1015
- }
1016
-
1017
- const localVarRequestOptions = { method: 'GET', ...baseOptions };
1018
- const localVarHeaderParameter = {} as any;
1019
- const localVarQueryParameter = {} as any;
1020
-
1021
- // authentication api_key required
1022
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
1023
-
1024
- // authentication oauth2 required
1025
- // oauth required
1026
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "search:read"], configuration)
1027
-
1028
- if (term !== undefined) {
1029
- localVarQueryParameter['term'] = term;
1030
- }
1031
-
1032
- if (fields !== undefined) {
1033
- localVarQueryParameter['fields'] = fields;
1034
- }
1035
-
1036
- if (exact_match !== undefined) {
1037
- localVarQueryParameter['exact_match'] = exact_match;
1038
- }
1039
-
1040
- if (start !== undefined) {
1041
- localVarQueryParameter['start'] = start;
1042
- }
1043
-
1044
- if (limit !== undefined) {
1045
- localVarQueryParameter['limit'] = limit;
1046
- }
1047
-
1048
-
1049
-
1050
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1051
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1052
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
1053
-
1054
- return {
1055
- url: toPathString(localVarUrlObj),
1056
- options: localVarRequestOptions,
1057
- };
1058
- },
1059
- /**
1060
- * Updates the properties of an organization.
1061
- * @summary Update an organization
1062
- * @param {number} id The ID of the organization
1063
- * @param {UpdateOrganizationRequest} [UpdateOrganizationRequest]
1064
-
1065
- * @throws {RequiredError}
1066
- */
1067
- updateOrganization: async (id: number, UpdateOrganizationRequest?: UpdateOrganizationRequest, ): Promise<RequestArgs> => {
1068
- // verify required parameter 'id' is not null or undefined
1069
- assertParamExists('updateOrganization', 'id', id)
1070
- const localVarPath = `/organizations/{id}`
1071
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1072
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1073
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1074
- let baseOptions;
1075
- if (configuration) {
1076
- baseOptions = configuration.baseOptions;
1077
- }
1078
-
1079
- const localVarRequestOptions = { method: 'PUT', ...baseOptions };
1080
- const localVarHeaderParameter = {} as any;
1081
- const localVarQueryParameter = {} as any;
1082
-
1083
- // authentication api_key required
1084
- await setApiKeyToObject(localVarQueryParameter, "api_token", configuration)
1085
-
1086
- // authentication oauth2 required
1087
- // oauth required
1088
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration)
1089
-
1090
-
1091
-
1092
- localVarHeaderParameter['Content-Type'] = 'application/json';
1093
-
1094
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1095
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1096
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, };
1097
- localVarRequestOptions.data = serializeDataIfNeeded(UpdateOrganizationRequest, localVarRequestOptions, configuration)
1098
-
1099
- return {
1100
- url: toPathString(localVarUrlObj),
1101
- options: localVarRequestOptions,
1102
- };
1103
- },
1104
- }
1105
- };
1106
-
1107
-
1108
- /**
1109
- * OrganizationsApi - functional programming interface
1110
- * @export
1111
- */
1112
- export const OrganizationsApiFp = function(configuration?: Configuration) {
1113
- const localVarAxiosParamCreator = OrganizationsApiAxiosParamCreator(configuration)
1114
- return {
1115
- /**
1116
- * Adds a new organization. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the organizationFields and look for `key` values. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-organization\" target=\"_blank\" rel=\"noopener noreferrer\">adding an organization</a>.
1117
- * @summary Add an organization
1118
- * @param {AddOrganizationRequest} [AddOrganizationRequest]
1119
-
1120
- * @throws {RequiredError}
1121
- */
1122
- async addOrganization(AddOrganizationRequest?: AddOrganizationRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddOrganizationResponse>> {
1123
- const localVarAxiosArgs = await localVarAxiosParamCreator.addOrganization(AddOrganizationRequest, );
1124
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1125
- },
1126
- /**
1127
- * Adds a follower to an organization.
1128
- * @summary Add a follower to an organization
1129
- * @param {number} id The ID of the organization
1130
- * @param {AddOrganizationFollowerRequest} [AddOrganizationFollowerRequest]
1131
-
1132
- * @throws {RequiredError}
1133
- */
1134
- async addOrganizationFollower(id: number, AddOrganizationFollowerRequest?: AddOrganizationFollowerRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddOrganizationFollowerResponse>> {
1135
- const localVarAxiosArgs = await localVarAxiosParamCreator.addOrganizationFollower(id, AddOrganizationFollowerRequest, );
1136
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1137
- },
1138
- /**
1139
- * Marks an organization as deleted. After 30 days, the organization will be permanently deleted.
1140
- * @summary Delete an organization
1141
- * @param {number} id The ID of the organization
1142
-
1143
- * @throws {RequiredError}
1144
- */
1145
- async deleteOrganization(id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteOrganizationResponse>> {
1146
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganization(id, );
1147
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1148
- },
1149
- /**
1150
- * Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
1151
- * @summary Delete a follower from an organization
1152
- * @param {number} id The ID of the organization
1153
- * @param {number} follower_id The ID of the follower
1154
-
1155
- * @throws {RequiredError}
1156
- */
1157
- async deleteOrganizationFollower(id: number, follower_id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteOrganizationFollowerResponse>> {
1158
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationFollower(id, follower_id, );
1159
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1160
- },
1161
- /**
1162
- * Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted.
1163
- * @summary Delete multiple organizations in bulk
1164
- * @param {string} ids The comma-separated IDs that will be deleted
1165
-
1166
- * @throws {RequiredError}
1167
- */
1168
- async deleteOrganizations(ids: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteOrganizationsResponse>> {
1169
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizations(ids, );
1170
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1171
- },
1172
- /**
1173
- * Returns the details of an organization. Note that this also returns some additional fields which are not present when asking for all organizations. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of organizationFields.
1174
- * @summary Get details of an organization
1175
- * @param {number} id The ID of the organization
1176
-
1177
- * @throws {RequiredError}
1178
- */
1179
- async getOrganization(id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationResponse>> {
1180
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(id, );
1181
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1182
- },
1183
- /**
1184
- * Lists activities associated with an organization.
1185
- * @summary List activities associated with an organization
1186
- * @param {number} id The ID of the organization
1187
- * @param {number} [start] Pagination start
1188
- * @param {number} [limit] Items shown per page
1189
- * @param {0 | 1} [done] Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted returns both Done and Not done activities.
1190
- * @param {string} [exclude] A comma-separated string of activity IDs to exclude from result
1191
-
1192
- * @throws {RequiredError}
1193
- */
1194
- async getOrganizationActivities(id: number, start?: number, limit?: number, done?: 0 | 1, exclude?: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedActivitiesResponse>> {
1195
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationActivities(id, start, limit, done, exclude, );
1196
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1197
- },
1198
- /**
1199
- * Lists updates about field values of an organization.
1200
- * @summary List updates about organization field values
1201
- * @param {number} id The ID of the organization
1202
- * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1203
- * @param {number} [limit] Items shown per page
1204
-
1205
- * @throws {RequiredError}
1206
- */
1207
- async getOrganizationChangelog(id: number, cursor?: string, limit?: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetChangelogResponse>> {
1208
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationChangelog(id, cursor, limit, );
1209
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1210
- },
1211
- /**
1212
- * Lists deals associated with an organization.
1213
- * @summary List deals associated with an organization
1214
- * @param {number} id The ID of the organization
1215
- * @param {number} [start] Pagination start
1216
- * @param {number} [limit] Items shown per page
1217
- * @param {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
1218
- * @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).
1219
- * @param {0 | 1} [only_primary_association] If set, only deals that are directly associated to the organization are fetched. If not set (default), all deals are fetched that are either directly or indirectly related to the organization. Indirect relations include relations through custom, organization-type fields and through persons of the given organization.
1220
-
1221
- * @throws {RequiredError}
1222
- */
1223
- async getOrganizationDeals(id: number, start?: number, limit?: number, status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted', sort?: string, only_primary_association?: 0 | 1, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedDealsResponse>> {
1224
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationDeals(id, start, limit, status, sort, only_primary_association, );
1225
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1226
- },
1227
- /**
1228
- * Lists files associated with an organization.
1229
- * @summary List files attached to an organization
1230
- * @param {number} id The ID of the organization
1231
- * @param {number} [start] Pagination start
1232
- * @param {number} [limit] Items shown per page
1233
- * @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;product_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;file_name&#x60;, &#x60;file_type&#x60;, &#x60;file_size&#x60;, &#x60;comment&#x60;.
1234
-
1235
- * @throws {RequiredError}
1236
- */
1237
- async getOrganizationFiles(id: number, start?: number, limit?: number, sort?: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedFilesResponse>> {
1238
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationFiles(id, start, limit, sort, );
1239
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1240
- },
1241
- /**
1242
- * Lists the followers of an organization.
1243
- * @summary List followers of an organization
1244
- * @param {number} id The ID of the organization
1245
-
1246
- * @throws {RequiredError}
1247
- */
1248
- async getOrganizationFollowers(id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedFollowersResponse1>> {
1249
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationFollowers(id, );
1250
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1251
- },
1252
- /**
1253
- * Lists mail messages associated with an organization.
1254
- * @summary List mail messages associated with an organization
1255
- * @param {number} id The ID of the organization
1256
- * @param {number} [start] Pagination start
1257
- * @param {number} [limit] Items shown per page
1258
-
1259
- * @throws {RequiredError}
1260
- */
1261
- async getOrganizationMailMessages(id: number, start?: number, limit?: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedMailMessagesResponse>> {
1262
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationMailMessages(id, start, limit, );
1263
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1264
- },
1265
- /**
1266
- * Lists persons associated with an organization.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
1267
- * @summary List persons of an organization
1268
- * @param {number} id The ID of the organization
1269
- * @param {number} [start] Pagination start
1270
- * @param {number} [limit] Items shown per page
1271
-
1272
- * @throws {RequiredError}
1273
- */
1274
- async getOrganizationPersons(id: number, start?: number, limit?: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPersonsResponse>> {
1275
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationPersons(id, start, limit, );
1276
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1277
- },
1278
- /**
1279
- * Lists updates about an organization.
1280
- * @summary List updates about an organization
1281
- * @param {number} id The ID of the organization
1282
- * @param {number} [start] Pagination start
1283
- * @param {number} [limit] Items shown per page
1284
- * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted, returns changes without custom field updates.
1285
- * @param {string} [items] A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document).
1286
-
1287
- * @throws {RequiredError}
1288
- */
1289
- async getOrganizationUpdates(id: number, start?: number, limit?: number, all_changes?: string, items?: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAssociatedOrganizationUpdatesResponse>> {
1290
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUpdates(id, start, limit, all_changes, items, );
1291
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1292
- },
1293
- /**
1294
- * List users permitted to access an organization.
1295
- * @summary List permitted users
1296
- * @param {number} id The ID of the organization
1297
-
1298
- * @throws {RequiredError}
1299
- */
1300
- async getOrganizationUsers(id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPermittedUsersResponse1>> {
1301
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUsers(id, );
1302
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1303
- },
1304
- /**
1305
- * Returns all organizations.
1306
- * @summary Get all organizations
1307
- * @param {number} [user_id] If supplied, only organizations owned by the given user will be returned. However, &#x60;filter_id&#x60; takes precedence over &#x60;user_id&#x60; when both are supplied.
1308
- * @param {number} [filter_id] The ID of the filter to use
1309
- * @param {string} [first_char] If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive)
1310
- * @param {number} [start] Pagination start
1311
- * @param {number} [limit] Items shown per page
1312
- * @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).
1313
-
1314
- * @throws {RequiredError}
1315
- */
1316
- async getOrganizations(user_id?: number, filter_id?: number, first_char?: string, start?: number, limit?: number, sort?: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationsResponse>> {
1317
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizations(user_id, filter_id, first_char, start, limit, sort, );
1318
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1319
- },
1320
- /**
1321
- * Returns all organizations. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
1322
- * @summary Get all organizations (BETA)
1323
- * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1324
- * @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.
1325
- * @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
1326
- * @param {string} [until] The time boundary that points to the end of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
1327
- * @param {number} [owner_id] If supplied, only organizations owned by the given user will be returned
1328
- * @param {string} [first_char] If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive)
1329
-
1330
- * @throws {RequiredError}
1331
- */
1332
- async getOrganizationsCollection(cursor?: string, limit?: number, since?: string, until?: string, owner_id?: number, first_char?: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationsCollection200Response>> {
1333
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationsCollection(cursor, limit, since, until, owner_id, first_char, );
1334
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1335
- },
1336
- /**
1337
- * Merges an organization with another organization. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-organizations\" target=\"_blank\" rel=\"noopener noreferrer\">merging two organizations</a>.
1338
- * @summary Merge two organizations
1339
- * @param {number} id The ID of the organization
1340
- * @param {MergeOrganizationsRequest} [MergeOrganizationsRequest]
1341
-
1342
- * @throws {RequiredError}
1343
- */
1344
- async mergeOrganizations(id: number, MergeOrganizationsRequest?: MergeOrganizationsRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<MergeOrganizationsResponse>> {
1345
- const localVarAxiosArgs = await localVarAxiosParamCreator.mergeOrganizations(id, MergeOrganizationsRequest, );
1346
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1347
- },
1348
- /**
1349
- * 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.
1350
- * @summary Search organizations
1351
- * @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.
1352
- * @param {'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;.
1353
- * @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.
1354
- * @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
1355
- * @param {number} [limit] Items shown per page
1356
-
1357
- * @throws {RequiredError}
1358
- */
1359
- async searchOrganization(term: string, fields?: 'address' | 'custom_fields' | 'notes' | 'name', exact_match?: boolean, start?: number, limit?: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationSearchResponse>> {
1360
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchOrganization(term, fields, exact_match, start, limit, );
1361
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1362
- },
1363
- /**
1364
- * Updates the properties of an organization.
1365
- * @summary Update an organization
1366
- * @param {number} id The ID of the organization
1367
- * @param {UpdateOrganizationRequest} [UpdateOrganizationRequest]
1368
-
1369
- * @throws {RequiredError}
1370
- */
1371
- async updateOrganization(id: number, UpdateOrganizationRequest?: UpdateOrganizationRequest, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateOrganizationResponse>> {
1372
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganization(id, UpdateOrganizationRequest, );
1373
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1374
- },
1375
- }
1376
- };
1377
-
1378
- /**
1379
- * OrganizationsApi - factory interface
1380
- * @export
1381
- */
1382
- export const OrganizationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1383
- const localVarFp = OrganizationsApiFp(configuration)
1384
- return {
1385
- /**
1386
- * Adds a new organization. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the organizationFields and look for `key` values. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-organization\" target=\"_blank\" rel=\"noopener noreferrer\">adding an organization</a>.
1387
- * @summary Add an organization
1388
- * @param {OrganizationsApiAddOrganizationRequest} requestParameters Request parameters.
1389
-
1390
- * @throws {RequiredError}
1391
- */
1392
- addOrganization(requestParameters: OrganizationsApiAddOrganizationRequest = {}, ): Promise<AddOrganizationResponse> {
1393
- return localVarFp.addOrganization(requestParameters.AddOrganizationRequest, ).then((request) => request(axios, basePath));
1394
- },
1395
- /**
1396
- * Adds a follower to an organization.
1397
- * @summary Add a follower to an organization
1398
- * @param {OrganizationsApiAddOrganizationFollowerRequest} requestParameters Request parameters.
1399
-
1400
- * @throws {RequiredError}
1401
- */
1402
- addOrganizationFollower(requestParameters: OrganizationsApiAddOrganizationFollowerRequest, ): Promise<AddOrganizationFollowerResponse> {
1403
- return localVarFp.addOrganizationFollower(requestParameters.id, requestParameters.AddOrganizationFollowerRequest, ).then((request) => request(axios, basePath));
1404
- },
1405
- /**
1406
- * Marks an organization as deleted. After 30 days, the organization will be permanently deleted.
1407
- * @summary Delete an organization
1408
- * @param {OrganizationsApiDeleteOrganizationRequest} requestParameters Request parameters.
1409
-
1410
- * @throws {RequiredError}
1411
- */
1412
- deleteOrganization(requestParameters: OrganizationsApiDeleteOrganizationRequest, ): Promise<DeleteOrganizationResponse> {
1413
- return localVarFp.deleteOrganization(requestParameters.id, ).then((request) => request(axios, basePath));
1414
- },
1415
- /**
1416
- * Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
1417
- * @summary Delete a follower from an organization
1418
- * @param {OrganizationsApiDeleteOrganizationFollowerRequest} requestParameters Request parameters.
1419
-
1420
- * @throws {RequiredError}
1421
- */
1422
- deleteOrganizationFollower(requestParameters: OrganizationsApiDeleteOrganizationFollowerRequest, ): Promise<DeleteOrganizationFollowerResponse> {
1423
- return localVarFp.deleteOrganizationFollower(requestParameters.id, requestParameters.follower_id, ).then((request) => request(axios, basePath));
1424
- },
1425
- /**
1426
- * Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted.
1427
- * @summary Delete multiple organizations in bulk
1428
- * @param {OrganizationsApiDeleteOrganizationsRequest} requestParameters Request parameters.
1429
-
1430
- * @throws {RequiredError}
1431
- */
1432
- deleteOrganizations(requestParameters: OrganizationsApiDeleteOrganizationsRequest, ): Promise<DeleteOrganizationsResponse> {
1433
- return localVarFp.deleteOrganizations(requestParameters.ids, ).then((request) => request(axios, basePath));
1434
- },
1435
- /**
1436
- * Returns the details of an organization. Note that this also returns some additional fields which are not present when asking for all organizations. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of organizationFields.
1437
- * @summary Get details of an organization
1438
- * @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
1439
-
1440
- * @throws {RequiredError}
1441
- */
1442
- getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest, ): Promise<GetOrganizationResponse> {
1443
- return localVarFp.getOrganization(requestParameters.id, ).then((request) => request(axios, basePath));
1444
- },
1445
- /**
1446
- * Lists activities associated with an organization.
1447
- * @summary List activities associated with an organization
1448
- * @param {OrganizationsApiGetOrganizationActivitiesRequest} requestParameters Request parameters.
1449
-
1450
- * @throws {RequiredError}
1451
- */
1452
- getOrganizationActivities(requestParameters: OrganizationsApiGetOrganizationActivitiesRequest, ): Promise<GetAssociatedActivitiesResponse> {
1453
- return localVarFp.getOrganizationActivities(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.done, requestParameters.exclude, ).then((request) => request(axios, basePath));
1454
- },
1455
- /**
1456
- * Lists updates about field values of an organization.
1457
- * @summary List updates about organization field values
1458
- * @param {OrganizationsApiGetOrganizationChangelogRequest} requestParameters Request parameters.
1459
-
1460
- * @throws {RequiredError}
1461
- */
1462
- getOrganizationChangelog(requestParameters: OrganizationsApiGetOrganizationChangelogRequest, ): Promise<GetChangelogResponse> {
1463
- return localVarFp.getOrganizationChangelog(requestParameters.id, requestParameters.cursor, requestParameters.limit, ).then((request) => request(axios, basePath));
1464
- },
1465
- /**
1466
- * Lists deals associated with an organization.
1467
- * @summary List deals associated with an organization
1468
- * @param {OrganizationsApiGetOrganizationDealsRequest} requestParameters Request parameters.
1469
-
1470
- * @throws {RequiredError}
1471
- */
1472
- getOrganizationDeals(requestParameters: OrganizationsApiGetOrganizationDealsRequest, ): Promise<GetAssociatedDealsResponse> {
1473
- return localVarFp.getOrganizationDeals(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.status, requestParameters.sort, requestParameters.only_primary_association, ).then((request) => request(axios, basePath));
1474
- },
1475
- /**
1476
- * Lists files associated with an organization.
1477
- * @summary List files attached to an organization
1478
- * @param {OrganizationsApiGetOrganizationFilesRequest} requestParameters Request parameters.
1479
-
1480
- * @throws {RequiredError}
1481
- */
1482
- getOrganizationFiles(requestParameters: OrganizationsApiGetOrganizationFilesRequest, ): Promise<GetAssociatedFilesResponse> {
1483
- return localVarFp.getOrganizationFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort, ).then((request) => request(axios, basePath));
1484
- },
1485
- /**
1486
- * Lists the followers of an organization.
1487
- * @summary List followers of an organization
1488
- * @param {OrganizationsApiGetOrganizationFollowersRequest} requestParameters Request parameters.
1489
-
1490
- * @throws {RequiredError}
1491
- */
1492
- getOrganizationFollowers(requestParameters: OrganizationsApiGetOrganizationFollowersRequest, ): Promise<GetAssociatedFollowersResponse1> {
1493
- return localVarFp.getOrganizationFollowers(requestParameters.id, ).then((request) => request(axios, basePath));
1494
- },
1495
- /**
1496
- * Lists mail messages associated with an organization.
1497
- * @summary List mail messages associated with an organization
1498
- * @param {OrganizationsApiGetOrganizationMailMessagesRequest} requestParameters Request parameters.
1499
-
1500
- * @throws {RequiredError}
1501
- */
1502
- getOrganizationMailMessages(requestParameters: OrganizationsApiGetOrganizationMailMessagesRequest, ): Promise<GetAssociatedMailMessagesResponse> {
1503
- return localVarFp.getOrganizationMailMessages(requestParameters.id, requestParameters.start, requestParameters.limit, ).then((request) => request(axios, basePath));
1504
- },
1505
- /**
1506
- * Lists persons associated with an organization.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
1507
- * @summary List persons of an organization
1508
- * @param {OrganizationsApiGetOrganizationPersonsRequest} requestParameters Request parameters.
1509
-
1510
- * @throws {RequiredError}
1511
- */
1512
- getOrganizationPersons(requestParameters: OrganizationsApiGetOrganizationPersonsRequest, ): Promise<GetPersonsResponse> {
1513
- return localVarFp.getOrganizationPersons(requestParameters.id, requestParameters.start, requestParameters.limit, ).then((request) => request(axios, basePath));
1514
- },
1515
- /**
1516
- * Lists updates about an organization.
1517
- * @summary List updates about an organization
1518
- * @param {OrganizationsApiGetOrganizationUpdatesRequest} requestParameters Request parameters.
1519
-
1520
- * @throws {RequiredError}
1521
- */
1522
- getOrganizationUpdates(requestParameters: OrganizationsApiGetOrganizationUpdatesRequest, ): Promise<GetAssociatedOrganizationUpdatesResponse> {
1523
- return localVarFp.getOrganizationUpdates(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items, ).then((request) => request(axios, basePath));
1524
- },
1525
- /**
1526
- * List users permitted to access an organization.
1527
- * @summary List permitted users
1528
- * @param {OrganizationsApiGetOrganizationUsersRequest} requestParameters Request parameters.
1529
-
1530
- * @throws {RequiredError}
1531
- */
1532
- getOrganizationUsers(requestParameters: OrganizationsApiGetOrganizationUsersRequest, ): Promise<GetPermittedUsersResponse1> {
1533
- return localVarFp.getOrganizationUsers(requestParameters.id, ).then((request) => request(axios, basePath));
1534
- },
1535
- /**
1536
- * Returns all organizations.
1537
- * @summary Get all organizations
1538
- * @param {OrganizationsApiGetOrganizationsRequest} requestParameters Request parameters.
1539
-
1540
- * @throws {RequiredError}
1541
- */
1542
- getOrganizations(requestParameters: OrganizationsApiGetOrganizationsRequest = {}, ): Promise<GetOrganizationsResponse> {
1543
- return localVarFp.getOrganizations(requestParameters.user_id, requestParameters.filter_id, requestParameters.first_char, requestParameters.start, requestParameters.limit, requestParameters.sort, ).then((request) => request(axios, basePath));
1544
- },
1545
- /**
1546
- * Returns all organizations. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
1547
- * @summary Get all organizations (BETA)
1548
- * @param {OrganizationsApiGetOrganizationsCollectionRequest} requestParameters Request parameters.
1549
-
1550
- * @throws {RequiredError}
1551
- */
1552
- getOrganizationsCollection(requestParameters: OrganizationsApiGetOrganizationsCollectionRequest = {}, ): Promise<GetOrganizationsCollection200Response> {
1553
- return localVarFp.getOrganizationsCollection(requestParameters.cursor, requestParameters.limit, requestParameters.since, requestParameters.until, requestParameters.owner_id, requestParameters.first_char, ).then((request) => request(axios, basePath));
1554
- },
1555
- /**
1556
- * Merges an organization with another organization. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-organizations\" target=\"_blank\" rel=\"noopener noreferrer\">merging two organizations</a>.
1557
- * @summary Merge two organizations
1558
- * @param {OrganizationsApiMergeOrganizationsRequest} requestParameters Request parameters.
1559
-
1560
- * @throws {RequiredError}
1561
- */
1562
- mergeOrganizations(requestParameters: OrganizationsApiMergeOrganizationsRequest, ): Promise<MergeOrganizationsResponse> {
1563
- return localVarFp.mergeOrganizations(requestParameters.id, requestParameters.MergeOrganizationsRequest, ).then((request) => request(axios, basePath));
1564
- },
1565
- /**
1566
- * 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.
1567
- * @summary Search organizations
1568
- * @param {OrganizationsApiSearchOrganizationRequest} requestParameters Request parameters.
1569
-
1570
- * @throws {RequiredError}
1571
- */
1572
- searchOrganization(requestParameters: OrganizationsApiSearchOrganizationRequest, ): Promise<GetOrganizationSearchResponse> {
1573
- return localVarFp.searchOrganization(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.start, requestParameters.limit, ).then((request) => request(axios, basePath));
1574
- },
1575
- /**
1576
- * Updates the properties of an organization.
1577
- * @summary Update an organization
1578
- * @param {OrganizationsApiUpdateOrganizationRequest} requestParameters Request parameters.
1579
-
1580
- * @throws {RequiredError}
1581
- */
1582
- updateOrganization(requestParameters: OrganizationsApiUpdateOrganizationRequest, ): Promise<UpdateOrganizationResponse> {
1583
- return localVarFp.updateOrganization(requestParameters.id, requestParameters.UpdateOrganizationRequest, ).then((request) => request(axios, basePath));
1584
- },
1585
- };
1586
- };
1587
-
1588
- /**
1589
- * Request parameters for addOrganization operation in OrganizationsApi.
1590
- * @export
1591
- * @interface OrganizationsApiAddOrganizationRequest
1592
- */
1593
- export interface OrganizationsApiAddOrganizationRequest {
1594
- /**
1595
- *
1596
- * @type {AddOrganizationRequest}
1597
- * @memberof OrganizationsApiAddOrganization
1598
- */
1599
- readonly AddOrganizationRequest?: AddOrganizationRequest
1600
- }
1601
-
1602
- /**
1603
- * Request parameters for addOrganizationFollower operation in OrganizationsApi.
1604
- * @export
1605
- * @interface OrganizationsApiAddOrganizationFollowerRequest
1606
- */
1607
- export interface OrganizationsApiAddOrganizationFollowerRequest {
1608
- /**
1609
- * The ID of the organization
1610
- * @type {number}
1611
- * @memberof OrganizationsApiAddOrganizationFollower
1612
- */
1613
- readonly id: number
1614
-
1615
- /**
1616
- *
1617
- * @type {AddOrganizationFollowerRequest}
1618
- * @memberof OrganizationsApiAddOrganizationFollower
1619
- */
1620
- readonly AddOrganizationFollowerRequest?: AddOrganizationFollowerRequest
1621
- }
1622
-
1623
- /**
1624
- * Request parameters for deleteOrganization operation in OrganizationsApi.
1625
- * @export
1626
- * @interface OrganizationsApiDeleteOrganizationRequest
1627
- */
1628
- export interface OrganizationsApiDeleteOrganizationRequest {
1629
- /**
1630
- * The ID of the organization
1631
- * @type {number}
1632
- * @memberof OrganizationsApiDeleteOrganization
1633
- */
1634
- readonly id: number
1635
- }
1636
-
1637
- /**
1638
- * Request parameters for deleteOrganizationFollower operation in OrganizationsApi.
1639
- * @export
1640
- * @interface OrganizationsApiDeleteOrganizationFollowerRequest
1641
- */
1642
- export interface OrganizationsApiDeleteOrganizationFollowerRequest {
1643
- /**
1644
- * The ID of the organization
1645
- * @type {number}
1646
- * @memberof OrganizationsApiDeleteOrganizationFollower
1647
- */
1648
- readonly id: number
1649
-
1650
- /**
1651
- * The ID of the follower
1652
- * @type {number}
1653
- * @memberof OrganizationsApiDeleteOrganizationFollower
1654
- */
1655
- readonly follower_id: number
1656
- }
1657
-
1658
- /**
1659
- * Request parameters for deleteOrganizations operation in OrganizationsApi.
1660
- * @export
1661
- * @interface OrganizationsApiDeleteOrganizationsRequest
1662
- */
1663
- export interface OrganizationsApiDeleteOrganizationsRequest {
1664
- /**
1665
- * The comma-separated IDs that will be deleted
1666
- * @type {string}
1667
- * @memberof OrganizationsApiDeleteOrganizations
1668
- */
1669
- readonly ids: string
1670
- }
1671
-
1672
- /**
1673
- * Request parameters for getOrganization operation in OrganizationsApi.
1674
- * @export
1675
- * @interface OrganizationsApiGetOrganizationRequest
1676
- */
1677
- export interface OrganizationsApiGetOrganizationRequest {
1678
- /**
1679
- * The ID of the organization
1680
- * @type {number}
1681
- * @memberof OrganizationsApiGetOrganization
1682
- */
1683
- readonly id: number
1684
- }
1685
-
1686
- /**
1687
- * Request parameters for getOrganizationActivities operation in OrganizationsApi.
1688
- * @export
1689
- * @interface OrganizationsApiGetOrganizationActivitiesRequest
1690
- */
1691
- export interface OrganizationsApiGetOrganizationActivitiesRequest {
1692
- /**
1693
- * The ID of the organization
1694
- * @type {number}
1695
- * @memberof OrganizationsApiGetOrganizationActivities
1696
- */
1697
- readonly id: number
1698
-
1699
- /**
1700
- * Pagination start
1701
- * @type {number}
1702
- * @memberof OrganizationsApiGetOrganizationActivities
1703
- */
1704
- readonly start?: number
1705
-
1706
- /**
1707
- * Items shown per page
1708
- * @type {number}
1709
- * @memberof OrganizationsApiGetOrganizationActivities
1710
- */
1711
- readonly limit?: number
1712
-
1713
- /**
1714
- * Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted returns both Done and Not done activities.
1715
- * @type {0 | 1}
1716
- * @memberof OrganizationsApiGetOrganizationActivities
1717
- */
1718
- readonly done?: 0 | 1
1719
-
1720
- /**
1721
- * A comma-separated string of activity IDs to exclude from result
1722
- * @type {string}
1723
- * @memberof OrganizationsApiGetOrganizationActivities
1724
- */
1725
- readonly exclude?: string
1726
- }
1727
-
1728
- /**
1729
- * Request parameters for getOrganizationChangelog operation in OrganizationsApi.
1730
- * @export
1731
- * @interface OrganizationsApiGetOrganizationChangelogRequest
1732
- */
1733
- export interface OrganizationsApiGetOrganizationChangelogRequest {
1734
- /**
1735
- * The ID of the organization
1736
- * @type {number}
1737
- * @memberof OrganizationsApiGetOrganizationChangelog
1738
- */
1739
- readonly id: number
1740
-
1741
- /**
1742
- * For pagination, the marker (an opaque string value) representing the first item on the next page
1743
- * @type {string}
1744
- * @memberof OrganizationsApiGetOrganizationChangelog
1745
- */
1746
- readonly cursor?: string
1747
-
1748
- /**
1749
- * Items shown per page
1750
- * @type {number}
1751
- * @memberof OrganizationsApiGetOrganizationChangelog
1752
- */
1753
- readonly limit?: number
1754
- }
1755
-
1756
- /**
1757
- * Request parameters for getOrganizationDeals operation in OrganizationsApi.
1758
- * @export
1759
- * @interface OrganizationsApiGetOrganizationDealsRequest
1760
- */
1761
- export interface OrganizationsApiGetOrganizationDealsRequest {
1762
- /**
1763
- * The ID of the organization
1764
- * @type {number}
1765
- * @memberof OrganizationsApiGetOrganizationDeals
1766
- */
1767
- readonly id: number
1768
-
1769
- /**
1770
- * Pagination start
1771
- * @type {number}
1772
- * @memberof OrganizationsApiGetOrganizationDeals
1773
- */
1774
- readonly start?: number
1775
-
1776
- /**
1777
- * Items shown per page
1778
- * @type {number}
1779
- * @memberof OrganizationsApiGetOrganizationDeals
1780
- */
1781
- readonly limit?: number
1782
-
1783
- /**
1784
- * Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included.
1785
- * @type {'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'}
1786
- * @memberof OrganizationsApiGetOrganizationDeals
1787
- */
1788
- readonly status?: 'open' | 'won' | 'lost' | 'deleted' | 'all_not_deleted'
1789
-
1790
- /**
1791
- * 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).
1792
- * @type {string}
1793
- * @memberof OrganizationsApiGetOrganizationDeals
1794
- */
1795
- readonly sort?: string
1796
-
1797
- /**
1798
- * If set, only deals that are directly associated to the organization are fetched. If not set (default), all deals are fetched that are either directly or indirectly related to the organization. Indirect relations include relations through custom, organization-type fields and through persons of the given organization.
1799
- * @type {0 | 1}
1800
- * @memberof OrganizationsApiGetOrganizationDeals
1801
- */
1802
- readonly only_primary_association?: 0 | 1
1803
- }
1804
-
1805
- /**
1806
- * Request parameters for getOrganizationFiles operation in OrganizationsApi.
1807
- * @export
1808
- * @interface OrganizationsApiGetOrganizationFilesRequest
1809
- */
1810
- export interface OrganizationsApiGetOrganizationFilesRequest {
1811
- /**
1812
- * The ID of the organization
1813
- * @type {number}
1814
- * @memberof OrganizationsApiGetOrganizationFiles
1815
- */
1816
- readonly id: number
1817
-
1818
- /**
1819
- * Pagination start
1820
- * @type {number}
1821
- * @memberof OrganizationsApiGetOrganizationFiles
1822
- */
1823
- readonly start?: number
1824
-
1825
- /**
1826
- * Items shown per page
1827
- * @type {number}
1828
- * @memberof OrganizationsApiGetOrganizationFiles
1829
- */
1830
- readonly limit?: number
1831
-
1832
- /**
1833
- * 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;product_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;file_name&#x60;, &#x60;file_type&#x60;, &#x60;file_size&#x60;, &#x60;comment&#x60;.
1834
- * @type {string}
1835
- * @memberof OrganizationsApiGetOrganizationFiles
1836
- */
1837
- readonly sort?: string
1838
- }
1839
-
1840
- /**
1841
- * Request parameters for getOrganizationFollowers operation in OrganizationsApi.
1842
- * @export
1843
- * @interface OrganizationsApiGetOrganizationFollowersRequest
1844
- */
1845
- export interface OrganizationsApiGetOrganizationFollowersRequest {
1846
- /**
1847
- * The ID of the organization
1848
- * @type {number}
1849
- * @memberof OrganizationsApiGetOrganizationFollowers
1850
- */
1851
- readonly id: number
1852
- }
1853
-
1854
- /**
1855
- * Request parameters for getOrganizationMailMessages operation in OrganizationsApi.
1856
- * @export
1857
- * @interface OrganizationsApiGetOrganizationMailMessagesRequest
1858
- */
1859
- export interface OrganizationsApiGetOrganizationMailMessagesRequest {
1860
- /**
1861
- * The ID of the organization
1862
- * @type {number}
1863
- * @memberof OrganizationsApiGetOrganizationMailMessages
1864
- */
1865
- readonly id: number
1866
-
1867
- /**
1868
- * Pagination start
1869
- * @type {number}
1870
- * @memberof OrganizationsApiGetOrganizationMailMessages
1871
- */
1872
- readonly start?: number
1873
-
1874
- /**
1875
- * Items shown per page
1876
- * @type {number}
1877
- * @memberof OrganizationsApiGetOrganizationMailMessages
1878
- */
1879
- readonly limit?: number
1880
- }
1881
-
1882
- /**
1883
- * Request parameters for getOrganizationPersons operation in OrganizationsApi.
1884
- * @export
1885
- * @interface OrganizationsApiGetOrganizationPersonsRequest
1886
- */
1887
- export interface OrganizationsApiGetOrganizationPersonsRequest {
1888
- /**
1889
- * The ID of the organization
1890
- * @type {number}
1891
- * @memberof OrganizationsApiGetOrganizationPersons
1892
- */
1893
- readonly id: number
1894
-
1895
- /**
1896
- * Pagination start
1897
- * @type {number}
1898
- * @memberof OrganizationsApiGetOrganizationPersons
1899
- */
1900
- readonly start?: number
1901
-
1902
- /**
1903
- * Items shown per page
1904
- * @type {number}
1905
- * @memberof OrganizationsApiGetOrganizationPersons
1906
- */
1907
- readonly limit?: number
1908
- }
1909
-
1910
- /**
1911
- * Request parameters for getOrganizationUpdates operation in OrganizationsApi.
1912
- * @export
1913
- * @interface OrganizationsApiGetOrganizationUpdatesRequest
1914
- */
1915
- export interface OrganizationsApiGetOrganizationUpdatesRequest {
1916
- /**
1917
- * The ID of the organization
1918
- * @type {number}
1919
- * @memberof OrganizationsApiGetOrganizationUpdates
1920
- */
1921
- readonly id: number
1922
-
1923
- /**
1924
- * Pagination start
1925
- * @type {number}
1926
- * @memberof OrganizationsApiGetOrganizationUpdates
1927
- */
1928
- readonly start?: number
1929
-
1930
- /**
1931
- * Items shown per page
1932
- * @type {number}
1933
- * @memberof OrganizationsApiGetOrganizationUpdates
1934
- */
1935
- readonly limit?: number
1936
-
1937
- /**
1938
- * Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted, returns changes without custom field updates.
1939
- * @type {string}
1940
- * @memberof OrganizationsApiGetOrganizationUpdates
1941
- */
1942
- readonly all_changes?: string
1943
-
1944
- /**
1945
- * A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document).
1946
- * @type {string}
1947
- * @memberof OrganizationsApiGetOrganizationUpdates
1948
- */
1949
- readonly items?: string
1950
- }
1951
-
1952
- /**
1953
- * Request parameters for getOrganizationUsers operation in OrganizationsApi.
1954
- * @export
1955
- * @interface OrganizationsApiGetOrganizationUsersRequest
1956
- */
1957
- export interface OrganizationsApiGetOrganizationUsersRequest {
1958
- /**
1959
- * The ID of the organization
1960
- * @type {number}
1961
- * @memberof OrganizationsApiGetOrganizationUsers
1962
- */
1963
- readonly id: number
1964
- }
1965
-
1966
- /**
1967
- * Request parameters for getOrganizations operation in OrganizationsApi.
1968
- * @export
1969
- * @interface OrganizationsApiGetOrganizationsRequest
1970
- */
1971
- export interface OrganizationsApiGetOrganizationsRequest {
1972
- /**
1973
- * If supplied, only organizations owned by the given user will be returned. However, &#x60;filter_id&#x60; takes precedence over &#x60;user_id&#x60; when both are supplied.
1974
- * @type {number}
1975
- * @memberof OrganizationsApiGetOrganizations
1976
- */
1977
- readonly user_id?: number
1978
-
1979
- /**
1980
- * The ID of the filter to use
1981
- * @type {number}
1982
- * @memberof OrganizationsApiGetOrganizations
1983
- */
1984
- readonly filter_id?: number
1985
-
1986
- /**
1987
- * If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive)
1988
- * @type {string}
1989
- * @memberof OrganizationsApiGetOrganizations
1990
- */
1991
- readonly first_char?: string
1992
-
1993
- /**
1994
- * Pagination start
1995
- * @type {number}
1996
- * @memberof OrganizationsApiGetOrganizations
1997
- */
1998
- readonly start?: number
1999
-
2000
- /**
2001
- * Items shown per page
2002
- * @type {number}
2003
- * @memberof OrganizationsApiGetOrganizations
2004
- */
2005
- readonly limit?: number
2006
-
2007
- /**
2008
- * 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).
2009
- * @type {string}
2010
- * @memberof OrganizationsApiGetOrganizations
2011
- */
2012
- readonly sort?: string
2013
- }
2014
-
2015
- /**
2016
- * Request parameters for getOrganizationsCollection operation in OrganizationsApi.
2017
- * @export
2018
- * @interface OrganizationsApiGetOrganizationsCollectionRequest
2019
- */
2020
- export interface OrganizationsApiGetOrganizationsCollectionRequest {
2021
- /**
2022
- * For pagination, the marker (an opaque string value) representing the first item on the next page
2023
- * @type {string}
2024
- * @memberof OrganizationsApiGetOrganizationsCollection
2025
- */
2026
- readonly cursor?: string
2027
-
2028
- /**
2029
- * 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.
2030
- * @type {number}
2031
- * @memberof OrganizationsApiGetOrganizationsCollection
2032
- */
2033
- readonly limit?: number
2034
-
2035
- /**
2036
- * The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
2037
- * @type {string}
2038
- * @memberof OrganizationsApiGetOrganizationsCollection
2039
- */
2040
- readonly since?: string
2041
-
2042
- /**
2043
- * The time boundary that points to the end of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
2044
- * @type {string}
2045
- * @memberof OrganizationsApiGetOrganizationsCollection
2046
- */
2047
- readonly until?: string
2048
-
2049
- /**
2050
- * If supplied, only organizations owned by the given user will be returned
2051
- * @type {number}
2052
- * @memberof OrganizationsApiGetOrganizationsCollection
2053
- */
2054
- readonly owner_id?: number
2055
-
2056
- /**
2057
- * If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive)
2058
- * @type {string}
2059
- * @memberof OrganizationsApiGetOrganizationsCollection
2060
- */
2061
- readonly first_char?: string
2062
- }
2063
-
2064
- /**
2065
- * Request parameters for mergeOrganizations operation in OrganizationsApi.
2066
- * @export
2067
- * @interface OrganizationsApiMergeOrganizationsRequest
2068
- */
2069
- export interface OrganizationsApiMergeOrganizationsRequest {
2070
- /**
2071
- * The ID of the organization
2072
- * @type {number}
2073
- * @memberof OrganizationsApiMergeOrganizations
2074
- */
2075
- readonly id: number
2076
-
2077
- /**
2078
- *
2079
- * @type {MergeOrganizationsRequest}
2080
- * @memberof OrganizationsApiMergeOrganizations
2081
- */
2082
- readonly MergeOrganizationsRequest?: MergeOrganizationsRequest
2083
- }
2084
-
2085
- /**
2086
- * Request parameters for searchOrganization operation in OrganizationsApi.
2087
- * @export
2088
- * @interface OrganizationsApiSearchOrganizationRequest
2089
- */
2090
- export interface OrganizationsApiSearchOrganizationRequest {
2091
- /**
2092
- * 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.
2093
- * @type {string}
2094
- * @memberof OrganizationsApiSearchOrganization
2095
- */
2096
- readonly term: string
2097
-
2098
- /**
2099
- * 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;.
2100
- * @type {'address' | 'custom_fields' | 'notes' | 'name'}
2101
- * @memberof OrganizationsApiSearchOrganization
2102
- */
2103
- readonly fields?: 'address' | 'custom_fields' | 'notes' | 'name'
2104
-
2105
- /**
2106
- * When enabled, only full exact matches against the given term are returned. It is &lt;b&gt;not&lt;/b&gt; case sensitive.
2107
- * @type {boolean}
2108
- * @memberof OrganizationsApiSearchOrganization
2109
- */
2110
- readonly exact_match?: boolean
2111
-
2112
- /**
2113
- * Pagination start. Note that the pagination is based on main results and does not include related items when using &#x60;search_for_related_items&#x60; parameter.
2114
- * @type {number}
2115
- * @memberof OrganizationsApiSearchOrganization
2116
- */
2117
- readonly start?: number
2118
-
2119
- /**
2120
- * Items shown per page
2121
- * @type {number}
2122
- * @memberof OrganizationsApiSearchOrganization
2123
- */
2124
- readonly limit?: number
2125
- }
2126
-
2127
- /**
2128
- * Request parameters for updateOrganization operation in OrganizationsApi.
2129
- * @export
2130
- * @interface OrganizationsApiUpdateOrganizationRequest
2131
- */
2132
- export interface OrganizationsApiUpdateOrganizationRequest {
2133
- /**
2134
- * The ID of the organization
2135
- * @type {number}
2136
- * @memberof OrganizationsApiUpdateOrganization
2137
- */
2138
- readonly id: number
2139
-
2140
- /**
2141
- *
2142
- * @type {UpdateOrganizationRequest}
2143
- * @memberof OrganizationsApiUpdateOrganization
2144
- */
2145
- readonly UpdateOrganizationRequest?: UpdateOrganizationRequest
2146
- }
2147
-
2148
- /**
2149
- * OrganizationsApi - object-oriented interface
2150
- * @export
2151
- * @class OrganizationsApi
2152
- * @extends {BaseAPI}
2153
- */
2154
- export class OrganizationsApi extends BaseAPI {
2155
- /**
2156
- * Adds a new organization. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the organizationFields and look for `key` values. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-organization\" target=\"_blank\" rel=\"noopener noreferrer\">adding an organization</a>.
2157
- * @summary Add an organization
2158
- * @param {OrganizationsApiAddOrganizationRequest} requestParameters Request parameters.
2159
-
2160
- * @throws {RequiredError}
2161
- * @memberof OrganizationsApi
2162
- */
2163
- public addOrganization(requestParameters: OrganizationsApiAddOrganizationRequest = {}, ) {
2164
- return OrganizationsApiFp(this.configuration).addOrganization(requestParameters.AddOrganizationRequest, ).then((request) => request(this.axios, this.basePath));
2165
- }
2166
-
2167
- /**
2168
- * Adds a follower to an organization.
2169
- * @summary Add a follower to an organization
2170
- * @param {OrganizationsApiAddOrganizationFollowerRequest} requestParameters Request parameters.
2171
-
2172
- * @throws {RequiredError}
2173
- * @memberof OrganizationsApi
2174
- */
2175
- public addOrganizationFollower(requestParameters: OrganizationsApiAddOrganizationFollowerRequest, ) {
2176
- return OrganizationsApiFp(this.configuration).addOrganizationFollower(requestParameters.id, requestParameters.AddOrganizationFollowerRequest, ).then((request) => request(this.axios, this.basePath));
2177
- }
2178
-
2179
- /**
2180
- * Marks an organization as deleted. After 30 days, the organization will be permanently deleted.
2181
- * @summary Delete an organization
2182
- * @param {OrganizationsApiDeleteOrganizationRequest} requestParameters Request parameters.
2183
-
2184
- * @throws {RequiredError}
2185
- * @memberof OrganizationsApi
2186
- */
2187
- public deleteOrganization(requestParameters: OrganizationsApiDeleteOrganizationRequest, ) {
2188
- return OrganizationsApiFp(this.configuration).deleteOrganization(requestParameters.id, ).then((request) => request(this.axios, this.basePath));
2189
- }
2190
-
2191
- /**
2192
- * Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
2193
- * @summary Delete a follower from an organization
2194
- * @param {OrganizationsApiDeleteOrganizationFollowerRequest} requestParameters Request parameters.
2195
-
2196
- * @throws {RequiredError}
2197
- * @memberof OrganizationsApi
2198
- */
2199
- public deleteOrganizationFollower(requestParameters: OrganizationsApiDeleteOrganizationFollowerRequest, ) {
2200
- return OrganizationsApiFp(this.configuration).deleteOrganizationFollower(requestParameters.id, requestParameters.follower_id, ).then((request) => request(this.axios, this.basePath));
2201
- }
2202
-
2203
- /**
2204
- * Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted.
2205
- * @summary Delete multiple organizations in bulk
2206
- * @param {OrganizationsApiDeleteOrganizationsRequest} requestParameters Request parameters.
2207
-
2208
- * @throws {RequiredError}
2209
- * @memberof OrganizationsApi
2210
- */
2211
- public deleteOrganizations(requestParameters: OrganizationsApiDeleteOrganizationsRequest, ) {
2212
- return OrganizationsApiFp(this.configuration).deleteOrganizations(requestParameters.ids, ).then((request) => request(this.axios, this.basePath));
2213
- }
2214
-
2215
- /**
2216
- * Returns the details of an organization. Note that this also returns some additional fields which are not present when asking for all organizations. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of organizationFields.
2217
- * @summary Get details of an organization
2218
- * @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
2219
-
2220
- * @throws {RequiredError}
2221
- * @memberof OrganizationsApi
2222
- */
2223
- public getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest, ) {
2224
- return OrganizationsApiFp(this.configuration).getOrganization(requestParameters.id, ).then((request) => request(this.axios, this.basePath));
2225
- }
2226
-
2227
- /**
2228
- * Lists activities associated with an organization.
2229
- * @summary List activities associated with an organization
2230
- * @param {OrganizationsApiGetOrganizationActivitiesRequest} requestParameters Request parameters.
2231
-
2232
- * @throws {RequiredError}
2233
- * @memberof OrganizationsApi
2234
- */
2235
- public getOrganizationActivities(requestParameters: OrganizationsApiGetOrganizationActivitiesRequest, ) {
2236
- return OrganizationsApiFp(this.configuration).getOrganizationActivities(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.done, requestParameters.exclude, ).then((request) => request(this.axios, this.basePath));
2237
- }
2238
-
2239
- /**
2240
- * Lists updates about field values of an organization.
2241
- * @summary List updates about organization field values
2242
- * @param {OrganizationsApiGetOrganizationChangelogRequest} requestParameters Request parameters.
2243
-
2244
- * @throws {RequiredError}
2245
- * @memberof OrganizationsApi
2246
- */
2247
- public getOrganizationChangelog(requestParameters: OrganizationsApiGetOrganizationChangelogRequest, ) {
2248
- return OrganizationsApiFp(this.configuration).getOrganizationChangelog(requestParameters.id, requestParameters.cursor, requestParameters.limit, ).then((request) => request(this.axios, this.basePath));
2249
- }
2250
-
2251
- /**
2252
- * Lists deals associated with an organization.
2253
- * @summary List deals associated with an organization
2254
- * @param {OrganizationsApiGetOrganizationDealsRequest} requestParameters Request parameters.
2255
-
2256
- * @throws {RequiredError}
2257
- * @memberof OrganizationsApi
2258
- */
2259
- public getOrganizationDeals(requestParameters: OrganizationsApiGetOrganizationDealsRequest, ) {
2260
- return OrganizationsApiFp(this.configuration).getOrganizationDeals(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.status, requestParameters.sort, requestParameters.only_primary_association, ).then((request) => request(this.axios, this.basePath));
2261
- }
2262
-
2263
- /**
2264
- * Lists files associated with an organization.
2265
- * @summary List files attached to an organization
2266
- * @param {OrganizationsApiGetOrganizationFilesRequest} requestParameters Request parameters.
2267
-
2268
- * @throws {RequiredError}
2269
- * @memberof OrganizationsApi
2270
- */
2271
- public getOrganizationFiles(requestParameters: OrganizationsApiGetOrganizationFilesRequest, ) {
2272
- return OrganizationsApiFp(this.configuration).getOrganizationFiles(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.sort, ).then((request) => request(this.axios, this.basePath));
2273
- }
2274
-
2275
- /**
2276
- * Lists the followers of an organization.
2277
- * @summary List followers of an organization
2278
- * @param {OrganizationsApiGetOrganizationFollowersRequest} requestParameters Request parameters.
2279
-
2280
- * @throws {RequiredError}
2281
- * @memberof OrganizationsApi
2282
- */
2283
- public getOrganizationFollowers(requestParameters: OrganizationsApiGetOrganizationFollowersRequest, ) {
2284
- return OrganizationsApiFp(this.configuration).getOrganizationFollowers(requestParameters.id, ).then((request) => request(this.axios, this.basePath));
2285
- }
2286
-
2287
- /**
2288
- * Lists mail messages associated with an organization.
2289
- * @summary List mail messages associated with an organization
2290
- * @param {OrganizationsApiGetOrganizationMailMessagesRequest} requestParameters Request parameters.
2291
-
2292
- * @throws {RequiredError}
2293
- * @memberof OrganizationsApi
2294
- */
2295
- public getOrganizationMailMessages(requestParameters: OrganizationsApiGetOrganizationMailMessagesRequest, ) {
2296
- return OrganizationsApiFp(this.configuration).getOrganizationMailMessages(requestParameters.id, requestParameters.start, requestParameters.limit, ).then((request) => request(this.axios, this.basePath));
2297
- }
2298
-
2299
- /**
2300
- * Lists persons associated with an organization.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
2301
- * @summary List persons of an organization
2302
- * @param {OrganizationsApiGetOrganizationPersonsRequest} requestParameters Request parameters.
2303
-
2304
- * @throws {RequiredError}
2305
- * @memberof OrganizationsApi
2306
- */
2307
- public getOrganizationPersons(requestParameters: OrganizationsApiGetOrganizationPersonsRequest, ) {
2308
- return OrganizationsApiFp(this.configuration).getOrganizationPersons(requestParameters.id, requestParameters.start, requestParameters.limit, ).then((request) => request(this.axios, this.basePath));
2309
- }
2310
-
2311
- /**
2312
- * Lists updates about an organization.
2313
- * @summary List updates about an organization
2314
- * @param {OrganizationsApiGetOrganizationUpdatesRequest} requestParameters Request parameters.
2315
-
2316
- * @throws {RequiredError}
2317
- * @memberof OrganizationsApi
2318
- */
2319
- public getOrganizationUpdates(requestParameters: OrganizationsApiGetOrganizationUpdatesRequest, ) {
2320
- return OrganizationsApiFp(this.configuration).getOrganizationUpdates(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.all_changes, requestParameters.items, ).then((request) => request(this.axios, this.basePath));
2321
- }
2322
-
2323
- /**
2324
- * List users permitted to access an organization.
2325
- * @summary List permitted users
2326
- * @param {OrganizationsApiGetOrganizationUsersRequest} requestParameters Request parameters.
2327
-
2328
- * @throws {RequiredError}
2329
- * @memberof OrganizationsApi
2330
- */
2331
- public getOrganizationUsers(requestParameters: OrganizationsApiGetOrganizationUsersRequest, ) {
2332
- return OrganizationsApiFp(this.configuration).getOrganizationUsers(requestParameters.id, ).then((request) => request(this.axios, this.basePath));
2333
- }
2334
-
2335
- /**
2336
- * Returns all organizations.
2337
- * @summary Get all organizations
2338
- * @param {OrganizationsApiGetOrganizationsRequest} requestParameters Request parameters.
2339
-
2340
- * @throws {RequiredError}
2341
- * @memberof OrganizationsApi
2342
- */
2343
- public getOrganizations(requestParameters: OrganizationsApiGetOrganizationsRequest = {}, ) {
2344
- return OrganizationsApiFp(this.configuration).getOrganizations(requestParameters.user_id, requestParameters.filter_id, requestParameters.first_char, requestParameters.start, requestParameters.limit, requestParameters.sort, ).then((request) => request(this.axios, this.basePath));
2345
- }
2346
-
2347
- /**
2348
- * Returns all organizations. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
2349
- * @summary Get all organizations (BETA)
2350
- * @param {OrganizationsApiGetOrganizationsCollectionRequest} requestParameters Request parameters.
2351
-
2352
- * @throws {RequiredError}
2353
- * @memberof OrganizationsApi
2354
- */
2355
- public getOrganizationsCollection(requestParameters: OrganizationsApiGetOrganizationsCollectionRequest = {}, ) {
2356
- return OrganizationsApiFp(this.configuration).getOrganizationsCollection(requestParameters.cursor, requestParameters.limit, requestParameters.since, requestParameters.until, requestParameters.owner_id, requestParameters.first_char, ).then((request) => request(this.axios, this.basePath));
2357
- }
2358
-
2359
- /**
2360
- * Merges an organization with another organization. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-organizations\" target=\"_blank\" rel=\"noopener noreferrer\">merging two organizations</a>.
2361
- * @summary Merge two organizations
2362
- * @param {OrganizationsApiMergeOrganizationsRequest} requestParameters Request parameters.
2363
-
2364
- * @throws {RequiredError}
2365
- * @memberof OrganizationsApi
2366
- */
2367
- public mergeOrganizations(requestParameters: OrganizationsApiMergeOrganizationsRequest, ) {
2368
- return OrganizationsApiFp(this.configuration).mergeOrganizations(requestParameters.id, requestParameters.MergeOrganizationsRequest, ).then((request) => request(this.axios, this.basePath));
2369
- }
2370
-
2371
- /**
2372
- * 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.
2373
- * @summary Search organizations
2374
- * @param {OrganizationsApiSearchOrganizationRequest} requestParameters Request parameters.
2375
-
2376
- * @throws {RequiredError}
2377
- * @memberof OrganizationsApi
2378
- */
2379
- public searchOrganization(requestParameters: OrganizationsApiSearchOrganizationRequest, ) {
2380
- return OrganizationsApiFp(this.configuration).searchOrganization(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.start, requestParameters.limit, ).then((request) => request(this.axios, this.basePath));
2381
- }
2382
-
2383
- /**
2384
- * Updates the properties of an organization.
2385
- * @summary Update an organization
2386
- * @param {OrganizationsApiUpdateOrganizationRequest} requestParameters Request parameters.
2387
-
2388
- * @throws {RequiredError}
2389
- * @memberof OrganizationsApi
2390
- */
2391
- public updateOrganization(requestParameters: OrganizationsApiUpdateOrganizationRequest, ) {
2392
- return OrganizationsApiFp(this.configuration).updateOrganization(requestParameters.id, requestParameters.UpdateOrganizationRequest, ).then((request) => request(this.axios, this.basePath));
2393
- }
2394
- }