@magnetcustomer/sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1292) hide show
  1. package/.openapi-generator/FILES +432 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +148 -0
  5. package/api/actions-api.ts +313 -0
  6. package/api/activities-api.ts +5734 -0
  7. package/api/authentication-api.ts +316 -0
  8. package/api/batch-operations-api.ts +1168 -0
  9. package/api/calendar-api.ts +808 -0
  10. package/api/campaigns-api.ts +600 -0
  11. package/api/configs-api.ts +633 -0
  12. package/api/configuration-api.ts +1346 -0
  13. package/api/contacts-api.ts +996 -0
  14. package/api/crmcore-api.ts +4409 -0
  15. package/api/custom-field-blocks-api.ts +260 -0
  16. package/api/custom-fields-api.ts +602 -0
  17. package/api/custom-fields-usage-api.ts +196 -0
  18. package/api/customers-api.ts +1088 -0
  19. package/api/dashboards-api.ts +932 -0
  20. package/api/deals-api.ts +778 -0
  21. package/api/email-api.ts +932 -0
  22. package/api/entities-execution-api.ts +262 -0
  23. package/api/entity-reports-api.ts +313 -0
  24. package/api/events-api.ts +408 -0
  25. package/api/filter-presets-api.ts +188 -0
  26. package/api/filters-api.ts +2108 -0
  27. package/api/folders-api.ts +316 -0
  28. package/api/guides-api.ts +838 -0
  29. package/api/health-metrics-api.ts +316 -0
  30. package/api/integrations-api.ts +466 -0
  31. package/api/journeys-api.ts +935 -0
  32. package/api/known-addresses-api.ts +329 -0
  33. package/api/labels-api.ts +324 -0
  34. package/api/leads-api.ts +1675 -0
  35. package/api/meetings-api.ts +2183 -0
  36. package/api/messages-api.ts +1108 -0
  37. package/api/milestones-api.ts +118 -0
  38. package/api/nnmnovo-negocio-mensal-api.ts +313 -0
  39. package/api/observations-api.ts +277 -0
  40. package/api/organizations-api.ts +586 -0
  41. package/api/pagination-filtering-api.ts +158 -0
  42. package/api/pipelines-api.ts +202 -0
  43. package/api/pipelines-stages-api.ts +569 -0
  44. package/api/process-automation-api.ts +939 -0
  45. package/api/prospects-api.ts +1675 -0
  46. package/api/reports-api.ts +831 -0
  47. package/api/resources-api.ts +3951 -0
  48. package/api/roles-api.ts +121 -0
  49. package/api/rooms-api.ts +348 -0
  50. package/api/sales-pipeline-api.ts +1222 -0
  51. package/api/segmentation-api.ts +680 -0
  52. package/api/segmentation-rules-api.ts +399 -0
  53. package/api/sequences-api.ts +124 -0
  54. package/api/sharing-rules-api.ts +335 -0
  55. package/api/staffs-api.ts +422 -0
  56. package/api/stages-api.ts +310 -0
  57. package/api/stvmstatus-vs-tempo-vs-volume-api.ts +313 -0
  58. package/api/tasks-api.ts +1901 -0
  59. package/api/teams-api.ts +182 -0
  60. package/api/tickets-api.ts +1554 -0
  61. package/api/todos-api.ts +1056 -0
  62. package/api/treatments-api.ts +1411 -0
  63. package/api/types-api.ts +554 -0
  64. package/api/update-custom-resource-fields-api.ts +196 -0
  65. package/api/v1-legacy-api.ts +4157 -0
  66. package/api/v2-current-api.ts +19687 -0
  67. package/api/webhooks-api.ts +466 -0
  68. package/api/webhooks-setup-api.ts +188 -0
  69. package/api/widgets-api.ts +460 -0
  70. package/api/workspaces-api.ts +621 -0
  71. package/api.ts +83 -0
  72. package/base.ts +62 -0
  73. package/common.ts +127 -0
  74. package/configuration.ts +121 -0
  75. package/dist/api/actions-api.d.ts +147 -0
  76. package/dist/api/actions-api.js +308 -0
  77. package/dist/api/activities-api.d.ts +2553 -0
  78. package/dist/api/activities-api.js +5435 -0
  79. package/dist/api/authentication-api.d.ts +148 -0
  80. package/dist/api/authentication-api.js +309 -0
  81. package/dist/api/batch-operations-api.d.ts +540 -0
  82. package/dist/api/batch-operations-api.js +1125 -0
  83. package/dist/api/calendar-api.d.ts +368 -0
  84. package/dist/api/calendar-api.js +776 -0
  85. package/dist/api/campaigns-api.d.ts +276 -0
  86. package/dist/api/campaigns-api.js +579 -0
  87. package/dist/api/configs-api.d.ts +287 -0
  88. package/dist/api/configs-api.js +613 -0
  89. package/dist/api/configuration-api.d.ts +607 -0
  90. package/dist/api/configuration-api.js +1278 -0
  91. package/dist/api/contacts-api.d.ts +454 -0
  92. package/dist/api/contacts-api.js +948 -0
  93. package/dist/api/crmcore-api.d.ts +1978 -0
  94. package/dist/api/crmcore-api.js +4149 -0
  95. package/dist/api/custom-field-blocks-api.d.ts +126 -0
  96. package/dist/api/custom-field-blocks-api.js +260 -0
  97. package/dist/api/custom-fields-api.d.ts +278 -0
  98. package/dist/api/custom-fields-api.js +579 -0
  99. package/dist/api/custom-fields-usage-api.d.ts +98 -0
  100. package/dist/api/custom-fields-usage-api.js +198 -0
  101. package/dist/api/customers-api.d.ts +496 -0
  102. package/dist/api/customers-api.js +1035 -0
  103. package/dist/api/dashboards-api.d.ts +425 -0
  104. package/dist/api/dashboards-api.js +896 -0
  105. package/dist/api/deals-api.d.ts +359 -0
  106. package/dist/api/deals-api.js +735 -0
  107. package/dist/api/email-api.d.ts +424 -0
  108. package/dist/api/email-api.js +896 -0
  109. package/dist/api/entities-execution-api.d.ts +126 -0
  110. package/dist/api/entities-execution-api.js +260 -0
  111. package/dist/api/entity-reports-api.d.ts +147 -0
  112. package/dist/api/entity-reports-api.js +308 -0
  113. package/dist/api/events-api.d.ts +192 -0
  114. package/dist/api/events-api.js +396 -0
  115. package/dist/api/filter-presets-api.d.ts +94 -0
  116. package/dist/api/filter-presets-api.js +191 -0
  117. package/dist/api/filters-api.d.ts +932 -0
  118. package/dist/api/filters-api.js +2017 -0
  119. package/dist/api/folders-api.d.ts +150 -0
  120. package/dist/api/folders-api.js +313 -0
  121. package/dist/api/guides-api.d.ts +384 -0
  122. package/dist/api/guides-api.js +804 -0
  123. package/dist/api/health-metrics-api.d.ts +148 -0
  124. package/dist/api/health-metrics-api.js +309 -0
  125. package/dist/api/integrations-api.d.ts +216 -0
  126. package/dist/api/integrations-api.js +451 -0
  127. package/dist/api/journeys-api.d.ts +425 -0
  128. package/dist/api/journeys-api.js +897 -0
  129. package/dist/api/known-addresses-api.d.ts +155 -0
  130. package/dist/api/known-addresses-api.js +322 -0
  131. package/dist/api/labels-api.d.ts +155 -0
  132. package/dist/api/labels-api.js +319 -0
  133. package/dist/api/leads-api.d.ts +763 -0
  134. package/dist/api/leads-api.js +1583 -0
  135. package/dist/api/meetings-api.d.ts +981 -0
  136. package/dist/api/meetings-api.js +2085 -0
  137. package/dist/api/messages-api.d.ts +500 -0
  138. package/dist/api/messages-api.js +1065 -0
  139. package/dist/api/milestones-api.d.ts +62 -0
  140. package/dist/api/milestones-api.js +124 -0
  141. package/dist/api/nnmnovo-negocio-mensal-api.d.ts +147 -0
  142. package/dist/api/nnmnovo-negocio-mensal-api.js +308 -0
  143. package/dist/api/observations-api.d.ts +133 -0
  144. package/dist/api/observations-api.js +269 -0
  145. package/dist/api/organizations-api.d.ts +272 -0
  146. package/dist/api/organizations-api.js +554 -0
  147. package/dist/api/pagination-filtering-api.d.ts +82 -0
  148. package/dist/api/pagination-filtering-api.js +159 -0
  149. package/dist/api/pipelines-api.d.ts +102 -0
  150. package/dist/api/pipelines-api.js +205 -0
  151. package/dist/api/pipelines-stages-api.d.ts +259 -0
  152. package/dist/api/pipelines-stages-api.js +552 -0
  153. package/dist/api/process-automation-api.d.ts +425 -0
  154. package/dist/api/process-automation-api.js +899 -0
  155. package/dist/api/prospects-api.d.ts +763 -0
  156. package/dist/api/prospects-api.js +1583 -0
  157. package/dist/api/reports-api.d.ts +373 -0
  158. package/dist/api/reports-api.js +798 -0
  159. package/dist/api/resources-api.d.ts +1802 -0
  160. package/dist/api/resources-api.js +3775 -0
  161. package/dist/api/roles-api.d.ts +63 -0
  162. package/dist/api/roles-api.js +125 -0
  163. package/dist/api/rooms-api.d.ts +166 -0
  164. package/dist/api/rooms-api.js +342 -0
  165. package/dist/api/sales-pipeline-api.d.ts +552 -0
  166. package/dist/api/sales-pipeline-api.js +1156 -0
  167. package/dist/api/segmentation-api.d.ts +312 -0
  168. package/dist/api/segmentation-api.js +654 -0
  169. package/dist/api/segmentation-rules-api.d.ts +187 -0
  170. package/dist/api/segmentation-rules-api.js +389 -0
  171. package/dist/api/sequences-api.d.ts +66 -0
  172. package/dist/api/sequences-api.js +130 -0
  173. package/dist/api/sharing-rules-api.d.ts +159 -0
  174. package/dist/api/sharing-rules-api.js +328 -0
  175. package/dist/api/staffs-api.d.ts +200 -0
  176. package/dist/api/staffs-api.js +410 -0
  177. package/dist/api/stages-api.d.ts +146 -0
  178. package/dist/api/stages-api.js +307 -0
  179. package/dist/api/stvmstatus-vs-tempo-vs-volume-api.d.ts +147 -0
  180. package/dist/api/stvmstatus-vs-tempo-vs-volume-api.js +308 -0
  181. package/dist/api/tasks-api.d.ts +856 -0
  182. package/dist/api/tasks-api.js +1807 -0
  183. package/dist/api/teams-api.d.ts +90 -0
  184. package/dist/api/teams-api.js +185 -0
  185. package/dist/api/tickets-api.d.ts +703 -0
  186. package/dist/api/tickets-api.js +1485 -0
  187. package/dist/api/todos-api.d.ts +480 -0
  188. package/dist/api/todos-api.js +1016 -0
  189. package/dist/api/treatments-api.d.ts +637 -0
  190. package/dist/api/treatments-api.js +1352 -0
  191. package/dist/api/types-api.d.ts +258 -0
  192. package/dist/api/types-api.js +539 -0
  193. package/dist/api/update-custom-resource-fields-api.d.ts +98 -0
  194. package/dist/api/update-custom-resource-fields-api.js +199 -0
  195. package/dist/api/v1-legacy-api.d.ts +1894 -0
  196. package/dist/api/v1-legacy-api.js +3972 -0
  197. package/dist/api/v2-current-api.d.ts +8750 -0
  198. package/dist/api/v2-current-api.js +18584 -0
  199. package/dist/api/webhooks-api.d.ts +216 -0
  200. package/dist/api/webhooks-api.js +451 -0
  201. package/dist/api/webhooks-setup-api.d.ts +94 -0
  202. package/dist/api/webhooks-setup-api.js +191 -0
  203. package/dist/api/widgets-api.d.ts +215 -0
  204. package/dist/api/widgets-api.js +449 -0
  205. package/dist/api/workspaces-api.d.ts +288 -0
  206. package/dist/api/workspaces-api.js +599 -0
  207. package/dist/api.d.ts +77 -0
  208. package/dist/api.js +95 -0
  209. package/dist/base.d.ts +42 -0
  210. package/dist/base.js +46 -0
  211. package/dist/common.d.ts +34 -0
  212. package/dist/common.js +139 -0
  213. package/dist/configuration.d.ts +98 -0
  214. package/dist/configuration.js +44 -0
  215. package/dist/esm/api/actions-api.d.ts +147 -0
  216. package/dist/esm/api/actions-api.js +301 -0
  217. package/dist/esm/api/activities-api.d.ts +2553 -0
  218. package/dist/esm/api/activities-api.js +5428 -0
  219. package/dist/esm/api/authentication-api.d.ts +148 -0
  220. package/dist/esm/api/authentication-api.js +302 -0
  221. package/dist/esm/api/batch-operations-api.d.ts +540 -0
  222. package/dist/esm/api/batch-operations-api.js +1118 -0
  223. package/dist/esm/api/calendar-api.d.ts +368 -0
  224. package/dist/esm/api/calendar-api.js +769 -0
  225. package/dist/esm/api/campaigns-api.d.ts +276 -0
  226. package/dist/esm/api/campaigns-api.js +572 -0
  227. package/dist/esm/api/configs-api.d.ts +287 -0
  228. package/dist/esm/api/configs-api.js +606 -0
  229. package/dist/esm/api/configuration-api.d.ts +607 -0
  230. package/dist/esm/api/configuration-api.js +1271 -0
  231. package/dist/esm/api/contacts-api.d.ts +454 -0
  232. package/dist/esm/api/contacts-api.js +941 -0
  233. package/dist/esm/api/crmcore-api.d.ts +1978 -0
  234. package/dist/esm/api/crmcore-api.js +4142 -0
  235. package/dist/esm/api/custom-field-blocks-api.d.ts +126 -0
  236. package/dist/esm/api/custom-field-blocks-api.js +253 -0
  237. package/dist/esm/api/custom-fields-api.d.ts +278 -0
  238. package/dist/esm/api/custom-fields-api.js +572 -0
  239. package/dist/esm/api/custom-fields-usage-api.d.ts +98 -0
  240. package/dist/esm/api/custom-fields-usage-api.js +191 -0
  241. package/dist/esm/api/customers-api.d.ts +496 -0
  242. package/dist/esm/api/customers-api.js +1028 -0
  243. package/dist/esm/api/dashboards-api.d.ts +425 -0
  244. package/dist/esm/api/dashboards-api.js +889 -0
  245. package/dist/esm/api/deals-api.d.ts +359 -0
  246. package/dist/esm/api/deals-api.js +728 -0
  247. package/dist/esm/api/email-api.d.ts +424 -0
  248. package/dist/esm/api/email-api.js +889 -0
  249. package/dist/esm/api/entities-execution-api.d.ts +126 -0
  250. package/dist/esm/api/entities-execution-api.js +253 -0
  251. package/dist/esm/api/entity-reports-api.d.ts +147 -0
  252. package/dist/esm/api/entity-reports-api.js +301 -0
  253. package/dist/esm/api/events-api.d.ts +192 -0
  254. package/dist/esm/api/events-api.js +389 -0
  255. package/dist/esm/api/filter-presets-api.d.ts +94 -0
  256. package/dist/esm/api/filter-presets-api.js +184 -0
  257. package/dist/esm/api/filters-api.d.ts +932 -0
  258. package/dist/esm/api/filters-api.js +2010 -0
  259. package/dist/esm/api/folders-api.d.ts +150 -0
  260. package/dist/esm/api/folders-api.js +306 -0
  261. package/dist/esm/api/guides-api.d.ts +384 -0
  262. package/dist/esm/api/guides-api.js +797 -0
  263. package/dist/esm/api/health-metrics-api.d.ts +148 -0
  264. package/dist/esm/api/health-metrics-api.js +302 -0
  265. package/dist/esm/api/integrations-api.d.ts +216 -0
  266. package/dist/esm/api/integrations-api.js +444 -0
  267. package/dist/esm/api/journeys-api.d.ts +425 -0
  268. package/dist/esm/api/journeys-api.js +890 -0
  269. package/dist/esm/api/known-addresses-api.d.ts +155 -0
  270. package/dist/esm/api/known-addresses-api.js +315 -0
  271. package/dist/esm/api/labels-api.d.ts +155 -0
  272. package/dist/esm/api/labels-api.js +312 -0
  273. package/dist/esm/api/leads-api.d.ts +763 -0
  274. package/dist/esm/api/leads-api.js +1576 -0
  275. package/dist/esm/api/meetings-api.d.ts +981 -0
  276. package/dist/esm/api/meetings-api.js +2078 -0
  277. package/dist/esm/api/messages-api.d.ts +500 -0
  278. package/dist/esm/api/messages-api.js +1058 -0
  279. package/dist/esm/api/milestones-api.d.ts +62 -0
  280. package/dist/esm/api/milestones-api.js +117 -0
  281. package/dist/esm/api/nnmnovo-negocio-mensal-api.d.ts +147 -0
  282. package/dist/esm/api/nnmnovo-negocio-mensal-api.js +301 -0
  283. package/dist/esm/api/observations-api.d.ts +133 -0
  284. package/dist/esm/api/observations-api.js +262 -0
  285. package/dist/esm/api/organizations-api.d.ts +272 -0
  286. package/dist/esm/api/organizations-api.js +547 -0
  287. package/dist/esm/api/pagination-filtering-api.d.ts +82 -0
  288. package/dist/esm/api/pagination-filtering-api.js +152 -0
  289. package/dist/esm/api/pipelines-api.d.ts +102 -0
  290. package/dist/esm/api/pipelines-api.js +198 -0
  291. package/dist/esm/api/pipelines-stages-api.d.ts +259 -0
  292. package/dist/esm/api/pipelines-stages-api.js +545 -0
  293. package/dist/esm/api/process-automation-api.d.ts +425 -0
  294. package/dist/esm/api/process-automation-api.js +892 -0
  295. package/dist/esm/api/prospects-api.d.ts +763 -0
  296. package/dist/esm/api/prospects-api.js +1576 -0
  297. package/dist/esm/api/reports-api.d.ts +373 -0
  298. package/dist/esm/api/reports-api.js +791 -0
  299. package/dist/esm/api/resources-api.d.ts +1802 -0
  300. package/dist/esm/api/resources-api.js +3768 -0
  301. package/dist/esm/api/roles-api.d.ts +63 -0
  302. package/dist/esm/api/roles-api.js +118 -0
  303. package/dist/esm/api/rooms-api.d.ts +166 -0
  304. package/dist/esm/api/rooms-api.js +335 -0
  305. package/dist/esm/api/sales-pipeline-api.d.ts +552 -0
  306. package/dist/esm/api/sales-pipeline-api.js +1149 -0
  307. package/dist/esm/api/segmentation-api.d.ts +312 -0
  308. package/dist/esm/api/segmentation-api.js +647 -0
  309. package/dist/esm/api/segmentation-rules-api.d.ts +187 -0
  310. package/dist/esm/api/segmentation-rules-api.js +382 -0
  311. package/dist/esm/api/sequences-api.d.ts +66 -0
  312. package/dist/esm/api/sequences-api.js +123 -0
  313. package/dist/esm/api/sharing-rules-api.d.ts +159 -0
  314. package/dist/esm/api/sharing-rules-api.js +321 -0
  315. package/dist/esm/api/staffs-api.d.ts +200 -0
  316. package/dist/esm/api/staffs-api.js +403 -0
  317. package/dist/esm/api/stages-api.d.ts +146 -0
  318. package/dist/esm/api/stages-api.js +300 -0
  319. package/dist/esm/api/stvmstatus-vs-tempo-vs-volume-api.d.ts +147 -0
  320. package/dist/esm/api/stvmstatus-vs-tempo-vs-volume-api.js +301 -0
  321. package/dist/esm/api/tasks-api.d.ts +856 -0
  322. package/dist/esm/api/tasks-api.js +1800 -0
  323. package/dist/esm/api/teams-api.d.ts +90 -0
  324. package/dist/esm/api/teams-api.js +178 -0
  325. package/dist/esm/api/tickets-api.d.ts +703 -0
  326. package/dist/esm/api/tickets-api.js +1478 -0
  327. package/dist/esm/api/todos-api.d.ts +480 -0
  328. package/dist/esm/api/todos-api.js +1009 -0
  329. package/dist/esm/api/treatments-api.d.ts +637 -0
  330. package/dist/esm/api/treatments-api.js +1345 -0
  331. package/dist/esm/api/types-api.d.ts +258 -0
  332. package/dist/esm/api/types-api.js +532 -0
  333. package/dist/esm/api/update-custom-resource-fields-api.d.ts +98 -0
  334. package/dist/esm/api/update-custom-resource-fields-api.js +192 -0
  335. package/dist/esm/api/v1-legacy-api.d.ts +1894 -0
  336. package/dist/esm/api/v1-legacy-api.js +3965 -0
  337. package/dist/esm/api/v2-current-api.d.ts +8750 -0
  338. package/dist/esm/api/v2-current-api.js +18577 -0
  339. package/dist/esm/api/webhooks-api.d.ts +216 -0
  340. package/dist/esm/api/webhooks-api.js +444 -0
  341. package/dist/esm/api/webhooks-setup-api.d.ts +94 -0
  342. package/dist/esm/api/webhooks-setup-api.js +184 -0
  343. package/dist/esm/api/widgets-api.d.ts +215 -0
  344. package/dist/esm/api/widgets-api.js +442 -0
  345. package/dist/esm/api/workspaces-api.d.ts +288 -0
  346. package/dist/esm/api/workspaces-api.js +592 -0
  347. package/dist/esm/api.d.ts +77 -0
  348. package/dist/esm/api.js +79 -0
  349. package/dist/esm/base.d.ts +42 -0
  350. package/dist/esm/base.js +41 -0
  351. package/dist/esm/common.d.ts +34 -0
  352. package/dist/esm/common.js +126 -0
  353. package/dist/esm/configuration.d.ts +98 -0
  354. package/dist/esm/configuration.js +40 -0
  355. package/dist/esm/index.d.ts +14 -0
  356. package/dist/esm/index.js +16 -0
  357. package/dist/esm/models/api-calendars-events-get200-response-data-inner.d.ts +21 -0
  358. package/dist/esm/models/api-calendars-events-get200-response-data-inner.js +14 -0
  359. package/dist/esm/models/api-calendars-events-get200-response.d.ts +15 -0
  360. package/dist/esm/models/api-calendars-events-get200-response.js +14 -0
  361. package/dist/esm/models/api-calendars-events-post201-response.d.ts +18 -0
  362. package/dist/esm/models/api-calendars-events-post201-response.js +14 -0
  363. package/dist/esm/models/api-campaigns-get200-response-data-inner.d.ts +19 -0
  364. package/dist/esm/models/api-campaigns-get200-response-data-inner.js +14 -0
  365. package/dist/esm/models/api-campaigns-get200-response.d.ts +19 -0
  366. package/dist/esm/models/api-campaigns-get200-response.js +14 -0
  367. package/dist/esm/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner-config.d.ts +15 -0
  368. package/dist/esm/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner-config.js +14 -0
  369. package/dist/esm/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner.d.ts +19 -0
  370. package/dist/esm/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner.js +14 -0
  371. package/dist/esm/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response.d.ts +15 -0
  372. package/dist/esm/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response.js +14 -0
  373. package/dist/esm/models/api-contacts-filters-get200-response-data-inner-filters.d.ts +15 -0
  374. package/dist/esm/models/api-contacts-filters-get200-response-data-inner-filters.js +14 -0
  375. package/dist/esm/models/api-contacts-filters-get200-response-data-inner.d.ts +19 -0
  376. package/dist/esm/models/api-contacts-filters-get200-response-data-inner.js +14 -0
  377. package/dist/esm/models/api-contacts-filters-get200-response.d.ts +15 -0
  378. package/dist/esm/models/api-contacts-filters-get200-response.js +14 -0
  379. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-get200-response-owners-inner.d.ts +15 -0
  380. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-get200-response-owners-inner.js +14 -0
  381. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-get200-response.d.ts +24 -0
  382. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-get200-response.js +14 -0
  383. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put-request.d.ts +15 -0
  384. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put-request.js +14 -0
  385. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner-v.d.ts +15 -0
  386. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner-v.js +14 -0
  387. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner.d.ts +17 -0
  388. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner.js +14 -0
  389. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response-phones-inner.d.ts +15 -0
  390. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response-phones-inner.js +14 -0
  391. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response.d.ts +37 -0
  392. package/dist/esm/models/api-contacts507f1f77bcf86cd799439011-put200-response.js +14 -0
  393. package/dist/esm/models/api-customfields-post-request.d.ts +17 -0
  394. package/dist/esm/models/api-customfields-post-request.js +14 -0
  395. package/dist/esm/models/api-customfields-post201-response-settings.d.ts +30 -0
  396. package/dist/esm/models/api-customfields-post201-response-settings.js +14 -0
  397. package/dist/esm/models/api-customfields-post201-response-sub-field-settings.d.ts +15 -0
  398. package/dist/esm/models/api-customfields-post201-response-sub-field-settings.js +14 -0
  399. package/dist/esm/models/api-customfields-post201-response.d.ts +30 -0
  400. package/dist/esm/models/api-customfields-post201-response.js +14 -0
  401. package/dist/esm/models/api-customfields507f1f77bcf86cd799439150-get200-response-custom-field-block-attach.d.ts +22 -0
  402. package/dist/esm/models/api-customfields507f1f77bcf86cd799439150-get200-response-custom-field-block-attach.js +14 -0
  403. package/dist/esm/models/api-customfields507f1f77bcf86cd799439150-get200-response-field-type.d.ts +19 -0
  404. package/dist/esm/models/api-customfields507f1f77bcf86cd799439150-get200-response-field-type.js +14 -0
  405. package/dist/esm/models/api-customfields507f1f77bcf86cd799439150-get200-response.d.ts +35 -0
  406. package/dist/esm/models/api-customfields507f1f77bcf86cd799439150-get200-response.js +14 -0
  407. package/dist/esm/models/api-dashboards-get200-response-data-inner.d.ts +18 -0
  408. package/dist/esm/models/api-dashboards-get200-response-data-inner.js +14 -0
  409. package/dist/esm/models/api-dashboards-get200-response.d.ts +15 -0
  410. package/dist/esm/models/api-dashboards-get200-response.js +14 -0
  411. package/dist/esm/models/api-dashboards-post201-response.d.ts +17 -0
  412. package/dist/esm/models/api-dashboards-post201-response.js +14 -0
  413. package/dist/esm/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response-data-inner.d.ts +16 -0
  414. package/dist/esm/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response-data-inner.js +14 -0
  415. package/dist/esm/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response.d.ts +18 -0
  416. package/dist/esm/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response.js +14 -0
  417. package/dist/esm/models/api-deals-batch-move-post200-response.d.ts +16 -0
  418. package/dist/esm/models/api-deals-batch-move-post200-response.js +14 -0
  419. package/dist/esm/models/api-deals-get200-response-data-inner-pipeline.d.ts +15 -0
  420. package/dist/esm/models/api-deals-get200-response-data-inner-pipeline.js +14 -0
  421. package/dist/esm/models/api-deals-get200-response-data-inner.d.ts +21 -0
  422. package/dist/esm/models/api-deals-get200-response-data-inner.js +14 -0
  423. package/dist/esm/models/api-deals-get200-response.d.ts +19 -0
  424. package/dist/esm/models/api-deals-get200-response.js +14 -0
  425. package/dist/esm/models/api-deals-labels-post-request.d.ts +15 -0
  426. package/dist/esm/models/api-deals-labels-post-request.js +14 -0
  427. package/dist/esm/models/api-deals-post-request.d.ts +17 -0
  428. package/dist/esm/models/api-deals-post-request.js +14 -0
  429. package/dist/esm/models/api-deals-post201-response.d.ts +20 -0
  430. package/dist/esm/models/api-deals-post201-response.js +14 -0
  431. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-close-put-request.d.ts +14 -0
  432. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-close-put-request.js +14 -0
  433. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-get200-response-stage.d.ts +16 -0
  434. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-get200-response-stage.js +14 -0
  435. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-get200-response.d.ts +27 -0
  436. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-get200-response.js +14 -0
  437. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put-request.d.ts +15 -0
  438. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put-request.js +14 -0
  439. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response-contact.d.ts +19 -0
  440. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response-contact.js +14 -0
  441. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response-staff.d.ts +21 -0
  442. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response-staff.js +14 -0
  443. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response-stage.d.ts +23 -0
  444. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response-stage.js +14 -0
  445. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response.d.ts +37 -0
  446. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-put200-response.js +14 -0
  447. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-stage-put-request.d.ts +14 -0
  448. package/dist/esm/models/api-deals507f1f77bcf86cd799439022-stage-put-request.js +14 -0
  449. package/dist/esm/models/api-emails-configs-get200-response-data-inner.d.ts +20 -0
  450. package/dist/esm/models/api-emails-configs-get200-response-data-inner.js +14 -0
  451. package/dist/esm/models/api-emails-configs-get200-response.d.ts +15 -0
  452. package/dist/esm/models/api-emails-configs-get200-response.js +14 -0
  453. package/dist/esm/models/api-emails-known-addresses-get200-response-data-inner.d.ts +18 -0
  454. package/dist/esm/models/api-emails-known-addresses-get200-response-data-inner.js +14 -0
  455. package/dist/esm/models/api-emails-known-addresses-get200-response.d.ts +19 -0
  456. package/dist/esm/models/api-emails-known-addresses-get200-response.js +14 -0
  457. package/dist/esm/models/api-journeys-get200-response-data-inner.d.ts +22 -0
  458. package/dist/esm/models/api-journeys-get200-response-data-inner.js +14 -0
  459. package/dist/esm/models/api-journeys-get200-response.d.ts +19 -0
  460. package/dist/esm/models/api-journeys-get200-response.js +14 -0
  461. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response-factors.d.ts +16 -0
  462. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response-factors.js +14 -0
  463. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response.d.ts +18 -0
  464. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response.js +14 -0
  465. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response-history-inner.d.ts +15 -0
  466. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response-history-inner.js +14 -0
  467. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response.d.ts +17 -0
  468. package/dist/esm/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response.js +14 -0
  469. package/dist/esm/models/api-leads-get200-response-data-inner.d.ts +18 -0
  470. package/dist/esm/models/api-leads-get200-response-data-inner.js +14 -0
  471. package/dist/esm/models/api-leads-get200-response.d.ts +19 -0
  472. package/dist/esm/models/api-leads-get200-response.js +14 -0
  473. package/dist/esm/models/api-leads507f1f77bcf86cd799439044-get200-response.d.ts +20 -0
  474. package/dist/esm/models/api-leads507f1f77bcf86cd799439044-get200-response.js +14 -0
  475. package/dist/esm/models/api-meetings-get200-response-data-inner.d.ts +22 -0
  476. package/dist/esm/models/api-meetings-get200-response-data-inner.js +14 -0
  477. package/dist/esm/models/api-meetings-get200-response.d.ts +19 -0
  478. package/dist/esm/models/api-meetings-get200-response.js +14 -0
  479. package/dist/esm/models/api-meetings-post-request.d.ts +15 -0
  480. package/dist/esm/models/api-meetings-post-request.js +14 -0
  481. package/dist/esm/models/api-meetings-post201-response.d.ts +17 -0
  482. package/dist/esm/models/api-meetings-post201-response.js +14 -0
  483. package/dist/esm/models/api-observations-get200-response-data-inner.d.ts +20 -0
  484. package/dist/esm/models/api-observations-get200-response-data-inner.js +14 -0
  485. package/dist/esm/models/api-observations-get200-response.d.ts +19 -0
  486. package/dist/esm/models/api-observations-get200-response.js +14 -0
  487. package/dist/esm/models/api-observations-post-request.d.ts +16 -0
  488. package/dist/esm/models/api-observations-post-request.js +14 -0
  489. package/dist/esm/models/api-observations-post201-response.d.ts +18 -0
  490. package/dist/esm/models/api-observations-post201-response.js +14 -0
  491. package/dist/esm/models/api-organizations-get200-response-data-inner.d.ts +18 -0
  492. package/dist/esm/models/api-organizations-get200-response-data-inner.js +14 -0
  493. package/dist/esm/models/api-organizations-get200-response.d.ts +19 -0
  494. package/dist/esm/models/api-organizations-get200-response.js +14 -0
  495. package/dist/esm/models/api-organizations-post-request.d.ts +16 -0
  496. package/dist/esm/models/api-organizations-post-request.js +14 -0
  497. package/dist/esm/models/api-organizations-post201-response.d.ts +17 -0
  498. package/dist/esm/models/api-organizations-post201-response.js +14 -0
  499. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-get200-response.d.ts +20 -0
  500. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-get200-response.js +14 -0
  501. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-put-request.d.ts +14 -0
  502. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-put-request.js +14 -0
  503. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-put200-response-phones-inner.d.ts +16 -0
  504. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-put200-response-phones-inner.js +14 -0
  505. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-put200-response.d.ts +36 -0
  506. package/dist/esm/models/api-organizations507f1f77bcf86cd799439055-put200-response.js +14 -0
  507. package/dist/esm/models/api-pipelines-get200-response-inner.d.ts +19 -0
  508. package/dist/esm/models/api-pipelines-get200-response-inner.js +14 -0
  509. package/dist/esm/models/api-processautomations-get200-response-data-inner-stats.d.ts +16 -0
  510. package/dist/esm/models/api-processautomations-get200-response-data-inner-stats.js +14 -0
  511. package/dist/esm/models/api-processautomations-get200-response-data-inner.d.ts +21 -0
  512. package/dist/esm/models/api-processautomations-get200-response-data-inner.js +14 -0
  513. package/dist/esm/models/api-processautomations-get200-response.d.ts +19 -0
  514. package/dist/esm/models/api-processautomations-get200-response.js +14 -0
  515. package/dist/esm/models/api-processautomations-global-stats-get200-response-by-status.d.ts +16 -0
  516. package/dist/esm/models/api-processautomations-global-stats-get200-response-by-status.js +14 -0
  517. package/dist/esm/models/api-processautomations-global-stats-get200-response.d.ts +20 -0
  518. package/dist/esm/models/api-processautomations-global-stats-get200-response.js +14 -0
  519. package/dist/esm/models/api-processautomations-post201-response.d.ts +19 -0
  520. package/dist/esm/models/api-processautomations-post201-response.js +14 -0
  521. package/dist/esm/models/api-prospects-get200-response-data-inner.d.ts +19 -0
  522. package/dist/esm/models/api-prospects-get200-response-data-inner.js +14 -0
  523. package/dist/esm/models/api-prospects-get200-response.d.ts +19 -0
  524. package/dist/esm/models/api-prospects-get200-response.js +14 -0
  525. package/dist/esm/models/api-prospects-post201-response.d.ts +17 -0
  526. package/dist/esm/models/api-prospects-post201-response.js +14 -0
  527. package/dist/esm/models/api-prospects-post400-response-details-inner.d.ts +15 -0
  528. package/dist/esm/models/api-prospects-post400-response-details-inner.js +14 -0
  529. package/dist/esm/models/api-prospects-post400-response.d.ts +17 -0
  530. package/dist/esm/models/api-prospects-post400-response.js +14 -0
  531. package/dist/esm/models/api-prospects507f1f77bcf86cd799439033-get200-response.d.ts +22 -0
  532. package/dist/esm/models/api-prospects507f1f77bcf86cd799439033-get200-response.js +14 -0
  533. package/dist/esm/models/api-prospects507f1f77bcf86cd799439033-get404-response.d.ts +15 -0
  534. package/dist/esm/models/api-prospects507f1f77bcf86cd799439033-get404-response.js +14 -0
  535. package/dist/esm/models/api-prospects507f1f77bcf86cd799439033-put-request.d.ts +14 -0
  536. package/dist/esm/models/api-prospects507f1f77bcf86cd799439033-put-request.js +14 -0
  537. package/dist/esm/models/api-reports-contacts-get200-response-by-origin.d.ts +16 -0
  538. package/dist/esm/models/api-reports-contacts-get200-response-by-origin.js +14 -0
  539. package/dist/esm/models/api-reports-contacts-get200-response-by-status.d.ts +15 -0
  540. package/dist/esm/models/api-reports-contacts-get200-response-by-status.js +14 -0
  541. package/dist/esm/models/api-reports-contacts-get200-response.d.ts +20 -0
  542. package/dist/esm/models/api-reports-contacts-get200-response.js +14 -0
  543. package/dist/esm/models/api-reports-nnm-summary-get200-response-period.d.ts +15 -0
  544. package/dist/esm/models/api-reports-nnm-summary-get200-response-period.js +14 -0
  545. package/dist/esm/models/api-reports-nnm-summary-get200-response-summary.d.ts +20 -0
  546. package/dist/esm/models/api-reports-nnm-summary-get200-response-summary.js +14 -0
  547. package/dist/esm/models/api-reports-nnm-summary-get200-response.d.ts +17 -0
  548. package/dist/esm/models/api-reports-nnm-summary-get200-response.js +14 -0
  549. package/dist/esm/models/api-reports-stvm-summary-get200-response-stages-inner.d.ts +17 -0
  550. package/dist/esm/models/api-reports-stvm-summary-get200-response-stages-inner.js +14 -0
  551. package/dist/esm/models/api-reports-stvm-summary-get200-response.d.ts +17 -0
  552. package/dist/esm/models/api-reports-stvm-summary-get200-response.js +14 -0
  553. package/dist/esm/models/api-roles-get200-response-docs-inner.d.ts +21 -0
  554. package/dist/esm/models/api-roles-get200-response-docs-inner.js +14 -0
  555. package/dist/esm/models/api-roles-get200-response.d.ts +19 -0
  556. package/dist/esm/models/api-roles-get200-response.js +14 -0
  557. package/dist/esm/models/api-segmentation-rules-get200-response-data-inner.d.ts +19 -0
  558. package/dist/esm/models/api-segmentation-rules-get200-response-data-inner.js +14 -0
  559. package/dist/esm/models/api-segmentation-rules-get200-response.d.ts +19 -0
  560. package/dist/esm/models/api-segmentation-rules-get200-response.js +14 -0
  561. package/dist/esm/models/api-sharing-rules-get200-response-data-inner.d.ts +19 -0
  562. package/dist/esm/models/api-sharing-rules-get200-response-data-inner.js +14 -0
  563. package/dist/esm/models/api-sharing-rules-get200-response.d.ts +19 -0
  564. package/dist/esm/models/api-sharing-rules-get200-response.js +14 -0
  565. package/dist/esm/models/api-staffs-get200-response-docs-inner-role.d.ts +19 -0
  566. package/dist/esm/models/api-staffs-get200-response-docs-inner-role.js +14 -0
  567. package/dist/esm/models/api-staffs-get200-response-docs-inner-settings.d.ts +15 -0
  568. package/dist/esm/models/api-staffs-get200-response-docs-inner-settings.js +14 -0
  569. package/dist/esm/models/api-staffs-get200-response-docs-inner.d.ts +31 -0
  570. package/dist/esm/models/api-staffs-get200-response-docs-inner.js +14 -0
  571. package/dist/esm/models/api-staffs-get200-response.d.ts +19 -0
  572. package/dist/esm/models/api-staffs-get200-response.js +14 -0
  573. package/dist/esm/models/api-staffs507f1f77bcf86cd799439180-get200-response.d.ts +31 -0
  574. package/dist/esm/models/api-staffs507f1f77bcf86cd799439180-get200-response.js +14 -0
  575. package/dist/esm/models/api-tasks-filters-get200-response-data-inner-filters.d.ts +15 -0
  576. package/dist/esm/models/api-tasks-filters-get200-response-data-inner-filters.js +14 -0
  577. package/dist/esm/models/api-tasks-filters-get200-response-data-inner.d.ts +19 -0
  578. package/dist/esm/models/api-tasks-filters-get200-response-data-inner.js +14 -0
  579. package/dist/esm/models/api-tasks-filters-get200-response.d.ts +15 -0
  580. package/dist/esm/models/api-tasks-filters-get200-response.js +14 -0
  581. package/dist/esm/models/api-tasks-get200-response-data-inner.d.ts +23 -0
  582. package/dist/esm/models/api-tasks-get200-response-data-inner.js +14 -0
  583. package/dist/esm/models/api-tasks-get200-response.d.ts +19 -0
  584. package/dist/esm/models/api-tasks-get200-response.js +14 -0
  585. package/dist/esm/models/api-tasks-post-request.d.ts +15 -0
  586. package/dist/esm/models/api-tasks-post-request.js +14 -0
  587. package/dist/esm/models/api-tasks-selected-finish-put200-response.d.ts +15 -0
  588. package/dist/esm/models/api-tasks-selected-finish-put200-response.js +14 -0
  589. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response-data-inner.d.ts +18 -0
  590. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response-data-inner.js +14 -0
  591. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response.d.ts +15 -0
  592. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response.js +14 -0
  593. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-put-request.d.ts +14 -0
  594. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-put-request.js +14 -0
  595. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response-data-inner.d.ts +18 -0
  596. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response-data-inner.js +14 -0
  597. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response.d.ts +15 -0
  598. package/dist/esm/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response.js +14 -0
  599. package/dist/esm/models/api-tickets-get200-response-data-inner-status.d.ts +16 -0
  600. package/dist/esm/models/api-tickets-get200-response-data-inner-status.js +14 -0
  601. package/dist/esm/models/api-tickets-get200-response-data-inner.d.ts +20 -0
  602. package/dist/esm/models/api-tickets-get200-response-data-inner.js +14 -0
  603. package/dist/esm/models/api-tickets-get200-response.d.ts +19 -0
  604. package/dist/esm/models/api-tickets-get200-response.js +14 -0
  605. package/dist/esm/models/api-tickets-post-request.d.ts +14 -0
  606. package/dist/esm/models/api-tickets-post-request.js +14 -0
  607. package/dist/esm/models/api-tickets-post201-response.d.ts +16 -0
  608. package/dist/esm/models/api-tickets-post201-response.js +14 -0
  609. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response-contact.d.ts +27 -0
  610. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response-contact.js +14 -0
  611. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response-sender.d.ts +23 -0
  612. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response-sender.js +14 -0
  613. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response-status.d.ts +24 -0
  614. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response-status.js +14 -0
  615. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response.d.ts +36 -0
  616. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-get200-response.js +14 -0
  617. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-put200-response-contact.d.ts +28 -0
  618. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-put200-response-contact.js +14 -0
  619. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-put200-response.d.ts +34 -0
  620. package/dist/esm/models/api-tickets507f1f77bcf86cd799439130-put200-response.js +14 -0
  621. package/dist/esm/models/api-treatments-get200-response-data-inner.d.ts +20 -0
  622. package/dist/esm/models/api-treatments-get200-response-data-inner.js +14 -0
  623. package/dist/esm/models/api-treatments-get200-response.d.ts +19 -0
  624. package/dist/esm/models/api-treatments-get200-response.js +14 -0
  625. package/dist/esm/models/api-treatments-post201-response.d.ts +16 -0
  626. package/dist/esm/models/api-treatments-post201-response.js +14 -0
  627. package/dist/esm/models/api-webhooks-get200-response-data-inner-stats.d.ts +15 -0
  628. package/dist/esm/models/api-webhooks-get200-response-data-inner-stats.js +14 -0
  629. package/dist/esm/models/api-webhooks-get200-response-data-inner.d.ts +21 -0
  630. package/dist/esm/models/api-webhooks-get200-response-data-inner.js +14 -0
  631. package/dist/esm/models/api-webhooks-get200-response.d.ts +19 -0
  632. package/dist/esm/models/api-webhooks-get200-response.js +14 -0
  633. package/dist/esm/models/api-webhooks507f1f77bcf86cd799439200-put-request.d.ts +15 -0
  634. package/dist/esm/models/api-webhooks507f1f77bcf86cd799439200-put-request.js +14 -0
  635. package/dist/esm/models/api-workspaces-get200-response-docs-inner.d.ts +21 -0
  636. package/dist/esm/models/api-workspaces-get200-response-docs-inner.js +14 -0
  637. package/dist/esm/models/api-workspaces-get200-response.d.ts +19 -0
  638. package/dist/esm/models/api-workspaces-get200-response.js +14 -0
  639. package/dist/esm/models/index.d.ts +143 -0
  640. package/dist/esm/models/index.js +143 -0
  641. package/dist/esm/models/token-post200-response.d.ts +19 -0
  642. package/dist/esm/models/token-post200-response.js +14 -0
  643. package/dist/esm/models/userinfo-get200-response.d.ts +21 -0
  644. package/dist/esm/models/userinfo-get200-response.js +14 -0
  645. package/dist/index.d.ts +14 -0
  646. package/dist/index.js +32 -0
  647. package/dist/models/api-calendars-events-get200-response-data-inner.d.ts +21 -0
  648. package/dist/models/api-calendars-events-get200-response-data-inner.js +15 -0
  649. package/dist/models/api-calendars-events-get200-response.d.ts +15 -0
  650. package/dist/models/api-calendars-events-get200-response.js +15 -0
  651. package/dist/models/api-calendars-events-post201-response.d.ts +18 -0
  652. package/dist/models/api-calendars-events-post201-response.js +15 -0
  653. package/dist/models/api-campaigns-get200-response-data-inner.d.ts +19 -0
  654. package/dist/models/api-campaigns-get200-response-data-inner.js +15 -0
  655. package/dist/models/api-campaigns-get200-response.d.ts +19 -0
  656. package/dist/models/api-campaigns-get200-response.js +15 -0
  657. package/dist/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner-config.d.ts +15 -0
  658. package/dist/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner-config.js +15 -0
  659. package/dist/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner.d.ts +19 -0
  660. package/dist/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner.js +15 -0
  661. package/dist/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response.d.ts +15 -0
  662. package/dist/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response.js +15 -0
  663. package/dist/models/api-contacts-filters-get200-response-data-inner-filters.d.ts +15 -0
  664. package/dist/models/api-contacts-filters-get200-response-data-inner-filters.js +15 -0
  665. package/dist/models/api-contacts-filters-get200-response-data-inner.d.ts +19 -0
  666. package/dist/models/api-contacts-filters-get200-response-data-inner.js +15 -0
  667. package/dist/models/api-contacts-filters-get200-response.d.ts +15 -0
  668. package/dist/models/api-contacts-filters-get200-response.js +15 -0
  669. package/dist/models/api-contacts507f1f77bcf86cd799439011-get200-response-owners-inner.d.ts +15 -0
  670. package/dist/models/api-contacts507f1f77bcf86cd799439011-get200-response-owners-inner.js +15 -0
  671. package/dist/models/api-contacts507f1f77bcf86cd799439011-get200-response.d.ts +24 -0
  672. package/dist/models/api-contacts507f1f77bcf86cd799439011-get200-response.js +15 -0
  673. package/dist/models/api-contacts507f1f77bcf86cd799439011-put-request.d.ts +15 -0
  674. package/dist/models/api-contacts507f1f77bcf86cd799439011-put-request.js +15 -0
  675. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner-v.d.ts +15 -0
  676. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner-v.js +15 -0
  677. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner.d.ts +17 -0
  678. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner.js +15 -0
  679. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response-phones-inner.d.ts +15 -0
  680. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response-phones-inner.js +15 -0
  681. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response.d.ts +37 -0
  682. package/dist/models/api-contacts507f1f77bcf86cd799439011-put200-response.js +15 -0
  683. package/dist/models/api-customfields-post-request.d.ts +17 -0
  684. package/dist/models/api-customfields-post-request.js +15 -0
  685. package/dist/models/api-customfields-post201-response-settings.d.ts +30 -0
  686. package/dist/models/api-customfields-post201-response-settings.js +15 -0
  687. package/dist/models/api-customfields-post201-response-sub-field-settings.d.ts +15 -0
  688. package/dist/models/api-customfields-post201-response-sub-field-settings.js +15 -0
  689. package/dist/models/api-customfields-post201-response.d.ts +30 -0
  690. package/dist/models/api-customfields-post201-response.js +15 -0
  691. package/dist/models/api-customfields507f1f77bcf86cd799439150-get200-response-custom-field-block-attach.d.ts +22 -0
  692. package/dist/models/api-customfields507f1f77bcf86cd799439150-get200-response-custom-field-block-attach.js +15 -0
  693. package/dist/models/api-customfields507f1f77bcf86cd799439150-get200-response-field-type.d.ts +19 -0
  694. package/dist/models/api-customfields507f1f77bcf86cd799439150-get200-response-field-type.js +15 -0
  695. package/dist/models/api-customfields507f1f77bcf86cd799439150-get200-response.d.ts +35 -0
  696. package/dist/models/api-customfields507f1f77bcf86cd799439150-get200-response.js +15 -0
  697. package/dist/models/api-dashboards-get200-response-data-inner.d.ts +18 -0
  698. package/dist/models/api-dashboards-get200-response-data-inner.js +15 -0
  699. package/dist/models/api-dashboards-get200-response.d.ts +15 -0
  700. package/dist/models/api-dashboards-get200-response.js +15 -0
  701. package/dist/models/api-dashboards-post201-response.d.ts +17 -0
  702. package/dist/models/api-dashboards-post201-response.js +15 -0
  703. package/dist/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response-data-inner.d.ts +16 -0
  704. package/dist/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response-data-inner.js +15 -0
  705. package/dist/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response.d.ts +18 -0
  706. package/dist/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response.js +15 -0
  707. package/dist/models/api-deals-batch-move-post200-response.d.ts +16 -0
  708. package/dist/models/api-deals-batch-move-post200-response.js +15 -0
  709. package/dist/models/api-deals-get200-response-data-inner-pipeline.d.ts +15 -0
  710. package/dist/models/api-deals-get200-response-data-inner-pipeline.js +15 -0
  711. package/dist/models/api-deals-get200-response-data-inner.d.ts +21 -0
  712. package/dist/models/api-deals-get200-response-data-inner.js +15 -0
  713. package/dist/models/api-deals-get200-response.d.ts +19 -0
  714. package/dist/models/api-deals-get200-response.js +15 -0
  715. package/dist/models/api-deals-labels-post-request.d.ts +15 -0
  716. package/dist/models/api-deals-labels-post-request.js +15 -0
  717. package/dist/models/api-deals-post-request.d.ts +17 -0
  718. package/dist/models/api-deals-post-request.js +15 -0
  719. package/dist/models/api-deals-post201-response.d.ts +20 -0
  720. package/dist/models/api-deals-post201-response.js +15 -0
  721. package/dist/models/api-deals507f1f77bcf86cd799439022-close-put-request.d.ts +14 -0
  722. package/dist/models/api-deals507f1f77bcf86cd799439022-close-put-request.js +15 -0
  723. package/dist/models/api-deals507f1f77bcf86cd799439022-get200-response-stage.d.ts +16 -0
  724. package/dist/models/api-deals507f1f77bcf86cd799439022-get200-response-stage.js +15 -0
  725. package/dist/models/api-deals507f1f77bcf86cd799439022-get200-response.d.ts +27 -0
  726. package/dist/models/api-deals507f1f77bcf86cd799439022-get200-response.js +15 -0
  727. package/dist/models/api-deals507f1f77bcf86cd799439022-put-request.d.ts +15 -0
  728. package/dist/models/api-deals507f1f77bcf86cd799439022-put-request.js +15 -0
  729. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response-contact.d.ts +19 -0
  730. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response-contact.js +15 -0
  731. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response-staff.d.ts +21 -0
  732. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response-staff.js +15 -0
  733. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response-stage.d.ts +23 -0
  734. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response-stage.js +15 -0
  735. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response.d.ts +37 -0
  736. package/dist/models/api-deals507f1f77bcf86cd799439022-put200-response.js +15 -0
  737. package/dist/models/api-deals507f1f77bcf86cd799439022-stage-put-request.d.ts +14 -0
  738. package/dist/models/api-deals507f1f77bcf86cd799439022-stage-put-request.js +15 -0
  739. package/dist/models/api-emails-configs-get200-response-data-inner.d.ts +20 -0
  740. package/dist/models/api-emails-configs-get200-response-data-inner.js +15 -0
  741. package/dist/models/api-emails-configs-get200-response.d.ts +15 -0
  742. package/dist/models/api-emails-configs-get200-response.js +15 -0
  743. package/dist/models/api-emails-known-addresses-get200-response-data-inner.d.ts +18 -0
  744. package/dist/models/api-emails-known-addresses-get200-response-data-inner.js +15 -0
  745. package/dist/models/api-emails-known-addresses-get200-response.d.ts +19 -0
  746. package/dist/models/api-emails-known-addresses-get200-response.js +15 -0
  747. package/dist/models/api-journeys-get200-response-data-inner.d.ts +22 -0
  748. package/dist/models/api-journeys-get200-response-data-inner.js +15 -0
  749. package/dist/models/api-journeys-get200-response.d.ts +19 -0
  750. package/dist/models/api-journeys-get200-response.js +15 -0
  751. package/dist/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response-factors.d.ts +16 -0
  752. package/dist/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response-factors.js +15 -0
  753. package/dist/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response.d.ts +18 -0
  754. package/dist/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response.js +15 -0
  755. package/dist/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response-history-inner.d.ts +15 -0
  756. package/dist/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response-history-inner.js +15 -0
  757. package/dist/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response.d.ts +17 -0
  758. package/dist/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response.js +15 -0
  759. package/dist/models/api-leads-get200-response-data-inner.d.ts +18 -0
  760. package/dist/models/api-leads-get200-response-data-inner.js +15 -0
  761. package/dist/models/api-leads-get200-response.d.ts +19 -0
  762. package/dist/models/api-leads-get200-response.js +15 -0
  763. package/dist/models/api-leads507f1f77bcf86cd799439044-get200-response.d.ts +20 -0
  764. package/dist/models/api-leads507f1f77bcf86cd799439044-get200-response.js +15 -0
  765. package/dist/models/api-meetings-get200-response-data-inner.d.ts +22 -0
  766. package/dist/models/api-meetings-get200-response-data-inner.js +15 -0
  767. package/dist/models/api-meetings-get200-response.d.ts +19 -0
  768. package/dist/models/api-meetings-get200-response.js +15 -0
  769. package/dist/models/api-meetings-post-request.d.ts +15 -0
  770. package/dist/models/api-meetings-post-request.js +15 -0
  771. package/dist/models/api-meetings-post201-response.d.ts +17 -0
  772. package/dist/models/api-meetings-post201-response.js +15 -0
  773. package/dist/models/api-observations-get200-response-data-inner.d.ts +20 -0
  774. package/dist/models/api-observations-get200-response-data-inner.js +15 -0
  775. package/dist/models/api-observations-get200-response.d.ts +19 -0
  776. package/dist/models/api-observations-get200-response.js +15 -0
  777. package/dist/models/api-observations-post-request.d.ts +16 -0
  778. package/dist/models/api-observations-post-request.js +15 -0
  779. package/dist/models/api-observations-post201-response.d.ts +18 -0
  780. package/dist/models/api-observations-post201-response.js +15 -0
  781. package/dist/models/api-organizations-get200-response-data-inner.d.ts +18 -0
  782. package/dist/models/api-organizations-get200-response-data-inner.js +15 -0
  783. package/dist/models/api-organizations-get200-response.d.ts +19 -0
  784. package/dist/models/api-organizations-get200-response.js +15 -0
  785. package/dist/models/api-organizations-post-request.d.ts +16 -0
  786. package/dist/models/api-organizations-post-request.js +15 -0
  787. package/dist/models/api-organizations-post201-response.d.ts +17 -0
  788. package/dist/models/api-organizations-post201-response.js +15 -0
  789. package/dist/models/api-organizations507f1f77bcf86cd799439055-get200-response.d.ts +20 -0
  790. package/dist/models/api-organizations507f1f77bcf86cd799439055-get200-response.js +15 -0
  791. package/dist/models/api-organizations507f1f77bcf86cd799439055-put-request.d.ts +14 -0
  792. package/dist/models/api-organizations507f1f77bcf86cd799439055-put-request.js +15 -0
  793. package/dist/models/api-organizations507f1f77bcf86cd799439055-put200-response-phones-inner.d.ts +16 -0
  794. package/dist/models/api-organizations507f1f77bcf86cd799439055-put200-response-phones-inner.js +15 -0
  795. package/dist/models/api-organizations507f1f77bcf86cd799439055-put200-response.d.ts +36 -0
  796. package/dist/models/api-organizations507f1f77bcf86cd799439055-put200-response.js +15 -0
  797. package/dist/models/api-pipelines-get200-response-inner.d.ts +19 -0
  798. package/dist/models/api-pipelines-get200-response-inner.js +15 -0
  799. package/dist/models/api-processautomations-get200-response-data-inner-stats.d.ts +16 -0
  800. package/dist/models/api-processautomations-get200-response-data-inner-stats.js +15 -0
  801. package/dist/models/api-processautomations-get200-response-data-inner.d.ts +21 -0
  802. package/dist/models/api-processautomations-get200-response-data-inner.js +15 -0
  803. package/dist/models/api-processautomations-get200-response.d.ts +19 -0
  804. package/dist/models/api-processautomations-get200-response.js +15 -0
  805. package/dist/models/api-processautomations-global-stats-get200-response-by-status.d.ts +16 -0
  806. package/dist/models/api-processautomations-global-stats-get200-response-by-status.js +15 -0
  807. package/dist/models/api-processautomations-global-stats-get200-response.d.ts +20 -0
  808. package/dist/models/api-processautomations-global-stats-get200-response.js +15 -0
  809. package/dist/models/api-processautomations-post201-response.d.ts +19 -0
  810. package/dist/models/api-processautomations-post201-response.js +15 -0
  811. package/dist/models/api-prospects-get200-response-data-inner.d.ts +19 -0
  812. package/dist/models/api-prospects-get200-response-data-inner.js +15 -0
  813. package/dist/models/api-prospects-get200-response.d.ts +19 -0
  814. package/dist/models/api-prospects-get200-response.js +15 -0
  815. package/dist/models/api-prospects-post201-response.d.ts +17 -0
  816. package/dist/models/api-prospects-post201-response.js +15 -0
  817. package/dist/models/api-prospects-post400-response-details-inner.d.ts +15 -0
  818. package/dist/models/api-prospects-post400-response-details-inner.js +15 -0
  819. package/dist/models/api-prospects-post400-response.d.ts +17 -0
  820. package/dist/models/api-prospects-post400-response.js +15 -0
  821. package/dist/models/api-prospects507f1f77bcf86cd799439033-get200-response.d.ts +22 -0
  822. package/dist/models/api-prospects507f1f77bcf86cd799439033-get200-response.js +15 -0
  823. package/dist/models/api-prospects507f1f77bcf86cd799439033-get404-response.d.ts +15 -0
  824. package/dist/models/api-prospects507f1f77bcf86cd799439033-get404-response.js +15 -0
  825. package/dist/models/api-prospects507f1f77bcf86cd799439033-put-request.d.ts +14 -0
  826. package/dist/models/api-prospects507f1f77bcf86cd799439033-put-request.js +15 -0
  827. package/dist/models/api-reports-contacts-get200-response-by-origin.d.ts +16 -0
  828. package/dist/models/api-reports-contacts-get200-response-by-origin.js +15 -0
  829. package/dist/models/api-reports-contacts-get200-response-by-status.d.ts +15 -0
  830. package/dist/models/api-reports-contacts-get200-response-by-status.js +15 -0
  831. package/dist/models/api-reports-contacts-get200-response.d.ts +20 -0
  832. package/dist/models/api-reports-contacts-get200-response.js +15 -0
  833. package/dist/models/api-reports-nnm-summary-get200-response-period.d.ts +15 -0
  834. package/dist/models/api-reports-nnm-summary-get200-response-period.js +15 -0
  835. package/dist/models/api-reports-nnm-summary-get200-response-summary.d.ts +20 -0
  836. package/dist/models/api-reports-nnm-summary-get200-response-summary.js +15 -0
  837. package/dist/models/api-reports-nnm-summary-get200-response.d.ts +17 -0
  838. package/dist/models/api-reports-nnm-summary-get200-response.js +15 -0
  839. package/dist/models/api-reports-stvm-summary-get200-response-stages-inner.d.ts +17 -0
  840. package/dist/models/api-reports-stvm-summary-get200-response-stages-inner.js +15 -0
  841. package/dist/models/api-reports-stvm-summary-get200-response.d.ts +17 -0
  842. package/dist/models/api-reports-stvm-summary-get200-response.js +15 -0
  843. package/dist/models/api-roles-get200-response-docs-inner.d.ts +21 -0
  844. package/dist/models/api-roles-get200-response-docs-inner.js +15 -0
  845. package/dist/models/api-roles-get200-response.d.ts +19 -0
  846. package/dist/models/api-roles-get200-response.js +15 -0
  847. package/dist/models/api-segmentation-rules-get200-response-data-inner.d.ts +19 -0
  848. package/dist/models/api-segmentation-rules-get200-response-data-inner.js +15 -0
  849. package/dist/models/api-segmentation-rules-get200-response.d.ts +19 -0
  850. package/dist/models/api-segmentation-rules-get200-response.js +15 -0
  851. package/dist/models/api-sharing-rules-get200-response-data-inner.d.ts +19 -0
  852. package/dist/models/api-sharing-rules-get200-response-data-inner.js +15 -0
  853. package/dist/models/api-sharing-rules-get200-response.d.ts +19 -0
  854. package/dist/models/api-sharing-rules-get200-response.js +15 -0
  855. package/dist/models/api-staffs-get200-response-docs-inner-role.d.ts +19 -0
  856. package/dist/models/api-staffs-get200-response-docs-inner-role.js +15 -0
  857. package/dist/models/api-staffs-get200-response-docs-inner-settings.d.ts +15 -0
  858. package/dist/models/api-staffs-get200-response-docs-inner-settings.js +15 -0
  859. package/dist/models/api-staffs-get200-response-docs-inner.d.ts +31 -0
  860. package/dist/models/api-staffs-get200-response-docs-inner.js +15 -0
  861. package/dist/models/api-staffs-get200-response.d.ts +19 -0
  862. package/dist/models/api-staffs-get200-response.js +15 -0
  863. package/dist/models/api-staffs507f1f77bcf86cd799439180-get200-response.d.ts +31 -0
  864. package/dist/models/api-staffs507f1f77bcf86cd799439180-get200-response.js +15 -0
  865. package/dist/models/api-tasks-filters-get200-response-data-inner-filters.d.ts +15 -0
  866. package/dist/models/api-tasks-filters-get200-response-data-inner-filters.js +15 -0
  867. package/dist/models/api-tasks-filters-get200-response-data-inner.d.ts +19 -0
  868. package/dist/models/api-tasks-filters-get200-response-data-inner.js +15 -0
  869. package/dist/models/api-tasks-filters-get200-response.d.ts +15 -0
  870. package/dist/models/api-tasks-filters-get200-response.js +15 -0
  871. package/dist/models/api-tasks-get200-response-data-inner.d.ts +23 -0
  872. package/dist/models/api-tasks-get200-response-data-inner.js +15 -0
  873. package/dist/models/api-tasks-get200-response.d.ts +19 -0
  874. package/dist/models/api-tasks-get200-response.js +15 -0
  875. package/dist/models/api-tasks-post-request.d.ts +15 -0
  876. package/dist/models/api-tasks-post-request.js +15 -0
  877. package/dist/models/api-tasks-selected-finish-put200-response.d.ts +15 -0
  878. package/dist/models/api-tasks-selected-finish-put200-response.js +15 -0
  879. package/dist/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response-data-inner.d.ts +18 -0
  880. package/dist/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response-data-inner.js +15 -0
  881. package/dist/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response.d.ts +15 -0
  882. package/dist/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response.js +15 -0
  883. package/dist/models/api-tasks507f1f77bcf86cd799439100-put-request.d.ts +14 -0
  884. package/dist/models/api-tasks507f1f77bcf86cd799439100-put-request.js +15 -0
  885. package/dist/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response-data-inner.d.ts +18 -0
  886. package/dist/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response-data-inner.js +15 -0
  887. package/dist/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response.d.ts +15 -0
  888. package/dist/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response.js +15 -0
  889. package/dist/models/api-tickets-get200-response-data-inner-status.d.ts +16 -0
  890. package/dist/models/api-tickets-get200-response-data-inner-status.js +15 -0
  891. package/dist/models/api-tickets-get200-response-data-inner.d.ts +20 -0
  892. package/dist/models/api-tickets-get200-response-data-inner.js +15 -0
  893. package/dist/models/api-tickets-get200-response.d.ts +19 -0
  894. package/dist/models/api-tickets-get200-response.js +15 -0
  895. package/dist/models/api-tickets-post-request.d.ts +14 -0
  896. package/dist/models/api-tickets-post-request.js +15 -0
  897. package/dist/models/api-tickets-post201-response.d.ts +16 -0
  898. package/dist/models/api-tickets-post201-response.js +15 -0
  899. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response-contact.d.ts +27 -0
  900. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response-contact.js +15 -0
  901. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response-sender.d.ts +23 -0
  902. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response-sender.js +15 -0
  903. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response-status.d.ts +24 -0
  904. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response-status.js +15 -0
  905. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response.d.ts +36 -0
  906. package/dist/models/api-tickets507f1f77bcf86cd799439130-get200-response.js +15 -0
  907. package/dist/models/api-tickets507f1f77bcf86cd799439130-put200-response-contact.d.ts +28 -0
  908. package/dist/models/api-tickets507f1f77bcf86cd799439130-put200-response-contact.js +15 -0
  909. package/dist/models/api-tickets507f1f77bcf86cd799439130-put200-response.d.ts +34 -0
  910. package/dist/models/api-tickets507f1f77bcf86cd799439130-put200-response.js +15 -0
  911. package/dist/models/api-treatments-get200-response-data-inner.d.ts +20 -0
  912. package/dist/models/api-treatments-get200-response-data-inner.js +15 -0
  913. package/dist/models/api-treatments-get200-response.d.ts +19 -0
  914. package/dist/models/api-treatments-get200-response.js +15 -0
  915. package/dist/models/api-treatments-post201-response.d.ts +16 -0
  916. package/dist/models/api-treatments-post201-response.js +15 -0
  917. package/dist/models/api-webhooks-get200-response-data-inner-stats.d.ts +15 -0
  918. package/dist/models/api-webhooks-get200-response-data-inner-stats.js +15 -0
  919. package/dist/models/api-webhooks-get200-response-data-inner.d.ts +21 -0
  920. package/dist/models/api-webhooks-get200-response-data-inner.js +15 -0
  921. package/dist/models/api-webhooks-get200-response.d.ts +19 -0
  922. package/dist/models/api-webhooks-get200-response.js +15 -0
  923. package/dist/models/api-webhooks507f1f77bcf86cd799439200-put-request.d.ts +15 -0
  924. package/dist/models/api-webhooks507f1f77bcf86cd799439200-put-request.js +15 -0
  925. package/dist/models/api-workspaces-get200-response-docs-inner.d.ts +21 -0
  926. package/dist/models/api-workspaces-get200-response-docs-inner.js +15 -0
  927. package/dist/models/api-workspaces-get200-response.d.ts +19 -0
  928. package/dist/models/api-workspaces-get200-response.js +15 -0
  929. package/dist/models/index.d.ts +143 -0
  930. package/dist/models/index.js +159 -0
  931. package/dist/models/token-post200-response.d.ts +19 -0
  932. package/dist/models/token-post200-response.js +15 -0
  933. package/dist/models/userinfo-get200-response.d.ts +21 -0
  934. package/dist/models/userinfo-get200-response.js +15 -0
  935. package/docs/ActionsApi.md +172 -0
  936. package/docs/ActivitiesApi.md +3720 -0
  937. package/docs/ApiCalendarsEventsGet200Response.md +20 -0
  938. package/docs/ApiCalendarsEventsGet200ResponseDataInner.md +32 -0
  939. package/docs/ApiCalendarsEventsPost201Response.md +28 -0
  940. package/docs/ApiCampaigns507f1f77bcf86cd799439900ActionsGet200Response.md +20 -0
  941. package/docs/ApiCampaigns507f1f77bcf86cd799439900ActionsGet200ResponseDataInner.md +28 -0
  942. package/docs/ApiCampaigns507f1f77bcf86cd799439900ActionsGet200ResponseDataInnerConfig.md +22 -0
  943. package/docs/ApiCampaignsGet200Response.md +28 -0
  944. package/docs/ApiCampaignsGet200ResponseDataInner.md +30 -0
  945. package/docs/ApiContacts507f1f77bcf86cd799439011Get200Response.md +38 -0
  946. package/docs/ApiContacts507f1f77bcf86cd799439011Get200ResponseOwnersInner.md +22 -0
  947. package/docs/ApiContacts507f1f77bcf86cd799439011Put200Response.md +62 -0
  948. package/docs/ApiContacts507f1f77bcf86cd799439011Put200ResponseCustomFieldsInner.md +24 -0
  949. package/docs/ApiContacts507f1f77bcf86cd799439011Put200ResponseCustomFieldsInnerV.md +22 -0
  950. package/docs/ApiContacts507f1f77bcf86cd799439011Put200ResponsePhonesInner.md +22 -0
  951. package/docs/ApiContacts507f1f77bcf86cd799439011PutRequest.md +22 -0
  952. package/docs/ApiContactsFiltersGet200Response.md +20 -0
  953. package/docs/ApiContactsFiltersGet200ResponseDataInner.md +28 -0
  954. package/docs/ApiContactsFiltersGet200ResponseDataInnerFilters.md +22 -0
  955. package/docs/ApiCustomfields507f1f77bcf86cd799439150Get200Response.md +52 -0
  956. package/docs/ApiCustomfields507f1f77bcf86cd799439150Get200ResponseCustomFieldBlockAttach.md +36 -0
  957. package/docs/ApiCustomfields507f1f77bcf86cd799439150Get200ResponseFieldType.md +30 -0
  958. package/docs/ApiCustomfieldsPost201Response.md +48 -0
  959. package/docs/ApiCustomfieldsPost201ResponseSettings.md +52 -0
  960. package/docs/ApiCustomfieldsPost201ResponseSubFieldSettings.md +22 -0
  961. package/docs/ApiCustomfieldsPostRequest.md +26 -0
  962. package/docs/ApiDashboards507f1f77bcf86cd799439700Widgets507f1f77bcf86cd799439710ContentGet200Response.md +26 -0
  963. package/docs/ApiDashboards507f1f77bcf86cd799439700Widgets507f1f77bcf86cd799439710ContentGet200ResponseDataInner.md +24 -0
  964. package/docs/ApiDashboardsGet200Response.md +20 -0
  965. package/docs/ApiDashboardsGet200ResponseDataInner.md +28 -0
  966. package/docs/ApiDashboardsPost201Response.md +26 -0
  967. package/docs/ApiDeals507f1f77bcf86cd799439022ClosePutRequest.md +20 -0
  968. package/docs/ApiDeals507f1f77bcf86cd799439022Get200Response.md +40 -0
  969. package/docs/ApiDeals507f1f77bcf86cd799439022Get200ResponseStage.md +24 -0
  970. package/docs/ApiDeals507f1f77bcf86cd799439022Put200Response.md +60 -0
  971. package/docs/ApiDeals507f1f77bcf86cd799439022Put200ResponseContact.md +30 -0
  972. package/docs/ApiDeals507f1f77bcf86cd799439022Put200ResponseStaff.md +34 -0
  973. package/docs/ApiDeals507f1f77bcf86cd799439022Put200ResponseStage.md +38 -0
  974. package/docs/ApiDeals507f1f77bcf86cd799439022PutRequest.md +22 -0
  975. package/docs/ApiDeals507f1f77bcf86cd799439022StagePutRequest.md +20 -0
  976. package/docs/ApiDealsBatchMovePost200Response.md +24 -0
  977. package/docs/ApiDealsGet200Response.md +28 -0
  978. package/docs/ApiDealsGet200ResponseDataInner.md +32 -0
  979. package/docs/ApiDealsGet200ResponseDataInnerPipeline.md +22 -0
  980. package/docs/ApiDealsLabelsPostRequest.md +22 -0
  981. package/docs/ApiDealsPost201Response.md +32 -0
  982. package/docs/ApiDealsPostRequest.md +26 -0
  983. package/docs/ApiEmailsConfigsGet200Response.md +20 -0
  984. package/docs/ApiEmailsConfigsGet200ResponseDataInner.md +32 -0
  985. package/docs/ApiEmailsKnownAddressesGet200Response.md +28 -0
  986. package/docs/ApiEmailsKnownAddressesGet200ResponseDataInner.md +28 -0
  987. package/docs/ApiJourneys507f1f77bcf86cd799439b00HealthScoreGet200Response.md +26 -0
  988. package/docs/ApiJourneys507f1f77bcf86cd799439b00HealthScoreGet200ResponseFactors.md +24 -0
  989. package/docs/ApiJourneys507f1f77bcf86cd799439b00MrrHistoryGet200Response.md +24 -0
  990. package/docs/ApiJourneys507f1f77bcf86cd799439b00MrrHistoryGet200ResponseHistoryInner.md +22 -0
  991. package/docs/ApiJourneysGet200Response.md +28 -0
  992. package/docs/ApiJourneysGet200ResponseDataInner.md +32 -0
  993. package/docs/ApiLeads507f1f77bcf86cd799439044Get200Response.md +32 -0
  994. package/docs/ApiLeadsGet200Response.md +28 -0
  995. package/docs/ApiLeadsGet200ResponseDataInner.md +28 -0
  996. package/docs/ApiMeetingsGet200Response.md +28 -0
  997. package/docs/ApiMeetingsGet200ResponseDataInner.md +32 -0
  998. package/docs/ApiMeetingsPost201Response.md +26 -0
  999. package/docs/ApiMeetingsPostRequest.md +22 -0
  1000. package/docs/ApiObservationsGet200Response.md +28 -0
  1001. package/docs/ApiObservationsGet200ResponseDataInner.md +30 -0
  1002. package/docs/ApiObservationsPost201Response.md +28 -0
  1003. package/docs/ApiObservationsPostRequest.md +24 -0
  1004. package/docs/ApiOrganizations507f1f77bcf86cd799439055Get200Response.md +30 -0
  1005. package/docs/ApiOrganizations507f1f77bcf86cd799439055Put200Response.md +62 -0
  1006. package/docs/ApiOrganizations507f1f77bcf86cd799439055Put200ResponsePhonesInner.md +24 -0
  1007. package/docs/ApiOrganizations507f1f77bcf86cd799439055PutRequest.md +20 -0
  1008. package/docs/ApiOrganizationsGet200Response.md +28 -0
  1009. package/docs/ApiOrganizationsGet200ResponseDataInner.md +28 -0
  1010. package/docs/ApiOrganizationsPost201Response.md +26 -0
  1011. package/docs/ApiOrganizationsPostRequest.md +24 -0
  1012. package/docs/ApiPipelinesGet200ResponseInner.md +28 -0
  1013. package/docs/ApiProcessautomationsGet200Response.md +28 -0
  1014. package/docs/ApiProcessautomationsGet200ResponseDataInner.md +32 -0
  1015. package/docs/ApiProcessautomationsGet200ResponseDataInnerStats.md +24 -0
  1016. package/docs/ApiProcessautomationsGlobalStatsGet200Response.md +30 -0
  1017. package/docs/ApiProcessautomationsGlobalStatsGet200ResponseByStatus.md +24 -0
  1018. package/docs/ApiProcessautomationsPost201Response.md +30 -0
  1019. package/docs/ApiProspects507f1f77bcf86cd799439033Get200Response.md +34 -0
  1020. package/docs/ApiProspects507f1f77bcf86cd799439033Get404Response.md +22 -0
  1021. package/docs/ApiProspects507f1f77bcf86cd799439033PutRequest.md +20 -0
  1022. package/docs/ApiProspectsGet200Response.md +28 -0
  1023. package/docs/ApiProspectsGet200ResponseDataInner.md +30 -0
  1024. package/docs/ApiProspectsPost201Response.md +26 -0
  1025. package/docs/ApiProspectsPost400Response.md +24 -0
  1026. package/docs/ApiProspectsPost400ResponseDetailsInner.md +22 -0
  1027. package/docs/ApiReportsContactsGet200Response.md +26 -0
  1028. package/docs/ApiReportsContactsGet200ResponseByOrigin.md +24 -0
  1029. package/docs/ApiReportsContactsGet200ResponseByStatus.md +22 -0
  1030. package/docs/ApiReportsNnmSummaryGet200Response.md +22 -0
  1031. package/docs/ApiReportsNnmSummaryGet200ResponsePeriod.md +22 -0
  1032. package/docs/ApiReportsNnmSummaryGet200ResponseSummary.md +32 -0
  1033. package/docs/ApiReportsStvmSummaryGet200Response.md +22 -0
  1034. package/docs/ApiReportsStvmSummaryGet200ResponseStagesInner.md +26 -0
  1035. package/docs/ApiRolesGet200Response.md +28 -0
  1036. package/docs/ApiRolesGet200ResponseDocsInner.md +34 -0
  1037. package/docs/ApiSegmentationRulesGet200Response.md +28 -0
  1038. package/docs/ApiSegmentationRulesGet200ResponseDataInner.md +30 -0
  1039. package/docs/ApiSharingRulesGet200Response.md +28 -0
  1040. package/docs/ApiSharingRulesGet200ResponseDataInner.md +30 -0
  1041. package/docs/ApiStaffs507f1f77bcf86cd799439180Get200Response.md +52 -0
  1042. package/docs/ApiStaffsGet200Response.md +28 -0
  1043. package/docs/ApiStaffsGet200ResponseDocsInner.md +50 -0
  1044. package/docs/ApiStaffsGet200ResponseDocsInnerRole.md +30 -0
  1045. package/docs/ApiStaffsGet200ResponseDocsInnerSettings.md +22 -0
  1046. package/docs/ApiTasks507f1f77bcf86cd799439100MessagesGet200Response.md +20 -0
  1047. package/docs/ApiTasks507f1f77bcf86cd799439100MessagesGet200ResponseDataInner.md +26 -0
  1048. package/docs/ApiTasks507f1f77bcf86cd799439100PutRequest.md +20 -0
  1049. package/docs/ApiTasks507f1f77bcf86cd799439100TodosGet200Response.md +20 -0
  1050. package/docs/ApiTasks507f1f77bcf86cd799439100TodosGet200ResponseDataInner.md +28 -0
  1051. package/docs/ApiTasksFiltersGet200Response.md +20 -0
  1052. package/docs/ApiTasksFiltersGet200ResponseDataInner.md +28 -0
  1053. package/docs/ApiTasksFiltersGet200ResponseDataInnerFilters.md +22 -0
  1054. package/docs/ApiTasksGet200Response.md +28 -0
  1055. package/docs/ApiTasksGet200ResponseDataInner.md +34 -0
  1056. package/docs/ApiTasksPostRequest.md +22 -0
  1057. package/docs/ApiTasksSelectedFinishPut200Response.md +22 -0
  1058. package/docs/ApiTickets507f1f77bcf86cd799439130Get200Response.md +58 -0
  1059. package/docs/ApiTickets507f1f77bcf86cd799439130Get200ResponseContact.md +44 -0
  1060. package/docs/ApiTickets507f1f77bcf86cd799439130Get200ResponseSender.md +38 -0
  1061. package/docs/ApiTickets507f1f77bcf86cd799439130Get200ResponseStatus.md +40 -0
  1062. package/docs/ApiTickets507f1f77bcf86cd799439130Put200Response.md +54 -0
  1063. package/docs/ApiTickets507f1f77bcf86cd799439130Put200ResponseContact.md +44 -0
  1064. package/docs/ApiTicketsGet200Response.md +28 -0
  1065. package/docs/ApiTicketsGet200ResponseDataInner.md +28 -0
  1066. package/docs/ApiTicketsGet200ResponseDataInnerStatus.md +24 -0
  1067. package/docs/ApiTicketsPost201Response.md +24 -0
  1068. package/docs/ApiTicketsPostRequest.md +20 -0
  1069. package/docs/ApiTreatmentsGet200Response.md +28 -0
  1070. package/docs/ApiTreatmentsGet200ResponseDataInner.md +28 -0
  1071. package/docs/ApiTreatmentsPost201Response.md +24 -0
  1072. package/docs/ApiWebhooks507f1f77bcf86cd799439200PutRequest.md +22 -0
  1073. package/docs/ApiWebhooksGet200Response.md +28 -0
  1074. package/docs/ApiWebhooksGet200ResponseDataInner.md +32 -0
  1075. package/docs/ApiWebhooksGet200ResponseDataInnerStats.md +22 -0
  1076. package/docs/ApiWorkspacesGet200Response.md +28 -0
  1077. package/docs/ApiWorkspacesGet200ResponseDocsInner.md +34 -0
  1078. package/docs/AuthenticationApi.md +177 -0
  1079. package/docs/BatchOperationsApi.md +755 -0
  1080. package/docs/CRMCoreApi.md +2805 -0
  1081. package/docs/CalendarApi.md +491 -0
  1082. package/docs/CampaignsApi.md +361 -0
  1083. package/docs/ConfigsApi.md +372 -0
  1084. package/docs/ConfigurationApi.md +851 -0
  1085. package/docs/ContactsApi.md +614 -0
  1086. package/docs/CustomFieldBlocksApi.md +138 -0
  1087. package/docs/CustomFieldsApi.md +365 -0
  1088. package/docs/CustomFieldsUsageApi.md +101 -0
  1089. package/docs/CustomersApi.md +657 -0
  1090. package/docs/DashboardsApi.md +583 -0
  1091. package/docs/DealsApi.md +496 -0
  1092. package/docs/EmailApi.md +575 -0
  1093. package/docs/EntitiesExecutionApi.md +137 -0
  1094. package/docs/EntityReportsApi.md +172 -0
  1095. package/docs/EventsApi.md +241 -0
  1096. package/docs/FilterPresetsApi.md +94 -0
  1097. package/docs/FiltersApi.md +1297 -0
  1098. package/docs/FoldersApi.md +174 -0
  1099. package/docs/GuidesApi.md +509 -0
  1100. package/docs/HealthMetricsApi.md +177 -0
  1101. package/docs/IntegrationsApi.md +275 -0
  1102. package/docs/JourneysApi.md +580 -0
  1103. package/docs/KnownAddressesApi.md +182 -0
  1104. package/docs/LabelsApi.md +181 -0
  1105. package/docs/LeadsApi.md +1030 -0
  1106. package/docs/MeetingsApi.md +1367 -0
  1107. package/docs/MessagesApi.md +685 -0
  1108. package/docs/MilestonesApi.md +47 -0
  1109. package/docs/NNMNovoNegocioMensalApi.md +172 -0
  1110. package/docs/ObservationsApi.md +160 -0
  1111. package/docs/OrganizationsApi.md +362 -0
  1112. package/docs/PaginationFilteringApi.md +66 -0
  1113. package/docs/PipelinesApi.md +104 -0
  1114. package/docs/PipelinesStagesApi.md +332 -0
  1115. package/docs/ProcessAutomationApi.md +576 -0
  1116. package/docs/ProspectsApi.md +1030 -0
  1117. package/docs/ReportsApi.md +502 -0
  1118. package/docs/ResourcesApi.md +2482 -0
  1119. package/docs/RolesApi.md +52 -0
  1120. package/docs/RoomsApi.md +190 -0
  1121. package/docs/STVMStatusVsTempoVsVolumeApi.md +172 -0
  1122. package/docs/SalesPipelineApi.md +774 -0
  1123. package/docs/SegmentationApi.md +411 -0
  1124. package/docs/SegmentationRulesApi.md +229 -0
  1125. package/docs/SequencesApi.md +54 -0
  1126. package/docs/SharingRulesApi.md +189 -0
  1127. package/docs/StaffsApi.md +251 -0
  1128. package/docs/StagesApi.md +167 -0
  1129. package/docs/TasksApi.md +1225 -0
  1130. package/docs/TeamsApi.md +87 -0
  1131. package/docs/TicketsApi.md +986 -0
  1132. package/docs/TodosApi.md +659 -0
  1133. package/docs/TokenPost200Response.md +30 -0
  1134. package/docs/TreatmentsApi.md +885 -0
  1135. package/docs/TypesApi.md +321 -0
  1136. package/docs/UpdateCustomResourceFieldsApi.md +99 -0
  1137. package/docs/UserinfoGet200Response.md +34 -0
  1138. package/docs/V1LegacyApi.md +2614 -0
  1139. package/docs/V2CurrentApi.md +12744 -0
  1140. package/docs/WebhooksApi.md +275 -0
  1141. package/docs/WebhooksSetupApi.md +94 -0
  1142. package/docs/WidgetsApi.md +272 -0
  1143. package/docs/WorkspacesApi.md +369 -0
  1144. package/git_push.sh +57 -0
  1145. package/index.ts +18 -0
  1146. package/models/api-calendars-events-get200-response-data-inner.ts +29 -0
  1147. package/models/api-calendars-events-get200-response.ts +23 -0
  1148. package/models/api-calendars-events-post201-response.ts +24 -0
  1149. package/models/api-campaigns-get200-response-data-inner.ts +25 -0
  1150. package/models/api-campaigns-get200-response.ts +27 -0
  1151. package/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner-config.ts +21 -0
  1152. package/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response-data-inner.ts +27 -0
  1153. package/models/api-campaigns507f1f77bcf86cd799439900-actions-get200-response.ts +23 -0
  1154. package/models/api-contacts-filters-get200-response-data-inner-filters.ts +21 -0
  1155. package/models/api-contacts-filters-get200-response-data-inner.ts +27 -0
  1156. package/models/api-contacts-filters-get200-response.ts +23 -0
  1157. package/models/api-contacts507f1f77bcf86cd799439011-get200-response-owners-inner.ts +21 -0
  1158. package/models/api-contacts507f1f77bcf86cd799439011-get200-response.ts +32 -0
  1159. package/models/api-contacts507f1f77bcf86cd799439011-put-request.ts +21 -0
  1160. package/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner-v.ts +21 -0
  1161. package/models/api-contacts507f1f77bcf86cd799439011-put200-response-custom-fields-inner.ts +25 -0
  1162. package/models/api-contacts507f1f77bcf86cd799439011-put200-response-phones-inner.ts +21 -0
  1163. package/models/api-contacts507f1f77bcf86cd799439011-put200-response.ts +47 -0
  1164. package/models/api-customfields-post-request.ts +23 -0
  1165. package/models/api-customfields-post201-response-settings.ts +36 -0
  1166. package/models/api-customfields-post201-response-sub-field-settings.ts +21 -0
  1167. package/models/api-customfields-post201-response.ts +40 -0
  1168. package/models/api-customfields507f1f77bcf86cd799439150-get200-response-custom-field-block-attach.ts +28 -0
  1169. package/models/api-customfields507f1f77bcf86cd799439150-get200-response-field-type.ts +25 -0
  1170. package/models/api-customfields507f1f77bcf86cd799439150-get200-response.ts +51 -0
  1171. package/models/api-dashboards-get200-response-data-inner.ts +24 -0
  1172. package/models/api-dashboards-get200-response.ts +23 -0
  1173. package/models/api-dashboards-post201-response.ts +23 -0
  1174. package/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response-data-inner.ts +22 -0
  1175. package/models/api-dashboards507f1f77bcf86cd799439700-widgets507f1f77bcf86cd799439710-content-get200-response.ts +26 -0
  1176. package/models/api-deals-batch-move-post200-response.ts +22 -0
  1177. package/models/api-deals-get200-response-data-inner-pipeline.ts +21 -0
  1178. package/models/api-deals-get200-response-data-inner.ts +29 -0
  1179. package/models/api-deals-get200-response.ts +27 -0
  1180. package/models/api-deals-labels-post-request.ts +21 -0
  1181. package/models/api-deals-post-request.ts +23 -0
  1182. package/models/api-deals-post201-response.ts +26 -0
  1183. package/models/api-deals507f1f77bcf86cd799439022-close-put-request.ts +20 -0
  1184. package/models/api-deals507f1f77bcf86cd799439022-get200-response-stage.ts +22 -0
  1185. package/models/api-deals507f1f77bcf86cd799439022-get200-response.ts +39 -0
  1186. package/models/api-deals507f1f77bcf86cd799439022-put-request.ts +21 -0
  1187. package/models/api-deals507f1f77bcf86cd799439022-put200-response-contact.ts +25 -0
  1188. package/models/api-deals507f1f77bcf86cd799439022-put200-response-staff.ts +27 -0
  1189. package/models/api-deals507f1f77bcf86cd799439022-put200-response-stage.ts +29 -0
  1190. package/models/api-deals507f1f77bcf86cd799439022-put200-response.ts +49 -0
  1191. package/models/api-deals507f1f77bcf86cd799439022-stage-put-request.ts +20 -0
  1192. package/models/api-emails-configs-get200-response-data-inner.ts +26 -0
  1193. package/models/api-emails-configs-get200-response.ts +23 -0
  1194. package/models/api-emails-known-addresses-get200-response-data-inner.ts +24 -0
  1195. package/models/api-emails-known-addresses-get200-response.ts +27 -0
  1196. package/models/api-journeys-get200-response-data-inner.ts +32 -0
  1197. package/models/api-journeys-get200-response.ts +27 -0
  1198. package/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response-factors.ts +22 -0
  1199. package/models/api-journeys507f1f77bcf86cd799439b00-health-score-get200-response.ts +26 -0
  1200. package/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response-history-inner.ts +21 -0
  1201. package/models/api-journeys507f1f77bcf86cd799439b00-mrr-history-get200-response.ts +25 -0
  1202. package/models/api-leads-get200-response-data-inner.ts +24 -0
  1203. package/models/api-leads-get200-response.ts +27 -0
  1204. package/models/api-leads507f1f77bcf86cd799439044-get200-response.ts +26 -0
  1205. package/models/api-meetings-get200-response-data-inner.ts +32 -0
  1206. package/models/api-meetings-get200-response.ts +27 -0
  1207. package/models/api-meetings-post-request.ts +21 -0
  1208. package/models/api-meetings-post201-response.ts +23 -0
  1209. package/models/api-observations-get200-response-data-inner.ts +28 -0
  1210. package/models/api-observations-get200-response.ts +27 -0
  1211. package/models/api-observations-post-request.ts +22 -0
  1212. package/models/api-observations-post201-response.ts +24 -0
  1213. package/models/api-organizations-get200-response-data-inner.ts +24 -0
  1214. package/models/api-organizations-get200-response.ts +27 -0
  1215. package/models/api-organizations-post-request.ts +22 -0
  1216. package/models/api-organizations-post201-response.ts +23 -0
  1217. package/models/api-organizations507f1f77bcf86cd799439055-get200-response.ts +28 -0
  1218. package/models/api-organizations507f1f77bcf86cd799439055-put-request.ts +20 -0
  1219. package/models/api-organizations507f1f77bcf86cd799439055-put200-response-phones-inner.ts +22 -0
  1220. package/models/api-organizations507f1f77bcf86cd799439055-put200-response.ts +44 -0
  1221. package/models/api-pipelines-get200-response-inner.ts +27 -0
  1222. package/models/api-processautomations-get200-response-data-inner-stats.ts +22 -0
  1223. package/models/api-processautomations-get200-response-data-inner.ts +29 -0
  1224. package/models/api-processautomations-get200-response.ts +27 -0
  1225. package/models/api-processautomations-global-stats-get200-response-by-status.ts +22 -0
  1226. package/models/api-processautomations-global-stats-get200-response.ts +28 -0
  1227. package/models/api-processautomations-post201-response.ts +25 -0
  1228. package/models/api-prospects-get200-response-data-inner.ts +25 -0
  1229. package/models/api-prospects-get200-response.ts +27 -0
  1230. package/models/api-prospects-post201-response.ts +23 -0
  1231. package/models/api-prospects-post400-response-details-inner.ts +21 -0
  1232. package/models/api-prospects-post400-response.ts +25 -0
  1233. package/models/api-prospects507f1f77bcf86cd799439033-get200-response.ts +30 -0
  1234. package/models/api-prospects507f1f77bcf86cd799439033-get404-response.ts +21 -0
  1235. package/models/api-prospects507f1f77bcf86cd799439033-put-request.ts +20 -0
  1236. package/models/api-reports-contacts-get200-response-by-origin.ts +22 -0
  1237. package/models/api-reports-contacts-get200-response-by-status.ts +21 -0
  1238. package/models/api-reports-contacts-get200-response.ts +32 -0
  1239. package/models/api-reports-nnm-summary-get200-response-period.ts +21 -0
  1240. package/models/api-reports-nnm-summary-get200-response-summary.ts +26 -0
  1241. package/models/api-reports-nnm-summary-get200-response.ts +27 -0
  1242. package/models/api-reports-stvm-summary-get200-response-stages-inner.ts +23 -0
  1243. package/models/api-reports-stvm-summary-get200-response.ts +27 -0
  1244. package/models/api-roles-get200-response-docs-inner.ts +27 -0
  1245. package/models/api-roles-get200-response.ts +27 -0
  1246. package/models/api-segmentation-rules-get200-response-data-inner.ts +25 -0
  1247. package/models/api-segmentation-rules-get200-response.ts +27 -0
  1248. package/models/api-sharing-rules-get200-response-data-inner.ts +25 -0
  1249. package/models/api-sharing-rules-get200-response.ts +27 -0
  1250. package/models/api-staffs-get200-response-docs-inner-role.ts +25 -0
  1251. package/models/api-staffs-get200-response-docs-inner-settings.ts +21 -0
  1252. package/models/api-staffs-get200-response-docs-inner.ts +41 -0
  1253. package/models/api-staffs-get200-response.ts +27 -0
  1254. package/models/api-staffs507f1f77bcf86cd799439180-get200-response.ts +39 -0
  1255. package/models/api-tasks-filters-get200-response-data-inner-filters.ts +21 -0
  1256. package/models/api-tasks-filters-get200-response-data-inner.ts +27 -0
  1257. package/models/api-tasks-filters-get200-response.ts +23 -0
  1258. package/models/api-tasks-get200-response-data-inner.ts +33 -0
  1259. package/models/api-tasks-get200-response.ts +27 -0
  1260. package/models/api-tasks-post-request.ts +21 -0
  1261. package/models/api-tasks-selected-finish-put200-response.ts +21 -0
  1262. package/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response-data-inner.ts +26 -0
  1263. package/models/api-tasks507f1f77bcf86cd799439100-messages-get200-response.ts +23 -0
  1264. package/models/api-tasks507f1f77bcf86cd799439100-put-request.ts +20 -0
  1265. package/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response-data-inner.ts +24 -0
  1266. package/models/api-tasks507f1f77bcf86cd799439100-todos-get200-response.ts +23 -0
  1267. package/models/api-tickets-get200-response-data-inner-status.ts +22 -0
  1268. package/models/api-tickets-get200-response-data-inner.ts +30 -0
  1269. package/models/api-tickets-get200-response.ts +27 -0
  1270. package/models/api-tickets-post-request.ts +20 -0
  1271. package/models/api-tickets-post201-response.ts +22 -0
  1272. package/models/api-tickets507f1f77bcf86cd799439130-get200-response-contact.ts +35 -0
  1273. package/models/api-tickets507f1f77bcf86cd799439130-get200-response-sender.ts +29 -0
  1274. package/models/api-tickets507f1f77bcf86cd799439130-get200-response-status.ts +30 -0
  1275. package/models/api-tickets507f1f77bcf86cd799439130-get200-response.ts +48 -0
  1276. package/models/api-tickets507f1f77bcf86cd799439130-put200-response-contact.ts +38 -0
  1277. package/models/api-tickets507f1f77bcf86cd799439130-put200-response.ts +46 -0
  1278. package/models/api-treatments-get200-response-data-inner.ts +30 -0
  1279. package/models/api-treatments-get200-response.ts +27 -0
  1280. package/models/api-treatments-post201-response.ts +22 -0
  1281. package/models/api-webhooks-get200-response-data-inner-stats.ts +21 -0
  1282. package/models/api-webhooks-get200-response-data-inner.ts +29 -0
  1283. package/models/api-webhooks-get200-response.ts +27 -0
  1284. package/models/api-webhooks507f1f77bcf86cd799439200-put-request.ts +21 -0
  1285. package/models/api-workspaces-get200-response-docs-inner.ts +27 -0
  1286. package/models/api-workspaces-get200-response.ts +27 -0
  1287. package/models/index.ts +143 -0
  1288. package/models/token-post200-response.ts +25 -0
  1289. package/models/userinfo-get200-response.ts +27 -0
  1290. package/package.json +37 -0
  1291. package/tsconfig.esm.json +7 -0
  1292. package/tsconfig.json +18 -0
@@ -0,0 +1,3951 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MagnetCustomer API Reference
5
+ * # MagnetCustomer API Reference Documentacao oficial da API REST do CRM MagnetCustomer. Esta referencia contem duas versoes da API: | Versao | Status | Descricao | |--------|--------|----------| | **v2 (Current)** | Ativa | Versao atual com 294 endpoints documentados | | **v1 (Legacy)** | Manutencao | Versao legado para tenants ainda nao migrados | ## Como Usar 1. Navegue para a versao desejada: **v2 (Current)** ou **v1 (Legacy)** 2. Configure as variaveis `subdomain`, `clientId` e `clientSecret` 3. O token OAuth2 sera renovado automaticamente pelo pre-request script ## Autenticacao (OAuth2) A API utiliza **OAuth2** com grant type `client_credentials` via Keycloak. **Token endpoint:** `https://magnetcustomer.net/realms/platform/protocol/openid-connect/token` ## Multi-tenancy Cada tenant e identificado pelo seu subdominio. URL base: ``` https://platform-api.{subdomain}.magnetcustomer.com/api/ ``` ## Paginacao Todas as listagens suportam paginacao: | Parametro | Default | Max | Descricao | |-----------|---------|-----|-----------| | `page` | 1 | - | Numero da pagina | | `limit` | 25 | 100 | Itens por pagina | | `sortBy` | - | - | Campo de ordenacao | | `sortType` | asc | - | `asc` ou `desc` | ## Integracoes - **Zapier:** Disponivel no marketplace — busque por \"MagnetCustomer\" - **n8n:** No nativo disponivel — busque por \"MagnetCustomer\" --- ## Changelog ### v1.3.0 (2026-04-14) **Wave 4 — Automacao, Jornadas e Segmentacao** - Campaigns: CRUD, actions, enable/disable (8 requests) - Process Automation: CRUD, entities, execution, folders, dry-run (13 requests) - Journeys: CRUD, phases, health score, MRR, milestones, expansion (13 requests) - Segmentation: segmentation rules, sharing rules, preview, simulate (9 requests) - Estrutura unificada: v1 (Legacy) + v2 (Current) no mesmo workspace - Total de requests: ~294 (v2) + ~40 (v1) ### v1.2.0 (2026-04-14) **Wave 3 — Novos modulos** - Email, Dashboards, Calendar, Reports (48 requests) ### v1.1.0 (2026-04-14) **Wave 2 — Sub-resources e operacoes em lote** - Filters, Messages, Todos, Batch Operations (78 requests) ### v1.0.0 (2026-04-14) **Lancamento inicial** - 125 requests em 6 modulos principais - OAuth2 com auto-refresh, 2 environments, documentacao publicada
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, RawAxiosRequestConfig } 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, replaceWithSerializableTypeIfNeeded } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ /**
25
+ * ResourcesApi - axios parameter creator
26
+ */
27
+ export const ResourcesApiAxiosParamCreator = function (configuration?: Configuration) {
28
+ return {
29
+ /**
30
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
31
+ * @summary Get One Contact
32
+ * @param {string} id
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ apiContactsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
37
+ // verify required parameter 'id' is not null or undefined
38
+ assertParamExists('apiContactsIdGet', 'id', id)
39
+ const localVarPath = `/api/contacts/{id}`
40
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
41
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43
+ let baseOptions;
44
+ if (configuration) {
45
+ baseOptions = configuration.baseOptions;
46
+ }
47
+
48
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
49
+ const localVarHeaderParameter = {} as any;
50
+ const localVarQueryParameter = {} as any;
51
+
52
+ // authentication OAuth2 required
53
+ // oauth required
54
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
55
+
56
+
57
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
58
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
60
+
61
+ return {
62
+ url: toPathString(localVarUrlObj),
63
+ options: localVarRequestOptions,
64
+ };
65
+ },
66
+ /**
67
+ *
68
+ * @summary Get One Block
69
+ * @param {string} id
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ apiCustomfieldblocksIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
74
+ // verify required parameter 'id' is not null or undefined
75
+ assertParamExists('apiCustomfieldblocksIdGet', 'id', id)
76
+ const localVarPath = `/api/customfieldblocks/{id}`
77
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
78
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
79
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80
+ let baseOptions;
81
+ if (configuration) {
82
+ baseOptions = configuration.baseOptions;
83
+ }
84
+
85
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
86
+ const localVarHeaderParameter = {} as any;
87
+ const localVarQueryParameter = {} as any;
88
+
89
+ // authentication OAuth2 required
90
+ // oauth required
91
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
92
+
93
+
94
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
95
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
97
+
98
+ return {
99
+ url: toPathString(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ },
103
+ /**
104
+ *
105
+ * @summary Update One Block
106
+ * @param {string} id
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ apiCustomfieldblocksIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
111
+ // verify required parameter 'id' is not null or undefined
112
+ assertParamExists('apiCustomfieldblocksIdPut', 'id', id)
113
+ const localVarPath = `/api/customfieldblocks/{id}`
114
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+
122
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
123
+ const localVarHeaderParameter = {} as any;
124
+ const localVarQueryParameter = {} as any;
125
+
126
+ // authentication OAuth2 required
127
+ // oauth required
128
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
129
+
130
+
131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
134
+
135
+ return {
136
+ url: toPathString(localVarUrlObj),
137
+ options: localVarRequestOptions,
138
+ };
139
+ },
140
+ /**
141
+ *
142
+ * @summary Create One Block
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ apiCustomfieldblocksPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ const localVarPath = `/api/customfieldblocks`;
148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
150
+ let baseOptions;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ }
154
+
155
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
156
+ const localVarHeaderParameter = {} as any;
157
+ const localVarQueryParameter = {} as any;
158
+
159
+ // authentication OAuth2 required
160
+ // oauth required
161
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
162
+
163
+
164
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
165
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
166
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
167
+
168
+ return {
169
+ url: toPathString(localVarUrlObj),
170
+ options: localVarRequestOptions,
171
+ };
172
+ },
173
+ /**
174
+ *
175
+ * @summary Get One Custom Field
176
+ * @param {string} id
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ apiCustomfieldsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
181
+ // verify required parameter 'id' is not null or undefined
182
+ assertParamExists('apiCustomfieldsIdGet', 'id', id)
183
+ const localVarPath = `/api/customfields/{id}`
184
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
186
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
187
+ let baseOptions;
188
+ if (configuration) {
189
+ baseOptions = configuration.baseOptions;
190
+ }
191
+
192
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
193
+ const localVarHeaderParameter = {} as any;
194
+ const localVarQueryParameter = {} as any;
195
+
196
+ // authentication OAuth2 required
197
+ // oauth required
198
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
199
+
200
+
201
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
202
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
203
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
204
+
205
+ return {
206
+ url: toPathString(localVarUrlObj),
207
+ options: localVarRequestOptions,
208
+ };
209
+ },
210
+ /**
211
+ *
212
+ * @summary Update One Custom Field
213
+ * @param {string} id
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ apiCustomfieldsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
218
+ // verify required parameter 'id' is not null or undefined
219
+ assertParamExists('apiCustomfieldsIdPut', 'id', id)
220
+ const localVarPath = `/api/customfields/{id}`
221
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
222
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
223
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
224
+ let baseOptions;
225
+ if (configuration) {
226
+ baseOptions = configuration.baseOptions;
227
+ }
228
+
229
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
230
+ const localVarHeaderParameter = {} as any;
231
+ const localVarQueryParameter = {} as any;
232
+
233
+ // authentication OAuth2 required
234
+ // oauth required
235
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
236
+
237
+
238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
239
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
241
+
242
+ return {
243
+ url: toPathString(localVarUrlObj),
244
+ options: localVarRequestOptions,
245
+ };
246
+ },
247
+ /**
248
+ *
249
+ * @summary List Widgets
250
+ * @param {string} dashboardId
251
+ * @param {*} [options] Override http request option.
252
+ * @throws {RequiredError}
253
+ */
254
+ apiDashboardsDashboardIdWidgetsGet: async (dashboardId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
255
+ // verify required parameter 'dashboardId' is not null or undefined
256
+ assertParamExists('apiDashboardsDashboardIdWidgetsGet', 'dashboardId', dashboardId)
257
+ const localVarPath = `/api/dashboards/{dashboard_id}/widgets`
258
+ .replace(`{${"dashboard_id"}}`, encodeURIComponent(String(dashboardId)));
259
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
260
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
261
+ let baseOptions;
262
+ if (configuration) {
263
+ baseOptions = configuration.baseOptions;
264
+ }
265
+
266
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
267
+ const localVarHeaderParameter = {} as any;
268
+ const localVarQueryParameter = {} as any;
269
+
270
+ // authentication OAuth2 required
271
+ // oauth required
272
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
273
+
274
+
275
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
276
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
277
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
278
+
279
+ return {
280
+ url: toPathString(localVarUrlObj),
281
+ options: localVarRequestOptions,
282
+ };
283
+ },
284
+ /**
285
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
286
+ * @summary Get One Deal
287
+ * @param {string} id
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ apiDealsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
292
+ // verify required parameter 'id' is not null or undefined
293
+ assertParamExists('apiDealsIdGet', 'id', id)
294
+ const localVarPath = `/api/deals/{id}`
295
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
296
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
297
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
298
+ let baseOptions;
299
+ if (configuration) {
300
+ baseOptions = configuration.baseOptions;
301
+ }
302
+
303
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
304
+ const localVarHeaderParameter = {} as any;
305
+ const localVarQueryParameter = {} as any;
306
+
307
+ // authentication OAuth2 required
308
+ // oauth required
309
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
310
+
311
+
312
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
313
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
314
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
315
+
316
+ return {
317
+ url: toPathString(localVarUrlObj),
318
+ options: localVarRequestOptions,
319
+ };
320
+ },
321
+ /**
322
+ * List meetings for a specific lead (by contact).
323
+ * @summary List Meetings by Lead
324
+ * @param {string} cONTACTID
325
+ * @param {number} [page]
326
+ * @param {number} [limit]
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ apiLeadsCONTACTIDMeetingsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
331
+ // verify required parameter 'cONTACTID' is not null or undefined
332
+ assertParamExists('apiLeadsCONTACTIDMeetingsGet', 'cONTACTID', cONTACTID)
333
+ const localVarPath = `/api/leads/{CONTACT_ID}/meetings`
334
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
335
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
336
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
337
+ let baseOptions;
338
+ if (configuration) {
339
+ baseOptions = configuration.baseOptions;
340
+ }
341
+
342
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
343
+ const localVarHeaderParameter = {} as any;
344
+ const localVarQueryParameter = {} as any;
345
+
346
+ // authentication OAuth2 required
347
+ // oauth required
348
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
349
+
350
+ if (page !== undefined) {
351
+ localVarQueryParameter['page'] = page;
352
+ }
353
+
354
+ if (limit !== undefined) {
355
+ localVarQueryParameter['limit'] = limit;
356
+ }
357
+
358
+
359
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
360
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
361
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
362
+
363
+ return {
364
+ url: toPathString(localVarUrlObj),
365
+ options: localVarRequestOptions,
366
+ };
367
+ },
368
+ /**
369
+ * List observations for a specific lead (by contact).
370
+ * @summary List Observations by Lead
371
+ * @param {string} cONTACTID
372
+ * @param {number} [page]
373
+ * @param {number} [limit]
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ apiLeadsCONTACTIDObservationsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
378
+ // verify required parameter 'cONTACTID' is not null or undefined
379
+ assertParamExists('apiLeadsCONTACTIDObservationsGet', 'cONTACTID', cONTACTID)
380
+ const localVarPath = `/api/leads/{CONTACT_ID}/observations`
381
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
382
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
383
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
384
+ let baseOptions;
385
+ if (configuration) {
386
+ baseOptions = configuration.baseOptions;
387
+ }
388
+
389
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
390
+ const localVarHeaderParameter = {} as any;
391
+ const localVarQueryParameter = {} as any;
392
+
393
+ // authentication OAuth2 required
394
+ // oauth required
395
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
396
+
397
+ if (page !== undefined) {
398
+ localVarQueryParameter['page'] = page;
399
+ }
400
+
401
+ if (limit !== undefined) {
402
+ localVarQueryParameter['limit'] = limit;
403
+ }
404
+
405
+
406
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
407
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
408
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
409
+
410
+ return {
411
+ url: toPathString(localVarUrlObj),
412
+ options: localVarRequestOptions,
413
+ };
414
+ },
415
+ /**
416
+ * List tasks for a specific lead (by contact).
417
+ * @summary List Tasks by Lead
418
+ * @param {string} cONTACTID
419
+ * @param {number} [page]
420
+ * @param {number} [limit]
421
+ * @param {*} [options] Override http request option.
422
+ * @throws {RequiredError}
423
+ */
424
+ apiLeadsCONTACTIDTasksGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
425
+ // verify required parameter 'cONTACTID' is not null or undefined
426
+ assertParamExists('apiLeadsCONTACTIDTasksGet', 'cONTACTID', cONTACTID)
427
+ const localVarPath = `/api/leads/{CONTACT_ID}/tasks`
428
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
429
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
430
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
431
+ let baseOptions;
432
+ if (configuration) {
433
+ baseOptions = configuration.baseOptions;
434
+ }
435
+
436
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
437
+ const localVarHeaderParameter = {} as any;
438
+ const localVarQueryParameter = {} as any;
439
+
440
+ // authentication OAuth2 required
441
+ // oauth required
442
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
443
+
444
+ if (page !== undefined) {
445
+ localVarQueryParameter['page'] = page;
446
+ }
447
+
448
+ if (limit !== undefined) {
449
+ localVarQueryParameter['limit'] = limit;
450
+ }
451
+
452
+
453
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
454
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
455
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
456
+
457
+ return {
458
+ url: toPathString(localVarUrlObj),
459
+ options: localVarRequestOptions,
460
+ };
461
+ },
462
+ /**
463
+ * List tickets for a specific lead (by contact).
464
+ * @summary List Tickets by Lead
465
+ * @param {string} cONTACTID
466
+ * @param {number} [page]
467
+ * @param {number} [limit]
468
+ * @param {*} [options] Override http request option.
469
+ * @throws {RequiredError}
470
+ */
471
+ apiLeadsCONTACTIDTicketsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
472
+ // verify required parameter 'cONTACTID' is not null or undefined
473
+ assertParamExists('apiLeadsCONTACTIDTicketsGet', 'cONTACTID', cONTACTID)
474
+ const localVarPath = `/api/leads/{CONTACT_ID}/tickets`
475
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
476
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
478
+ let baseOptions;
479
+ if (configuration) {
480
+ baseOptions = configuration.baseOptions;
481
+ }
482
+
483
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
484
+ const localVarHeaderParameter = {} as any;
485
+ const localVarQueryParameter = {} as any;
486
+
487
+ // authentication OAuth2 required
488
+ // oauth required
489
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
490
+
491
+ if (page !== undefined) {
492
+ localVarQueryParameter['page'] = page;
493
+ }
494
+
495
+ if (limit !== undefined) {
496
+ localVarQueryParameter['limit'] = limit;
497
+ }
498
+
499
+
500
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
501
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
502
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
503
+
504
+ return {
505
+ url: toPathString(localVarUrlObj),
506
+ options: localVarRequestOptions,
507
+ };
508
+ },
509
+ /**
510
+ * List treatments for a specific lead (by contact).
511
+ * @summary List Treatments by Lead
512
+ * @param {string} cONTACTID
513
+ * @param {number} [page]
514
+ * @param {number} [limit]
515
+ * @param {*} [options] Override http request option.
516
+ * @throws {RequiredError}
517
+ */
518
+ apiLeadsCONTACTIDTreatmentsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
519
+ // verify required parameter 'cONTACTID' is not null or undefined
520
+ assertParamExists('apiLeadsCONTACTIDTreatmentsGet', 'cONTACTID', cONTACTID)
521
+ const localVarPath = `/api/leads/{CONTACT_ID}/treatments`
522
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
523
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
524
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
525
+ let baseOptions;
526
+ if (configuration) {
527
+ baseOptions = configuration.baseOptions;
528
+ }
529
+
530
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
531
+ const localVarHeaderParameter = {} as any;
532
+ const localVarQueryParameter = {} as any;
533
+
534
+ // authentication OAuth2 required
535
+ // oauth required
536
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
537
+
538
+ if (page !== undefined) {
539
+ localVarQueryParameter['page'] = page;
540
+ }
541
+
542
+ if (limit !== undefined) {
543
+ localVarQueryParameter['limit'] = limit;
544
+ }
545
+
546
+
547
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
548
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
549
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
550
+
551
+ return {
552
+ url: toPathString(localVarUrlObj),
553
+ options: localVarRequestOptions,
554
+ };
555
+ },
556
+ /**
557
+ * Retrieves a specific lead by ID.
558
+ * @summary Get One Lead
559
+ * @param {string} id
560
+ * @param {*} [options] Override http request option.
561
+ * @throws {RequiredError}
562
+ */
563
+ apiLeadsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
564
+ // verify required parameter 'id' is not null or undefined
565
+ assertParamExists('apiLeadsIdGet', 'id', id)
566
+ const localVarPath = `/api/leads/{id}`
567
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
568
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
569
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
570
+ let baseOptions;
571
+ if (configuration) {
572
+ baseOptions = configuration.baseOptions;
573
+ }
574
+
575
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
576
+ const localVarHeaderParameter = {} as any;
577
+ const localVarQueryParameter = {} as any;
578
+
579
+ // authentication OAuth2 required
580
+ // oauth required
581
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
582
+
583
+
584
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
585
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
586
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
587
+
588
+ return {
589
+ url: toPathString(localVarUrlObj),
590
+ options: localVarRequestOptions,
591
+ };
592
+ },
593
+ /**
594
+ *
595
+ * @summary Update One Lead
596
+ * @param {string} id
597
+ * @param {*} [options] Override http request option.
598
+ * @throws {RequiredError}
599
+ */
600
+ apiLeadsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
601
+ // verify required parameter 'id' is not null or undefined
602
+ assertParamExists('apiLeadsIdPut', 'id', id)
603
+ const localVarPath = `/api/leads/{id}`
604
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
605
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
606
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
607
+ let baseOptions;
608
+ if (configuration) {
609
+ baseOptions = configuration.baseOptions;
610
+ }
611
+
612
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
613
+ const localVarHeaderParameter = {} as any;
614
+ const localVarQueryParameter = {} as any;
615
+
616
+ // authentication OAuth2 required
617
+ // oauth required
618
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
619
+
620
+
621
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
622
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
623
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
624
+
625
+ return {
626
+ url: toPathString(localVarUrlObj),
627
+ options: localVarRequestOptions,
628
+ };
629
+ },
630
+ /**
631
+ *
632
+ * @summary Get One Meeting
633
+ * @param {string} id
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ */
637
+ apiMeetingsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
638
+ // verify required parameter 'id' is not null or undefined
639
+ assertParamExists('apiMeetingsIdGet', 'id', id)
640
+ const localVarPath = `/api/meetings/{id}`
641
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
642
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
643
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
644
+ let baseOptions;
645
+ if (configuration) {
646
+ baseOptions = configuration.baseOptions;
647
+ }
648
+
649
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
650
+ const localVarHeaderParameter = {} as any;
651
+ const localVarQueryParameter = {} as any;
652
+
653
+ // authentication OAuth2 required
654
+ // oauth required
655
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
656
+
657
+
658
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
659
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
660
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
661
+
662
+ return {
663
+ url: toPathString(localVarUrlObj),
664
+ options: localVarRequestOptions,
665
+ };
666
+ },
667
+ /**
668
+ *
669
+ * @summary Update One Meeting
670
+ * @param {string} id
671
+ * @param {*} [options] Override http request option.
672
+ * @throws {RequiredError}
673
+ */
674
+ apiMeetingsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
675
+ // verify required parameter 'id' is not null or undefined
676
+ assertParamExists('apiMeetingsIdPut', 'id', id)
677
+ const localVarPath = `/api/meetings/{id}`
678
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
679
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
680
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
681
+ let baseOptions;
682
+ if (configuration) {
683
+ baseOptions = configuration.baseOptions;
684
+ }
685
+
686
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
687
+ const localVarHeaderParameter = {} as any;
688
+ const localVarQueryParameter = {} as any;
689
+
690
+ // authentication OAuth2 required
691
+ // oauth required
692
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
693
+
694
+
695
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
696
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
697
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
698
+
699
+ return {
700
+ url: toPathString(localVarUrlObj),
701
+ options: localVarRequestOptions,
702
+ };
703
+ },
704
+ /**
705
+ *
706
+ * @summary List Meeting Rooms
707
+ * @param {number} [page]
708
+ * @param {number} [limit]
709
+ * @param {string} [search]
710
+ * @param {*} [options] Override http request option.
711
+ * @throws {RequiredError}
712
+ */
713
+ apiMeetingsRoomsGet: async (page?: number, limit?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
714
+ const localVarPath = `/api/meetings/rooms`;
715
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
716
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
717
+ let baseOptions;
718
+ if (configuration) {
719
+ baseOptions = configuration.baseOptions;
720
+ }
721
+
722
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
723
+ const localVarHeaderParameter = {} as any;
724
+ const localVarQueryParameter = {} as any;
725
+
726
+ // authentication OAuth2 required
727
+ // oauth required
728
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
729
+
730
+ if (page !== undefined) {
731
+ localVarQueryParameter['page'] = page;
732
+ }
733
+
734
+ if (limit !== undefined) {
735
+ localVarQueryParameter['limit'] = limit;
736
+ }
737
+
738
+ if (search !== undefined) {
739
+ localVarQueryParameter['search'] = search;
740
+ }
741
+
742
+
743
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
744
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
745
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
746
+
747
+ return {
748
+ url: toPathString(localVarUrlObj),
749
+ options: localVarRequestOptions,
750
+ };
751
+ },
752
+ /**
753
+ *
754
+ * @summary Get One Meeting Room
755
+ * @param {string} id
756
+ * @param {*} [options] Override http request option.
757
+ * @throws {RequiredError}
758
+ */
759
+ apiMeetingsRoomsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
760
+ // verify required parameter 'id' is not null or undefined
761
+ assertParamExists('apiMeetingsRoomsIdGet', 'id', id)
762
+ const localVarPath = `/api/meetings/rooms/{id}`
763
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
764
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
765
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
766
+ let baseOptions;
767
+ if (configuration) {
768
+ baseOptions = configuration.baseOptions;
769
+ }
770
+
771
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
772
+ const localVarHeaderParameter = {} as any;
773
+ const localVarQueryParameter = {} as any;
774
+
775
+ // authentication OAuth2 required
776
+ // oauth required
777
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
778
+
779
+
780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
782
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
783
+
784
+ return {
785
+ url: toPathString(localVarUrlObj),
786
+ options: localVarRequestOptions,
787
+ };
788
+ },
789
+ /**
790
+ *
791
+ * @summary Update One Meeting Room
792
+ * @param {string} id
793
+ * @param {*} [options] Override http request option.
794
+ * @throws {RequiredError}
795
+ */
796
+ apiMeetingsRoomsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
797
+ // verify required parameter 'id' is not null or undefined
798
+ assertParamExists('apiMeetingsRoomsIdPut', 'id', id)
799
+ const localVarPath = `/api/meetings/rooms/{id}`
800
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
801
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
802
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
803
+ let baseOptions;
804
+ if (configuration) {
805
+ baseOptions = configuration.baseOptions;
806
+ }
807
+
808
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
809
+ const localVarHeaderParameter = {} as any;
810
+ const localVarQueryParameter = {} as any;
811
+
812
+ // authentication OAuth2 required
813
+ // oauth required
814
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
815
+
816
+
817
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
818
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
819
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
820
+
821
+ return {
822
+ url: toPathString(localVarUrlObj),
823
+ options: localVarRequestOptions,
824
+ };
825
+ },
826
+ /**
827
+ *
828
+ * @summary Create One Meeting Room
829
+ * @param {*} [options] Override http request option.
830
+ * @throws {RequiredError}
831
+ */
832
+ apiMeetingsRoomsPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
833
+ const localVarPath = `/api/meetings/rooms`;
834
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
835
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
836
+ let baseOptions;
837
+ if (configuration) {
838
+ baseOptions = configuration.baseOptions;
839
+ }
840
+
841
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
842
+ const localVarHeaderParameter = {} as any;
843
+ const localVarQueryParameter = {} as any;
844
+
845
+ // authentication OAuth2 required
846
+ // oauth required
847
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
848
+
849
+
850
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
851
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
852
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
853
+
854
+ return {
855
+ url: toPathString(localVarUrlObj),
856
+ options: localVarRequestOptions,
857
+ };
858
+ },
859
+ /**
860
+ *
861
+ * @summary List Meeting Types
862
+ * @param {number} [page]
863
+ * @param {number} [limit]
864
+ * @param {string} [search]
865
+ * @param {*} [options] Override http request option.
866
+ * @throws {RequiredError}
867
+ */
868
+ apiMeetingsTypesGet: async (page?: number, limit?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
869
+ const localVarPath = `/api/meetings/types`;
870
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
871
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
872
+ let baseOptions;
873
+ if (configuration) {
874
+ baseOptions = configuration.baseOptions;
875
+ }
876
+
877
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
878
+ const localVarHeaderParameter = {} as any;
879
+ const localVarQueryParameter = {} as any;
880
+
881
+ // authentication OAuth2 required
882
+ // oauth required
883
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
884
+
885
+ if (page !== undefined) {
886
+ localVarQueryParameter['page'] = page;
887
+ }
888
+
889
+ if (limit !== undefined) {
890
+ localVarQueryParameter['limit'] = limit;
891
+ }
892
+
893
+ if (search !== undefined) {
894
+ localVarQueryParameter['search'] = search;
895
+ }
896
+
897
+
898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
900
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
901
+
902
+ return {
903
+ url: toPathString(localVarUrlObj),
904
+ options: localVarRequestOptions,
905
+ };
906
+ },
907
+ /**
908
+ *
909
+ * @summary Get One Meeting Type
910
+ * @param {string} id
911
+ * @param {*} [options] Override http request option.
912
+ * @throws {RequiredError}
913
+ */
914
+ apiMeetingsTypesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
915
+ // verify required parameter 'id' is not null or undefined
916
+ assertParamExists('apiMeetingsTypesIdGet', 'id', id)
917
+ const localVarPath = `/api/meetings/types/{id}`
918
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
919
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
920
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
921
+ let baseOptions;
922
+ if (configuration) {
923
+ baseOptions = configuration.baseOptions;
924
+ }
925
+
926
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
927
+ const localVarHeaderParameter = {} as any;
928
+ const localVarQueryParameter = {} as any;
929
+
930
+ // authentication OAuth2 required
931
+ // oauth required
932
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
933
+
934
+
935
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
936
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
937
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
938
+
939
+ return {
940
+ url: toPathString(localVarUrlObj),
941
+ options: localVarRequestOptions,
942
+ };
943
+ },
944
+ /**
945
+ *
946
+ * @summary Update One Meeting Type
947
+ * @param {string} id
948
+ * @param {*} [options] Override http request option.
949
+ * @throws {RequiredError}
950
+ */
951
+ apiMeetingsTypesIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
952
+ // verify required parameter 'id' is not null or undefined
953
+ assertParamExists('apiMeetingsTypesIdPut', 'id', id)
954
+ const localVarPath = `/api/meetings/types/{id}`
955
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
957
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
958
+ let baseOptions;
959
+ if (configuration) {
960
+ baseOptions = configuration.baseOptions;
961
+ }
962
+
963
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
964
+ const localVarHeaderParameter = {} as any;
965
+ const localVarQueryParameter = {} as any;
966
+
967
+ // authentication OAuth2 required
968
+ // oauth required
969
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
970
+
971
+
972
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
973
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
974
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
975
+
976
+ return {
977
+ url: toPathString(localVarUrlObj),
978
+ options: localVarRequestOptions,
979
+ };
980
+ },
981
+ /**
982
+ *
983
+ * @summary Create One Meeting Type
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ apiMeetingsTypesPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
988
+ const localVarPath = `/api/meetings/types`;
989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
991
+ let baseOptions;
992
+ if (configuration) {
993
+ baseOptions = configuration.baseOptions;
994
+ }
995
+
996
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
997
+ const localVarHeaderParameter = {} as any;
998
+ const localVarQueryParameter = {} as any;
999
+
1000
+ // authentication OAuth2 required
1001
+ // oauth required
1002
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1003
+
1004
+
1005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1008
+
1009
+ return {
1010
+ url: toPathString(localVarUrlObj),
1011
+ options: localVarRequestOptions,
1012
+ };
1013
+ },
1014
+ /**
1015
+ * This endpoint makes an HTTP GET request to retrieve a specific organization by ID. The response is a JSON object with the organization details including `_id`, `customFields`, `labels`, `fullname`, `doc`, `phones`, `owners`, `interactions`, `createdAt`, `updatedAt`.
1016
+ * @summary Get One Organization
1017
+ * @param {string} id
1018
+ * @param {*} [options] Override http request option.
1019
+ * @throws {RequiredError}
1020
+ */
1021
+ apiOrganizationsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1022
+ // verify required parameter 'id' is not null or undefined
1023
+ assertParamExists('apiOrganizationsIdGet', 'id', id)
1024
+ const localVarPath = `/api/organizations/{id}`
1025
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1026
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1027
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1028
+ let baseOptions;
1029
+ if (configuration) {
1030
+ baseOptions = configuration.baseOptions;
1031
+ }
1032
+
1033
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1034
+ const localVarHeaderParameter = {} as any;
1035
+ const localVarQueryParameter = {} as any;
1036
+
1037
+ // authentication OAuth2 required
1038
+ // oauth required
1039
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1040
+
1041
+
1042
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1044
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1045
+
1046
+ return {
1047
+ url: toPathString(localVarUrlObj),
1048
+ options: localVarRequestOptions,
1049
+ };
1050
+ },
1051
+ /**
1052
+ * Atualiza os dados de uma organização existente.
1053
+ * @summary Update One Organization
1054
+ * @param {string} id
1055
+ * @param {object} [body]
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ */
1059
+ apiOrganizationsIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1060
+ // verify required parameter 'id' is not null or undefined
1061
+ assertParamExists('apiOrganizationsIdPut', 'id', id)
1062
+ const localVarPath = `/api/organizations/{id}`
1063
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1064
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1065
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1066
+ let baseOptions;
1067
+ if (configuration) {
1068
+ baseOptions = configuration.baseOptions;
1069
+ }
1070
+
1071
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1072
+ const localVarHeaderParameter = {} as any;
1073
+ const localVarQueryParameter = {} as any;
1074
+
1075
+ // authentication OAuth2 required
1076
+ // oauth required
1077
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1078
+
1079
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1080
+
1081
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1082
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1083
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1084
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1085
+
1086
+ return {
1087
+ url: toPathString(localVarUrlObj),
1088
+ options: localVarRequestOptions,
1089
+ };
1090
+ },
1091
+ /**
1092
+ * Retrieves a specific pipeline by ID. Response is a JSON object with pipeline details including `_id`, `title`, `stages` (array with stage names, positions, probabilities), `staffs`, `roles`, `defaultView`, `active`, `createdAt`, `updatedAt`.
1093
+ * @summary Get One Pipeline
1094
+ * @param {string} id
1095
+ * @param {*} [options] Override http request option.
1096
+ * @throws {RequiredError}
1097
+ */
1098
+ apiPipelinesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1099
+ // verify required parameter 'id' is not null or undefined
1100
+ assertParamExists('apiPipelinesIdGet', 'id', id)
1101
+ const localVarPath = `/api/pipelines/{id}`
1102
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1104
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1105
+ let baseOptions;
1106
+ if (configuration) {
1107
+ baseOptions = configuration.baseOptions;
1108
+ }
1109
+
1110
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1111
+ const localVarHeaderParameter = {} as any;
1112
+ const localVarQueryParameter = {} as any;
1113
+
1114
+ // authentication OAuth2 required
1115
+ // oauth required
1116
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1117
+
1118
+
1119
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1120
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1121
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1122
+
1123
+ return {
1124
+ url: toPathString(localVarUrlObj),
1125
+ options: localVarRequestOptions,
1126
+ };
1127
+ },
1128
+ /**
1129
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
1130
+ * @summary Update One Pipeline
1131
+ * @param {string} id
1132
+ * @param {object} [body]
1133
+ * @param {*} [options] Override http request option.
1134
+ * @throws {RequiredError}
1135
+ */
1136
+ apiPipelinesIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1137
+ // verify required parameter 'id' is not null or undefined
1138
+ assertParamExists('apiPipelinesIdPut', 'id', id)
1139
+ const localVarPath = `/api/pipelines/{id}`
1140
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1141
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1142
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1143
+ let baseOptions;
1144
+ if (configuration) {
1145
+ baseOptions = configuration.baseOptions;
1146
+ }
1147
+
1148
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1149
+ const localVarHeaderParameter = {} as any;
1150
+ const localVarQueryParameter = {} as any;
1151
+
1152
+ // authentication OAuth2 required
1153
+ // oauth required
1154
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1155
+
1156
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1157
+
1158
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1159
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1160
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1161
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1162
+
1163
+ return {
1164
+ url: toPathString(localVarUrlObj),
1165
+ options: localVarRequestOptions,
1166
+ };
1167
+ },
1168
+ /**
1169
+ * List meetings for a specific prospect (by contact).
1170
+ * @summary List Meetings by Prospect
1171
+ * @param {string} cONTACTID
1172
+ * @param {number} [page]
1173
+ * @param {number} [limit]
1174
+ * @param {*} [options] Override http request option.
1175
+ * @throws {RequiredError}
1176
+ */
1177
+ apiProspectsCONTACTIDMeetingsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1178
+ // verify required parameter 'cONTACTID' is not null or undefined
1179
+ assertParamExists('apiProspectsCONTACTIDMeetingsGet', 'cONTACTID', cONTACTID)
1180
+ const localVarPath = `/api/prospects/{CONTACT_ID}/meetings`
1181
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1182
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1183
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1184
+ let baseOptions;
1185
+ if (configuration) {
1186
+ baseOptions = configuration.baseOptions;
1187
+ }
1188
+
1189
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1190
+ const localVarHeaderParameter = {} as any;
1191
+ const localVarQueryParameter = {} as any;
1192
+
1193
+ // authentication OAuth2 required
1194
+ // oauth required
1195
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1196
+
1197
+ if (page !== undefined) {
1198
+ localVarQueryParameter['page'] = page;
1199
+ }
1200
+
1201
+ if (limit !== undefined) {
1202
+ localVarQueryParameter['limit'] = limit;
1203
+ }
1204
+
1205
+
1206
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1207
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1208
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1209
+
1210
+ return {
1211
+ url: toPathString(localVarUrlObj),
1212
+ options: localVarRequestOptions,
1213
+ };
1214
+ },
1215
+ /**
1216
+ * List observations for a specific prospect (by contact).
1217
+ * @summary List Observations by Prospect
1218
+ * @param {string} cONTACTID
1219
+ * @param {number} [page]
1220
+ * @param {number} [limit]
1221
+ * @param {*} [options] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ */
1224
+ apiProspectsCONTACTIDObservationsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1225
+ // verify required parameter 'cONTACTID' is not null or undefined
1226
+ assertParamExists('apiProspectsCONTACTIDObservationsGet', 'cONTACTID', cONTACTID)
1227
+ const localVarPath = `/api/prospects/{CONTACT_ID}/observations`
1228
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1229
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1230
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1231
+ let baseOptions;
1232
+ if (configuration) {
1233
+ baseOptions = configuration.baseOptions;
1234
+ }
1235
+
1236
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1237
+ const localVarHeaderParameter = {} as any;
1238
+ const localVarQueryParameter = {} as any;
1239
+
1240
+ // authentication OAuth2 required
1241
+ // oauth required
1242
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1243
+
1244
+ if (page !== undefined) {
1245
+ localVarQueryParameter['page'] = page;
1246
+ }
1247
+
1248
+ if (limit !== undefined) {
1249
+ localVarQueryParameter['limit'] = limit;
1250
+ }
1251
+
1252
+
1253
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1255
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1256
+
1257
+ return {
1258
+ url: toPathString(localVarUrlObj),
1259
+ options: localVarRequestOptions,
1260
+ };
1261
+ },
1262
+ /**
1263
+ * List tasks for a specific prospect (by contact).
1264
+ * @summary List Tasks by Prospect
1265
+ * @param {string} cONTACTID
1266
+ * @param {number} [page]
1267
+ * @param {number} [limit]
1268
+ * @param {*} [options] Override http request option.
1269
+ * @throws {RequiredError}
1270
+ */
1271
+ apiProspectsCONTACTIDTasksGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1272
+ // verify required parameter 'cONTACTID' is not null or undefined
1273
+ assertParamExists('apiProspectsCONTACTIDTasksGet', 'cONTACTID', cONTACTID)
1274
+ const localVarPath = `/api/prospects/{CONTACT_ID}/tasks`
1275
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1276
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1277
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1278
+ let baseOptions;
1279
+ if (configuration) {
1280
+ baseOptions = configuration.baseOptions;
1281
+ }
1282
+
1283
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1284
+ const localVarHeaderParameter = {} as any;
1285
+ const localVarQueryParameter = {} as any;
1286
+
1287
+ // authentication OAuth2 required
1288
+ // oauth required
1289
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1290
+
1291
+ if (page !== undefined) {
1292
+ localVarQueryParameter['page'] = page;
1293
+ }
1294
+
1295
+ if (limit !== undefined) {
1296
+ localVarQueryParameter['limit'] = limit;
1297
+ }
1298
+
1299
+
1300
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1302
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1303
+
1304
+ return {
1305
+ url: toPathString(localVarUrlObj),
1306
+ options: localVarRequestOptions,
1307
+ };
1308
+ },
1309
+ /**
1310
+ * List tickets for a specific prospect (by contact).
1311
+ * @summary List Tickets by Prospect
1312
+ * @param {string} cONTACTID
1313
+ * @param {number} [page]
1314
+ * @param {number} [limit]
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ apiProspectsCONTACTIDTicketsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1319
+ // verify required parameter 'cONTACTID' is not null or undefined
1320
+ assertParamExists('apiProspectsCONTACTIDTicketsGet', 'cONTACTID', cONTACTID)
1321
+ const localVarPath = `/api/prospects/{CONTACT_ID}/tickets`
1322
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1323
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1324
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1325
+ let baseOptions;
1326
+ if (configuration) {
1327
+ baseOptions = configuration.baseOptions;
1328
+ }
1329
+
1330
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1331
+ const localVarHeaderParameter = {} as any;
1332
+ const localVarQueryParameter = {} as any;
1333
+
1334
+ // authentication OAuth2 required
1335
+ // oauth required
1336
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1337
+
1338
+ if (page !== undefined) {
1339
+ localVarQueryParameter['page'] = page;
1340
+ }
1341
+
1342
+ if (limit !== undefined) {
1343
+ localVarQueryParameter['limit'] = limit;
1344
+ }
1345
+
1346
+
1347
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1348
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1349
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1350
+
1351
+ return {
1352
+ url: toPathString(localVarUrlObj),
1353
+ options: localVarRequestOptions,
1354
+ };
1355
+ },
1356
+ /**
1357
+ * List treatments for a specific prospect (by contact).
1358
+ * @summary List Treatments by Prospect
1359
+ * @param {string} cONTACTID
1360
+ * @param {number} [page]
1361
+ * @param {number} [limit]
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ apiProspectsCONTACTIDTreatmentsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1366
+ // verify required parameter 'cONTACTID' is not null or undefined
1367
+ assertParamExists('apiProspectsCONTACTIDTreatmentsGet', 'cONTACTID', cONTACTID)
1368
+ const localVarPath = `/api/prospects/{CONTACT_ID}/treatments`
1369
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1370
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1371
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1372
+ let baseOptions;
1373
+ if (configuration) {
1374
+ baseOptions = configuration.baseOptions;
1375
+ }
1376
+
1377
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1378
+ const localVarHeaderParameter = {} as any;
1379
+ const localVarQueryParameter = {} as any;
1380
+
1381
+ // authentication OAuth2 required
1382
+ // oauth required
1383
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1384
+
1385
+ if (page !== undefined) {
1386
+ localVarQueryParameter['page'] = page;
1387
+ }
1388
+
1389
+ if (limit !== undefined) {
1390
+ localVarQueryParameter['limit'] = limit;
1391
+ }
1392
+
1393
+
1394
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1395
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1396
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1397
+
1398
+ return {
1399
+ url: toPathString(localVarUrlObj),
1400
+ options: localVarRequestOptions,
1401
+ };
1402
+ },
1403
+ /**
1404
+ * Retrieves a specific prospect by ID.
1405
+ * @summary Get One Prospect
1406
+ * @param {string} id
1407
+ * @param {*} [options] Override http request option.
1408
+ * @throws {RequiredError}
1409
+ */
1410
+ apiProspectsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1411
+ // verify required parameter 'id' is not null or undefined
1412
+ assertParamExists('apiProspectsIdGet', 'id', id)
1413
+ const localVarPath = `/api/prospects/{id}`
1414
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1415
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1416
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1417
+ let baseOptions;
1418
+ if (configuration) {
1419
+ baseOptions = configuration.baseOptions;
1420
+ }
1421
+
1422
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1423
+ const localVarHeaderParameter = {} as any;
1424
+ const localVarQueryParameter = {} as any;
1425
+
1426
+ // authentication OAuth2 required
1427
+ // oauth required
1428
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1429
+
1430
+
1431
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1432
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1433
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1434
+
1435
+ return {
1436
+ url: toPathString(localVarUrlObj),
1437
+ options: localVarRequestOptions,
1438
+ };
1439
+ },
1440
+ /**
1441
+ *
1442
+ * @summary Update One Prospect
1443
+ * @param {string} id
1444
+ * @param {*} [options] Override http request option.
1445
+ * @throws {RequiredError}
1446
+ */
1447
+ apiProspectsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1448
+ // verify required parameter 'id' is not null or undefined
1449
+ assertParamExists('apiProspectsIdPut', 'id', id)
1450
+ const localVarPath = `/api/prospects/{id}`
1451
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1452
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1453
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1454
+ let baseOptions;
1455
+ if (configuration) {
1456
+ baseOptions = configuration.baseOptions;
1457
+ }
1458
+
1459
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1460
+ const localVarHeaderParameter = {} as any;
1461
+ const localVarQueryParameter = {} as any;
1462
+
1463
+ // authentication OAuth2 required
1464
+ // oauth required
1465
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1466
+
1467
+
1468
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1470
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1471
+
1472
+ return {
1473
+ url: toPathString(localVarUrlObj),
1474
+ options: localVarRequestOptions,
1475
+ };
1476
+ },
1477
+ /**
1478
+ * ### Get Staff Details This endpoint makes an HTTP GET request to retrieve the details of a specific staff member. #### Request - Method: GET - URL: `{{base_url}}/api/staffs/:id` #### Response The response includes the staff member details: `_id`, `email`, `active`, `admin`, `customFields`, `fullname`, `image`, `role`, `settings`, `status`, `type`, `lastLogin`, `createdAt`, `updatedAt`.
1479
+ * @summary Get One Staff
1480
+ * @param {string} id
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ */
1484
+ apiStaffsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1485
+ // verify required parameter 'id' is not null or undefined
1486
+ assertParamExists('apiStaffsIdGet', 'id', id)
1487
+ const localVarPath = `/api/staffs/{id}`
1488
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1489
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1490
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1491
+ let baseOptions;
1492
+ if (configuration) {
1493
+ baseOptions = configuration.baseOptions;
1494
+ }
1495
+
1496
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1497
+ const localVarHeaderParameter = {} as any;
1498
+ const localVarQueryParameter = {} as any;
1499
+
1500
+ // authentication OAuth2 required
1501
+ // oauth required
1502
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1503
+
1504
+
1505
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1507
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1508
+
1509
+ return {
1510
+ url: toPathString(localVarUrlObj),
1511
+ options: localVarRequestOptions,
1512
+ };
1513
+ },
1514
+ /**
1515
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
1516
+ * @summary Update One Staff
1517
+ * @param {string} id
1518
+ * @param {object} [body]
1519
+ * @param {*} [options] Override http request option.
1520
+ * @throws {RequiredError}
1521
+ */
1522
+ apiStaffsIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1523
+ // verify required parameter 'id' is not null or undefined
1524
+ assertParamExists('apiStaffsIdPut', 'id', id)
1525
+ const localVarPath = `/api/staffs/{id}`
1526
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1527
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1528
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1529
+ let baseOptions;
1530
+ if (configuration) {
1531
+ baseOptions = configuration.baseOptions;
1532
+ }
1533
+
1534
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1535
+ const localVarHeaderParameter = {} as any;
1536
+ const localVarQueryParameter = {} as any;
1537
+
1538
+ // authentication OAuth2 required
1539
+ // oauth required
1540
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1541
+
1542
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1543
+
1544
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1545
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1546
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1547
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1548
+
1549
+ return {
1550
+ url: toPathString(localVarUrlObj),
1551
+ options: localVarRequestOptions,
1552
+ };
1553
+ },
1554
+ /**
1555
+ * ### Create a New Staff Member This endpoint allows the creation of a new staff member. #### Request Body - `customFields` (array of objects) - Custom fields for the staff member. - `fullname` (string) - The full name of the staff member. - `email` (string) - The email address of the staff member. - `phone` (string) - The phone number of the staff member. - `role` (string) - The role ID assigned to the staff member. - `workspaces` (array) - The workspaces the staff member belongs to. The staff member will receive an invitation email to set their password.
1556
+ * @summary Create One Staff
1557
+ * @param {object} [body]
1558
+ * @param {*} [options] Override http request option.
1559
+ * @throws {RequiredError}
1560
+ */
1561
+ apiStaffsPost: async (body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1562
+ const localVarPath = `/api/staffs`;
1563
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1564
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1565
+ let baseOptions;
1566
+ if (configuration) {
1567
+ baseOptions = configuration.baseOptions;
1568
+ }
1569
+
1570
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1571
+ const localVarHeaderParameter = {} as any;
1572
+ const localVarQueryParameter = {} as any;
1573
+
1574
+ // authentication OAuth2 required
1575
+ // oauth required
1576
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1577
+
1578
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1579
+
1580
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1581
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1582
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1583
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1584
+
1585
+ return {
1586
+ url: toPathString(localVarUrlObj),
1587
+ options: localVarRequestOptions,
1588
+ };
1589
+ },
1590
+ /**
1591
+ * This endpoint retrieves a specific task by ID. Response is a JSON object with task details including `_id`, `code`, `owner`, `title`, `dateOfExpires`, `type`, `status`, `observation`, `contact`, `deal`, `createdAt`, `updatedAt`.
1592
+ * @summary Get One Task
1593
+ * @param {string} id
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ */
1597
+ apiTasksIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1598
+ // verify required parameter 'id' is not null or undefined
1599
+ assertParamExists('apiTasksIdGet', 'id', id)
1600
+ const localVarPath = `/api/tasks/{id}`
1601
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1602
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1603
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1604
+ let baseOptions;
1605
+ if (configuration) {
1606
+ baseOptions = configuration.baseOptions;
1607
+ }
1608
+
1609
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1610
+ const localVarHeaderParameter = {} as any;
1611
+ const localVarQueryParameter = {} as any;
1612
+
1613
+ // authentication OAuth2 required
1614
+ // oauth required
1615
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1616
+
1617
+
1618
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1619
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1620
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1621
+
1622
+ return {
1623
+ url: toPathString(localVarUrlObj),
1624
+ options: localVarRequestOptions,
1625
+ };
1626
+ },
1627
+ /**
1628
+ * Atualiza os dados de uma tarefa existente.
1629
+ * @summary Update One Task
1630
+ * @param {string} id
1631
+ * @param {object} [body]
1632
+ * @param {*} [options] Override http request option.
1633
+ * @throws {RequiredError}
1634
+ */
1635
+ apiTasksIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1636
+ // verify required parameter 'id' is not null or undefined
1637
+ assertParamExists('apiTasksIdPut', 'id', id)
1638
+ const localVarPath = `/api/tasks/{id}`
1639
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1640
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1641
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1642
+ let baseOptions;
1643
+ if (configuration) {
1644
+ baseOptions = configuration.baseOptions;
1645
+ }
1646
+
1647
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1648
+ const localVarHeaderParameter = {} as any;
1649
+ const localVarQueryParameter = {} as any;
1650
+
1651
+ // authentication OAuth2 required
1652
+ // oauth required
1653
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1654
+
1655
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1656
+
1657
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1658
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1659
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1660
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1661
+
1662
+ return {
1663
+ url: toPathString(localVarUrlObj),
1664
+ options: localVarRequestOptions,
1665
+ };
1666
+ },
1667
+ /**
1668
+ * Retrieves a specific ticket by ID. Response is a JSON object with ticket details including `_id`, `code`, `subject`, `description`, `status`, `priority`, `labels`, `contact`, `owner`, `participants`, `observers`, `createdAt`, `updatedAt`.
1669
+ * @summary Get One Ticket
1670
+ * @param {string} id
1671
+ * @param {*} [options] Override http request option.
1672
+ * @throws {RequiredError}
1673
+ */
1674
+ apiTicketsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1675
+ // verify required parameter 'id' is not null or undefined
1676
+ assertParamExists('apiTicketsIdGet', 'id', id)
1677
+ const localVarPath = `/api/tickets/{id}`
1678
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1679
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1680
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1681
+ let baseOptions;
1682
+ if (configuration) {
1683
+ baseOptions = configuration.baseOptions;
1684
+ }
1685
+
1686
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1687
+ const localVarHeaderParameter = {} as any;
1688
+ const localVarQueryParameter = {} as any;
1689
+
1690
+ // authentication OAuth2 required
1691
+ // oauth required
1692
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1693
+
1694
+
1695
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1696
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1697
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1698
+
1699
+ return {
1700
+ url: toPathString(localVarUrlObj),
1701
+ options: localVarRequestOptions,
1702
+ };
1703
+ },
1704
+ /**
1705
+ * Atualiza os dados de um ticket existente.
1706
+ * @summary Update One Ticket
1707
+ * @param {string} id
1708
+ * @param {object} [body]
1709
+ * @param {*} [options] Override http request option.
1710
+ * @throws {RequiredError}
1711
+ */
1712
+ apiTicketsIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1713
+ // verify required parameter 'id' is not null or undefined
1714
+ assertParamExists('apiTicketsIdPut', 'id', id)
1715
+ const localVarPath = `/api/tickets/{id}`
1716
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1717
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1718
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1719
+ let baseOptions;
1720
+ if (configuration) {
1721
+ baseOptions = configuration.baseOptions;
1722
+ }
1723
+
1724
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1725
+ const localVarHeaderParameter = {} as any;
1726
+ const localVarQueryParameter = {} as any;
1727
+
1728
+ // authentication OAuth2 required
1729
+ // oauth required
1730
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1731
+
1732
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1733
+
1734
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1735
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1736
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1737
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1738
+
1739
+ return {
1740
+ url: toPathString(localVarUrlObj),
1741
+ options: localVarRequestOptions,
1742
+ };
1743
+ },
1744
+ /**
1745
+ *
1746
+ * @summary Get One Treatment
1747
+ * @param {string} id
1748
+ * @param {*} [options] Override http request option.
1749
+ * @throws {RequiredError}
1750
+ */
1751
+ apiTreatmentsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1752
+ // verify required parameter 'id' is not null or undefined
1753
+ assertParamExists('apiTreatmentsIdGet', 'id', id)
1754
+ const localVarPath = `/api/treatments/{id}`
1755
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1758
+ let baseOptions;
1759
+ if (configuration) {
1760
+ baseOptions = configuration.baseOptions;
1761
+ }
1762
+
1763
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1764
+ const localVarHeaderParameter = {} as any;
1765
+ const localVarQueryParameter = {} as any;
1766
+
1767
+ // authentication OAuth2 required
1768
+ // oauth required
1769
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1770
+
1771
+
1772
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1773
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1774
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1775
+
1776
+ return {
1777
+ url: toPathString(localVarUrlObj),
1778
+ options: localVarRequestOptions,
1779
+ };
1780
+ },
1781
+ /**
1782
+ *
1783
+ * @summary Update One Treatment
1784
+ * @param {string} id
1785
+ * @param {*} [options] Override http request option.
1786
+ * @throws {RequiredError}
1787
+ */
1788
+ apiTreatmentsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1789
+ // verify required parameter 'id' is not null or undefined
1790
+ assertParamExists('apiTreatmentsIdPut', 'id', id)
1791
+ const localVarPath = `/api/treatments/{id}`
1792
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1793
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1794
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1795
+ let baseOptions;
1796
+ if (configuration) {
1797
+ baseOptions = configuration.baseOptions;
1798
+ }
1799
+
1800
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1801
+ const localVarHeaderParameter = {} as any;
1802
+ const localVarQueryParameter = {} as any;
1803
+
1804
+ // authentication OAuth2 required
1805
+ // oauth required
1806
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1807
+
1808
+
1809
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1810
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1811
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1812
+
1813
+ return {
1814
+ url: toPathString(localVarUrlObj),
1815
+ options: localVarRequestOptions,
1816
+ };
1817
+ },
1818
+ /**
1819
+ *
1820
+ * @summary Get One Treatment Type
1821
+ * @param {string} id
1822
+ * @param {*} [options] Override http request option.
1823
+ * @throws {RequiredError}
1824
+ */
1825
+ apiTreatmentsTypesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1826
+ // verify required parameter 'id' is not null or undefined
1827
+ assertParamExists('apiTreatmentsTypesIdGet', 'id', id)
1828
+ const localVarPath = `/api/treatments/types/{id}`
1829
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1830
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1831
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1832
+ let baseOptions;
1833
+ if (configuration) {
1834
+ baseOptions = configuration.baseOptions;
1835
+ }
1836
+
1837
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1838
+ const localVarHeaderParameter = {} as any;
1839
+ const localVarQueryParameter = {} as any;
1840
+
1841
+ // authentication OAuth2 required
1842
+ // oauth required
1843
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1844
+
1845
+
1846
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1848
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1849
+
1850
+ return {
1851
+ url: toPathString(localVarUrlObj),
1852
+ options: localVarRequestOptions,
1853
+ };
1854
+ },
1855
+ /**
1856
+ *
1857
+ * @summary Update One Treatment Type
1858
+ * @param {string} id
1859
+ * @param {*} [options] Override http request option.
1860
+ * @throws {RequiredError}
1861
+ */
1862
+ apiTreatmentsTypesIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1863
+ // verify required parameter 'id' is not null or undefined
1864
+ assertParamExists('apiTreatmentsTypesIdPut', 'id', id)
1865
+ const localVarPath = `/api/treatments/types/{id}`
1866
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1867
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1868
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1869
+ let baseOptions;
1870
+ if (configuration) {
1871
+ baseOptions = configuration.baseOptions;
1872
+ }
1873
+
1874
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1875
+ const localVarHeaderParameter = {} as any;
1876
+ const localVarQueryParameter = {} as any;
1877
+
1878
+ // authentication OAuth2 required
1879
+ // oauth required
1880
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1881
+
1882
+
1883
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1884
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1885
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1886
+
1887
+ return {
1888
+ url: toPathString(localVarUrlObj),
1889
+ options: localVarRequestOptions,
1890
+ };
1891
+ },
1892
+ /**
1893
+ *
1894
+ * @summary Create One Treatment Type
1895
+ * @param {*} [options] Override http request option.
1896
+ * @throws {RequiredError}
1897
+ */
1898
+ apiTreatmentsTypesPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1899
+ const localVarPath = `/api/treatments/types`;
1900
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1901
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1902
+ let baseOptions;
1903
+ if (configuration) {
1904
+ baseOptions = configuration.baseOptions;
1905
+ }
1906
+
1907
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1908
+ const localVarHeaderParameter = {} as any;
1909
+ const localVarQueryParameter = {} as any;
1910
+
1911
+ // authentication OAuth2 required
1912
+ // oauth required
1913
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1914
+
1915
+
1916
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1917
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1918
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1919
+
1920
+ return {
1921
+ url: toPathString(localVarUrlObj),
1922
+ options: localVarRequestOptions,
1923
+ };
1924
+ },
1925
+ /**
1926
+ *
1927
+ * @summary List Workspaces
1928
+ * @param {number} [page]
1929
+ * @param {number} [limit]
1930
+ * @param {string} [search]
1931
+ * @param {*} [options] Override http request option.
1932
+ * @throws {RequiredError}
1933
+ */
1934
+ apiTreatmentsWorkspacesGet: async (page?: number, limit?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1935
+ const localVarPath = `/api/treatments/workspaces`;
1936
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1937
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1938
+ let baseOptions;
1939
+ if (configuration) {
1940
+ baseOptions = configuration.baseOptions;
1941
+ }
1942
+
1943
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1944
+ const localVarHeaderParameter = {} as any;
1945
+ const localVarQueryParameter = {} as any;
1946
+
1947
+ // authentication OAuth2 required
1948
+ // oauth required
1949
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1950
+
1951
+ if (page !== undefined) {
1952
+ localVarQueryParameter['page'] = page;
1953
+ }
1954
+
1955
+ if (limit !== undefined) {
1956
+ localVarQueryParameter['limit'] = limit;
1957
+ }
1958
+
1959
+ if (search !== undefined) {
1960
+ localVarQueryParameter['search'] = search;
1961
+ }
1962
+
1963
+
1964
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1965
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1966
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1967
+
1968
+ return {
1969
+ url: toPathString(localVarUrlObj),
1970
+ options: localVarRequestOptions,
1971
+ };
1972
+ },
1973
+ /**
1974
+ *
1975
+ * @summary Get One Workspace
1976
+ * @param {string} id
1977
+ * @param {*} [options] Override http request option.
1978
+ * @throws {RequiredError}
1979
+ */
1980
+ apiTreatmentsWorkspacesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1981
+ // verify required parameter 'id' is not null or undefined
1982
+ assertParamExists('apiTreatmentsWorkspacesIdGet', 'id', id)
1983
+ const localVarPath = `/api/treatments/workspaces/{id}`
1984
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1985
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1986
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1987
+ let baseOptions;
1988
+ if (configuration) {
1989
+ baseOptions = configuration.baseOptions;
1990
+ }
1991
+
1992
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1993
+ const localVarHeaderParameter = {} as any;
1994
+ const localVarQueryParameter = {} as any;
1995
+
1996
+ // authentication OAuth2 required
1997
+ // oauth required
1998
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1999
+
2000
+
2001
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2002
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2003
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2004
+
2005
+ return {
2006
+ url: toPathString(localVarUrlObj),
2007
+ options: localVarRequestOptions,
2008
+ };
2009
+ },
2010
+ /**
2011
+ *
2012
+ * @summary Update One Workspace
2013
+ * @param {string} id
2014
+ * @param {*} [options] Override http request option.
2015
+ * @throws {RequiredError}
2016
+ */
2017
+ apiTreatmentsWorkspacesIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2018
+ // verify required parameter 'id' is not null or undefined
2019
+ assertParamExists('apiTreatmentsWorkspacesIdPut', 'id', id)
2020
+ const localVarPath = `/api/treatments/workspaces/{id}`
2021
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2022
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2023
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2024
+ let baseOptions;
2025
+ if (configuration) {
2026
+ baseOptions = configuration.baseOptions;
2027
+ }
2028
+
2029
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2030
+ const localVarHeaderParameter = {} as any;
2031
+ const localVarQueryParameter = {} as any;
2032
+
2033
+ // authentication OAuth2 required
2034
+ // oauth required
2035
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2036
+
2037
+
2038
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2039
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2040
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2041
+
2042
+ return {
2043
+ url: toPathString(localVarUrlObj),
2044
+ options: localVarRequestOptions,
2045
+ };
2046
+ },
2047
+ /**
2048
+ *
2049
+ * @summary Create One Workspace
2050
+ * @param {*} [options] Override http request option.
2051
+ * @throws {RequiredError}
2052
+ */
2053
+ apiTreatmentsWorkspacesPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2054
+ const localVarPath = `/api/treatments/workspaces`;
2055
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2056
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2057
+ let baseOptions;
2058
+ if (configuration) {
2059
+ baseOptions = configuration.baseOptions;
2060
+ }
2061
+
2062
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2063
+ const localVarHeaderParameter = {} as any;
2064
+ const localVarQueryParameter = {} as any;
2065
+
2066
+ // authentication OAuth2 required
2067
+ // oauth required
2068
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2069
+
2070
+
2071
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2072
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2073
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2074
+
2075
+ return {
2076
+ url: toPathString(localVarUrlObj),
2077
+ options: localVarRequestOptions,
2078
+ };
2079
+ },
2080
+ }
2081
+ };
2082
+
2083
+ /**
2084
+ * ResourcesApi - functional programming interface
2085
+ */
2086
+ export const ResourcesApiFp = function(configuration?: Configuration) {
2087
+ const localVarAxiosParamCreator = ResourcesApiAxiosParamCreator(configuration)
2088
+ return {
2089
+ /**
2090
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
2091
+ * @summary Get One Contact
2092
+ * @param {string} id
2093
+ * @param {*} [options] Override http request option.
2094
+ * @throws {RequiredError}
2095
+ */
2096
+ async apiContactsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiContactsIdGet(id, options);
2098
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2099
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiContactsIdGet']?.[localVarOperationServerIndex]?.url;
2100
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2101
+ },
2102
+ /**
2103
+ *
2104
+ * @summary Get One Block
2105
+ * @param {string} id
2106
+ * @param {*} [options] Override http request option.
2107
+ * @throws {RequiredError}
2108
+ */
2109
+ async apiCustomfieldblocksIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldblocksIdGet(id, options);
2111
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2112
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiCustomfieldblocksIdGet']?.[localVarOperationServerIndex]?.url;
2113
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2114
+ },
2115
+ /**
2116
+ *
2117
+ * @summary Update One Block
2118
+ * @param {string} id
2119
+ * @param {*} [options] Override http request option.
2120
+ * @throws {RequiredError}
2121
+ */
2122
+ async apiCustomfieldblocksIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldblocksIdPut(id, options);
2124
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2125
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiCustomfieldblocksIdPut']?.[localVarOperationServerIndex]?.url;
2126
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2127
+ },
2128
+ /**
2129
+ *
2130
+ * @summary Create One Block
2131
+ * @param {*} [options] Override http request option.
2132
+ * @throws {RequiredError}
2133
+ */
2134
+ async apiCustomfieldblocksPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2135
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldblocksPost(options);
2136
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2137
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiCustomfieldblocksPost']?.[localVarOperationServerIndex]?.url;
2138
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2139
+ },
2140
+ /**
2141
+ *
2142
+ * @summary Get One Custom Field
2143
+ * @param {string} id
2144
+ * @param {*} [options] Override http request option.
2145
+ * @throws {RequiredError}
2146
+ */
2147
+ async apiCustomfieldsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2148
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldsIdGet(id, options);
2149
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2150
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiCustomfieldsIdGet']?.[localVarOperationServerIndex]?.url;
2151
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2152
+ },
2153
+ /**
2154
+ *
2155
+ * @summary Update One Custom Field
2156
+ * @param {string} id
2157
+ * @param {*} [options] Override http request option.
2158
+ * @throws {RequiredError}
2159
+ */
2160
+ async apiCustomfieldsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2161
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldsIdPut(id, options);
2162
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2163
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiCustomfieldsIdPut']?.[localVarOperationServerIndex]?.url;
2164
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2165
+ },
2166
+ /**
2167
+ *
2168
+ * @summary List Widgets
2169
+ * @param {string} dashboardId
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ async apiDashboardsDashboardIdWidgetsGet(dashboardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2174
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiDashboardsDashboardIdWidgetsGet(dashboardId, options);
2175
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2176
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiDashboardsDashboardIdWidgetsGet']?.[localVarOperationServerIndex]?.url;
2177
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2178
+ },
2179
+ /**
2180
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
2181
+ * @summary Get One Deal
2182
+ * @param {string} id
2183
+ * @param {*} [options] Override http request option.
2184
+ * @throws {RequiredError}
2185
+ */
2186
+ async apiDealsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2187
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiDealsIdGet(id, options);
2188
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2189
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiDealsIdGet']?.[localVarOperationServerIndex]?.url;
2190
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2191
+ },
2192
+ /**
2193
+ * List meetings for a specific lead (by contact).
2194
+ * @summary List Meetings by Lead
2195
+ * @param {string} cONTACTID
2196
+ * @param {number} [page]
2197
+ * @param {number} [limit]
2198
+ * @param {*} [options] Override http request option.
2199
+ * @throws {RequiredError}
2200
+ */
2201
+ async apiLeadsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDMeetingsGet(cONTACTID, page, limit, options);
2203
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2204
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsCONTACTIDMeetingsGet']?.[localVarOperationServerIndex]?.url;
2205
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2206
+ },
2207
+ /**
2208
+ * List observations for a specific lead (by contact).
2209
+ * @summary List Observations by Lead
2210
+ * @param {string} cONTACTID
2211
+ * @param {number} [page]
2212
+ * @param {number} [limit]
2213
+ * @param {*} [options] Override http request option.
2214
+ * @throws {RequiredError}
2215
+ */
2216
+ async apiLeadsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDObservationsGet(cONTACTID, page, limit, options);
2218
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2219
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsCONTACTIDObservationsGet']?.[localVarOperationServerIndex]?.url;
2220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2221
+ },
2222
+ /**
2223
+ * List tasks for a specific lead (by contact).
2224
+ * @summary List Tasks by Lead
2225
+ * @param {string} cONTACTID
2226
+ * @param {number} [page]
2227
+ * @param {number} [limit]
2228
+ * @param {*} [options] Override http request option.
2229
+ * @throws {RequiredError}
2230
+ */
2231
+ async apiLeadsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2232
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDTasksGet(cONTACTID, page, limit, options);
2233
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2234
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsCONTACTIDTasksGet']?.[localVarOperationServerIndex]?.url;
2235
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2236
+ },
2237
+ /**
2238
+ * List tickets for a specific lead (by contact).
2239
+ * @summary List Tickets by Lead
2240
+ * @param {string} cONTACTID
2241
+ * @param {number} [page]
2242
+ * @param {number} [limit]
2243
+ * @param {*} [options] Override http request option.
2244
+ * @throws {RequiredError}
2245
+ */
2246
+ async apiLeadsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDTicketsGet(cONTACTID, page, limit, options);
2248
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2249
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsCONTACTIDTicketsGet']?.[localVarOperationServerIndex]?.url;
2250
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2251
+ },
2252
+ /**
2253
+ * List treatments for a specific lead (by contact).
2254
+ * @summary List Treatments by Lead
2255
+ * @param {string} cONTACTID
2256
+ * @param {number} [page]
2257
+ * @param {number} [limit]
2258
+ * @param {*} [options] Override http request option.
2259
+ * @throws {RequiredError}
2260
+ */
2261
+ async apiLeadsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2262
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options);
2263
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2264
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsCONTACTIDTreatmentsGet']?.[localVarOperationServerIndex]?.url;
2265
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2266
+ },
2267
+ /**
2268
+ * Retrieves a specific lead by ID.
2269
+ * @summary Get One Lead
2270
+ * @param {string} id
2271
+ * @param {*} [options] Override http request option.
2272
+ * @throws {RequiredError}
2273
+ */
2274
+ async apiLeadsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsIdGet(id, options);
2276
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2277
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsIdGet']?.[localVarOperationServerIndex]?.url;
2278
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2279
+ },
2280
+ /**
2281
+ *
2282
+ * @summary Update One Lead
2283
+ * @param {string} id
2284
+ * @param {*} [options] Override http request option.
2285
+ * @throws {RequiredError}
2286
+ */
2287
+ async apiLeadsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsIdPut(id, options);
2289
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2290
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiLeadsIdPut']?.[localVarOperationServerIndex]?.url;
2291
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2292
+ },
2293
+ /**
2294
+ *
2295
+ * @summary Get One Meeting
2296
+ * @param {string} id
2297
+ * @param {*} [options] Override http request option.
2298
+ * @throws {RequiredError}
2299
+ */
2300
+ async apiMeetingsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2301
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsIdGet(id, options);
2302
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2303
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsIdGet']?.[localVarOperationServerIndex]?.url;
2304
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2305
+ },
2306
+ /**
2307
+ *
2308
+ * @summary Update One Meeting
2309
+ * @param {string} id
2310
+ * @param {*} [options] Override http request option.
2311
+ * @throws {RequiredError}
2312
+ */
2313
+ async apiMeetingsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2314
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsIdPut(id, options);
2315
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2316
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsIdPut']?.[localVarOperationServerIndex]?.url;
2317
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2318
+ },
2319
+ /**
2320
+ *
2321
+ * @summary List Meeting Rooms
2322
+ * @param {number} [page]
2323
+ * @param {number} [limit]
2324
+ * @param {string} [search]
2325
+ * @param {*} [options] Override http request option.
2326
+ * @throws {RequiredError}
2327
+ */
2328
+ async apiMeetingsRoomsGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2329
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsGet(page, limit, search, options);
2330
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2331
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsRoomsGet']?.[localVarOperationServerIndex]?.url;
2332
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2333
+ },
2334
+ /**
2335
+ *
2336
+ * @summary Get One Meeting Room
2337
+ * @param {string} id
2338
+ * @param {*} [options] Override http request option.
2339
+ * @throws {RequiredError}
2340
+ */
2341
+ async apiMeetingsRoomsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2342
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsIdGet(id, options);
2343
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2344
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsRoomsIdGet']?.[localVarOperationServerIndex]?.url;
2345
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2346
+ },
2347
+ /**
2348
+ *
2349
+ * @summary Update One Meeting Room
2350
+ * @param {string} id
2351
+ * @param {*} [options] Override http request option.
2352
+ * @throws {RequiredError}
2353
+ */
2354
+ async apiMeetingsRoomsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2355
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsIdPut(id, options);
2356
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2357
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsRoomsIdPut']?.[localVarOperationServerIndex]?.url;
2358
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2359
+ },
2360
+ /**
2361
+ *
2362
+ * @summary Create One Meeting Room
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ async apiMeetingsRoomsPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsPost(options);
2368
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2369
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsRoomsPost']?.[localVarOperationServerIndex]?.url;
2370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2371
+ },
2372
+ /**
2373
+ *
2374
+ * @summary List Meeting Types
2375
+ * @param {number} [page]
2376
+ * @param {number} [limit]
2377
+ * @param {string} [search]
2378
+ * @param {*} [options] Override http request option.
2379
+ * @throws {RequiredError}
2380
+ */
2381
+ async apiMeetingsTypesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2382
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesGet(page, limit, search, options);
2383
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2384
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsTypesGet']?.[localVarOperationServerIndex]?.url;
2385
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2386
+ },
2387
+ /**
2388
+ *
2389
+ * @summary Get One Meeting Type
2390
+ * @param {string} id
2391
+ * @param {*} [options] Override http request option.
2392
+ * @throws {RequiredError}
2393
+ */
2394
+ async apiMeetingsTypesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesIdGet(id, options);
2396
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2397
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsTypesIdGet']?.[localVarOperationServerIndex]?.url;
2398
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2399
+ },
2400
+ /**
2401
+ *
2402
+ * @summary Update One Meeting Type
2403
+ * @param {string} id
2404
+ * @param {*} [options] Override http request option.
2405
+ * @throws {RequiredError}
2406
+ */
2407
+ async apiMeetingsTypesIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2408
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesIdPut(id, options);
2409
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2410
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsTypesIdPut']?.[localVarOperationServerIndex]?.url;
2411
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2412
+ },
2413
+ /**
2414
+ *
2415
+ * @summary Create One Meeting Type
2416
+ * @param {*} [options] Override http request option.
2417
+ * @throws {RequiredError}
2418
+ */
2419
+ async apiMeetingsTypesPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2420
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesPost(options);
2421
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2422
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiMeetingsTypesPost']?.[localVarOperationServerIndex]?.url;
2423
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2424
+ },
2425
+ /**
2426
+ * This endpoint makes an HTTP GET request to retrieve a specific organization by ID. The response is a JSON object with the organization details including `_id`, `customFields`, `labels`, `fullname`, `doc`, `phones`, `owners`, `interactions`, `createdAt`, `updatedAt`.
2427
+ * @summary Get One Organization
2428
+ * @param {string} id
2429
+ * @param {*} [options] Override http request option.
2430
+ * @throws {RequiredError}
2431
+ */
2432
+ async apiOrganizationsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiOrganizationsIdGet(id, options);
2434
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2435
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiOrganizationsIdGet']?.[localVarOperationServerIndex]?.url;
2436
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2437
+ },
2438
+ /**
2439
+ * Atualiza os dados de uma organização existente.
2440
+ * @summary Update One Organization
2441
+ * @param {string} id
2442
+ * @param {object} [body]
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ */
2446
+ async apiOrganizationsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2447
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiOrganizationsIdPut(id, body, options);
2448
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2449
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiOrganizationsIdPut']?.[localVarOperationServerIndex]?.url;
2450
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2451
+ },
2452
+ /**
2453
+ * Retrieves a specific pipeline by ID. Response is a JSON object with pipeline details including `_id`, `title`, `stages` (array with stage names, positions, probabilities), `staffs`, `roles`, `defaultView`, `active`, `createdAt`, `updatedAt`.
2454
+ * @summary Get One Pipeline
2455
+ * @param {string} id
2456
+ * @param {*} [options] Override http request option.
2457
+ * @throws {RequiredError}
2458
+ */
2459
+ async apiPipelinesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2460
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiPipelinesIdGet(id, options);
2461
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2462
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiPipelinesIdGet']?.[localVarOperationServerIndex]?.url;
2463
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2464
+ },
2465
+ /**
2466
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
2467
+ * @summary Update One Pipeline
2468
+ * @param {string} id
2469
+ * @param {object} [body]
2470
+ * @param {*} [options] Override http request option.
2471
+ * @throws {RequiredError}
2472
+ */
2473
+ async apiPipelinesIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2474
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiPipelinesIdPut(id, body, options);
2475
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2476
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiPipelinesIdPut']?.[localVarOperationServerIndex]?.url;
2477
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2478
+ },
2479
+ /**
2480
+ * List meetings for a specific prospect (by contact).
2481
+ * @summary List Meetings by Prospect
2482
+ * @param {string} cONTACTID
2483
+ * @param {number} [page]
2484
+ * @param {number} [limit]
2485
+ * @param {*} [options] Override http request option.
2486
+ * @throws {RequiredError}
2487
+ */
2488
+ async apiProspectsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2489
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDMeetingsGet(cONTACTID, page, limit, options);
2490
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2491
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsCONTACTIDMeetingsGet']?.[localVarOperationServerIndex]?.url;
2492
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2493
+ },
2494
+ /**
2495
+ * List observations for a specific prospect (by contact).
2496
+ * @summary List Observations by Prospect
2497
+ * @param {string} cONTACTID
2498
+ * @param {number} [page]
2499
+ * @param {number} [limit]
2500
+ * @param {*} [options] Override http request option.
2501
+ * @throws {RequiredError}
2502
+ */
2503
+ async apiProspectsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2504
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDObservationsGet(cONTACTID, page, limit, options);
2505
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2506
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsCONTACTIDObservationsGet']?.[localVarOperationServerIndex]?.url;
2507
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2508
+ },
2509
+ /**
2510
+ * List tasks for a specific prospect (by contact).
2511
+ * @summary List Tasks by Prospect
2512
+ * @param {string} cONTACTID
2513
+ * @param {number} [page]
2514
+ * @param {number} [limit]
2515
+ * @param {*} [options] Override http request option.
2516
+ * @throws {RequiredError}
2517
+ */
2518
+ async apiProspectsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2519
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDTasksGet(cONTACTID, page, limit, options);
2520
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2521
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsCONTACTIDTasksGet']?.[localVarOperationServerIndex]?.url;
2522
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2523
+ },
2524
+ /**
2525
+ * List tickets for a specific prospect (by contact).
2526
+ * @summary List Tickets by Prospect
2527
+ * @param {string} cONTACTID
2528
+ * @param {number} [page]
2529
+ * @param {number} [limit]
2530
+ * @param {*} [options] Override http request option.
2531
+ * @throws {RequiredError}
2532
+ */
2533
+ async apiProspectsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2534
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDTicketsGet(cONTACTID, page, limit, options);
2535
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2536
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsCONTACTIDTicketsGet']?.[localVarOperationServerIndex]?.url;
2537
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2538
+ },
2539
+ /**
2540
+ * List treatments for a specific prospect (by contact).
2541
+ * @summary List Treatments by Prospect
2542
+ * @param {string} cONTACTID
2543
+ * @param {number} [page]
2544
+ * @param {number} [limit]
2545
+ * @param {*} [options] Override http request option.
2546
+ * @throws {RequiredError}
2547
+ */
2548
+ async apiProspectsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options);
2550
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2551
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsCONTACTIDTreatmentsGet']?.[localVarOperationServerIndex]?.url;
2552
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2553
+ },
2554
+ /**
2555
+ * Retrieves a specific prospect by ID.
2556
+ * @summary Get One Prospect
2557
+ * @param {string} id
2558
+ * @param {*} [options] Override http request option.
2559
+ * @throws {RequiredError}
2560
+ */
2561
+ async apiProspectsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsIdGet(id, options);
2563
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2564
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsIdGet']?.[localVarOperationServerIndex]?.url;
2565
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2566
+ },
2567
+ /**
2568
+ *
2569
+ * @summary Update One Prospect
2570
+ * @param {string} id
2571
+ * @param {*} [options] Override http request option.
2572
+ * @throws {RequiredError}
2573
+ */
2574
+ async apiProspectsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2575
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsIdPut(id, options);
2576
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2577
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiProspectsIdPut']?.[localVarOperationServerIndex]?.url;
2578
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2579
+ },
2580
+ /**
2581
+ * ### Get Staff Details This endpoint makes an HTTP GET request to retrieve the details of a specific staff member. #### Request - Method: GET - URL: `{{base_url}}/api/staffs/:id` #### Response The response includes the staff member details: `_id`, `email`, `active`, `admin`, `customFields`, `fullname`, `image`, `role`, `settings`, `status`, `type`, `lastLogin`, `createdAt`, `updatedAt`.
2582
+ * @summary Get One Staff
2583
+ * @param {string} id
2584
+ * @param {*} [options] Override http request option.
2585
+ * @throws {RequiredError}
2586
+ */
2587
+ async apiStaffsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2588
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiStaffsIdGet(id, options);
2589
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2590
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiStaffsIdGet']?.[localVarOperationServerIndex]?.url;
2591
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2592
+ },
2593
+ /**
2594
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
2595
+ * @summary Update One Staff
2596
+ * @param {string} id
2597
+ * @param {object} [body]
2598
+ * @param {*} [options] Override http request option.
2599
+ * @throws {RequiredError}
2600
+ */
2601
+ async apiStaffsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiStaffsIdPut(id, body, options);
2603
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2604
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiStaffsIdPut']?.[localVarOperationServerIndex]?.url;
2605
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2606
+ },
2607
+ /**
2608
+ * ### Create a New Staff Member This endpoint allows the creation of a new staff member. #### Request Body - `customFields` (array of objects) - Custom fields for the staff member. - `fullname` (string) - The full name of the staff member. - `email` (string) - The email address of the staff member. - `phone` (string) - The phone number of the staff member. - `role` (string) - The role ID assigned to the staff member. - `workspaces` (array) - The workspaces the staff member belongs to. The staff member will receive an invitation email to set their password.
2609
+ * @summary Create One Staff
2610
+ * @param {object} [body]
2611
+ * @param {*} [options] Override http request option.
2612
+ * @throws {RequiredError}
2613
+ */
2614
+ async apiStaffsPost(body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2615
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiStaffsPost(body, options);
2616
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2617
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiStaffsPost']?.[localVarOperationServerIndex]?.url;
2618
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2619
+ },
2620
+ /**
2621
+ * This endpoint retrieves a specific task by ID. Response is a JSON object with task details including `_id`, `code`, `owner`, `title`, `dateOfExpires`, `type`, `status`, `observation`, `contact`, `deal`, `createdAt`, `updatedAt`.
2622
+ * @summary Get One Task
2623
+ * @param {string} id
2624
+ * @param {*} [options] Override http request option.
2625
+ * @throws {RequiredError}
2626
+ */
2627
+ async apiTasksIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2628
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTasksIdGet(id, options);
2629
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2630
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTasksIdGet']?.[localVarOperationServerIndex]?.url;
2631
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2632
+ },
2633
+ /**
2634
+ * Atualiza os dados de uma tarefa existente.
2635
+ * @summary Update One Task
2636
+ * @param {string} id
2637
+ * @param {object} [body]
2638
+ * @param {*} [options] Override http request option.
2639
+ * @throws {RequiredError}
2640
+ */
2641
+ async apiTasksIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2642
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTasksIdPut(id, body, options);
2643
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2644
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTasksIdPut']?.[localVarOperationServerIndex]?.url;
2645
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2646
+ },
2647
+ /**
2648
+ * Retrieves a specific ticket by ID. Response is a JSON object with ticket details including `_id`, `code`, `subject`, `description`, `status`, `priority`, `labels`, `contact`, `owner`, `participants`, `observers`, `createdAt`, `updatedAt`.
2649
+ * @summary Get One Ticket
2650
+ * @param {string} id
2651
+ * @param {*} [options] Override http request option.
2652
+ * @throws {RequiredError}
2653
+ */
2654
+ async apiTicketsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2655
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTicketsIdGet(id, options);
2656
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2657
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTicketsIdGet']?.[localVarOperationServerIndex]?.url;
2658
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2659
+ },
2660
+ /**
2661
+ * Atualiza os dados de um ticket existente.
2662
+ * @summary Update One Ticket
2663
+ * @param {string} id
2664
+ * @param {object} [body]
2665
+ * @param {*} [options] Override http request option.
2666
+ * @throws {RequiredError}
2667
+ */
2668
+ async apiTicketsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2669
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTicketsIdPut(id, body, options);
2670
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2671
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTicketsIdPut']?.[localVarOperationServerIndex]?.url;
2672
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2673
+ },
2674
+ /**
2675
+ *
2676
+ * @summary Get One Treatment
2677
+ * @param {string} id
2678
+ * @param {*} [options] Override http request option.
2679
+ * @throws {RequiredError}
2680
+ */
2681
+ async apiTreatmentsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsIdGet(id, options);
2683
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2684
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsIdGet']?.[localVarOperationServerIndex]?.url;
2685
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2686
+ },
2687
+ /**
2688
+ *
2689
+ * @summary Update One Treatment
2690
+ * @param {string} id
2691
+ * @param {*} [options] Override http request option.
2692
+ * @throws {RequiredError}
2693
+ */
2694
+ async apiTreatmentsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsIdPut(id, options);
2696
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2697
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsIdPut']?.[localVarOperationServerIndex]?.url;
2698
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2699
+ },
2700
+ /**
2701
+ *
2702
+ * @summary Get One Treatment Type
2703
+ * @param {string} id
2704
+ * @param {*} [options] Override http request option.
2705
+ * @throws {RequiredError}
2706
+ */
2707
+ async apiTreatmentsTypesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2708
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsTypesIdGet(id, options);
2709
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2710
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsTypesIdGet']?.[localVarOperationServerIndex]?.url;
2711
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2712
+ },
2713
+ /**
2714
+ *
2715
+ * @summary Update One Treatment Type
2716
+ * @param {string} id
2717
+ * @param {*} [options] Override http request option.
2718
+ * @throws {RequiredError}
2719
+ */
2720
+ async apiTreatmentsTypesIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2721
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsTypesIdPut(id, options);
2722
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2723
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsTypesIdPut']?.[localVarOperationServerIndex]?.url;
2724
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2725
+ },
2726
+ /**
2727
+ *
2728
+ * @summary Create One Treatment Type
2729
+ * @param {*} [options] Override http request option.
2730
+ * @throws {RequiredError}
2731
+ */
2732
+ async apiTreatmentsTypesPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2733
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsTypesPost(options);
2734
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2735
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsTypesPost']?.[localVarOperationServerIndex]?.url;
2736
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2737
+ },
2738
+ /**
2739
+ *
2740
+ * @summary List Workspaces
2741
+ * @param {number} [page]
2742
+ * @param {number} [limit]
2743
+ * @param {string} [search]
2744
+ * @param {*} [options] Override http request option.
2745
+ * @throws {RequiredError}
2746
+ */
2747
+ async apiTreatmentsWorkspacesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2748
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesGet(page, limit, search, options);
2749
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2750
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsWorkspacesGet']?.[localVarOperationServerIndex]?.url;
2751
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2752
+ },
2753
+ /**
2754
+ *
2755
+ * @summary Get One Workspace
2756
+ * @param {string} id
2757
+ * @param {*} [options] Override http request option.
2758
+ * @throws {RequiredError}
2759
+ */
2760
+ async apiTreatmentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesIdGet(id, options);
2762
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2763
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsWorkspacesIdGet']?.[localVarOperationServerIndex]?.url;
2764
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2765
+ },
2766
+ /**
2767
+ *
2768
+ * @summary Update One Workspace
2769
+ * @param {string} id
2770
+ * @param {*} [options] Override http request option.
2771
+ * @throws {RequiredError}
2772
+ */
2773
+ async apiTreatmentsWorkspacesIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesIdPut(id, options);
2775
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2776
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsWorkspacesIdPut']?.[localVarOperationServerIndex]?.url;
2777
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2778
+ },
2779
+ /**
2780
+ *
2781
+ * @summary Create One Workspace
2782
+ * @param {*} [options] Override http request option.
2783
+ * @throws {RequiredError}
2784
+ */
2785
+ async apiTreatmentsWorkspacesPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2786
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesPost(options);
2787
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2788
+ const localVarOperationServerBasePath = operationServerMap['ResourcesApi.apiTreatmentsWorkspacesPost']?.[localVarOperationServerIndex]?.url;
2789
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2790
+ },
2791
+ }
2792
+ };
2793
+
2794
+ /**
2795
+ * ResourcesApi - factory interface
2796
+ */
2797
+ export const ResourcesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2798
+ const localVarFp = ResourcesApiFp(configuration)
2799
+ return {
2800
+ /**
2801
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
2802
+ * @summary Get One Contact
2803
+ * @param {string} id
2804
+ * @param {*} [options] Override http request option.
2805
+ * @throws {RequiredError}
2806
+ */
2807
+ apiContactsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2808
+ return localVarFp.apiContactsIdGet(id, options).then((request) => request(axios, basePath));
2809
+ },
2810
+ /**
2811
+ *
2812
+ * @summary Get One Block
2813
+ * @param {string} id
2814
+ * @param {*} [options] Override http request option.
2815
+ * @throws {RequiredError}
2816
+ */
2817
+ apiCustomfieldblocksIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2818
+ return localVarFp.apiCustomfieldblocksIdGet(id, options).then((request) => request(axios, basePath));
2819
+ },
2820
+ /**
2821
+ *
2822
+ * @summary Update One Block
2823
+ * @param {string} id
2824
+ * @param {*} [options] Override http request option.
2825
+ * @throws {RequiredError}
2826
+ */
2827
+ apiCustomfieldblocksIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2828
+ return localVarFp.apiCustomfieldblocksIdPut(id, options).then((request) => request(axios, basePath));
2829
+ },
2830
+ /**
2831
+ *
2832
+ * @summary Create One Block
2833
+ * @param {*} [options] Override http request option.
2834
+ * @throws {RequiredError}
2835
+ */
2836
+ apiCustomfieldblocksPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
2837
+ return localVarFp.apiCustomfieldblocksPost(options).then((request) => request(axios, basePath));
2838
+ },
2839
+ /**
2840
+ *
2841
+ * @summary Get One Custom Field
2842
+ * @param {string} id
2843
+ * @param {*} [options] Override http request option.
2844
+ * @throws {RequiredError}
2845
+ */
2846
+ apiCustomfieldsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2847
+ return localVarFp.apiCustomfieldsIdGet(id, options).then((request) => request(axios, basePath));
2848
+ },
2849
+ /**
2850
+ *
2851
+ * @summary Update One Custom Field
2852
+ * @param {string} id
2853
+ * @param {*} [options] Override http request option.
2854
+ * @throws {RequiredError}
2855
+ */
2856
+ apiCustomfieldsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2857
+ return localVarFp.apiCustomfieldsIdPut(id, options).then((request) => request(axios, basePath));
2858
+ },
2859
+ /**
2860
+ *
2861
+ * @summary List Widgets
2862
+ * @param {string} dashboardId
2863
+ * @param {*} [options] Override http request option.
2864
+ * @throws {RequiredError}
2865
+ */
2866
+ apiDashboardsDashboardIdWidgetsGet(dashboardId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2867
+ return localVarFp.apiDashboardsDashboardIdWidgetsGet(dashboardId, options).then((request) => request(axios, basePath));
2868
+ },
2869
+ /**
2870
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
2871
+ * @summary Get One Deal
2872
+ * @param {string} id
2873
+ * @param {*} [options] Override http request option.
2874
+ * @throws {RequiredError}
2875
+ */
2876
+ apiDealsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2877
+ return localVarFp.apiDealsIdGet(id, options).then((request) => request(axios, basePath));
2878
+ },
2879
+ /**
2880
+ * List meetings for a specific lead (by contact).
2881
+ * @summary List Meetings by Lead
2882
+ * @param {string} cONTACTID
2883
+ * @param {number} [page]
2884
+ * @param {number} [limit]
2885
+ * @param {*} [options] Override http request option.
2886
+ * @throws {RequiredError}
2887
+ */
2888
+ apiLeadsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2889
+ return localVarFp.apiLeadsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
2890
+ },
2891
+ /**
2892
+ * List observations for a specific lead (by contact).
2893
+ * @summary List Observations by Lead
2894
+ * @param {string} cONTACTID
2895
+ * @param {number} [page]
2896
+ * @param {number} [limit]
2897
+ * @param {*} [options] Override http request option.
2898
+ * @throws {RequiredError}
2899
+ */
2900
+ apiLeadsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2901
+ return localVarFp.apiLeadsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
2902
+ },
2903
+ /**
2904
+ * List tasks for a specific lead (by contact).
2905
+ * @summary List Tasks by Lead
2906
+ * @param {string} cONTACTID
2907
+ * @param {number} [page]
2908
+ * @param {number} [limit]
2909
+ * @param {*} [options] Override http request option.
2910
+ * @throws {RequiredError}
2911
+ */
2912
+ apiLeadsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2913
+ return localVarFp.apiLeadsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
2914
+ },
2915
+ /**
2916
+ * List tickets for a specific lead (by contact).
2917
+ * @summary List Tickets by Lead
2918
+ * @param {string} cONTACTID
2919
+ * @param {number} [page]
2920
+ * @param {number} [limit]
2921
+ * @param {*} [options] Override http request option.
2922
+ * @throws {RequiredError}
2923
+ */
2924
+ apiLeadsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2925
+ return localVarFp.apiLeadsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
2926
+ },
2927
+ /**
2928
+ * List treatments for a specific lead (by contact).
2929
+ * @summary List Treatments by Lead
2930
+ * @param {string} cONTACTID
2931
+ * @param {number} [page]
2932
+ * @param {number} [limit]
2933
+ * @param {*} [options] Override http request option.
2934
+ * @throws {RequiredError}
2935
+ */
2936
+ apiLeadsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2937
+ return localVarFp.apiLeadsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
2938
+ },
2939
+ /**
2940
+ * Retrieves a specific lead by ID.
2941
+ * @summary Get One Lead
2942
+ * @param {string} id
2943
+ * @param {*} [options] Override http request option.
2944
+ * @throws {RequiredError}
2945
+ */
2946
+ apiLeadsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2947
+ return localVarFp.apiLeadsIdGet(id, options).then((request) => request(axios, basePath));
2948
+ },
2949
+ /**
2950
+ *
2951
+ * @summary Update One Lead
2952
+ * @param {string} id
2953
+ * @param {*} [options] Override http request option.
2954
+ * @throws {RequiredError}
2955
+ */
2956
+ apiLeadsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2957
+ return localVarFp.apiLeadsIdPut(id, options).then((request) => request(axios, basePath));
2958
+ },
2959
+ /**
2960
+ *
2961
+ * @summary Get One Meeting
2962
+ * @param {string} id
2963
+ * @param {*} [options] Override http request option.
2964
+ * @throws {RequiredError}
2965
+ */
2966
+ apiMeetingsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2967
+ return localVarFp.apiMeetingsIdGet(id, options).then((request) => request(axios, basePath));
2968
+ },
2969
+ /**
2970
+ *
2971
+ * @summary Update One Meeting
2972
+ * @param {string} id
2973
+ * @param {*} [options] Override http request option.
2974
+ * @throws {RequiredError}
2975
+ */
2976
+ apiMeetingsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2977
+ return localVarFp.apiMeetingsIdPut(id, options).then((request) => request(axios, basePath));
2978
+ },
2979
+ /**
2980
+ *
2981
+ * @summary List Meeting Rooms
2982
+ * @param {number} [page]
2983
+ * @param {number} [limit]
2984
+ * @param {string} [search]
2985
+ * @param {*} [options] Override http request option.
2986
+ * @throws {RequiredError}
2987
+ */
2988
+ apiMeetingsRoomsGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2989
+ return localVarFp.apiMeetingsRoomsGet(page, limit, search, options).then((request) => request(axios, basePath));
2990
+ },
2991
+ /**
2992
+ *
2993
+ * @summary Get One Meeting Room
2994
+ * @param {string} id
2995
+ * @param {*} [options] Override http request option.
2996
+ * @throws {RequiredError}
2997
+ */
2998
+ apiMeetingsRoomsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2999
+ return localVarFp.apiMeetingsRoomsIdGet(id, options).then((request) => request(axios, basePath));
3000
+ },
3001
+ /**
3002
+ *
3003
+ * @summary Update One Meeting Room
3004
+ * @param {string} id
3005
+ * @param {*} [options] Override http request option.
3006
+ * @throws {RequiredError}
3007
+ */
3008
+ apiMeetingsRoomsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3009
+ return localVarFp.apiMeetingsRoomsIdPut(id, options).then((request) => request(axios, basePath));
3010
+ },
3011
+ /**
3012
+ *
3013
+ * @summary Create One Meeting Room
3014
+ * @param {*} [options] Override http request option.
3015
+ * @throws {RequiredError}
3016
+ */
3017
+ apiMeetingsRoomsPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3018
+ return localVarFp.apiMeetingsRoomsPost(options).then((request) => request(axios, basePath));
3019
+ },
3020
+ /**
3021
+ *
3022
+ * @summary List Meeting Types
3023
+ * @param {number} [page]
3024
+ * @param {number} [limit]
3025
+ * @param {string} [search]
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ */
3029
+ apiMeetingsTypesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3030
+ return localVarFp.apiMeetingsTypesGet(page, limit, search, options).then((request) => request(axios, basePath));
3031
+ },
3032
+ /**
3033
+ *
3034
+ * @summary Get One Meeting Type
3035
+ * @param {string} id
3036
+ * @param {*} [options] Override http request option.
3037
+ * @throws {RequiredError}
3038
+ */
3039
+ apiMeetingsTypesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3040
+ return localVarFp.apiMeetingsTypesIdGet(id, options).then((request) => request(axios, basePath));
3041
+ },
3042
+ /**
3043
+ *
3044
+ * @summary Update One Meeting Type
3045
+ * @param {string} id
3046
+ * @param {*} [options] Override http request option.
3047
+ * @throws {RequiredError}
3048
+ */
3049
+ apiMeetingsTypesIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3050
+ return localVarFp.apiMeetingsTypesIdPut(id, options).then((request) => request(axios, basePath));
3051
+ },
3052
+ /**
3053
+ *
3054
+ * @summary Create One Meeting Type
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ */
3058
+ apiMeetingsTypesPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3059
+ return localVarFp.apiMeetingsTypesPost(options).then((request) => request(axios, basePath));
3060
+ },
3061
+ /**
3062
+ * This endpoint makes an HTTP GET request to retrieve a specific organization by ID. The response is a JSON object with the organization details including `_id`, `customFields`, `labels`, `fullname`, `doc`, `phones`, `owners`, `interactions`, `createdAt`, `updatedAt`.
3063
+ * @summary Get One Organization
3064
+ * @param {string} id
3065
+ * @param {*} [options] Override http request option.
3066
+ * @throws {RequiredError}
3067
+ */
3068
+ apiOrganizationsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3069
+ return localVarFp.apiOrganizationsIdGet(id, options).then((request) => request(axios, basePath));
3070
+ },
3071
+ /**
3072
+ * Atualiza os dados de uma organização existente.
3073
+ * @summary Update One Organization
3074
+ * @param {string} id
3075
+ * @param {object} [body]
3076
+ * @param {*} [options] Override http request option.
3077
+ * @throws {RequiredError}
3078
+ */
3079
+ apiOrganizationsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3080
+ return localVarFp.apiOrganizationsIdPut(id, body, options).then((request) => request(axios, basePath));
3081
+ },
3082
+ /**
3083
+ * Retrieves a specific pipeline by ID. Response is a JSON object with pipeline details including `_id`, `title`, `stages` (array with stage names, positions, probabilities), `staffs`, `roles`, `defaultView`, `active`, `createdAt`, `updatedAt`.
3084
+ * @summary Get One Pipeline
3085
+ * @param {string} id
3086
+ * @param {*} [options] Override http request option.
3087
+ * @throws {RequiredError}
3088
+ */
3089
+ apiPipelinesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3090
+ return localVarFp.apiPipelinesIdGet(id, options).then((request) => request(axios, basePath));
3091
+ },
3092
+ /**
3093
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
3094
+ * @summary Update One Pipeline
3095
+ * @param {string} id
3096
+ * @param {object} [body]
3097
+ * @param {*} [options] Override http request option.
3098
+ * @throws {RequiredError}
3099
+ */
3100
+ apiPipelinesIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3101
+ return localVarFp.apiPipelinesIdPut(id, body, options).then((request) => request(axios, basePath));
3102
+ },
3103
+ /**
3104
+ * List meetings for a specific prospect (by contact).
3105
+ * @summary List Meetings by Prospect
3106
+ * @param {string} cONTACTID
3107
+ * @param {number} [page]
3108
+ * @param {number} [limit]
3109
+ * @param {*} [options] Override http request option.
3110
+ * @throws {RequiredError}
3111
+ */
3112
+ apiProspectsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3113
+ return localVarFp.apiProspectsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3114
+ },
3115
+ /**
3116
+ * List observations for a specific prospect (by contact).
3117
+ * @summary List Observations by Prospect
3118
+ * @param {string} cONTACTID
3119
+ * @param {number} [page]
3120
+ * @param {number} [limit]
3121
+ * @param {*} [options] Override http request option.
3122
+ * @throws {RequiredError}
3123
+ */
3124
+ apiProspectsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3125
+ return localVarFp.apiProspectsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3126
+ },
3127
+ /**
3128
+ * List tasks for a specific prospect (by contact).
3129
+ * @summary List Tasks by Prospect
3130
+ * @param {string} cONTACTID
3131
+ * @param {number} [page]
3132
+ * @param {number} [limit]
3133
+ * @param {*} [options] Override http request option.
3134
+ * @throws {RequiredError}
3135
+ */
3136
+ apiProspectsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3137
+ return localVarFp.apiProspectsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3138
+ },
3139
+ /**
3140
+ * List tickets for a specific prospect (by contact).
3141
+ * @summary List Tickets by Prospect
3142
+ * @param {string} cONTACTID
3143
+ * @param {number} [page]
3144
+ * @param {number} [limit]
3145
+ * @param {*} [options] Override http request option.
3146
+ * @throws {RequiredError}
3147
+ */
3148
+ apiProspectsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3149
+ return localVarFp.apiProspectsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3150
+ },
3151
+ /**
3152
+ * List treatments for a specific prospect (by contact).
3153
+ * @summary List Treatments by Prospect
3154
+ * @param {string} cONTACTID
3155
+ * @param {number} [page]
3156
+ * @param {number} [limit]
3157
+ * @param {*} [options] Override http request option.
3158
+ * @throws {RequiredError}
3159
+ */
3160
+ apiProspectsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3161
+ return localVarFp.apiProspectsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3162
+ },
3163
+ /**
3164
+ * Retrieves a specific prospect by ID.
3165
+ * @summary Get One Prospect
3166
+ * @param {string} id
3167
+ * @param {*} [options] Override http request option.
3168
+ * @throws {RequiredError}
3169
+ */
3170
+ apiProspectsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3171
+ return localVarFp.apiProspectsIdGet(id, options).then((request) => request(axios, basePath));
3172
+ },
3173
+ /**
3174
+ *
3175
+ * @summary Update One Prospect
3176
+ * @param {string} id
3177
+ * @param {*} [options] Override http request option.
3178
+ * @throws {RequiredError}
3179
+ */
3180
+ apiProspectsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3181
+ return localVarFp.apiProspectsIdPut(id, options).then((request) => request(axios, basePath));
3182
+ },
3183
+ /**
3184
+ * ### Get Staff Details This endpoint makes an HTTP GET request to retrieve the details of a specific staff member. #### Request - Method: GET - URL: `{{base_url}}/api/staffs/:id` #### Response The response includes the staff member details: `_id`, `email`, `active`, `admin`, `customFields`, `fullname`, `image`, `role`, `settings`, `status`, `type`, `lastLogin`, `createdAt`, `updatedAt`.
3185
+ * @summary Get One Staff
3186
+ * @param {string} id
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ */
3190
+ apiStaffsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3191
+ return localVarFp.apiStaffsIdGet(id, options).then((request) => request(axios, basePath));
3192
+ },
3193
+ /**
3194
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
3195
+ * @summary Update One Staff
3196
+ * @param {string} id
3197
+ * @param {object} [body]
3198
+ * @param {*} [options] Override http request option.
3199
+ * @throws {RequiredError}
3200
+ */
3201
+ apiStaffsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3202
+ return localVarFp.apiStaffsIdPut(id, body, options).then((request) => request(axios, basePath));
3203
+ },
3204
+ /**
3205
+ * ### Create a New Staff Member This endpoint allows the creation of a new staff member. #### Request Body - `customFields` (array of objects) - Custom fields for the staff member. - `fullname` (string) - The full name of the staff member. - `email` (string) - The email address of the staff member. - `phone` (string) - The phone number of the staff member. - `role` (string) - The role ID assigned to the staff member. - `workspaces` (array) - The workspaces the staff member belongs to. The staff member will receive an invitation email to set their password.
3206
+ * @summary Create One Staff
3207
+ * @param {object} [body]
3208
+ * @param {*} [options] Override http request option.
3209
+ * @throws {RequiredError}
3210
+ */
3211
+ apiStaffsPost(body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3212
+ return localVarFp.apiStaffsPost(body, options).then((request) => request(axios, basePath));
3213
+ },
3214
+ /**
3215
+ * This endpoint retrieves a specific task by ID. Response is a JSON object with task details including `_id`, `code`, `owner`, `title`, `dateOfExpires`, `type`, `status`, `observation`, `contact`, `deal`, `createdAt`, `updatedAt`.
3216
+ * @summary Get One Task
3217
+ * @param {string} id
3218
+ * @param {*} [options] Override http request option.
3219
+ * @throws {RequiredError}
3220
+ */
3221
+ apiTasksIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3222
+ return localVarFp.apiTasksIdGet(id, options).then((request) => request(axios, basePath));
3223
+ },
3224
+ /**
3225
+ * Atualiza os dados de uma tarefa existente.
3226
+ * @summary Update One Task
3227
+ * @param {string} id
3228
+ * @param {object} [body]
3229
+ * @param {*} [options] Override http request option.
3230
+ * @throws {RequiredError}
3231
+ */
3232
+ apiTasksIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3233
+ return localVarFp.apiTasksIdPut(id, body, options).then((request) => request(axios, basePath));
3234
+ },
3235
+ /**
3236
+ * Retrieves a specific ticket by ID. Response is a JSON object with ticket details including `_id`, `code`, `subject`, `description`, `status`, `priority`, `labels`, `contact`, `owner`, `participants`, `observers`, `createdAt`, `updatedAt`.
3237
+ * @summary Get One Ticket
3238
+ * @param {string} id
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ */
3242
+ apiTicketsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3243
+ return localVarFp.apiTicketsIdGet(id, options).then((request) => request(axios, basePath));
3244
+ },
3245
+ /**
3246
+ * Atualiza os dados de um ticket existente.
3247
+ * @summary Update One Ticket
3248
+ * @param {string} id
3249
+ * @param {object} [body]
3250
+ * @param {*} [options] Override http request option.
3251
+ * @throws {RequiredError}
3252
+ */
3253
+ apiTicketsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3254
+ return localVarFp.apiTicketsIdPut(id, body, options).then((request) => request(axios, basePath));
3255
+ },
3256
+ /**
3257
+ *
3258
+ * @summary Get One Treatment
3259
+ * @param {string} id
3260
+ * @param {*} [options] Override http request option.
3261
+ * @throws {RequiredError}
3262
+ */
3263
+ apiTreatmentsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3264
+ return localVarFp.apiTreatmentsIdGet(id, options).then((request) => request(axios, basePath));
3265
+ },
3266
+ /**
3267
+ *
3268
+ * @summary Update One Treatment
3269
+ * @param {string} id
3270
+ * @param {*} [options] Override http request option.
3271
+ * @throws {RequiredError}
3272
+ */
3273
+ apiTreatmentsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3274
+ return localVarFp.apiTreatmentsIdPut(id, options).then((request) => request(axios, basePath));
3275
+ },
3276
+ /**
3277
+ *
3278
+ * @summary Get One Treatment Type
3279
+ * @param {string} id
3280
+ * @param {*} [options] Override http request option.
3281
+ * @throws {RequiredError}
3282
+ */
3283
+ apiTreatmentsTypesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3284
+ return localVarFp.apiTreatmentsTypesIdGet(id, options).then((request) => request(axios, basePath));
3285
+ },
3286
+ /**
3287
+ *
3288
+ * @summary Update One Treatment Type
3289
+ * @param {string} id
3290
+ * @param {*} [options] Override http request option.
3291
+ * @throws {RequiredError}
3292
+ */
3293
+ apiTreatmentsTypesIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3294
+ return localVarFp.apiTreatmentsTypesIdPut(id, options).then((request) => request(axios, basePath));
3295
+ },
3296
+ /**
3297
+ *
3298
+ * @summary Create One Treatment Type
3299
+ * @param {*} [options] Override http request option.
3300
+ * @throws {RequiredError}
3301
+ */
3302
+ apiTreatmentsTypesPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3303
+ return localVarFp.apiTreatmentsTypesPost(options).then((request) => request(axios, basePath));
3304
+ },
3305
+ /**
3306
+ *
3307
+ * @summary List Workspaces
3308
+ * @param {number} [page]
3309
+ * @param {number} [limit]
3310
+ * @param {string} [search]
3311
+ * @param {*} [options] Override http request option.
3312
+ * @throws {RequiredError}
3313
+ */
3314
+ apiTreatmentsWorkspacesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3315
+ return localVarFp.apiTreatmentsWorkspacesGet(page, limit, search, options).then((request) => request(axios, basePath));
3316
+ },
3317
+ /**
3318
+ *
3319
+ * @summary Get One Workspace
3320
+ * @param {string} id
3321
+ * @param {*} [options] Override http request option.
3322
+ * @throws {RequiredError}
3323
+ */
3324
+ apiTreatmentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3325
+ return localVarFp.apiTreatmentsWorkspacesIdGet(id, options).then((request) => request(axios, basePath));
3326
+ },
3327
+ /**
3328
+ *
3329
+ * @summary Update One Workspace
3330
+ * @param {string} id
3331
+ * @param {*} [options] Override http request option.
3332
+ * @throws {RequiredError}
3333
+ */
3334
+ apiTreatmentsWorkspacesIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3335
+ return localVarFp.apiTreatmentsWorkspacesIdPut(id, options).then((request) => request(axios, basePath));
3336
+ },
3337
+ /**
3338
+ *
3339
+ * @summary Create One Workspace
3340
+ * @param {*} [options] Override http request option.
3341
+ * @throws {RequiredError}
3342
+ */
3343
+ apiTreatmentsWorkspacesPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3344
+ return localVarFp.apiTreatmentsWorkspacesPost(options).then((request) => request(axios, basePath));
3345
+ },
3346
+ };
3347
+ };
3348
+
3349
+ /**
3350
+ * ResourcesApi - object-oriented interface
3351
+ */
3352
+ export class ResourcesApi extends BaseAPI {
3353
+ /**
3354
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
3355
+ * @summary Get One Contact
3356
+ * @param {string} id
3357
+ * @param {*} [options] Override http request option.
3358
+ * @throws {RequiredError}
3359
+ */
3360
+ public apiContactsIdGet(id: string, options?: RawAxiosRequestConfig) {
3361
+ return ResourcesApiFp(this.configuration).apiContactsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3362
+ }
3363
+
3364
+ /**
3365
+ *
3366
+ * @summary Get One Block
3367
+ * @param {string} id
3368
+ * @param {*} [options] Override http request option.
3369
+ * @throws {RequiredError}
3370
+ */
3371
+ public apiCustomfieldblocksIdGet(id: string, options?: RawAxiosRequestConfig) {
3372
+ return ResourcesApiFp(this.configuration).apiCustomfieldblocksIdGet(id, options).then((request) => request(this.axios, this.basePath));
3373
+ }
3374
+
3375
+ /**
3376
+ *
3377
+ * @summary Update One Block
3378
+ * @param {string} id
3379
+ * @param {*} [options] Override http request option.
3380
+ * @throws {RequiredError}
3381
+ */
3382
+ public apiCustomfieldblocksIdPut(id: string, options?: RawAxiosRequestConfig) {
3383
+ return ResourcesApiFp(this.configuration).apiCustomfieldblocksIdPut(id, options).then((request) => request(this.axios, this.basePath));
3384
+ }
3385
+
3386
+ /**
3387
+ *
3388
+ * @summary Create One Block
3389
+ * @param {*} [options] Override http request option.
3390
+ * @throws {RequiredError}
3391
+ */
3392
+ public apiCustomfieldblocksPost(options?: RawAxiosRequestConfig) {
3393
+ return ResourcesApiFp(this.configuration).apiCustomfieldblocksPost(options).then((request) => request(this.axios, this.basePath));
3394
+ }
3395
+
3396
+ /**
3397
+ *
3398
+ * @summary Get One Custom Field
3399
+ * @param {string} id
3400
+ * @param {*} [options] Override http request option.
3401
+ * @throws {RequiredError}
3402
+ */
3403
+ public apiCustomfieldsIdGet(id: string, options?: RawAxiosRequestConfig) {
3404
+ return ResourcesApiFp(this.configuration).apiCustomfieldsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3405
+ }
3406
+
3407
+ /**
3408
+ *
3409
+ * @summary Update One Custom Field
3410
+ * @param {string} id
3411
+ * @param {*} [options] Override http request option.
3412
+ * @throws {RequiredError}
3413
+ */
3414
+ public apiCustomfieldsIdPut(id: string, options?: RawAxiosRequestConfig) {
3415
+ return ResourcesApiFp(this.configuration).apiCustomfieldsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3416
+ }
3417
+
3418
+ /**
3419
+ *
3420
+ * @summary List Widgets
3421
+ * @param {string} dashboardId
3422
+ * @param {*} [options] Override http request option.
3423
+ * @throws {RequiredError}
3424
+ */
3425
+ public apiDashboardsDashboardIdWidgetsGet(dashboardId: string, options?: RawAxiosRequestConfig) {
3426
+ return ResourcesApiFp(this.configuration).apiDashboardsDashboardIdWidgetsGet(dashboardId, options).then((request) => request(this.axios, this.basePath));
3427
+ }
3428
+
3429
+ /**
3430
+ * ### Get Contacts This endpoint makes an HTTP GET request to retrieve a list of contacts with optional pagination and filtering parameters. #### Request - Method: GET - URL: `{{platform_url}}/contacts` - Query Parameters: - page (number, optional): The page number for pagination. - search (string, optional): Search query for filtering contacts. - limit (number, optional): The maximum number of contacts to retrieve per page. - emailsEmpty (boolean, optional): Indicates whether to include contacts with empty email addresses. - phonesEmpty (boolean, optional): Indicates whether to include contacts with empty phone numbers. - interactionsEmpty (boolean, optional): Indicates whether to include contacts with empty interaction records. - sortBy (string, optional): The field to sort the contacts by. - sortType (string, optional): The type of sorting (e.g., asc for ascending, desc for descending). #### Response The response for this request is a JSON object representing the list of contacts, following the specified pagination and filtering criteria. For the response schema, please refer to the JSON schema provided separately.
3431
+ * @summary Get One Deal
3432
+ * @param {string} id
3433
+ * @param {*} [options] Override http request option.
3434
+ * @throws {RequiredError}
3435
+ */
3436
+ public apiDealsIdGet(id: string, options?: RawAxiosRequestConfig) {
3437
+ return ResourcesApiFp(this.configuration).apiDealsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3438
+ }
3439
+
3440
+ /**
3441
+ * List meetings for a specific lead (by contact).
3442
+ * @summary List Meetings by Lead
3443
+ * @param {string} cONTACTID
3444
+ * @param {number} [page]
3445
+ * @param {number} [limit]
3446
+ * @param {*} [options] Override http request option.
3447
+ * @throws {RequiredError}
3448
+ */
3449
+ public apiLeadsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3450
+ return ResourcesApiFp(this.configuration).apiLeadsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3451
+ }
3452
+
3453
+ /**
3454
+ * List observations for a specific lead (by contact).
3455
+ * @summary List Observations by Lead
3456
+ * @param {string} cONTACTID
3457
+ * @param {number} [page]
3458
+ * @param {number} [limit]
3459
+ * @param {*} [options] Override http request option.
3460
+ * @throws {RequiredError}
3461
+ */
3462
+ public apiLeadsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3463
+ return ResourcesApiFp(this.configuration).apiLeadsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3464
+ }
3465
+
3466
+ /**
3467
+ * List tasks for a specific lead (by contact).
3468
+ * @summary List Tasks by Lead
3469
+ * @param {string} cONTACTID
3470
+ * @param {number} [page]
3471
+ * @param {number} [limit]
3472
+ * @param {*} [options] Override http request option.
3473
+ * @throws {RequiredError}
3474
+ */
3475
+ public apiLeadsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3476
+ return ResourcesApiFp(this.configuration).apiLeadsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3477
+ }
3478
+
3479
+ /**
3480
+ * List tickets for a specific lead (by contact).
3481
+ * @summary List Tickets by Lead
3482
+ * @param {string} cONTACTID
3483
+ * @param {number} [page]
3484
+ * @param {number} [limit]
3485
+ * @param {*} [options] Override http request option.
3486
+ * @throws {RequiredError}
3487
+ */
3488
+ public apiLeadsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3489
+ return ResourcesApiFp(this.configuration).apiLeadsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3490
+ }
3491
+
3492
+ /**
3493
+ * List treatments for a specific lead (by contact).
3494
+ * @summary List Treatments by Lead
3495
+ * @param {string} cONTACTID
3496
+ * @param {number} [page]
3497
+ * @param {number} [limit]
3498
+ * @param {*} [options] Override http request option.
3499
+ * @throws {RequiredError}
3500
+ */
3501
+ public apiLeadsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3502
+ return ResourcesApiFp(this.configuration).apiLeadsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3503
+ }
3504
+
3505
+ /**
3506
+ * Retrieves a specific lead by ID.
3507
+ * @summary Get One Lead
3508
+ * @param {string} id
3509
+ * @param {*} [options] Override http request option.
3510
+ * @throws {RequiredError}
3511
+ */
3512
+ public apiLeadsIdGet(id: string, options?: RawAxiosRequestConfig) {
3513
+ return ResourcesApiFp(this.configuration).apiLeadsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3514
+ }
3515
+
3516
+ /**
3517
+ *
3518
+ * @summary Update One Lead
3519
+ * @param {string} id
3520
+ * @param {*} [options] Override http request option.
3521
+ * @throws {RequiredError}
3522
+ */
3523
+ public apiLeadsIdPut(id: string, options?: RawAxiosRequestConfig) {
3524
+ return ResourcesApiFp(this.configuration).apiLeadsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3525
+ }
3526
+
3527
+ /**
3528
+ *
3529
+ * @summary Get One Meeting
3530
+ * @param {string} id
3531
+ * @param {*} [options] Override http request option.
3532
+ * @throws {RequiredError}
3533
+ */
3534
+ public apiMeetingsIdGet(id: string, options?: RawAxiosRequestConfig) {
3535
+ return ResourcesApiFp(this.configuration).apiMeetingsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3536
+ }
3537
+
3538
+ /**
3539
+ *
3540
+ * @summary Update One Meeting
3541
+ * @param {string} id
3542
+ * @param {*} [options] Override http request option.
3543
+ * @throws {RequiredError}
3544
+ */
3545
+ public apiMeetingsIdPut(id: string, options?: RawAxiosRequestConfig) {
3546
+ return ResourcesApiFp(this.configuration).apiMeetingsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3547
+ }
3548
+
3549
+ /**
3550
+ *
3551
+ * @summary List Meeting Rooms
3552
+ * @param {number} [page]
3553
+ * @param {number} [limit]
3554
+ * @param {string} [search]
3555
+ * @param {*} [options] Override http request option.
3556
+ * @throws {RequiredError}
3557
+ */
3558
+ public apiMeetingsRoomsGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig) {
3559
+ return ResourcesApiFp(this.configuration).apiMeetingsRoomsGet(page, limit, search, options).then((request) => request(this.axios, this.basePath));
3560
+ }
3561
+
3562
+ /**
3563
+ *
3564
+ * @summary Get One Meeting Room
3565
+ * @param {string} id
3566
+ * @param {*} [options] Override http request option.
3567
+ * @throws {RequiredError}
3568
+ */
3569
+ public apiMeetingsRoomsIdGet(id: string, options?: RawAxiosRequestConfig) {
3570
+ return ResourcesApiFp(this.configuration).apiMeetingsRoomsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3571
+ }
3572
+
3573
+ /**
3574
+ *
3575
+ * @summary Update One Meeting Room
3576
+ * @param {string} id
3577
+ * @param {*} [options] Override http request option.
3578
+ * @throws {RequiredError}
3579
+ */
3580
+ public apiMeetingsRoomsIdPut(id: string, options?: RawAxiosRequestConfig) {
3581
+ return ResourcesApiFp(this.configuration).apiMeetingsRoomsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3582
+ }
3583
+
3584
+ /**
3585
+ *
3586
+ * @summary Create One Meeting Room
3587
+ * @param {*} [options] Override http request option.
3588
+ * @throws {RequiredError}
3589
+ */
3590
+ public apiMeetingsRoomsPost(options?: RawAxiosRequestConfig) {
3591
+ return ResourcesApiFp(this.configuration).apiMeetingsRoomsPost(options).then((request) => request(this.axios, this.basePath));
3592
+ }
3593
+
3594
+ /**
3595
+ *
3596
+ * @summary List Meeting Types
3597
+ * @param {number} [page]
3598
+ * @param {number} [limit]
3599
+ * @param {string} [search]
3600
+ * @param {*} [options] Override http request option.
3601
+ * @throws {RequiredError}
3602
+ */
3603
+ public apiMeetingsTypesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig) {
3604
+ return ResourcesApiFp(this.configuration).apiMeetingsTypesGet(page, limit, search, options).then((request) => request(this.axios, this.basePath));
3605
+ }
3606
+
3607
+ /**
3608
+ *
3609
+ * @summary Get One Meeting Type
3610
+ * @param {string} id
3611
+ * @param {*} [options] Override http request option.
3612
+ * @throws {RequiredError}
3613
+ */
3614
+ public apiMeetingsTypesIdGet(id: string, options?: RawAxiosRequestConfig) {
3615
+ return ResourcesApiFp(this.configuration).apiMeetingsTypesIdGet(id, options).then((request) => request(this.axios, this.basePath));
3616
+ }
3617
+
3618
+ /**
3619
+ *
3620
+ * @summary Update One Meeting Type
3621
+ * @param {string} id
3622
+ * @param {*} [options] Override http request option.
3623
+ * @throws {RequiredError}
3624
+ */
3625
+ public apiMeetingsTypesIdPut(id: string, options?: RawAxiosRequestConfig) {
3626
+ return ResourcesApiFp(this.configuration).apiMeetingsTypesIdPut(id, options).then((request) => request(this.axios, this.basePath));
3627
+ }
3628
+
3629
+ /**
3630
+ *
3631
+ * @summary Create One Meeting Type
3632
+ * @param {*} [options] Override http request option.
3633
+ * @throws {RequiredError}
3634
+ */
3635
+ public apiMeetingsTypesPost(options?: RawAxiosRequestConfig) {
3636
+ return ResourcesApiFp(this.configuration).apiMeetingsTypesPost(options).then((request) => request(this.axios, this.basePath));
3637
+ }
3638
+
3639
+ /**
3640
+ * This endpoint makes an HTTP GET request to retrieve a specific organization by ID. The response is a JSON object with the organization details including `_id`, `customFields`, `labels`, `fullname`, `doc`, `phones`, `owners`, `interactions`, `createdAt`, `updatedAt`.
3641
+ * @summary Get One Organization
3642
+ * @param {string} id
3643
+ * @param {*} [options] Override http request option.
3644
+ * @throws {RequiredError}
3645
+ */
3646
+ public apiOrganizationsIdGet(id: string, options?: RawAxiosRequestConfig) {
3647
+ return ResourcesApiFp(this.configuration).apiOrganizationsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3648
+ }
3649
+
3650
+ /**
3651
+ * Atualiza os dados de uma organização existente.
3652
+ * @summary Update One Organization
3653
+ * @param {string} id
3654
+ * @param {object} [body]
3655
+ * @param {*} [options] Override http request option.
3656
+ * @throws {RequiredError}
3657
+ */
3658
+ public apiOrganizationsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3659
+ return ResourcesApiFp(this.configuration).apiOrganizationsIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3660
+ }
3661
+
3662
+ /**
3663
+ * Retrieves a specific pipeline by ID. Response is a JSON object with pipeline details including `_id`, `title`, `stages` (array with stage names, positions, probabilities), `staffs`, `roles`, `defaultView`, `active`, `createdAt`, `updatedAt`.
3664
+ * @summary Get One Pipeline
3665
+ * @param {string} id
3666
+ * @param {*} [options] Override http request option.
3667
+ * @throws {RequiredError}
3668
+ */
3669
+ public apiPipelinesIdGet(id: string, options?: RawAxiosRequestConfig) {
3670
+ return ResourcesApiFp(this.configuration).apiPipelinesIdGet(id, options).then((request) => request(this.axios, this.basePath));
3671
+ }
3672
+
3673
+ /**
3674
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
3675
+ * @summary Update One Pipeline
3676
+ * @param {string} id
3677
+ * @param {object} [body]
3678
+ * @param {*} [options] Override http request option.
3679
+ * @throws {RequiredError}
3680
+ */
3681
+ public apiPipelinesIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3682
+ return ResourcesApiFp(this.configuration).apiPipelinesIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3683
+ }
3684
+
3685
+ /**
3686
+ * List meetings for a specific prospect (by contact).
3687
+ * @summary List Meetings by Prospect
3688
+ * @param {string} cONTACTID
3689
+ * @param {number} [page]
3690
+ * @param {number} [limit]
3691
+ * @param {*} [options] Override http request option.
3692
+ * @throws {RequiredError}
3693
+ */
3694
+ public apiProspectsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3695
+ return ResourcesApiFp(this.configuration).apiProspectsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3696
+ }
3697
+
3698
+ /**
3699
+ * List observations for a specific prospect (by contact).
3700
+ * @summary List Observations by Prospect
3701
+ * @param {string} cONTACTID
3702
+ * @param {number} [page]
3703
+ * @param {number} [limit]
3704
+ * @param {*} [options] Override http request option.
3705
+ * @throws {RequiredError}
3706
+ */
3707
+ public apiProspectsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3708
+ return ResourcesApiFp(this.configuration).apiProspectsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3709
+ }
3710
+
3711
+ /**
3712
+ * List tasks for a specific prospect (by contact).
3713
+ * @summary List Tasks by Prospect
3714
+ * @param {string} cONTACTID
3715
+ * @param {number} [page]
3716
+ * @param {number} [limit]
3717
+ * @param {*} [options] Override http request option.
3718
+ * @throws {RequiredError}
3719
+ */
3720
+ public apiProspectsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3721
+ return ResourcesApiFp(this.configuration).apiProspectsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3722
+ }
3723
+
3724
+ /**
3725
+ * List tickets for a specific prospect (by contact).
3726
+ * @summary List Tickets by Prospect
3727
+ * @param {string} cONTACTID
3728
+ * @param {number} [page]
3729
+ * @param {number} [limit]
3730
+ * @param {*} [options] Override http request option.
3731
+ * @throws {RequiredError}
3732
+ */
3733
+ public apiProspectsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3734
+ return ResourcesApiFp(this.configuration).apiProspectsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3735
+ }
3736
+
3737
+ /**
3738
+ * List treatments for a specific prospect (by contact).
3739
+ * @summary List Treatments by Prospect
3740
+ * @param {string} cONTACTID
3741
+ * @param {number} [page]
3742
+ * @param {number} [limit]
3743
+ * @param {*} [options] Override http request option.
3744
+ * @throws {RequiredError}
3745
+ */
3746
+ public apiProspectsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3747
+ return ResourcesApiFp(this.configuration).apiProspectsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3748
+ }
3749
+
3750
+ /**
3751
+ * Retrieves a specific prospect by ID.
3752
+ * @summary Get One Prospect
3753
+ * @param {string} id
3754
+ * @param {*} [options] Override http request option.
3755
+ * @throws {RequiredError}
3756
+ */
3757
+ public apiProspectsIdGet(id: string, options?: RawAxiosRequestConfig) {
3758
+ return ResourcesApiFp(this.configuration).apiProspectsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3759
+ }
3760
+
3761
+ /**
3762
+ *
3763
+ * @summary Update One Prospect
3764
+ * @param {string} id
3765
+ * @param {*} [options] Override http request option.
3766
+ * @throws {RequiredError}
3767
+ */
3768
+ public apiProspectsIdPut(id: string, options?: RawAxiosRequestConfig) {
3769
+ return ResourcesApiFp(this.configuration).apiProspectsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3770
+ }
3771
+
3772
+ /**
3773
+ * ### Get Staff Details This endpoint makes an HTTP GET request to retrieve the details of a specific staff member. #### Request - Method: GET - URL: `{{base_url}}/api/staffs/:id` #### Response The response includes the staff member details: `_id`, `email`, `active`, `admin`, `customFields`, `fullname`, `image`, `role`, `settings`, `status`, `type`, `lastLogin`, `createdAt`, `updatedAt`.
3774
+ * @summary Get One Staff
3775
+ * @param {string} id
3776
+ * @param {*} [options] Override http request option.
3777
+ * @throws {RequiredError}
3778
+ */
3779
+ public apiStaffsIdGet(id: string, options?: RawAxiosRequestConfig) {
3780
+ return ResourcesApiFp(this.configuration).apiStaffsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3781
+ }
3782
+
3783
+ /**
3784
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
3785
+ * @summary Update One Staff
3786
+ * @param {string} id
3787
+ * @param {object} [body]
3788
+ * @param {*} [options] Override http request option.
3789
+ * @throws {RequiredError}
3790
+ */
3791
+ public apiStaffsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3792
+ return ResourcesApiFp(this.configuration).apiStaffsIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3793
+ }
3794
+
3795
+ /**
3796
+ * ### Create a New Staff Member This endpoint allows the creation of a new staff member. #### Request Body - `customFields` (array of objects) - Custom fields for the staff member. - `fullname` (string) - The full name of the staff member. - `email` (string) - The email address of the staff member. - `phone` (string) - The phone number of the staff member. - `role` (string) - The role ID assigned to the staff member. - `workspaces` (array) - The workspaces the staff member belongs to. The staff member will receive an invitation email to set their password.
3797
+ * @summary Create One Staff
3798
+ * @param {object} [body]
3799
+ * @param {*} [options] Override http request option.
3800
+ * @throws {RequiredError}
3801
+ */
3802
+ public apiStaffsPost(body?: object, options?: RawAxiosRequestConfig) {
3803
+ return ResourcesApiFp(this.configuration).apiStaffsPost(body, options).then((request) => request(this.axios, this.basePath));
3804
+ }
3805
+
3806
+ /**
3807
+ * This endpoint retrieves a specific task by ID. Response is a JSON object with task details including `_id`, `code`, `owner`, `title`, `dateOfExpires`, `type`, `status`, `observation`, `contact`, `deal`, `createdAt`, `updatedAt`.
3808
+ * @summary Get One Task
3809
+ * @param {string} id
3810
+ * @param {*} [options] Override http request option.
3811
+ * @throws {RequiredError}
3812
+ */
3813
+ public apiTasksIdGet(id: string, options?: RawAxiosRequestConfig) {
3814
+ return ResourcesApiFp(this.configuration).apiTasksIdGet(id, options).then((request) => request(this.axios, this.basePath));
3815
+ }
3816
+
3817
+ /**
3818
+ * Atualiza os dados de uma tarefa existente.
3819
+ * @summary Update One Task
3820
+ * @param {string} id
3821
+ * @param {object} [body]
3822
+ * @param {*} [options] Override http request option.
3823
+ * @throws {RequiredError}
3824
+ */
3825
+ public apiTasksIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3826
+ return ResourcesApiFp(this.configuration).apiTasksIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3827
+ }
3828
+
3829
+ /**
3830
+ * Retrieves a specific ticket by ID. Response is a JSON object with ticket details including `_id`, `code`, `subject`, `description`, `status`, `priority`, `labels`, `contact`, `owner`, `participants`, `observers`, `createdAt`, `updatedAt`.
3831
+ * @summary Get One Ticket
3832
+ * @param {string} id
3833
+ * @param {*} [options] Override http request option.
3834
+ * @throws {RequiredError}
3835
+ */
3836
+ public apiTicketsIdGet(id: string, options?: RawAxiosRequestConfig) {
3837
+ return ResourcesApiFp(this.configuration).apiTicketsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3838
+ }
3839
+
3840
+ /**
3841
+ * Atualiza os dados de um ticket existente.
3842
+ * @summary Update One Ticket
3843
+ * @param {string} id
3844
+ * @param {object} [body]
3845
+ * @param {*} [options] Override http request option.
3846
+ * @throws {RequiredError}
3847
+ */
3848
+ public apiTicketsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3849
+ return ResourcesApiFp(this.configuration).apiTicketsIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3850
+ }
3851
+
3852
+ /**
3853
+ *
3854
+ * @summary Get One Treatment
3855
+ * @param {string} id
3856
+ * @param {*} [options] Override http request option.
3857
+ * @throws {RequiredError}
3858
+ */
3859
+ public apiTreatmentsIdGet(id: string, options?: RawAxiosRequestConfig) {
3860
+ return ResourcesApiFp(this.configuration).apiTreatmentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3861
+ }
3862
+
3863
+ /**
3864
+ *
3865
+ * @summary Update One Treatment
3866
+ * @param {string} id
3867
+ * @param {*} [options] Override http request option.
3868
+ * @throws {RequiredError}
3869
+ */
3870
+ public apiTreatmentsIdPut(id: string, options?: RawAxiosRequestConfig) {
3871
+ return ResourcesApiFp(this.configuration).apiTreatmentsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3872
+ }
3873
+
3874
+ /**
3875
+ *
3876
+ * @summary Get One Treatment Type
3877
+ * @param {string} id
3878
+ * @param {*} [options] Override http request option.
3879
+ * @throws {RequiredError}
3880
+ */
3881
+ public apiTreatmentsTypesIdGet(id: string, options?: RawAxiosRequestConfig) {
3882
+ return ResourcesApiFp(this.configuration).apiTreatmentsTypesIdGet(id, options).then((request) => request(this.axios, this.basePath));
3883
+ }
3884
+
3885
+ /**
3886
+ *
3887
+ * @summary Update One Treatment Type
3888
+ * @param {string} id
3889
+ * @param {*} [options] Override http request option.
3890
+ * @throws {RequiredError}
3891
+ */
3892
+ public apiTreatmentsTypesIdPut(id: string, options?: RawAxiosRequestConfig) {
3893
+ return ResourcesApiFp(this.configuration).apiTreatmentsTypesIdPut(id, options).then((request) => request(this.axios, this.basePath));
3894
+ }
3895
+
3896
+ /**
3897
+ *
3898
+ * @summary Create One Treatment Type
3899
+ * @param {*} [options] Override http request option.
3900
+ * @throws {RequiredError}
3901
+ */
3902
+ public apiTreatmentsTypesPost(options?: RawAxiosRequestConfig) {
3903
+ return ResourcesApiFp(this.configuration).apiTreatmentsTypesPost(options).then((request) => request(this.axios, this.basePath));
3904
+ }
3905
+
3906
+ /**
3907
+ *
3908
+ * @summary List Workspaces
3909
+ * @param {number} [page]
3910
+ * @param {number} [limit]
3911
+ * @param {string} [search]
3912
+ * @param {*} [options] Override http request option.
3913
+ * @throws {RequiredError}
3914
+ */
3915
+ public apiTreatmentsWorkspacesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig) {
3916
+ return ResourcesApiFp(this.configuration).apiTreatmentsWorkspacesGet(page, limit, search, options).then((request) => request(this.axios, this.basePath));
3917
+ }
3918
+
3919
+ /**
3920
+ *
3921
+ * @summary Get One Workspace
3922
+ * @param {string} id
3923
+ * @param {*} [options] Override http request option.
3924
+ * @throws {RequiredError}
3925
+ */
3926
+ public apiTreatmentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig) {
3927
+ return ResourcesApiFp(this.configuration).apiTreatmentsWorkspacesIdGet(id, options).then((request) => request(this.axios, this.basePath));
3928
+ }
3929
+
3930
+ /**
3931
+ *
3932
+ * @summary Update One Workspace
3933
+ * @param {string} id
3934
+ * @param {*} [options] Override http request option.
3935
+ * @throws {RequiredError}
3936
+ */
3937
+ public apiTreatmentsWorkspacesIdPut(id: string, options?: RawAxiosRequestConfig) {
3938
+ return ResourcesApiFp(this.configuration).apiTreatmentsWorkspacesIdPut(id, options).then((request) => request(this.axios, this.basePath));
3939
+ }
3940
+
3941
+ /**
3942
+ *
3943
+ * @summary Create One Workspace
3944
+ * @param {*} [options] Override http request option.
3945
+ * @throws {RequiredError}
3946
+ */
3947
+ public apiTreatmentsWorkspacesPost(options?: RawAxiosRequestConfig) {
3948
+ return ResourcesApiFp(this.configuration).apiTreatmentsWorkspacesPost(options).then((request) => request(this.axios, this.basePath));
3949
+ }
3950
+ }
3951
+