@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,4157 @@
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
+ * V1LegacyApi - axios parameter creator
26
+ */
27
+ export const V1LegacyApiAxiosParamCreator = 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 Update contact customFields
69
+ * @param {string} id
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ apiContactsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
74
+ // verify required parameter 'id' is not null or undefined
75
+ assertParamExists('apiContactsIdPut', 'id', id)
76
+ const localVarPath = `/api/contacts/{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: 'PUT', ...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 Get One Block
106
+ * @param {string} id
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ apiCustomfieldblocksIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
111
+ // verify required parameter 'id' is not null or undefined
112
+ assertParamExists('apiCustomfieldblocksIdGet', '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: 'GET', ...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 Update One Block
143
+ * @param {string} id
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ apiCustomfieldblocksIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
148
+ // verify required parameter 'id' is not null or undefined
149
+ assertParamExists('apiCustomfieldblocksIdPut', 'id', id)
150
+ const localVarPath = `/api/customfieldblocks/{id}`
151
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
153
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
154
+ let baseOptions;
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ }
158
+
159
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
160
+ const localVarHeaderParameter = {} as any;
161
+ const localVarQueryParameter = {} as any;
162
+
163
+ // authentication OAuth2 required
164
+ // oauth required
165
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
166
+
167
+
168
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
169
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
170
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
171
+
172
+ return {
173
+ url: toPathString(localVarUrlObj),
174
+ options: localVarRequestOptions,
175
+ };
176
+ },
177
+ /**
178
+ *
179
+ * @summary Create One Block
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ apiCustomfieldblocksPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
184
+ const localVarPath = `/api/customfieldblocks`;
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: 'POST', ...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 Get One Custom Field
213
+ * @param {string} id
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ apiCustomfieldsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
218
+ // verify required parameter 'id' is not null or undefined
219
+ assertParamExists('apiCustomfieldsIdGet', '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: 'GET', ...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 Update One Custom Field
250
+ * @param {string} id
251
+ * @param {*} [options] Override http request option.
252
+ * @throws {RequiredError}
253
+ */
254
+ apiCustomfieldsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
255
+ // verify required parameter 'id' is not null or undefined
256
+ assertParamExists('apiCustomfieldsIdPut', 'id', id)
257
+ const localVarPath = `/api/customfields/{id}`
258
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
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: 'PUT', ...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
+ *
286
+ * @summary List Widgets
287
+ * @param {string} dashboardId
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ apiDashboardsDashboardIdWidgetsGet: async (dashboardId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
292
+ // verify required parameter 'dashboardId' is not null or undefined
293
+ assertParamExists('apiDashboardsDashboardIdWidgetsGet', 'dashboardId', dashboardId)
294
+ const localVarPath = `/api/dashboards/{dashboard_id}/widgets`
295
+ .replace(`{${"dashboard_id"}}`, encodeURIComponent(String(dashboardId)));
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
+ * ### 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.
323
+ * @summary Get One Deal
324
+ * @param {string} id
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ apiDealsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
329
+ // verify required parameter 'id' is not null or undefined
330
+ assertParamExists('apiDealsIdGet', 'id', id)
331
+ const localVarPath = `/api/deals/{id}`
332
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
333
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
334
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
335
+ let baseOptions;
336
+ if (configuration) {
337
+ baseOptions = configuration.baseOptions;
338
+ }
339
+
340
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
341
+ const localVarHeaderParameter = {} as any;
342
+ const localVarQueryParameter = {} as any;
343
+
344
+ // authentication OAuth2 required
345
+ // oauth required
346
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
347
+
348
+
349
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
352
+
353
+ return {
354
+ url: toPathString(localVarUrlObj),
355
+ options: localVarRequestOptions,
356
+ };
357
+ },
358
+ /**
359
+ *
360
+ * @summary Update deal customFields
361
+ * @param {string} id
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ apiDealsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
366
+ // verify required parameter 'id' is not null or undefined
367
+ assertParamExists('apiDealsIdPut', 'id', id)
368
+ const localVarPath = `/api/deals/{id}`
369
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
370
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
371
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
372
+ let baseOptions;
373
+ if (configuration) {
374
+ baseOptions = configuration.baseOptions;
375
+ }
376
+
377
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
378
+ const localVarHeaderParameter = {} as any;
379
+ const localVarQueryParameter = {} as any;
380
+
381
+ // authentication OAuth2 required
382
+ // oauth required
383
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
384
+
385
+
386
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
387
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
388
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
389
+
390
+ return {
391
+ url: toPathString(localVarUrlObj),
392
+ options: localVarRequestOptions,
393
+ };
394
+ },
395
+ /**
396
+ * List meetings for a specific lead (by contact).
397
+ * @summary List Meetings by Lead
398
+ * @param {string} cONTACTID
399
+ * @param {number} [page]
400
+ * @param {number} [limit]
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ apiLeadsCONTACTIDMeetingsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
405
+ // verify required parameter 'cONTACTID' is not null or undefined
406
+ assertParamExists('apiLeadsCONTACTIDMeetingsGet', 'cONTACTID', cONTACTID)
407
+ const localVarPath = `/api/leads/{CONTACT_ID}/meetings`
408
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
409
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
410
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
411
+ let baseOptions;
412
+ if (configuration) {
413
+ baseOptions = configuration.baseOptions;
414
+ }
415
+
416
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
417
+ const localVarHeaderParameter = {} as any;
418
+ const localVarQueryParameter = {} as any;
419
+
420
+ // authentication OAuth2 required
421
+ // oauth required
422
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
423
+
424
+ if (page !== undefined) {
425
+ localVarQueryParameter['page'] = page;
426
+ }
427
+
428
+ if (limit !== undefined) {
429
+ localVarQueryParameter['limit'] = limit;
430
+ }
431
+
432
+
433
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
434
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
435
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
436
+
437
+ return {
438
+ url: toPathString(localVarUrlObj),
439
+ options: localVarRequestOptions,
440
+ };
441
+ },
442
+ /**
443
+ * List observations for a specific lead (by contact).
444
+ * @summary List Observations by Lead
445
+ * @param {string} cONTACTID
446
+ * @param {number} [page]
447
+ * @param {number} [limit]
448
+ * @param {*} [options] Override http request option.
449
+ * @throws {RequiredError}
450
+ */
451
+ apiLeadsCONTACTIDObservationsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
452
+ // verify required parameter 'cONTACTID' is not null or undefined
453
+ assertParamExists('apiLeadsCONTACTIDObservationsGet', 'cONTACTID', cONTACTID)
454
+ const localVarPath = `/api/leads/{CONTACT_ID}/observations`
455
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
457
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
458
+ let baseOptions;
459
+ if (configuration) {
460
+ baseOptions = configuration.baseOptions;
461
+ }
462
+
463
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
464
+ const localVarHeaderParameter = {} as any;
465
+ const localVarQueryParameter = {} as any;
466
+
467
+ // authentication OAuth2 required
468
+ // oauth required
469
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
470
+
471
+ if (page !== undefined) {
472
+ localVarQueryParameter['page'] = page;
473
+ }
474
+
475
+ if (limit !== undefined) {
476
+ localVarQueryParameter['limit'] = limit;
477
+ }
478
+
479
+
480
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
481
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
482
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
483
+
484
+ return {
485
+ url: toPathString(localVarUrlObj),
486
+ options: localVarRequestOptions,
487
+ };
488
+ },
489
+ /**
490
+ * List tasks for a specific lead (by contact).
491
+ * @summary List Tasks by Lead
492
+ * @param {string} cONTACTID
493
+ * @param {number} [page]
494
+ * @param {number} [limit]
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ */
498
+ apiLeadsCONTACTIDTasksGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
499
+ // verify required parameter 'cONTACTID' is not null or undefined
500
+ assertParamExists('apiLeadsCONTACTIDTasksGet', 'cONTACTID', cONTACTID)
501
+ const localVarPath = `/api/leads/{CONTACT_ID}/tasks`
502
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
503
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
504
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
505
+ let baseOptions;
506
+ if (configuration) {
507
+ baseOptions = configuration.baseOptions;
508
+ }
509
+
510
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
511
+ const localVarHeaderParameter = {} as any;
512
+ const localVarQueryParameter = {} as any;
513
+
514
+ // authentication OAuth2 required
515
+ // oauth required
516
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
517
+
518
+ if (page !== undefined) {
519
+ localVarQueryParameter['page'] = page;
520
+ }
521
+
522
+ if (limit !== undefined) {
523
+ localVarQueryParameter['limit'] = limit;
524
+ }
525
+
526
+
527
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
528
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
529
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
530
+
531
+ return {
532
+ url: toPathString(localVarUrlObj),
533
+ options: localVarRequestOptions,
534
+ };
535
+ },
536
+ /**
537
+ * List tickets for a specific lead (by contact).
538
+ * @summary List Tickets by Lead
539
+ * @param {string} cONTACTID
540
+ * @param {number} [page]
541
+ * @param {number} [limit]
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ */
545
+ apiLeadsCONTACTIDTicketsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
546
+ // verify required parameter 'cONTACTID' is not null or undefined
547
+ assertParamExists('apiLeadsCONTACTIDTicketsGet', 'cONTACTID', cONTACTID)
548
+ const localVarPath = `/api/leads/{CONTACT_ID}/tickets`
549
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
552
+ let baseOptions;
553
+ if (configuration) {
554
+ baseOptions = configuration.baseOptions;
555
+ }
556
+
557
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
558
+ const localVarHeaderParameter = {} as any;
559
+ const localVarQueryParameter = {} as any;
560
+
561
+ // authentication OAuth2 required
562
+ // oauth required
563
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
564
+
565
+ if (page !== undefined) {
566
+ localVarQueryParameter['page'] = page;
567
+ }
568
+
569
+ if (limit !== undefined) {
570
+ localVarQueryParameter['limit'] = limit;
571
+ }
572
+
573
+
574
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
575
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
576
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
577
+
578
+ return {
579
+ url: toPathString(localVarUrlObj),
580
+ options: localVarRequestOptions,
581
+ };
582
+ },
583
+ /**
584
+ * List treatments for a specific lead (by contact).
585
+ * @summary List Treatments by Lead
586
+ * @param {string} cONTACTID
587
+ * @param {number} [page]
588
+ * @param {number} [limit]
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ apiLeadsCONTACTIDTreatmentsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
593
+ // verify required parameter 'cONTACTID' is not null or undefined
594
+ assertParamExists('apiLeadsCONTACTIDTreatmentsGet', 'cONTACTID', cONTACTID)
595
+ const localVarPath = `/api/leads/{CONTACT_ID}/treatments`
596
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
599
+ let baseOptions;
600
+ if (configuration) {
601
+ baseOptions = configuration.baseOptions;
602
+ }
603
+
604
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
605
+ const localVarHeaderParameter = {} as any;
606
+ const localVarQueryParameter = {} as any;
607
+
608
+ // authentication OAuth2 required
609
+ // oauth required
610
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
611
+
612
+ if (page !== undefined) {
613
+ localVarQueryParameter['page'] = page;
614
+ }
615
+
616
+ if (limit !== undefined) {
617
+ localVarQueryParameter['limit'] = limit;
618
+ }
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
+ * Retrieves a specific lead by ID.
632
+ * @summary Get One Lead
633
+ * @param {string} id
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ */
637
+ apiLeadsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
638
+ // verify required parameter 'id' is not null or undefined
639
+ assertParamExists('apiLeadsIdGet', 'id', id)
640
+ const localVarPath = `/api/leads/{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 Lead
670
+ * @param {string} id
671
+ * @param {*} [options] Override http request option.
672
+ * @throws {RequiredError}
673
+ */
674
+ apiLeadsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
675
+ // verify required parameter 'id' is not null or undefined
676
+ assertParamExists('apiLeadsIdPut', 'id', id)
677
+ const localVarPath = `/api/leads/{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 Get One Meeting
707
+ * @param {string} id
708
+ * @param {*} [options] Override http request option.
709
+ * @throws {RequiredError}
710
+ */
711
+ apiMeetingsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
712
+ // verify required parameter 'id' is not null or undefined
713
+ assertParamExists('apiMeetingsIdGet', 'id', id)
714
+ const localVarPath = `/api/meetings/{id}`
715
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
716
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
717
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
718
+ let baseOptions;
719
+ if (configuration) {
720
+ baseOptions = configuration.baseOptions;
721
+ }
722
+
723
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
724
+ const localVarHeaderParameter = {} as any;
725
+ const localVarQueryParameter = {} as any;
726
+
727
+ // authentication OAuth2 required
728
+ // oauth required
729
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
730
+
731
+
732
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
733
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
734
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
735
+
736
+ return {
737
+ url: toPathString(localVarUrlObj),
738
+ options: localVarRequestOptions,
739
+ };
740
+ },
741
+ /**
742
+ *
743
+ * @summary Update One Meeting
744
+ * @param {string} id
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ */
748
+ apiMeetingsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
749
+ // verify required parameter 'id' is not null or undefined
750
+ assertParamExists('apiMeetingsIdPut', 'id', id)
751
+ const localVarPath = `/api/meetings/{id}`
752
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
753
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
754
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
755
+ let baseOptions;
756
+ if (configuration) {
757
+ baseOptions = configuration.baseOptions;
758
+ }
759
+
760
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
761
+ const localVarHeaderParameter = {} as any;
762
+ const localVarQueryParameter = {} as any;
763
+
764
+ // authentication OAuth2 required
765
+ // oauth required
766
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
767
+
768
+
769
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
770
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
771
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
772
+
773
+ return {
774
+ url: toPathString(localVarUrlObj),
775
+ options: localVarRequestOptions,
776
+ };
777
+ },
778
+ /**
779
+ *
780
+ * @summary List Meeting Rooms
781
+ * @param {number} [page]
782
+ * @param {number} [limit]
783
+ * @param {string} [search]
784
+ * @param {*} [options] Override http request option.
785
+ * @throws {RequiredError}
786
+ */
787
+ apiMeetingsRoomsGet: async (page?: number, limit?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
788
+ const localVarPath = `/api/meetings/rooms`;
789
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
790
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
791
+ let baseOptions;
792
+ if (configuration) {
793
+ baseOptions = configuration.baseOptions;
794
+ }
795
+
796
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
797
+ const localVarHeaderParameter = {} as any;
798
+ const localVarQueryParameter = {} as any;
799
+
800
+ // authentication OAuth2 required
801
+ // oauth required
802
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
803
+
804
+ if (page !== undefined) {
805
+ localVarQueryParameter['page'] = page;
806
+ }
807
+
808
+ if (limit !== undefined) {
809
+ localVarQueryParameter['limit'] = limit;
810
+ }
811
+
812
+ if (search !== undefined) {
813
+ localVarQueryParameter['search'] = search;
814
+ }
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 Get One Meeting Room
829
+ * @param {string} id
830
+ * @param {*} [options] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ apiMeetingsRoomsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
834
+ // verify required parameter 'id' is not null or undefined
835
+ assertParamExists('apiMeetingsRoomsIdGet', 'id', id)
836
+ const localVarPath = `/api/meetings/rooms/{id}`
837
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
838
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
839
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
840
+ let baseOptions;
841
+ if (configuration) {
842
+ baseOptions = configuration.baseOptions;
843
+ }
844
+
845
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
846
+ const localVarHeaderParameter = {} as any;
847
+ const localVarQueryParameter = {} as any;
848
+
849
+ // authentication OAuth2 required
850
+ // oauth required
851
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
852
+
853
+
854
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
855
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
856
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
857
+
858
+ return {
859
+ url: toPathString(localVarUrlObj),
860
+ options: localVarRequestOptions,
861
+ };
862
+ },
863
+ /**
864
+ *
865
+ * @summary Update One Meeting Room
866
+ * @param {string} id
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ */
870
+ apiMeetingsRoomsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
871
+ // verify required parameter 'id' is not null or undefined
872
+ assertParamExists('apiMeetingsRoomsIdPut', 'id', id)
873
+ const localVarPath = `/api/meetings/rooms/{id}`
874
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
875
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
876
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
877
+ let baseOptions;
878
+ if (configuration) {
879
+ baseOptions = configuration.baseOptions;
880
+ }
881
+
882
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
883
+ const localVarHeaderParameter = {} as any;
884
+ const localVarQueryParameter = {} as any;
885
+
886
+ // authentication OAuth2 required
887
+ // oauth required
888
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
889
+
890
+
891
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
892
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
893
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
894
+
895
+ return {
896
+ url: toPathString(localVarUrlObj),
897
+ options: localVarRequestOptions,
898
+ };
899
+ },
900
+ /**
901
+ *
902
+ * @summary Create One Meeting Room
903
+ * @param {*} [options] Override http request option.
904
+ * @throws {RequiredError}
905
+ */
906
+ apiMeetingsRoomsPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
907
+ const localVarPath = `/api/meetings/rooms`;
908
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
909
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
910
+ let baseOptions;
911
+ if (configuration) {
912
+ baseOptions = configuration.baseOptions;
913
+ }
914
+
915
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
916
+ const localVarHeaderParameter = {} as any;
917
+ const localVarQueryParameter = {} as any;
918
+
919
+ // authentication OAuth2 required
920
+ // oauth required
921
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
922
+
923
+
924
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
925
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
926
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
927
+
928
+ return {
929
+ url: toPathString(localVarUrlObj),
930
+ options: localVarRequestOptions,
931
+ };
932
+ },
933
+ /**
934
+ *
935
+ * @summary List Meeting Types
936
+ * @param {number} [page]
937
+ * @param {number} [limit]
938
+ * @param {string} [search]
939
+ * @param {*} [options] Override http request option.
940
+ * @throws {RequiredError}
941
+ */
942
+ apiMeetingsTypesGet: async (page?: number, limit?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
943
+ const localVarPath = `/api/meetings/types`;
944
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
945
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
946
+ let baseOptions;
947
+ if (configuration) {
948
+ baseOptions = configuration.baseOptions;
949
+ }
950
+
951
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
952
+ const localVarHeaderParameter = {} as any;
953
+ const localVarQueryParameter = {} as any;
954
+
955
+ // authentication OAuth2 required
956
+ // oauth required
957
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
958
+
959
+ if (page !== undefined) {
960
+ localVarQueryParameter['page'] = page;
961
+ }
962
+
963
+ if (limit !== undefined) {
964
+ localVarQueryParameter['limit'] = limit;
965
+ }
966
+
967
+ if (search !== undefined) {
968
+ localVarQueryParameter['search'] = search;
969
+ }
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 Get One Meeting Type
984
+ * @param {string} id
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ */
988
+ apiMeetingsTypesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
989
+ // verify required parameter 'id' is not null or undefined
990
+ assertParamExists('apiMeetingsTypesIdGet', 'id', id)
991
+ const localVarPath = `/api/meetings/types/{id}`
992
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
993
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
994
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
995
+ let baseOptions;
996
+ if (configuration) {
997
+ baseOptions = configuration.baseOptions;
998
+ }
999
+
1000
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1001
+ const localVarHeaderParameter = {} as any;
1002
+ const localVarQueryParameter = {} as any;
1003
+
1004
+ // authentication OAuth2 required
1005
+ // oauth required
1006
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1007
+
1008
+
1009
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1010
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1011
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1012
+
1013
+ return {
1014
+ url: toPathString(localVarUrlObj),
1015
+ options: localVarRequestOptions,
1016
+ };
1017
+ },
1018
+ /**
1019
+ *
1020
+ * @summary Update One Meeting Type
1021
+ * @param {string} id
1022
+ * @param {*} [options] Override http request option.
1023
+ * @throws {RequiredError}
1024
+ */
1025
+ apiMeetingsTypesIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1026
+ // verify required parameter 'id' is not null or undefined
1027
+ assertParamExists('apiMeetingsTypesIdPut', 'id', id)
1028
+ const localVarPath = `/api/meetings/types/{id}`
1029
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1030
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1031
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1032
+ let baseOptions;
1033
+ if (configuration) {
1034
+ baseOptions = configuration.baseOptions;
1035
+ }
1036
+
1037
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1038
+ const localVarHeaderParameter = {} as any;
1039
+ const localVarQueryParameter = {} as any;
1040
+
1041
+ // authentication OAuth2 required
1042
+ // oauth required
1043
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1044
+
1045
+
1046
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1047
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1048
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1049
+
1050
+ return {
1051
+ url: toPathString(localVarUrlObj),
1052
+ options: localVarRequestOptions,
1053
+ };
1054
+ },
1055
+ /**
1056
+ *
1057
+ * @summary Create One Meeting Type
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ */
1061
+ apiMeetingsTypesPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1062
+ const localVarPath = `/api/meetings/types`;
1063
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1064
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1065
+ let baseOptions;
1066
+ if (configuration) {
1067
+ baseOptions = configuration.baseOptions;
1068
+ }
1069
+
1070
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1071
+ const localVarHeaderParameter = {} as any;
1072
+ const localVarQueryParameter = {} as any;
1073
+
1074
+ // authentication OAuth2 required
1075
+ // oauth required
1076
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1077
+
1078
+
1079
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1080
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1081
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1082
+
1083
+ return {
1084
+ url: toPathString(localVarUrlObj),
1085
+ options: localVarRequestOptions,
1086
+ };
1087
+ },
1088
+ /**
1089
+ * 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`.
1090
+ * @summary Get One Organization
1091
+ * @param {string} id
1092
+ * @param {*} [options] Override http request option.
1093
+ * @throws {RequiredError}
1094
+ */
1095
+ apiOrganizationsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1096
+ // verify required parameter 'id' is not null or undefined
1097
+ assertParamExists('apiOrganizationsIdGet', 'id', id)
1098
+ const localVarPath = `/api/organizations/{id}`
1099
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1102
+ let baseOptions;
1103
+ if (configuration) {
1104
+ baseOptions = configuration.baseOptions;
1105
+ }
1106
+
1107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1108
+ const localVarHeaderParameter = {} as any;
1109
+ const localVarQueryParameter = {} as any;
1110
+
1111
+ // authentication OAuth2 required
1112
+ // oauth required
1113
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1114
+
1115
+
1116
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1118
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1119
+
1120
+ return {
1121
+ url: toPathString(localVarUrlObj),
1122
+ options: localVarRequestOptions,
1123
+ };
1124
+ },
1125
+ /**
1126
+ * Atualiza os dados de uma organização existente.
1127
+ * @summary Update One Organization
1128
+ * @param {string} id
1129
+ * @param {object} [body]
1130
+ * @param {*} [options] Override http request option.
1131
+ * @throws {RequiredError}
1132
+ */
1133
+ apiOrganizationsIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1134
+ // verify required parameter 'id' is not null or undefined
1135
+ assertParamExists('apiOrganizationsIdPut', 'id', id)
1136
+ const localVarPath = `/api/organizations/{id}`
1137
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1138
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1139
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1140
+ let baseOptions;
1141
+ if (configuration) {
1142
+ baseOptions = configuration.baseOptions;
1143
+ }
1144
+
1145
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1146
+ const localVarHeaderParameter = {} as any;
1147
+ const localVarQueryParameter = {} as any;
1148
+
1149
+ // authentication OAuth2 required
1150
+ // oauth required
1151
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1152
+
1153
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1154
+
1155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1157
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1158
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1159
+
1160
+ return {
1161
+ url: toPathString(localVarUrlObj),
1162
+ options: localVarRequestOptions,
1163
+ };
1164
+ },
1165
+ /**
1166
+ * 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`.
1167
+ * @summary Get One Pipeline
1168
+ * @param {string} id
1169
+ * @param {*} [options] Override http request option.
1170
+ * @throws {RequiredError}
1171
+ */
1172
+ apiPipelinesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1173
+ // verify required parameter 'id' is not null or undefined
1174
+ assertParamExists('apiPipelinesIdGet', 'id', id)
1175
+ const localVarPath = `/api/pipelines/{id}`
1176
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1177
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1178
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1179
+ let baseOptions;
1180
+ if (configuration) {
1181
+ baseOptions = configuration.baseOptions;
1182
+ }
1183
+
1184
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1185
+ const localVarHeaderParameter = {} as any;
1186
+ const localVarQueryParameter = {} as any;
1187
+
1188
+ // authentication OAuth2 required
1189
+ // oauth required
1190
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1191
+
1192
+
1193
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1194
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1195
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1196
+
1197
+ return {
1198
+ url: toPathString(localVarUrlObj),
1199
+ options: localVarRequestOptions,
1200
+ };
1201
+ },
1202
+ /**
1203
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
1204
+ * @summary Update One Pipeline
1205
+ * @param {string} id
1206
+ * @param {object} [body]
1207
+ * @param {*} [options] Override http request option.
1208
+ * @throws {RequiredError}
1209
+ */
1210
+ apiPipelinesIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1211
+ // verify required parameter 'id' is not null or undefined
1212
+ assertParamExists('apiPipelinesIdPut', 'id', id)
1213
+ const localVarPath = `/api/pipelines/{id}`
1214
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1215
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1216
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1217
+ let baseOptions;
1218
+ if (configuration) {
1219
+ baseOptions = configuration.baseOptions;
1220
+ }
1221
+
1222
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1223
+ const localVarHeaderParameter = {} as any;
1224
+ const localVarQueryParameter = {} as any;
1225
+
1226
+ // authentication OAuth2 required
1227
+ // oauth required
1228
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1229
+
1230
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1231
+
1232
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1233
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1234
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1235
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1236
+
1237
+ return {
1238
+ url: toPathString(localVarUrlObj),
1239
+ options: localVarRequestOptions,
1240
+ };
1241
+ },
1242
+ /**
1243
+ * List meetings for a specific prospect (by contact).
1244
+ * @summary List Meetings by Prospect
1245
+ * @param {string} cONTACTID
1246
+ * @param {number} [page]
1247
+ * @param {number} [limit]
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ apiProspectsCONTACTIDMeetingsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1252
+ // verify required parameter 'cONTACTID' is not null or undefined
1253
+ assertParamExists('apiProspectsCONTACTIDMeetingsGet', 'cONTACTID', cONTACTID)
1254
+ const localVarPath = `/api/prospects/{CONTACT_ID}/meetings`
1255
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1256
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1257
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1258
+ let baseOptions;
1259
+ if (configuration) {
1260
+ baseOptions = configuration.baseOptions;
1261
+ }
1262
+
1263
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1264
+ const localVarHeaderParameter = {} as any;
1265
+ const localVarQueryParameter = {} as any;
1266
+
1267
+ // authentication OAuth2 required
1268
+ // oauth required
1269
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1270
+
1271
+ if (page !== undefined) {
1272
+ localVarQueryParameter['page'] = page;
1273
+ }
1274
+
1275
+ if (limit !== undefined) {
1276
+ localVarQueryParameter['limit'] = limit;
1277
+ }
1278
+
1279
+
1280
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1281
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1282
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1283
+
1284
+ return {
1285
+ url: toPathString(localVarUrlObj),
1286
+ options: localVarRequestOptions,
1287
+ };
1288
+ },
1289
+ /**
1290
+ * List observations for a specific prospect (by contact).
1291
+ * @summary List Observations by Prospect
1292
+ * @param {string} cONTACTID
1293
+ * @param {number} [page]
1294
+ * @param {number} [limit]
1295
+ * @param {*} [options] Override http request option.
1296
+ * @throws {RequiredError}
1297
+ */
1298
+ apiProspectsCONTACTIDObservationsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1299
+ // verify required parameter 'cONTACTID' is not null or undefined
1300
+ assertParamExists('apiProspectsCONTACTIDObservationsGet', 'cONTACTID', cONTACTID)
1301
+ const localVarPath = `/api/prospects/{CONTACT_ID}/observations`
1302
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1303
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1304
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1305
+ let baseOptions;
1306
+ if (configuration) {
1307
+ baseOptions = configuration.baseOptions;
1308
+ }
1309
+
1310
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1311
+ const localVarHeaderParameter = {} as any;
1312
+ const localVarQueryParameter = {} as any;
1313
+
1314
+ // authentication OAuth2 required
1315
+ // oauth required
1316
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1317
+
1318
+ if (page !== undefined) {
1319
+ localVarQueryParameter['page'] = page;
1320
+ }
1321
+
1322
+ if (limit !== undefined) {
1323
+ localVarQueryParameter['limit'] = limit;
1324
+ }
1325
+
1326
+
1327
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1328
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1329
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1330
+
1331
+ return {
1332
+ url: toPathString(localVarUrlObj),
1333
+ options: localVarRequestOptions,
1334
+ };
1335
+ },
1336
+ /**
1337
+ * List tasks for a specific prospect (by contact).
1338
+ * @summary List Tasks by Prospect
1339
+ * @param {string} cONTACTID
1340
+ * @param {number} [page]
1341
+ * @param {number} [limit]
1342
+ * @param {*} [options] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ apiProspectsCONTACTIDTasksGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1346
+ // verify required parameter 'cONTACTID' is not null or undefined
1347
+ assertParamExists('apiProspectsCONTACTIDTasksGet', 'cONTACTID', cONTACTID)
1348
+ const localVarPath = `/api/prospects/{CONTACT_ID}/tasks`
1349
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1350
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1351
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1352
+ let baseOptions;
1353
+ if (configuration) {
1354
+ baseOptions = configuration.baseOptions;
1355
+ }
1356
+
1357
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1358
+ const localVarHeaderParameter = {} as any;
1359
+ const localVarQueryParameter = {} as any;
1360
+
1361
+ // authentication OAuth2 required
1362
+ // oauth required
1363
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1364
+
1365
+ if (page !== undefined) {
1366
+ localVarQueryParameter['page'] = page;
1367
+ }
1368
+
1369
+ if (limit !== undefined) {
1370
+ localVarQueryParameter['limit'] = limit;
1371
+ }
1372
+
1373
+
1374
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1375
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1376
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1377
+
1378
+ return {
1379
+ url: toPathString(localVarUrlObj),
1380
+ options: localVarRequestOptions,
1381
+ };
1382
+ },
1383
+ /**
1384
+ * List tickets for a specific prospect (by contact).
1385
+ * @summary List Tickets by Prospect
1386
+ * @param {string} cONTACTID
1387
+ * @param {number} [page]
1388
+ * @param {number} [limit]
1389
+ * @param {*} [options] Override http request option.
1390
+ * @throws {RequiredError}
1391
+ */
1392
+ apiProspectsCONTACTIDTicketsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1393
+ // verify required parameter 'cONTACTID' is not null or undefined
1394
+ assertParamExists('apiProspectsCONTACTIDTicketsGet', 'cONTACTID', cONTACTID)
1395
+ const localVarPath = `/api/prospects/{CONTACT_ID}/tickets`
1396
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1397
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1398
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1399
+ let baseOptions;
1400
+ if (configuration) {
1401
+ baseOptions = configuration.baseOptions;
1402
+ }
1403
+
1404
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1405
+ const localVarHeaderParameter = {} as any;
1406
+ const localVarQueryParameter = {} as any;
1407
+
1408
+ // authentication OAuth2 required
1409
+ // oauth required
1410
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1411
+
1412
+ if (page !== undefined) {
1413
+ localVarQueryParameter['page'] = page;
1414
+ }
1415
+
1416
+ if (limit !== undefined) {
1417
+ localVarQueryParameter['limit'] = limit;
1418
+ }
1419
+
1420
+
1421
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1422
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1423
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1424
+
1425
+ return {
1426
+ url: toPathString(localVarUrlObj),
1427
+ options: localVarRequestOptions,
1428
+ };
1429
+ },
1430
+ /**
1431
+ * List treatments for a specific prospect (by contact).
1432
+ * @summary List Treatments by Prospect
1433
+ * @param {string} cONTACTID
1434
+ * @param {number} [page]
1435
+ * @param {number} [limit]
1436
+ * @param {*} [options] Override http request option.
1437
+ * @throws {RequiredError}
1438
+ */
1439
+ apiProspectsCONTACTIDTreatmentsGet: async (cONTACTID: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1440
+ // verify required parameter 'cONTACTID' is not null or undefined
1441
+ assertParamExists('apiProspectsCONTACTIDTreatmentsGet', 'cONTACTID', cONTACTID)
1442
+ const localVarPath = `/api/prospects/{CONTACT_ID}/treatments`
1443
+ .replace(`{${"CONTACT_ID"}}`, encodeURIComponent(String(cONTACTID)));
1444
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1445
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1446
+ let baseOptions;
1447
+ if (configuration) {
1448
+ baseOptions = configuration.baseOptions;
1449
+ }
1450
+
1451
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1452
+ const localVarHeaderParameter = {} as any;
1453
+ const localVarQueryParameter = {} as any;
1454
+
1455
+ // authentication OAuth2 required
1456
+ // oauth required
1457
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1458
+
1459
+ if (page !== undefined) {
1460
+ localVarQueryParameter['page'] = page;
1461
+ }
1462
+
1463
+ if (limit !== undefined) {
1464
+ localVarQueryParameter['limit'] = limit;
1465
+ }
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
+ * Retrieves a specific prospect by ID.
1479
+ * @summary Get One Prospect
1480
+ * @param {string} id
1481
+ * @param {*} [options] Override http request option.
1482
+ * @throws {RequiredError}
1483
+ */
1484
+ apiProspectsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1485
+ // verify required parameter 'id' is not null or undefined
1486
+ assertParamExists('apiProspectsIdGet', 'id', id)
1487
+ const localVarPath = `/api/prospects/{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
+ *
1516
+ * @summary Update One Prospect
1517
+ * @param {string} id
1518
+ * @param {*} [options] Override http request option.
1519
+ * @throws {RequiredError}
1520
+ */
1521
+ apiProspectsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1522
+ // verify required parameter 'id' is not null or undefined
1523
+ assertParamExists('apiProspectsIdPut', 'id', id)
1524
+ const localVarPath = `/api/prospects/{id}`
1525
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1526
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1527
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1528
+ let baseOptions;
1529
+ if (configuration) {
1530
+ baseOptions = configuration.baseOptions;
1531
+ }
1532
+
1533
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1534
+ const localVarHeaderParameter = {} as any;
1535
+ const localVarQueryParameter = {} as any;
1536
+
1537
+ // authentication OAuth2 required
1538
+ // oauth required
1539
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1540
+
1541
+
1542
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1543
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1544
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1545
+
1546
+ return {
1547
+ url: toPathString(localVarUrlObj),
1548
+ options: localVarRequestOptions,
1549
+ };
1550
+ },
1551
+ /**
1552
+ * ### 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`.
1553
+ * @summary Get One Staff
1554
+ * @param {string} id
1555
+ * @param {*} [options] Override http request option.
1556
+ * @throws {RequiredError}
1557
+ */
1558
+ apiStaffsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1559
+ // verify required parameter 'id' is not null or undefined
1560
+ assertParamExists('apiStaffsIdGet', 'id', id)
1561
+ const localVarPath = `/api/staffs/{id}`
1562
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
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: 'GET', ...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
+
1579
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1580
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1581
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1582
+
1583
+ return {
1584
+ url: toPathString(localVarUrlObj),
1585
+ options: localVarRequestOptions,
1586
+ };
1587
+ },
1588
+ /**
1589
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
1590
+ * @summary Update One Staff
1591
+ * @param {string} id
1592
+ * @param {object} [body]
1593
+ * @param {*} [options] Override http request option.
1594
+ * @throws {RequiredError}
1595
+ */
1596
+ apiStaffsIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1597
+ // verify required parameter 'id' is not null or undefined
1598
+ assertParamExists('apiStaffsIdPut', 'id', id)
1599
+ const localVarPath = `/api/staffs/{id}`
1600
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1601
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1602
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1603
+ let baseOptions;
1604
+ if (configuration) {
1605
+ baseOptions = configuration.baseOptions;
1606
+ }
1607
+
1608
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1609
+ const localVarHeaderParameter = {} as any;
1610
+ const localVarQueryParameter = {} as any;
1611
+
1612
+ // authentication OAuth2 required
1613
+ // oauth required
1614
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1615
+
1616
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1617
+
1618
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1619
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1620
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1621
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1622
+
1623
+ return {
1624
+ url: toPathString(localVarUrlObj),
1625
+ options: localVarRequestOptions,
1626
+ };
1627
+ },
1628
+ /**
1629
+ * ### 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.
1630
+ * @summary Create One Staff
1631
+ * @param {object} [body]
1632
+ * @param {*} [options] Override http request option.
1633
+ * @throws {RequiredError}
1634
+ */
1635
+ apiStaffsPost: async (body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1636
+ const localVarPath = `/api/staffs`;
1637
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1638
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1639
+ let baseOptions;
1640
+ if (configuration) {
1641
+ baseOptions = configuration.baseOptions;
1642
+ }
1643
+
1644
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1645
+ const localVarHeaderParameter = {} as any;
1646
+ const localVarQueryParameter = {} as any;
1647
+
1648
+ // authentication OAuth2 required
1649
+ // oauth required
1650
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1651
+
1652
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1653
+
1654
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1655
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1656
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1657
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1658
+
1659
+ return {
1660
+ url: toPathString(localVarUrlObj),
1661
+ options: localVarRequestOptions,
1662
+ };
1663
+ },
1664
+ /**
1665
+ * 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`.
1666
+ * @summary Get One Task
1667
+ * @param {string} id
1668
+ * @param {*} [options] Override http request option.
1669
+ * @throws {RequiredError}
1670
+ */
1671
+ apiTasksIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1672
+ // verify required parameter 'id' is not null or undefined
1673
+ assertParamExists('apiTasksIdGet', 'id', id)
1674
+ const localVarPath = `/api/tasks/{id}`
1675
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1676
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1677
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1678
+ let baseOptions;
1679
+ if (configuration) {
1680
+ baseOptions = configuration.baseOptions;
1681
+ }
1682
+
1683
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1684
+ const localVarHeaderParameter = {} as any;
1685
+ const localVarQueryParameter = {} as any;
1686
+
1687
+ // authentication OAuth2 required
1688
+ // oauth required
1689
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1690
+
1691
+
1692
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1693
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1694
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1695
+
1696
+ return {
1697
+ url: toPathString(localVarUrlObj),
1698
+ options: localVarRequestOptions,
1699
+ };
1700
+ },
1701
+ /**
1702
+ * Atualiza os dados de uma tarefa existente.
1703
+ * @summary Update One Task
1704
+ * @param {string} id
1705
+ * @param {object} [body]
1706
+ * @param {*} [options] Override http request option.
1707
+ * @throws {RequiredError}
1708
+ */
1709
+ apiTasksIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1710
+ // verify required parameter 'id' is not null or undefined
1711
+ assertParamExists('apiTasksIdPut', 'id', id)
1712
+ const localVarPath = `/api/tasks/{id}`
1713
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1714
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1715
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1716
+ let baseOptions;
1717
+ if (configuration) {
1718
+ baseOptions = configuration.baseOptions;
1719
+ }
1720
+
1721
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1722
+ const localVarHeaderParameter = {} as any;
1723
+ const localVarQueryParameter = {} as any;
1724
+
1725
+ // authentication OAuth2 required
1726
+ // oauth required
1727
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1728
+
1729
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1730
+
1731
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1732
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1733
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1734
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1735
+
1736
+ return {
1737
+ url: toPathString(localVarUrlObj),
1738
+ options: localVarRequestOptions,
1739
+ };
1740
+ },
1741
+ /**
1742
+ * 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`.
1743
+ * @summary Get One Ticket
1744
+ * @param {string} id
1745
+ * @param {*} [options] Override http request option.
1746
+ * @throws {RequiredError}
1747
+ */
1748
+ apiTicketsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1749
+ // verify required parameter 'id' is not null or undefined
1750
+ assertParamExists('apiTicketsIdGet', 'id', id)
1751
+ const localVarPath = `/api/tickets/{id}`
1752
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1753
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1754
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1755
+ let baseOptions;
1756
+ if (configuration) {
1757
+ baseOptions = configuration.baseOptions;
1758
+ }
1759
+
1760
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1761
+ const localVarHeaderParameter = {} as any;
1762
+ const localVarQueryParameter = {} as any;
1763
+
1764
+ // authentication OAuth2 required
1765
+ // oauth required
1766
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1767
+
1768
+
1769
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1770
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1771
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1772
+
1773
+ return {
1774
+ url: toPathString(localVarUrlObj),
1775
+ options: localVarRequestOptions,
1776
+ };
1777
+ },
1778
+ /**
1779
+ * Atualiza os dados de um ticket existente.
1780
+ * @summary Update One Ticket
1781
+ * @param {string} id
1782
+ * @param {object} [body]
1783
+ * @param {*} [options] Override http request option.
1784
+ * @throws {RequiredError}
1785
+ */
1786
+ apiTicketsIdPut: async (id: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1787
+ // verify required parameter 'id' is not null or undefined
1788
+ assertParamExists('apiTicketsIdPut', 'id', id)
1789
+ const localVarPath = `/api/tickets/{id}`
1790
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1791
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1792
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1793
+ let baseOptions;
1794
+ if (configuration) {
1795
+ baseOptions = configuration.baseOptions;
1796
+ }
1797
+
1798
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1799
+ const localVarHeaderParameter = {} as any;
1800
+ const localVarQueryParameter = {} as any;
1801
+
1802
+ // authentication OAuth2 required
1803
+ // oauth required
1804
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1805
+
1806
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1807
+
1808
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1809
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1810
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1811
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1812
+
1813
+ return {
1814
+ url: toPathString(localVarUrlObj),
1815
+ options: localVarRequestOptions,
1816
+ };
1817
+ },
1818
+ /**
1819
+ *
1820
+ * @summary Get One Treatment
1821
+ * @param {string} id
1822
+ * @param {*} [options] Override http request option.
1823
+ * @throws {RequiredError}
1824
+ */
1825
+ apiTreatmentsIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1826
+ // verify required parameter 'id' is not null or undefined
1827
+ assertParamExists('apiTreatmentsIdGet', 'id', id)
1828
+ const localVarPath = `/api/treatments/{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
1858
+ * @param {string} id
1859
+ * @param {*} [options] Override http request option.
1860
+ * @throws {RequiredError}
1861
+ */
1862
+ apiTreatmentsIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1863
+ // verify required parameter 'id' is not null or undefined
1864
+ assertParamExists('apiTreatmentsIdPut', 'id', id)
1865
+ const localVarPath = `/api/treatments/{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 Get One Treatment Type
1895
+ * @param {string} id
1896
+ * @param {*} [options] Override http request option.
1897
+ * @throws {RequiredError}
1898
+ */
1899
+ apiTreatmentsTypesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1900
+ // verify required parameter 'id' is not null or undefined
1901
+ assertParamExists('apiTreatmentsTypesIdGet', 'id', id)
1902
+ const localVarPath = `/api/treatments/types/{id}`
1903
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1904
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1905
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1906
+ let baseOptions;
1907
+ if (configuration) {
1908
+ baseOptions = configuration.baseOptions;
1909
+ }
1910
+
1911
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1912
+ const localVarHeaderParameter = {} as any;
1913
+ const localVarQueryParameter = {} as any;
1914
+
1915
+ // authentication OAuth2 required
1916
+ // oauth required
1917
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1918
+
1919
+
1920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1922
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1923
+
1924
+ return {
1925
+ url: toPathString(localVarUrlObj),
1926
+ options: localVarRequestOptions,
1927
+ };
1928
+ },
1929
+ /**
1930
+ *
1931
+ * @summary Update One Treatment Type
1932
+ * @param {string} id
1933
+ * @param {*} [options] Override http request option.
1934
+ * @throws {RequiredError}
1935
+ */
1936
+ apiTreatmentsTypesIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1937
+ // verify required parameter 'id' is not null or undefined
1938
+ assertParamExists('apiTreatmentsTypesIdPut', 'id', id)
1939
+ const localVarPath = `/api/treatments/types/{id}`
1940
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1941
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1942
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1943
+ let baseOptions;
1944
+ if (configuration) {
1945
+ baseOptions = configuration.baseOptions;
1946
+ }
1947
+
1948
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1949
+ const localVarHeaderParameter = {} as any;
1950
+ const localVarQueryParameter = {} as any;
1951
+
1952
+ // authentication OAuth2 required
1953
+ // oauth required
1954
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1955
+
1956
+
1957
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1958
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1959
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1960
+
1961
+ return {
1962
+ url: toPathString(localVarUrlObj),
1963
+ options: localVarRequestOptions,
1964
+ };
1965
+ },
1966
+ /**
1967
+ *
1968
+ * @summary Create One Treatment Type
1969
+ * @param {*} [options] Override http request option.
1970
+ * @throws {RequiredError}
1971
+ */
1972
+ apiTreatmentsTypesPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1973
+ const localVarPath = `/api/treatments/types`;
1974
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1975
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1976
+ let baseOptions;
1977
+ if (configuration) {
1978
+ baseOptions = configuration.baseOptions;
1979
+ }
1980
+
1981
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1982
+ const localVarHeaderParameter = {} as any;
1983
+ const localVarQueryParameter = {} as any;
1984
+
1985
+ // authentication OAuth2 required
1986
+ // oauth required
1987
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1988
+
1989
+
1990
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1991
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1992
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1993
+
1994
+ return {
1995
+ url: toPathString(localVarUrlObj),
1996
+ options: localVarRequestOptions,
1997
+ };
1998
+ },
1999
+ /**
2000
+ *
2001
+ * @summary List Workspaces
2002
+ * @param {number} [page]
2003
+ * @param {number} [limit]
2004
+ * @param {string} [search]
2005
+ * @param {*} [options] Override http request option.
2006
+ * @throws {RequiredError}
2007
+ */
2008
+ apiTreatmentsWorkspacesGet: async (page?: number, limit?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2009
+ const localVarPath = `/api/treatments/workspaces`;
2010
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2011
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2012
+ let baseOptions;
2013
+ if (configuration) {
2014
+ baseOptions = configuration.baseOptions;
2015
+ }
2016
+
2017
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2018
+ const localVarHeaderParameter = {} as any;
2019
+ const localVarQueryParameter = {} as any;
2020
+
2021
+ // authentication OAuth2 required
2022
+ // oauth required
2023
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2024
+
2025
+ if (page !== undefined) {
2026
+ localVarQueryParameter['page'] = page;
2027
+ }
2028
+
2029
+ if (limit !== undefined) {
2030
+ localVarQueryParameter['limit'] = limit;
2031
+ }
2032
+
2033
+ if (search !== undefined) {
2034
+ localVarQueryParameter['search'] = search;
2035
+ }
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 Get One Workspace
2050
+ * @param {string} id
2051
+ * @param {*} [options] Override http request option.
2052
+ * @throws {RequiredError}
2053
+ */
2054
+ apiTreatmentsWorkspacesIdGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2055
+ // verify required parameter 'id' is not null or undefined
2056
+ assertParamExists('apiTreatmentsWorkspacesIdGet', 'id', id)
2057
+ const localVarPath = `/api/treatments/workspaces/{id}`
2058
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2059
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2060
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2061
+ let baseOptions;
2062
+ if (configuration) {
2063
+ baseOptions = configuration.baseOptions;
2064
+ }
2065
+
2066
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2067
+ const localVarHeaderParameter = {} as any;
2068
+ const localVarQueryParameter = {} as any;
2069
+
2070
+ // authentication OAuth2 required
2071
+ // oauth required
2072
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2073
+
2074
+
2075
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2077
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2078
+
2079
+ return {
2080
+ url: toPathString(localVarUrlObj),
2081
+ options: localVarRequestOptions,
2082
+ };
2083
+ },
2084
+ /**
2085
+ *
2086
+ * @summary Update One Workspace
2087
+ * @param {string} id
2088
+ * @param {*} [options] Override http request option.
2089
+ * @throws {RequiredError}
2090
+ */
2091
+ apiTreatmentsWorkspacesIdPut: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2092
+ // verify required parameter 'id' is not null or undefined
2093
+ assertParamExists('apiTreatmentsWorkspacesIdPut', 'id', id)
2094
+ const localVarPath = `/api/treatments/workspaces/{id}`
2095
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2096
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2097
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2098
+ let baseOptions;
2099
+ if (configuration) {
2100
+ baseOptions = configuration.baseOptions;
2101
+ }
2102
+
2103
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2104
+ const localVarHeaderParameter = {} as any;
2105
+ const localVarQueryParameter = {} as any;
2106
+
2107
+ // authentication OAuth2 required
2108
+ // oauth required
2109
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2110
+
2111
+
2112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2114
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2115
+
2116
+ return {
2117
+ url: toPathString(localVarUrlObj),
2118
+ options: localVarRequestOptions,
2119
+ };
2120
+ },
2121
+ /**
2122
+ *
2123
+ * @summary Create One Workspace
2124
+ * @param {*} [options] Override http request option.
2125
+ * @throws {RequiredError}
2126
+ */
2127
+ apiTreatmentsWorkspacesPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2128
+ const localVarPath = `/api/treatments/workspaces`;
2129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2130
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2131
+ let baseOptions;
2132
+ if (configuration) {
2133
+ baseOptions = configuration.baseOptions;
2134
+ }
2135
+
2136
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2137
+ const localVarHeaderParameter = {} as any;
2138
+ const localVarQueryParameter = {} as any;
2139
+
2140
+ // authentication OAuth2 required
2141
+ // oauth required
2142
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2143
+
2144
+
2145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2148
+
2149
+ return {
2150
+ url: toPathString(localVarUrlObj),
2151
+ options: localVarRequestOptions,
2152
+ };
2153
+ },
2154
+ /**
2155
+ * The endpoint makes an HTTP GET request to retrieve the OpenID configuration. The response contains various endpoints and supported features related to the OpenID Connect protocol, including authorization, token, userinfo, and revocation endpoints.
2156
+ * @summary OpenID Connect Discovery Endpoint
2157
+ * @param {*} [options] Override http request option.
2158
+ * @throws {RequiredError}
2159
+ */
2160
+ wellKnownOpenidConfigurationGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2161
+ const localVarPath = `/.well-known/openid-configuration`;
2162
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2163
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2164
+ let baseOptions;
2165
+ if (configuration) {
2166
+ baseOptions = configuration.baseOptions;
2167
+ }
2168
+
2169
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2170
+ const localVarHeaderParameter = {} as any;
2171
+ const localVarQueryParameter = {} as any;
2172
+
2173
+ // authentication OAuth2 required
2174
+ // oauth required
2175
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
2176
+
2177
+
2178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2180
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2181
+
2182
+ return {
2183
+ url: toPathString(localVarUrlObj),
2184
+ options: localVarRequestOptions,
2185
+ };
2186
+ },
2187
+ }
2188
+ };
2189
+
2190
+ /**
2191
+ * V1LegacyApi - functional programming interface
2192
+ */
2193
+ export const V1LegacyApiFp = function(configuration?: Configuration) {
2194
+ const localVarAxiosParamCreator = V1LegacyApiAxiosParamCreator(configuration)
2195
+ return {
2196
+ /**
2197
+ * ### 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.
2198
+ * @summary Get One Contact
2199
+ * @param {string} id
2200
+ * @param {*} [options] Override http request option.
2201
+ * @throws {RequiredError}
2202
+ */
2203
+ async apiContactsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiContactsIdGet(id, options);
2205
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2206
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiContactsIdGet']?.[localVarOperationServerIndex]?.url;
2207
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2208
+ },
2209
+ /**
2210
+ *
2211
+ * @summary Update contact customFields
2212
+ * @param {string} id
2213
+ * @param {*} [options] Override http request option.
2214
+ * @throws {RequiredError}
2215
+ */
2216
+ async apiContactsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiContactsIdPut(id, options);
2218
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2219
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiContactsIdPut']?.[localVarOperationServerIndex]?.url;
2220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2221
+ },
2222
+ /**
2223
+ *
2224
+ * @summary Get One Block
2225
+ * @param {string} id
2226
+ * @param {*} [options] Override http request option.
2227
+ * @throws {RequiredError}
2228
+ */
2229
+ async apiCustomfieldblocksIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldblocksIdGet(id, options);
2231
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2232
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiCustomfieldblocksIdGet']?.[localVarOperationServerIndex]?.url;
2233
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2234
+ },
2235
+ /**
2236
+ *
2237
+ * @summary Update One Block
2238
+ * @param {string} id
2239
+ * @param {*} [options] Override http request option.
2240
+ * @throws {RequiredError}
2241
+ */
2242
+ async apiCustomfieldblocksIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2243
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldblocksIdPut(id, options);
2244
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2245
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiCustomfieldblocksIdPut']?.[localVarOperationServerIndex]?.url;
2246
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2247
+ },
2248
+ /**
2249
+ *
2250
+ * @summary Create One Block
2251
+ * @param {*} [options] Override http request option.
2252
+ * @throws {RequiredError}
2253
+ */
2254
+ async apiCustomfieldblocksPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2255
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldblocksPost(options);
2256
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2257
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiCustomfieldblocksPost']?.[localVarOperationServerIndex]?.url;
2258
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2259
+ },
2260
+ /**
2261
+ *
2262
+ * @summary Get One Custom Field
2263
+ * @param {string} id
2264
+ * @param {*} [options] Override http request option.
2265
+ * @throws {RequiredError}
2266
+ */
2267
+ async apiCustomfieldsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2268
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldsIdGet(id, options);
2269
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2270
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiCustomfieldsIdGet']?.[localVarOperationServerIndex]?.url;
2271
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2272
+ },
2273
+ /**
2274
+ *
2275
+ * @summary Update One Custom Field
2276
+ * @param {string} id
2277
+ * @param {*} [options] Override http request option.
2278
+ * @throws {RequiredError}
2279
+ */
2280
+ async apiCustomfieldsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2281
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiCustomfieldsIdPut(id, options);
2282
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2283
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiCustomfieldsIdPut']?.[localVarOperationServerIndex]?.url;
2284
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2285
+ },
2286
+ /**
2287
+ *
2288
+ * @summary List Widgets
2289
+ * @param {string} dashboardId
2290
+ * @param {*} [options] Override http request option.
2291
+ * @throws {RequiredError}
2292
+ */
2293
+ async apiDashboardsDashboardIdWidgetsGet(dashboardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiDashboardsDashboardIdWidgetsGet(dashboardId, options);
2295
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2296
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiDashboardsDashboardIdWidgetsGet']?.[localVarOperationServerIndex]?.url;
2297
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2298
+ },
2299
+ /**
2300
+ * ### 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.
2301
+ * @summary Get One Deal
2302
+ * @param {string} id
2303
+ * @param {*} [options] Override http request option.
2304
+ * @throws {RequiredError}
2305
+ */
2306
+ async apiDealsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2307
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiDealsIdGet(id, options);
2308
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2309
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiDealsIdGet']?.[localVarOperationServerIndex]?.url;
2310
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2311
+ },
2312
+ /**
2313
+ *
2314
+ * @summary Update deal customFields
2315
+ * @param {string} id
2316
+ * @param {*} [options] Override http request option.
2317
+ * @throws {RequiredError}
2318
+ */
2319
+ async apiDealsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2320
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiDealsIdPut(id, options);
2321
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2322
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiDealsIdPut']?.[localVarOperationServerIndex]?.url;
2323
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2324
+ },
2325
+ /**
2326
+ * List meetings for a specific lead (by contact).
2327
+ * @summary List Meetings by Lead
2328
+ * @param {string} cONTACTID
2329
+ * @param {number} [page]
2330
+ * @param {number} [limit]
2331
+ * @param {*} [options] Override http request option.
2332
+ * @throws {RequiredError}
2333
+ */
2334
+ async apiLeadsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDMeetingsGet(cONTACTID, page, limit, options);
2336
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2337
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsCONTACTIDMeetingsGet']?.[localVarOperationServerIndex]?.url;
2338
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2339
+ },
2340
+ /**
2341
+ * List observations for a specific lead (by contact).
2342
+ * @summary List Observations by Lead
2343
+ * @param {string} cONTACTID
2344
+ * @param {number} [page]
2345
+ * @param {number} [limit]
2346
+ * @param {*} [options] Override http request option.
2347
+ * @throws {RequiredError}
2348
+ */
2349
+ async apiLeadsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2350
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDObservationsGet(cONTACTID, page, limit, options);
2351
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2352
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsCONTACTIDObservationsGet']?.[localVarOperationServerIndex]?.url;
2353
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2354
+ },
2355
+ /**
2356
+ * List tasks for a specific lead (by contact).
2357
+ * @summary List Tasks by Lead
2358
+ * @param {string} cONTACTID
2359
+ * @param {number} [page]
2360
+ * @param {number} [limit]
2361
+ * @param {*} [options] Override http request option.
2362
+ * @throws {RequiredError}
2363
+ */
2364
+ async apiLeadsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2365
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDTasksGet(cONTACTID, page, limit, options);
2366
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2367
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsCONTACTIDTasksGet']?.[localVarOperationServerIndex]?.url;
2368
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2369
+ },
2370
+ /**
2371
+ * List tickets for a specific lead (by contact).
2372
+ * @summary List Tickets by Lead
2373
+ * @param {string} cONTACTID
2374
+ * @param {number} [page]
2375
+ * @param {number} [limit]
2376
+ * @param {*} [options] Override http request option.
2377
+ * @throws {RequiredError}
2378
+ */
2379
+ async apiLeadsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2380
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDTicketsGet(cONTACTID, page, limit, options);
2381
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2382
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsCONTACTIDTicketsGet']?.[localVarOperationServerIndex]?.url;
2383
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2384
+ },
2385
+ /**
2386
+ * List treatments for a specific lead (by contact).
2387
+ * @summary List Treatments by Lead
2388
+ * @param {string} cONTACTID
2389
+ * @param {number} [page]
2390
+ * @param {number} [limit]
2391
+ * @param {*} [options] Override http request option.
2392
+ * @throws {RequiredError}
2393
+ */
2394
+ async apiLeadsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options);
2396
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2397
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsCONTACTIDTreatmentsGet']?.[localVarOperationServerIndex]?.url;
2398
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2399
+ },
2400
+ /**
2401
+ * Retrieves a specific lead by ID.
2402
+ * @summary Get One Lead
2403
+ * @param {string} id
2404
+ * @param {*} [options] Override http request option.
2405
+ * @throws {RequiredError}
2406
+ */
2407
+ async apiLeadsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2408
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsIdGet(id, options);
2409
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2410
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsIdGet']?.[localVarOperationServerIndex]?.url;
2411
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2412
+ },
2413
+ /**
2414
+ *
2415
+ * @summary Update One Lead
2416
+ * @param {string} id
2417
+ * @param {*} [options] Override http request option.
2418
+ * @throws {RequiredError}
2419
+ */
2420
+ async apiLeadsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2421
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiLeadsIdPut(id, options);
2422
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2423
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiLeadsIdPut']?.[localVarOperationServerIndex]?.url;
2424
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2425
+ },
2426
+ /**
2427
+ *
2428
+ * @summary Get One Meeting
2429
+ * @param {string} id
2430
+ * @param {*} [options] Override http request option.
2431
+ * @throws {RequiredError}
2432
+ */
2433
+ async apiMeetingsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2434
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsIdGet(id, options);
2435
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2436
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsIdGet']?.[localVarOperationServerIndex]?.url;
2437
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2438
+ },
2439
+ /**
2440
+ *
2441
+ * @summary Update One Meeting
2442
+ * @param {string} id
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ */
2446
+ async apiMeetingsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2447
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsIdPut(id, options);
2448
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2449
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsIdPut']?.[localVarOperationServerIndex]?.url;
2450
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2451
+ },
2452
+ /**
2453
+ *
2454
+ * @summary List Meeting Rooms
2455
+ * @param {number} [page]
2456
+ * @param {number} [limit]
2457
+ * @param {string} [search]
2458
+ * @param {*} [options] Override http request option.
2459
+ * @throws {RequiredError}
2460
+ */
2461
+ async apiMeetingsRoomsGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2462
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsGet(page, limit, search, options);
2463
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2464
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsRoomsGet']?.[localVarOperationServerIndex]?.url;
2465
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2466
+ },
2467
+ /**
2468
+ *
2469
+ * @summary Get One Meeting Room
2470
+ * @param {string} id
2471
+ * @param {*} [options] Override http request option.
2472
+ * @throws {RequiredError}
2473
+ */
2474
+ async apiMeetingsRoomsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2475
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsIdGet(id, options);
2476
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2477
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsRoomsIdGet']?.[localVarOperationServerIndex]?.url;
2478
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2479
+ },
2480
+ /**
2481
+ *
2482
+ * @summary Update One Meeting Room
2483
+ * @param {string} id
2484
+ * @param {*} [options] Override http request option.
2485
+ * @throws {RequiredError}
2486
+ */
2487
+ async apiMeetingsRoomsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsIdPut(id, options);
2489
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2490
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsRoomsIdPut']?.[localVarOperationServerIndex]?.url;
2491
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2492
+ },
2493
+ /**
2494
+ *
2495
+ * @summary Create One Meeting Room
2496
+ * @param {*} [options] Override http request option.
2497
+ * @throws {RequiredError}
2498
+ */
2499
+ async apiMeetingsRoomsPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2500
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsRoomsPost(options);
2501
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2502
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsRoomsPost']?.[localVarOperationServerIndex]?.url;
2503
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2504
+ },
2505
+ /**
2506
+ *
2507
+ * @summary List Meeting Types
2508
+ * @param {number} [page]
2509
+ * @param {number} [limit]
2510
+ * @param {string} [search]
2511
+ * @param {*} [options] Override http request option.
2512
+ * @throws {RequiredError}
2513
+ */
2514
+ async apiMeetingsTypesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2515
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesGet(page, limit, search, options);
2516
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2517
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsTypesGet']?.[localVarOperationServerIndex]?.url;
2518
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2519
+ },
2520
+ /**
2521
+ *
2522
+ * @summary Get One Meeting Type
2523
+ * @param {string} id
2524
+ * @param {*} [options] Override http request option.
2525
+ * @throws {RequiredError}
2526
+ */
2527
+ async apiMeetingsTypesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2528
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesIdGet(id, options);
2529
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2530
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsTypesIdGet']?.[localVarOperationServerIndex]?.url;
2531
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2532
+ },
2533
+ /**
2534
+ *
2535
+ * @summary Update One Meeting Type
2536
+ * @param {string} id
2537
+ * @param {*} [options] Override http request option.
2538
+ * @throws {RequiredError}
2539
+ */
2540
+ async apiMeetingsTypesIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2541
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesIdPut(id, options);
2542
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2543
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsTypesIdPut']?.[localVarOperationServerIndex]?.url;
2544
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2545
+ },
2546
+ /**
2547
+ *
2548
+ * @summary Create One Meeting Type
2549
+ * @param {*} [options] Override http request option.
2550
+ * @throws {RequiredError}
2551
+ */
2552
+ async apiMeetingsTypesPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2553
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiMeetingsTypesPost(options);
2554
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2555
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiMeetingsTypesPost']?.[localVarOperationServerIndex]?.url;
2556
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2557
+ },
2558
+ /**
2559
+ * 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`.
2560
+ * @summary Get One Organization
2561
+ * @param {string} id
2562
+ * @param {*} [options] Override http request option.
2563
+ * @throws {RequiredError}
2564
+ */
2565
+ async apiOrganizationsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2566
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiOrganizationsIdGet(id, options);
2567
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2568
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiOrganizationsIdGet']?.[localVarOperationServerIndex]?.url;
2569
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2570
+ },
2571
+ /**
2572
+ * Atualiza os dados de uma organização existente.
2573
+ * @summary Update One Organization
2574
+ * @param {string} id
2575
+ * @param {object} [body]
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ async apiOrganizationsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2580
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiOrganizationsIdPut(id, body, options);
2581
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2582
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiOrganizationsIdPut']?.[localVarOperationServerIndex]?.url;
2583
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2584
+ },
2585
+ /**
2586
+ * 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`.
2587
+ * @summary Get One Pipeline
2588
+ * @param {string} id
2589
+ * @param {*} [options] Override http request option.
2590
+ * @throws {RequiredError}
2591
+ */
2592
+ async apiPipelinesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiPipelinesIdGet(id, options);
2594
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2595
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiPipelinesIdGet']?.[localVarOperationServerIndex]?.url;
2596
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2597
+ },
2598
+ /**
2599
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
2600
+ * @summary Update One Pipeline
2601
+ * @param {string} id
2602
+ * @param {object} [body]
2603
+ * @param {*} [options] Override http request option.
2604
+ * @throws {RequiredError}
2605
+ */
2606
+ async apiPipelinesIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiPipelinesIdPut(id, body, options);
2608
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2609
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiPipelinesIdPut']?.[localVarOperationServerIndex]?.url;
2610
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2611
+ },
2612
+ /**
2613
+ * List meetings for a specific prospect (by contact).
2614
+ * @summary List Meetings by Prospect
2615
+ * @param {string} cONTACTID
2616
+ * @param {number} [page]
2617
+ * @param {number} [limit]
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ */
2621
+ async apiProspectsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2622
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDMeetingsGet(cONTACTID, page, limit, options);
2623
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2624
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsCONTACTIDMeetingsGet']?.[localVarOperationServerIndex]?.url;
2625
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2626
+ },
2627
+ /**
2628
+ * List observations for a specific prospect (by contact).
2629
+ * @summary List Observations by Prospect
2630
+ * @param {string} cONTACTID
2631
+ * @param {number} [page]
2632
+ * @param {number} [limit]
2633
+ * @param {*} [options] Override http request option.
2634
+ * @throws {RequiredError}
2635
+ */
2636
+ async apiProspectsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2637
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDObservationsGet(cONTACTID, page, limit, options);
2638
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2639
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsCONTACTIDObservationsGet']?.[localVarOperationServerIndex]?.url;
2640
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2641
+ },
2642
+ /**
2643
+ * List tasks for a specific prospect (by contact).
2644
+ * @summary List Tasks by Prospect
2645
+ * @param {string} cONTACTID
2646
+ * @param {number} [page]
2647
+ * @param {number} [limit]
2648
+ * @param {*} [options] Override http request option.
2649
+ * @throws {RequiredError}
2650
+ */
2651
+ async apiProspectsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2652
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDTasksGet(cONTACTID, page, limit, options);
2653
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2654
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsCONTACTIDTasksGet']?.[localVarOperationServerIndex]?.url;
2655
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2656
+ },
2657
+ /**
2658
+ * List tickets for a specific prospect (by contact).
2659
+ * @summary List Tickets by Prospect
2660
+ * @param {string} cONTACTID
2661
+ * @param {number} [page]
2662
+ * @param {number} [limit]
2663
+ * @param {*} [options] Override http request option.
2664
+ * @throws {RequiredError}
2665
+ */
2666
+ async apiProspectsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2667
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDTicketsGet(cONTACTID, page, limit, options);
2668
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2669
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsCONTACTIDTicketsGet']?.[localVarOperationServerIndex]?.url;
2670
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2671
+ },
2672
+ /**
2673
+ * List treatments for a specific prospect (by contact).
2674
+ * @summary List Treatments by Prospect
2675
+ * @param {string} cONTACTID
2676
+ * @param {number} [page]
2677
+ * @param {number} [limit]
2678
+ * @param {*} [options] Override http request option.
2679
+ * @throws {RequiredError}
2680
+ */
2681
+ async apiProspectsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options);
2683
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2684
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsCONTACTIDTreatmentsGet']?.[localVarOperationServerIndex]?.url;
2685
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2686
+ },
2687
+ /**
2688
+ * Retrieves a specific prospect by ID.
2689
+ * @summary Get One Prospect
2690
+ * @param {string} id
2691
+ * @param {*} [options] Override http request option.
2692
+ * @throws {RequiredError}
2693
+ */
2694
+ async apiProspectsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsIdGet(id, options);
2696
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2697
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsIdGet']?.[localVarOperationServerIndex]?.url;
2698
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2699
+ },
2700
+ /**
2701
+ *
2702
+ * @summary Update One Prospect
2703
+ * @param {string} id
2704
+ * @param {*} [options] Override http request option.
2705
+ * @throws {RequiredError}
2706
+ */
2707
+ async apiProspectsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2708
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiProspectsIdPut(id, options);
2709
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2710
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiProspectsIdPut']?.[localVarOperationServerIndex]?.url;
2711
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2712
+ },
2713
+ /**
2714
+ * ### 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`.
2715
+ * @summary Get One Staff
2716
+ * @param {string} id
2717
+ * @param {*} [options] Override http request option.
2718
+ * @throws {RequiredError}
2719
+ */
2720
+ async apiStaffsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2721
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiStaffsIdGet(id, options);
2722
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2723
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiStaffsIdGet']?.[localVarOperationServerIndex]?.url;
2724
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2725
+ },
2726
+ /**
2727
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
2728
+ * @summary Update One Staff
2729
+ * @param {string} id
2730
+ * @param {object} [body]
2731
+ * @param {*} [options] Override http request option.
2732
+ * @throws {RequiredError}
2733
+ */
2734
+ async apiStaffsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2735
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiStaffsIdPut(id, body, options);
2736
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2737
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiStaffsIdPut']?.[localVarOperationServerIndex]?.url;
2738
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2739
+ },
2740
+ /**
2741
+ * ### 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.
2742
+ * @summary Create One Staff
2743
+ * @param {object} [body]
2744
+ * @param {*} [options] Override http request option.
2745
+ * @throws {RequiredError}
2746
+ */
2747
+ async apiStaffsPost(body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2748
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiStaffsPost(body, options);
2749
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2750
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiStaffsPost']?.[localVarOperationServerIndex]?.url;
2751
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2752
+ },
2753
+ /**
2754
+ * 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`.
2755
+ * @summary Get One Task
2756
+ * @param {string} id
2757
+ * @param {*} [options] Override http request option.
2758
+ * @throws {RequiredError}
2759
+ */
2760
+ async apiTasksIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTasksIdGet(id, options);
2762
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2763
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTasksIdGet']?.[localVarOperationServerIndex]?.url;
2764
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2765
+ },
2766
+ /**
2767
+ * Atualiza os dados de uma tarefa existente.
2768
+ * @summary Update One Task
2769
+ * @param {string} id
2770
+ * @param {object} [body]
2771
+ * @param {*} [options] Override http request option.
2772
+ * @throws {RequiredError}
2773
+ */
2774
+ async apiTasksIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2775
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTasksIdPut(id, body, options);
2776
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2777
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTasksIdPut']?.[localVarOperationServerIndex]?.url;
2778
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2779
+ },
2780
+ /**
2781
+ * 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`.
2782
+ * @summary Get One Ticket
2783
+ * @param {string} id
2784
+ * @param {*} [options] Override http request option.
2785
+ * @throws {RequiredError}
2786
+ */
2787
+ async apiTicketsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2788
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTicketsIdGet(id, options);
2789
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2790
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTicketsIdGet']?.[localVarOperationServerIndex]?.url;
2791
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2792
+ },
2793
+ /**
2794
+ * Atualiza os dados de um ticket existente.
2795
+ * @summary Update One Ticket
2796
+ * @param {string} id
2797
+ * @param {object} [body]
2798
+ * @param {*} [options] Override http request option.
2799
+ * @throws {RequiredError}
2800
+ */
2801
+ async apiTicketsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2802
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTicketsIdPut(id, body, options);
2803
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2804
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTicketsIdPut']?.[localVarOperationServerIndex]?.url;
2805
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2806
+ },
2807
+ /**
2808
+ *
2809
+ * @summary Get One Treatment
2810
+ * @param {string} id
2811
+ * @param {*} [options] Override http request option.
2812
+ * @throws {RequiredError}
2813
+ */
2814
+ async apiTreatmentsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2815
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsIdGet(id, options);
2816
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2817
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsIdGet']?.[localVarOperationServerIndex]?.url;
2818
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2819
+ },
2820
+ /**
2821
+ *
2822
+ * @summary Update One Treatment
2823
+ * @param {string} id
2824
+ * @param {*} [options] Override http request option.
2825
+ * @throws {RequiredError}
2826
+ */
2827
+ async apiTreatmentsIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2828
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsIdPut(id, options);
2829
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2830
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsIdPut']?.[localVarOperationServerIndex]?.url;
2831
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2832
+ },
2833
+ /**
2834
+ *
2835
+ * @summary Get One Treatment Type
2836
+ * @param {string} id
2837
+ * @param {*} [options] Override http request option.
2838
+ * @throws {RequiredError}
2839
+ */
2840
+ async apiTreatmentsTypesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2841
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsTypesIdGet(id, options);
2842
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2843
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsTypesIdGet']?.[localVarOperationServerIndex]?.url;
2844
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2845
+ },
2846
+ /**
2847
+ *
2848
+ * @summary Update One Treatment Type
2849
+ * @param {string} id
2850
+ * @param {*} [options] Override http request option.
2851
+ * @throws {RequiredError}
2852
+ */
2853
+ async apiTreatmentsTypesIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2854
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsTypesIdPut(id, options);
2855
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2856
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsTypesIdPut']?.[localVarOperationServerIndex]?.url;
2857
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2858
+ },
2859
+ /**
2860
+ *
2861
+ * @summary Create One Treatment Type
2862
+ * @param {*} [options] Override http request option.
2863
+ * @throws {RequiredError}
2864
+ */
2865
+ async apiTreatmentsTypesPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsTypesPost(options);
2867
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2868
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsTypesPost']?.[localVarOperationServerIndex]?.url;
2869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2870
+ },
2871
+ /**
2872
+ *
2873
+ * @summary List Workspaces
2874
+ * @param {number} [page]
2875
+ * @param {number} [limit]
2876
+ * @param {string} [search]
2877
+ * @param {*} [options] Override http request option.
2878
+ * @throws {RequiredError}
2879
+ */
2880
+ async apiTreatmentsWorkspacesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2881
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesGet(page, limit, search, options);
2882
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2883
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsWorkspacesGet']?.[localVarOperationServerIndex]?.url;
2884
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2885
+ },
2886
+ /**
2887
+ *
2888
+ * @summary Get One Workspace
2889
+ * @param {string} id
2890
+ * @param {*} [options] Override http request option.
2891
+ * @throws {RequiredError}
2892
+ */
2893
+ async apiTreatmentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2894
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesIdGet(id, options);
2895
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2896
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsWorkspacesIdGet']?.[localVarOperationServerIndex]?.url;
2897
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2898
+ },
2899
+ /**
2900
+ *
2901
+ * @summary Update One Workspace
2902
+ * @param {string} id
2903
+ * @param {*} [options] Override http request option.
2904
+ * @throws {RequiredError}
2905
+ */
2906
+ async apiTreatmentsWorkspacesIdPut(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2907
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesIdPut(id, options);
2908
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2909
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsWorkspacesIdPut']?.[localVarOperationServerIndex]?.url;
2910
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2911
+ },
2912
+ /**
2913
+ *
2914
+ * @summary Create One Workspace
2915
+ * @param {*} [options] Override http request option.
2916
+ * @throws {RequiredError}
2917
+ */
2918
+ async apiTreatmentsWorkspacesPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2919
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiTreatmentsWorkspacesPost(options);
2920
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2921
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.apiTreatmentsWorkspacesPost']?.[localVarOperationServerIndex]?.url;
2922
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2923
+ },
2924
+ /**
2925
+ * The endpoint makes an HTTP GET request to retrieve the OpenID configuration. The response contains various endpoints and supported features related to the OpenID Connect protocol, including authorization, token, userinfo, and revocation endpoints.
2926
+ * @summary OpenID Connect Discovery Endpoint
2927
+ * @param {*} [options] Override http request option.
2928
+ * @throws {RequiredError}
2929
+ */
2930
+ async wellKnownOpenidConfigurationGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2931
+ const localVarAxiosArgs = await localVarAxiosParamCreator.wellKnownOpenidConfigurationGet(options);
2932
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2933
+ const localVarOperationServerBasePath = operationServerMap['V1LegacyApi.wellKnownOpenidConfigurationGet']?.[localVarOperationServerIndex]?.url;
2934
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2935
+ },
2936
+ }
2937
+ };
2938
+
2939
+ /**
2940
+ * V1LegacyApi - factory interface
2941
+ */
2942
+ export const V1LegacyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2943
+ const localVarFp = V1LegacyApiFp(configuration)
2944
+ return {
2945
+ /**
2946
+ * ### 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.
2947
+ * @summary Get One Contact
2948
+ * @param {string} id
2949
+ * @param {*} [options] Override http request option.
2950
+ * @throws {RequiredError}
2951
+ */
2952
+ apiContactsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2953
+ return localVarFp.apiContactsIdGet(id, options).then((request) => request(axios, basePath));
2954
+ },
2955
+ /**
2956
+ *
2957
+ * @summary Update contact customFields
2958
+ * @param {string} id
2959
+ * @param {*} [options] Override http request option.
2960
+ * @throws {RequiredError}
2961
+ */
2962
+ apiContactsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2963
+ return localVarFp.apiContactsIdPut(id, options).then((request) => request(axios, basePath));
2964
+ },
2965
+ /**
2966
+ *
2967
+ * @summary Get One Block
2968
+ * @param {string} id
2969
+ * @param {*} [options] Override http request option.
2970
+ * @throws {RequiredError}
2971
+ */
2972
+ apiCustomfieldblocksIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2973
+ return localVarFp.apiCustomfieldblocksIdGet(id, options).then((request) => request(axios, basePath));
2974
+ },
2975
+ /**
2976
+ *
2977
+ * @summary Update One Block
2978
+ * @param {string} id
2979
+ * @param {*} [options] Override http request option.
2980
+ * @throws {RequiredError}
2981
+ */
2982
+ apiCustomfieldblocksIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2983
+ return localVarFp.apiCustomfieldblocksIdPut(id, options).then((request) => request(axios, basePath));
2984
+ },
2985
+ /**
2986
+ *
2987
+ * @summary Create One Block
2988
+ * @param {*} [options] Override http request option.
2989
+ * @throws {RequiredError}
2990
+ */
2991
+ apiCustomfieldblocksPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
2992
+ return localVarFp.apiCustomfieldblocksPost(options).then((request) => request(axios, basePath));
2993
+ },
2994
+ /**
2995
+ *
2996
+ * @summary Get One Custom Field
2997
+ * @param {string} id
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ */
3001
+ apiCustomfieldsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3002
+ return localVarFp.apiCustomfieldsIdGet(id, options).then((request) => request(axios, basePath));
3003
+ },
3004
+ /**
3005
+ *
3006
+ * @summary Update One Custom Field
3007
+ * @param {string} id
3008
+ * @param {*} [options] Override http request option.
3009
+ * @throws {RequiredError}
3010
+ */
3011
+ apiCustomfieldsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3012
+ return localVarFp.apiCustomfieldsIdPut(id, options).then((request) => request(axios, basePath));
3013
+ },
3014
+ /**
3015
+ *
3016
+ * @summary List Widgets
3017
+ * @param {string} dashboardId
3018
+ * @param {*} [options] Override http request option.
3019
+ * @throws {RequiredError}
3020
+ */
3021
+ apiDashboardsDashboardIdWidgetsGet(dashboardId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3022
+ return localVarFp.apiDashboardsDashboardIdWidgetsGet(dashboardId, options).then((request) => request(axios, basePath));
3023
+ },
3024
+ /**
3025
+ * ### 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.
3026
+ * @summary Get One Deal
3027
+ * @param {string} id
3028
+ * @param {*} [options] Override http request option.
3029
+ * @throws {RequiredError}
3030
+ */
3031
+ apiDealsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3032
+ return localVarFp.apiDealsIdGet(id, options).then((request) => request(axios, basePath));
3033
+ },
3034
+ /**
3035
+ *
3036
+ * @summary Update deal customFields
3037
+ * @param {string} id
3038
+ * @param {*} [options] Override http request option.
3039
+ * @throws {RequiredError}
3040
+ */
3041
+ apiDealsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3042
+ return localVarFp.apiDealsIdPut(id, options).then((request) => request(axios, basePath));
3043
+ },
3044
+ /**
3045
+ * List meetings for a specific lead (by contact).
3046
+ * @summary List Meetings by Lead
3047
+ * @param {string} cONTACTID
3048
+ * @param {number} [page]
3049
+ * @param {number} [limit]
3050
+ * @param {*} [options] Override http request option.
3051
+ * @throws {RequiredError}
3052
+ */
3053
+ apiLeadsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3054
+ return localVarFp.apiLeadsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3055
+ },
3056
+ /**
3057
+ * List observations for a specific lead (by contact).
3058
+ * @summary List Observations by Lead
3059
+ * @param {string} cONTACTID
3060
+ * @param {number} [page]
3061
+ * @param {number} [limit]
3062
+ * @param {*} [options] Override http request option.
3063
+ * @throws {RequiredError}
3064
+ */
3065
+ apiLeadsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3066
+ return localVarFp.apiLeadsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3067
+ },
3068
+ /**
3069
+ * List tasks for a specific lead (by contact).
3070
+ * @summary List Tasks by Lead
3071
+ * @param {string} cONTACTID
3072
+ * @param {number} [page]
3073
+ * @param {number} [limit]
3074
+ * @param {*} [options] Override http request option.
3075
+ * @throws {RequiredError}
3076
+ */
3077
+ apiLeadsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3078
+ return localVarFp.apiLeadsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3079
+ },
3080
+ /**
3081
+ * List tickets for a specific lead (by contact).
3082
+ * @summary List Tickets by Lead
3083
+ * @param {string} cONTACTID
3084
+ * @param {number} [page]
3085
+ * @param {number} [limit]
3086
+ * @param {*} [options] Override http request option.
3087
+ * @throws {RequiredError}
3088
+ */
3089
+ apiLeadsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3090
+ return localVarFp.apiLeadsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3091
+ },
3092
+ /**
3093
+ * List treatments for a specific lead (by contact).
3094
+ * @summary List Treatments by Lead
3095
+ * @param {string} cONTACTID
3096
+ * @param {number} [page]
3097
+ * @param {number} [limit]
3098
+ * @param {*} [options] Override http request option.
3099
+ * @throws {RequiredError}
3100
+ */
3101
+ apiLeadsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3102
+ return localVarFp.apiLeadsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3103
+ },
3104
+ /**
3105
+ * Retrieves a specific lead by ID.
3106
+ * @summary Get One Lead
3107
+ * @param {string} id
3108
+ * @param {*} [options] Override http request option.
3109
+ * @throws {RequiredError}
3110
+ */
3111
+ apiLeadsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3112
+ return localVarFp.apiLeadsIdGet(id, options).then((request) => request(axios, basePath));
3113
+ },
3114
+ /**
3115
+ *
3116
+ * @summary Update One Lead
3117
+ * @param {string} id
3118
+ * @param {*} [options] Override http request option.
3119
+ * @throws {RequiredError}
3120
+ */
3121
+ apiLeadsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3122
+ return localVarFp.apiLeadsIdPut(id, options).then((request) => request(axios, basePath));
3123
+ },
3124
+ /**
3125
+ *
3126
+ * @summary Get One Meeting
3127
+ * @param {string} id
3128
+ * @param {*} [options] Override http request option.
3129
+ * @throws {RequiredError}
3130
+ */
3131
+ apiMeetingsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3132
+ return localVarFp.apiMeetingsIdGet(id, options).then((request) => request(axios, basePath));
3133
+ },
3134
+ /**
3135
+ *
3136
+ * @summary Update One Meeting
3137
+ * @param {string} id
3138
+ * @param {*} [options] Override http request option.
3139
+ * @throws {RequiredError}
3140
+ */
3141
+ apiMeetingsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3142
+ return localVarFp.apiMeetingsIdPut(id, options).then((request) => request(axios, basePath));
3143
+ },
3144
+ /**
3145
+ *
3146
+ * @summary List Meeting Rooms
3147
+ * @param {number} [page]
3148
+ * @param {number} [limit]
3149
+ * @param {string} [search]
3150
+ * @param {*} [options] Override http request option.
3151
+ * @throws {RequiredError}
3152
+ */
3153
+ apiMeetingsRoomsGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3154
+ return localVarFp.apiMeetingsRoomsGet(page, limit, search, options).then((request) => request(axios, basePath));
3155
+ },
3156
+ /**
3157
+ *
3158
+ * @summary Get One Meeting Room
3159
+ * @param {string} id
3160
+ * @param {*} [options] Override http request option.
3161
+ * @throws {RequiredError}
3162
+ */
3163
+ apiMeetingsRoomsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3164
+ return localVarFp.apiMeetingsRoomsIdGet(id, options).then((request) => request(axios, basePath));
3165
+ },
3166
+ /**
3167
+ *
3168
+ * @summary Update One Meeting Room
3169
+ * @param {string} id
3170
+ * @param {*} [options] Override http request option.
3171
+ * @throws {RequiredError}
3172
+ */
3173
+ apiMeetingsRoomsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3174
+ return localVarFp.apiMeetingsRoomsIdPut(id, options).then((request) => request(axios, basePath));
3175
+ },
3176
+ /**
3177
+ *
3178
+ * @summary Create One Meeting Room
3179
+ * @param {*} [options] Override http request option.
3180
+ * @throws {RequiredError}
3181
+ */
3182
+ apiMeetingsRoomsPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3183
+ return localVarFp.apiMeetingsRoomsPost(options).then((request) => request(axios, basePath));
3184
+ },
3185
+ /**
3186
+ *
3187
+ * @summary List Meeting Types
3188
+ * @param {number} [page]
3189
+ * @param {number} [limit]
3190
+ * @param {string} [search]
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ */
3194
+ apiMeetingsTypesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3195
+ return localVarFp.apiMeetingsTypesGet(page, limit, search, options).then((request) => request(axios, basePath));
3196
+ },
3197
+ /**
3198
+ *
3199
+ * @summary Get One Meeting Type
3200
+ * @param {string} id
3201
+ * @param {*} [options] Override http request option.
3202
+ * @throws {RequiredError}
3203
+ */
3204
+ apiMeetingsTypesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3205
+ return localVarFp.apiMeetingsTypesIdGet(id, options).then((request) => request(axios, basePath));
3206
+ },
3207
+ /**
3208
+ *
3209
+ * @summary Update One Meeting Type
3210
+ * @param {string} id
3211
+ * @param {*} [options] Override http request option.
3212
+ * @throws {RequiredError}
3213
+ */
3214
+ apiMeetingsTypesIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3215
+ return localVarFp.apiMeetingsTypesIdPut(id, options).then((request) => request(axios, basePath));
3216
+ },
3217
+ /**
3218
+ *
3219
+ * @summary Create One Meeting Type
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ */
3223
+ apiMeetingsTypesPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3224
+ return localVarFp.apiMeetingsTypesPost(options).then((request) => request(axios, basePath));
3225
+ },
3226
+ /**
3227
+ * 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`.
3228
+ * @summary Get One Organization
3229
+ * @param {string} id
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ apiOrganizationsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3234
+ return localVarFp.apiOrganizationsIdGet(id, options).then((request) => request(axios, basePath));
3235
+ },
3236
+ /**
3237
+ * Atualiza os dados de uma organização existente.
3238
+ * @summary Update One Organization
3239
+ * @param {string} id
3240
+ * @param {object} [body]
3241
+ * @param {*} [options] Override http request option.
3242
+ * @throws {RequiredError}
3243
+ */
3244
+ apiOrganizationsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3245
+ return localVarFp.apiOrganizationsIdPut(id, body, options).then((request) => request(axios, basePath));
3246
+ },
3247
+ /**
3248
+ * 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`.
3249
+ * @summary Get One Pipeline
3250
+ * @param {string} id
3251
+ * @param {*} [options] Override http request option.
3252
+ * @throws {RequiredError}
3253
+ */
3254
+ apiPipelinesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3255
+ return localVarFp.apiPipelinesIdGet(id, options).then((request) => request(axios, basePath));
3256
+ },
3257
+ /**
3258
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
3259
+ * @summary Update One Pipeline
3260
+ * @param {string} id
3261
+ * @param {object} [body]
3262
+ * @param {*} [options] Override http request option.
3263
+ * @throws {RequiredError}
3264
+ */
3265
+ apiPipelinesIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3266
+ return localVarFp.apiPipelinesIdPut(id, body, options).then((request) => request(axios, basePath));
3267
+ },
3268
+ /**
3269
+ * List meetings for a specific prospect (by contact).
3270
+ * @summary List Meetings by Prospect
3271
+ * @param {string} cONTACTID
3272
+ * @param {number} [page]
3273
+ * @param {number} [limit]
3274
+ * @param {*} [options] Override http request option.
3275
+ * @throws {RequiredError}
3276
+ */
3277
+ apiProspectsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3278
+ return localVarFp.apiProspectsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3279
+ },
3280
+ /**
3281
+ * List observations for a specific prospect (by contact).
3282
+ * @summary List Observations by Prospect
3283
+ * @param {string} cONTACTID
3284
+ * @param {number} [page]
3285
+ * @param {number} [limit]
3286
+ * @param {*} [options] Override http request option.
3287
+ * @throws {RequiredError}
3288
+ */
3289
+ apiProspectsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3290
+ return localVarFp.apiProspectsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3291
+ },
3292
+ /**
3293
+ * List tasks for a specific prospect (by contact).
3294
+ * @summary List Tasks by Prospect
3295
+ * @param {string} cONTACTID
3296
+ * @param {number} [page]
3297
+ * @param {number} [limit]
3298
+ * @param {*} [options] Override http request option.
3299
+ * @throws {RequiredError}
3300
+ */
3301
+ apiProspectsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3302
+ return localVarFp.apiProspectsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3303
+ },
3304
+ /**
3305
+ * List tickets for a specific prospect (by contact).
3306
+ * @summary List Tickets by Prospect
3307
+ * @param {string} cONTACTID
3308
+ * @param {number} [page]
3309
+ * @param {number} [limit]
3310
+ * @param {*} [options] Override http request option.
3311
+ * @throws {RequiredError}
3312
+ */
3313
+ apiProspectsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3314
+ return localVarFp.apiProspectsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3315
+ },
3316
+ /**
3317
+ * List treatments for a specific prospect (by contact).
3318
+ * @summary List Treatments by Prospect
3319
+ * @param {string} cONTACTID
3320
+ * @param {number} [page]
3321
+ * @param {number} [limit]
3322
+ * @param {*} [options] Override http request option.
3323
+ * @throws {RequiredError}
3324
+ */
3325
+ apiProspectsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3326
+ return localVarFp.apiProspectsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(axios, basePath));
3327
+ },
3328
+ /**
3329
+ * Retrieves a specific prospect by ID.
3330
+ * @summary Get One Prospect
3331
+ * @param {string} id
3332
+ * @param {*} [options] Override http request option.
3333
+ * @throws {RequiredError}
3334
+ */
3335
+ apiProspectsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3336
+ return localVarFp.apiProspectsIdGet(id, options).then((request) => request(axios, basePath));
3337
+ },
3338
+ /**
3339
+ *
3340
+ * @summary Update One Prospect
3341
+ * @param {string} id
3342
+ * @param {*} [options] Override http request option.
3343
+ * @throws {RequiredError}
3344
+ */
3345
+ apiProspectsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3346
+ return localVarFp.apiProspectsIdPut(id, options).then((request) => request(axios, basePath));
3347
+ },
3348
+ /**
3349
+ * ### 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`.
3350
+ * @summary Get One Staff
3351
+ * @param {string} id
3352
+ * @param {*} [options] Override http request option.
3353
+ * @throws {RequiredError}
3354
+ */
3355
+ apiStaffsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3356
+ return localVarFp.apiStaffsIdGet(id, options).then((request) => request(axios, basePath));
3357
+ },
3358
+ /**
3359
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
3360
+ * @summary Update One Staff
3361
+ * @param {string} id
3362
+ * @param {object} [body]
3363
+ * @param {*} [options] Override http request option.
3364
+ * @throws {RequiredError}
3365
+ */
3366
+ apiStaffsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3367
+ return localVarFp.apiStaffsIdPut(id, body, options).then((request) => request(axios, basePath));
3368
+ },
3369
+ /**
3370
+ * ### 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.
3371
+ * @summary Create One Staff
3372
+ * @param {object} [body]
3373
+ * @param {*} [options] Override http request option.
3374
+ * @throws {RequiredError}
3375
+ */
3376
+ apiStaffsPost(body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3377
+ return localVarFp.apiStaffsPost(body, options).then((request) => request(axios, basePath));
3378
+ },
3379
+ /**
3380
+ * 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`.
3381
+ * @summary Get One Task
3382
+ * @param {string} id
3383
+ * @param {*} [options] Override http request option.
3384
+ * @throws {RequiredError}
3385
+ */
3386
+ apiTasksIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3387
+ return localVarFp.apiTasksIdGet(id, options).then((request) => request(axios, basePath));
3388
+ },
3389
+ /**
3390
+ * Atualiza os dados de uma tarefa existente.
3391
+ * @summary Update One Task
3392
+ * @param {string} id
3393
+ * @param {object} [body]
3394
+ * @param {*} [options] Override http request option.
3395
+ * @throws {RequiredError}
3396
+ */
3397
+ apiTasksIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3398
+ return localVarFp.apiTasksIdPut(id, body, options).then((request) => request(axios, basePath));
3399
+ },
3400
+ /**
3401
+ * 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`.
3402
+ * @summary Get One Ticket
3403
+ * @param {string} id
3404
+ * @param {*} [options] Override http request option.
3405
+ * @throws {RequiredError}
3406
+ */
3407
+ apiTicketsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3408
+ return localVarFp.apiTicketsIdGet(id, options).then((request) => request(axios, basePath));
3409
+ },
3410
+ /**
3411
+ * Atualiza os dados de um ticket existente.
3412
+ * @summary Update One Ticket
3413
+ * @param {string} id
3414
+ * @param {object} [body]
3415
+ * @param {*} [options] Override http request option.
3416
+ * @throws {RequiredError}
3417
+ */
3418
+ apiTicketsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3419
+ return localVarFp.apiTicketsIdPut(id, body, options).then((request) => request(axios, basePath));
3420
+ },
3421
+ /**
3422
+ *
3423
+ * @summary Get One Treatment
3424
+ * @param {string} id
3425
+ * @param {*} [options] Override http request option.
3426
+ * @throws {RequiredError}
3427
+ */
3428
+ apiTreatmentsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3429
+ return localVarFp.apiTreatmentsIdGet(id, options).then((request) => request(axios, basePath));
3430
+ },
3431
+ /**
3432
+ *
3433
+ * @summary Update One Treatment
3434
+ * @param {string} id
3435
+ * @param {*} [options] Override http request option.
3436
+ * @throws {RequiredError}
3437
+ */
3438
+ apiTreatmentsIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3439
+ return localVarFp.apiTreatmentsIdPut(id, options).then((request) => request(axios, basePath));
3440
+ },
3441
+ /**
3442
+ *
3443
+ * @summary Get One Treatment Type
3444
+ * @param {string} id
3445
+ * @param {*} [options] Override http request option.
3446
+ * @throws {RequiredError}
3447
+ */
3448
+ apiTreatmentsTypesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3449
+ return localVarFp.apiTreatmentsTypesIdGet(id, options).then((request) => request(axios, basePath));
3450
+ },
3451
+ /**
3452
+ *
3453
+ * @summary Update One Treatment Type
3454
+ * @param {string} id
3455
+ * @param {*} [options] Override http request option.
3456
+ * @throws {RequiredError}
3457
+ */
3458
+ apiTreatmentsTypesIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3459
+ return localVarFp.apiTreatmentsTypesIdPut(id, options).then((request) => request(axios, basePath));
3460
+ },
3461
+ /**
3462
+ *
3463
+ * @summary Create One Treatment Type
3464
+ * @param {*} [options] Override http request option.
3465
+ * @throws {RequiredError}
3466
+ */
3467
+ apiTreatmentsTypesPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3468
+ return localVarFp.apiTreatmentsTypesPost(options).then((request) => request(axios, basePath));
3469
+ },
3470
+ /**
3471
+ *
3472
+ * @summary List Workspaces
3473
+ * @param {number} [page]
3474
+ * @param {number} [limit]
3475
+ * @param {string} [search]
3476
+ * @param {*} [options] Override http request option.
3477
+ * @throws {RequiredError}
3478
+ */
3479
+ apiTreatmentsWorkspacesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3480
+ return localVarFp.apiTreatmentsWorkspacesGet(page, limit, search, options).then((request) => request(axios, basePath));
3481
+ },
3482
+ /**
3483
+ *
3484
+ * @summary Get One Workspace
3485
+ * @param {string} id
3486
+ * @param {*} [options] Override http request option.
3487
+ * @throws {RequiredError}
3488
+ */
3489
+ apiTreatmentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3490
+ return localVarFp.apiTreatmentsWorkspacesIdGet(id, options).then((request) => request(axios, basePath));
3491
+ },
3492
+ /**
3493
+ *
3494
+ * @summary Update One Workspace
3495
+ * @param {string} id
3496
+ * @param {*} [options] Override http request option.
3497
+ * @throws {RequiredError}
3498
+ */
3499
+ apiTreatmentsWorkspacesIdPut(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3500
+ return localVarFp.apiTreatmentsWorkspacesIdPut(id, options).then((request) => request(axios, basePath));
3501
+ },
3502
+ /**
3503
+ *
3504
+ * @summary Create One Workspace
3505
+ * @param {*} [options] Override http request option.
3506
+ * @throws {RequiredError}
3507
+ */
3508
+ apiTreatmentsWorkspacesPost(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3509
+ return localVarFp.apiTreatmentsWorkspacesPost(options).then((request) => request(axios, basePath));
3510
+ },
3511
+ /**
3512
+ * The endpoint makes an HTTP GET request to retrieve the OpenID configuration. The response contains various endpoints and supported features related to the OpenID Connect protocol, including authorization, token, userinfo, and revocation endpoints.
3513
+ * @summary OpenID Connect Discovery Endpoint
3514
+ * @param {*} [options] Override http request option.
3515
+ * @throws {RequiredError}
3516
+ */
3517
+ wellKnownOpenidConfigurationGet(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3518
+ return localVarFp.wellKnownOpenidConfigurationGet(options).then((request) => request(axios, basePath));
3519
+ },
3520
+ };
3521
+ };
3522
+
3523
+ /**
3524
+ * V1LegacyApi - object-oriented interface
3525
+ */
3526
+ export class V1LegacyApi extends BaseAPI {
3527
+ /**
3528
+ * ### 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.
3529
+ * @summary Get One Contact
3530
+ * @param {string} id
3531
+ * @param {*} [options] Override http request option.
3532
+ * @throws {RequiredError}
3533
+ */
3534
+ public apiContactsIdGet(id: string, options?: RawAxiosRequestConfig) {
3535
+ return V1LegacyApiFp(this.configuration).apiContactsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3536
+ }
3537
+
3538
+ /**
3539
+ *
3540
+ * @summary Update contact customFields
3541
+ * @param {string} id
3542
+ * @param {*} [options] Override http request option.
3543
+ * @throws {RequiredError}
3544
+ */
3545
+ public apiContactsIdPut(id: string, options?: RawAxiosRequestConfig) {
3546
+ return V1LegacyApiFp(this.configuration).apiContactsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3547
+ }
3548
+
3549
+ /**
3550
+ *
3551
+ * @summary Get One Block
3552
+ * @param {string} id
3553
+ * @param {*} [options] Override http request option.
3554
+ * @throws {RequiredError}
3555
+ */
3556
+ public apiCustomfieldblocksIdGet(id: string, options?: RawAxiosRequestConfig) {
3557
+ return V1LegacyApiFp(this.configuration).apiCustomfieldblocksIdGet(id, options).then((request) => request(this.axios, this.basePath));
3558
+ }
3559
+
3560
+ /**
3561
+ *
3562
+ * @summary Update One Block
3563
+ * @param {string} id
3564
+ * @param {*} [options] Override http request option.
3565
+ * @throws {RequiredError}
3566
+ */
3567
+ public apiCustomfieldblocksIdPut(id: string, options?: RawAxiosRequestConfig) {
3568
+ return V1LegacyApiFp(this.configuration).apiCustomfieldblocksIdPut(id, options).then((request) => request(this.axios, this.basePath));
3569
+ }
3570
+
3571
+ /**
3572
+ *
3573
+ * @summary Create One Block
3574
+ * @param {*} [options] Override http request option.
3575
+ * @throws {RequiredError}
3576
+ */
3577
+ public apiCustomfieldblocksPost(options?: RawAxiosRequestConfig) {
3578
+ return V1LegacyApiFp(this.configuration).apiCustomfieldblocksPost(options).then((request) => request(this.axios, this.basePath));
3579
+ }
3580
+
3581
+ /**
3582
+ *
3583
+ * @summary Get One Custom Field
3584
+ * @param {string} id
3585
+ * @param {*} [options] Override http request option.
3586
+ * @throws {RequiredError}
3587
+ */
3588
+ public apiCustomfieldsIdGet(id: string, options?: RawAxiosRequestConfig) {
3589
+ return V1LegacyApiFp(this.configuration).apiCustomfieldsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3590
+ }
3591
+
3592
+ /**
3593
+ *
3594
+ * @summary Update One Custom Field
3595
+ * @param {string} id
3596
+ * @param {*} [options] Override http request option.
3597
+ * @throws {RequiredError}
3598
+ */
3599
+ public apiCustomfieldsIdPut(id: string, options?: RawAxiosRequestConfig) {
3600
+ return V1LegacyApiFp(this.configuration).apiCustomfieldsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3601
+ }
3602
+
3603
+ /**
3604
+ *
3605
+ * @summary List Widgets
3606
+ * @param {string} dashboardId
3607
+ * @param {*} [options] Override http request option.
3608
+ * @throws {RequiredError}
3609
+ */
3610
+ public apiDashboardsDashboardIdWidgetsGet(dashboardId: string, options?: RawAxiosRequestConfig) {
3611
+ return V1LegacyApiFp(this.configuration).apiDashboardsDashboardIdWidgetsGet(dashboardId, options).then((request) => request(this.axios, this.basePath));
3612
+ }
3613
+
3614
+ /**
3615
+ * ### 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.
3616
+ * @summary Get One Deal
3617
+ * @param {string} id
3618
+ * @param {*} [options] Override http request option.
3619
+ * @throws {RequiredError}
3620
+ */
3621
+ public apiDealsIdGet(id: string, options?: RawAxiosRequestConfig) {
3622
+ return V1LegacyApiFp(this.configuration).apiDealsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3623
+ }
3624
+
3625
+ /**
3626
+ *
3627
+ * @summary Update deal customFields
3628
+ * @param {string} id
3629
+ * @param {*} [options] Override http request option.
3630
+ * @throws {RequiredError}
3631
+ */
3632
+ public apiDealsIdPut(id: string, options?: RawAxiosRequestConfig) {
3633
+ return V1LegacyApiFp(this.configuration).apiDealsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3634
+ }
3635
+
3636
+ /**
3637
+ * List meetings for a specific lead (by contact).
3638
+ * @summary List Meetings by Lead
3639
+ * @param {string} cONTACTID
3640
+ * @param {number} [page]
3641
+ * @param {number} [limit]
3642
+ * @param {*} [options] Override http request option.
3643
+ * @throws {RequiredError}
3644
+ */
3645
+ public apiLeadsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3646
+ return V1LegacyApiFp(this.configuration).apiLeadsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3647
+ }
3648
+
3649
+ /**
3650
+ * List observations for a specific lead (by contact).
3651
+ * @summary List Observations by Lead
3652
+ * @param {string} cONTACTID
3653
+ * @param {number} [page]
3654
+ * @param {number} [limit]
3655
+ * @param {*} [options] Override http request option.
3656
+ * @throws {RequiredError}
3657
+ */
3658
+ public apiLeadsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3659
+ return V1LegacyApiFp(this.configuration).apiLeadsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3660
+ }
3661
+
3662
+ /**
3663
+ * List tasks for a specific lead (by contact).
3664
+ * @summary List Tasks by Lead
3665
+ * @param {string} cONTACTID
3666
+ * @param {number} [page]
3667
+ * @param {number} [limit]
3668
+ * @param {*} [options] Override http request option.
3669
+ * @throws {RequiredError}
3670
+ */
3671
+ public apiLeadsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3672
+ return V1LegacyApiFp(this.configuration).apiLeadsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3673
+ }
3674
+
3675
+ /**
3676
+ * List tickets for a specific lead (by contact).
3677
+ * @summary List Tickets by Lead
3678
+ * @param {string} cONTACTID
3679
+ * @param {number} [page]
3680
+ * @param {number} [limit]
3681
+ * @param {*} [options] Override http request option.
3682
+ * @throws {RequiredError}
3683
+ */
3684
+ public apiLeadsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3685
+ return V1LegacyApiFp(this.configuration).apiLeadsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3686
+ }
3687
+
3688
+ /**
3689
+ * List treatments for a specific lead (by contact).
3690
+ * @summary List Treatments by Lead
3691
+ * @param {string} cONTACTID
3692
+ * @param {number} [page]
3693
+ * @param {number} [limit]
3694
+ * @param {*} [options] Override http request option.
3695
+ * @throws {RequiredError}
3696
+ */
3697
+ public apiLeadsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3698
+ return V1LegacyApiFp(this.configuration).apiLeadsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3699
+ }
3700
+
3701
+ /**
3702
+ * Retrieves a specific lead by ID.
3703
+ * @summary Get One Lead
3704
+ * @param {string} id
3705
+ * @param {*} [options] Override http request option.
3706
+ * @throws {RequiredError}
3707
+ */
3708
+ public apiLeadsIdGet(id: string, options?: RawAxiosRequestConfig) {
3709
+ return V1LegacyApiFp(this.configuration).apiLeadsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3710
+ }
3711
+
3712
+ /**
3713
+ *
3714
+ * @summary Update One Lead
3715
+ * @param {string} id
3716
+ * @param {*} [options] Override http request option.
3717
+ * @throws {RequiredError}
3718
+ */
3719
+ public apiLeadsIdPut(id: string, options?: RawAxiosRequestConfig) {
3720
+ return V1LegacyApiFp(this.configuration).apiLeadsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3721
+ }
3722
+
3723
+ /**
3724
+ *
3725
+ * @summary Get One Meeting
3726
+ * @param {string} id
3727
+ * @param {*} [options] Override http request option.
3728
+ * @throws {RequiredError}
3729
+ */
3730
+ public apiMeetingsIdGet(id: string, options?: RawAxiosRequestConfig) {
3731
+ return V1LegacyApiFp(this.configuration).apiMeetingsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3732
+ }
3733
+
3734
+ /**
3735
+ *
3736
+ * @summary Update One Meeting
3737
+ * @param {string} id
3738
+ * @param {*} [options] Override http request option.
3739
+ * @throws {RequiredError}
3740
+ */
3741
+ public apiMeetingsIdPut(id: string, options?: RawAxiosRequestConfig) {
3742
+ return V1LegacyApiFp(this.configuration).apiMeetingsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3743
+ }
3744
+
3745
+ /**
3746
+ *
3747
+ * @summary List Meeting Rooms
3748
+ * @param {number} [page]
3749
+ * @param {number} [limit]
3750
+ * @param {string} [search]
3751
+ * @param {*} [options] Override http request option.
3752
+ * @throws {RequiredError}
3753
+ */
3754
+ public apiMeetingsRoomsGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig) {
3755
+ return V1LegacyApiFp(this.configuration).apiMeetingsRoomsGet(page, limit, search, options).then((request) => request(this.axios, this.basePath));
3756
+ }
3757
+
3758
+ /**
3759
+ *
3760
+ * @summary Get One Meeting Room
3761
+ * @param {string} id
3762
+ * @param {*} [options] Override http request option.
3763
+ * @throws {RequiredError}
3764
+ */
3765
+ public apiMeetingsRoomsIdGet(id: string, options?: RawAxiosRequestConfig) {
3766
+ return V1LegacyApiFp(this.configuration).apiMeetingsRoomsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3767
+ }
3768
+
3769
+ /**
3770
+ *
3771
+ * @summary Update One Meeting Room
3772
+ * @param {string} id
3773
+ * @param {*} [options] Override http request option.
3774
+ * @throws {RequiredError}
3775
+ */
3776
+ public apiMeetingsRoomsIdPut(id: string, options?: RawAxiosRequestConfig) {
3777
+ return V1LegacyApiFp(this.configuration).apiMeetingsRoomsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3778
+ }
3779
+
3780
+ /**
3781
+ *
3782
+ * @summary Create One Meeting Room
3783
+ * @param {*} [options] Override http request option.
3784
+ * @throws {RequiredError}
3785
+ */
3786
+ public apiMeetingsRoomsPost(options?: RawAxiosRequestConfig) {
3787
+ return V1LegacyApiFp(this.configuration).apiMeetingsRoomsPost(options).then((request) => request(this.axios, this.basePath));
3788
+ }
3789
+
3790
+ /**
3791
+ *
3792
+ * @summary List Meeting Types
3793
+ * @param {number} [page]
3794
+ * @param {number} [limit]
3795
+ * @param {string} [search]
3796
+ * @param {*} [options] Override http request option.
3797
+ * @throws {RequiredError}
3798
+ */
3799
+ public apiMeetingsTypesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig) {
3800
+ return V1LegacyApiFp(this.configuration).apiMeetingsTypesGet(page, limit, search, options).then((request) => request(this.axios, this.basePath));
3801
+ }
3802
+
3803
+ /**
3804
+ *
3805
+ * @summary Get One Meeting Type
3806
+ * @param {string} id
3807
+ * @param {*} [options] Override http request option.
3808
+ * @throws {RequiredError}
3809
+ */
3810
+ public apiMeetingsTypesIdGet(id: string, options?: RawAxiosRequestConfig) {
3811
+ return V1LegacyApiFp(this.configuration).apiMeetingsTypesIdGet(id, options).then((request) => request(this.axios, this.basePath));
3812
+ }
3813
+
3814
+ /**
3815
+ *
3816
+ * @summary Update One Meeting Type
3817
+ * @param {string} id
3818
+ * @param {*} [options] Override http request option.
3819
+ * @throws {RequiredError}
3820
+ */
3821
+ public apiMeetingsTypesIdPut(id: string, options?: RawAxiosRequestConfig) {
3822
+ return V1LegacyApiFp(this.configuration).apiMeetingsTypesIdPut(id, options).then((request) => request(this.axios, this.basePath));
3823
+ }
3824
+
3825
+ /**
3826
+ *
3827
+ * @summary Create One Meeting Type
3828
+ * @param {*} [options] Override http request option.
3829
+ * @throws {RequiredError}
3830
+ */
3831
+ public apiMeetingsTypesPost(options?: RawAxiosRequestConfig) {
3832
+ return V1LegacyApiFp(this.configuration).apiMeetingsTypesPost(options).then((request) => request(this.axios, this.basePath));
3833
+ }
3834
+
3835
+ /**
3836
+ * 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`.
3837
+ * @summary Get One Organization
3838
+ * @param {string} id
3839
+ * @param {*} [options] Override http request option.
3840
+ * @throws {RequiredError}
3841
+ */
3842
+ public apiOrganizationsIdGet(id: string, options?: RawAxiosRequestConfig) {
3843
+ return V1LegacyApiFp(this.configuration).apiOrganizationsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3844
+ }
3845
+
3846
+ /**
3847
+ * Atualiza os dados de uma organização existente.
3848
+ * @summary Update One Organization
3849
+ * @param {string} id
3850
+ * @param {object} [body]
3851
+ * @param {*} [options] Override http request option.
3852
+ * @throws {RequiredError}
3853
+ */
3854
+ public apiOrganizationsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3855
+ return V1LegacyApiFp(this.configuration).apiOrganizationsIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3856
+ }
3857
+
3858
+ /**
3859
+ * 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`.
3860
+ * @summary Get One Pipeline
3861
+ * @param {string} id
3862
+ * @param {*} [options] Override http request option.
3863
+ * @throws {RequiredError}
3864
+ */
3865
+ public apiPipelinesIdGet(id: string, options?: RawAxiosRequestConfig) {
3866
+ return V1LegacyApiFp(this.configuration).apiPipelinesIdGet(id, options).then((request) => request(this.axios, this.basePath));
3867
+ }
3868
+
3869
+ /**
3870
+ * Atualiza os dados de um pipeline existente, incluindo stages, roles e staffs associados.
3871
+ * @summary Update One Pipeline
3872
+ * @param {string} id
3873
+ * @param {object} [body]
3874
+ * @param {*} [options] Override http request option.
3875
+ * @throws {RequiredError}
3876
+ */
3877
+ public apiPipelinesIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3878
+ return V1LegacyApiFp(this.configuration).apiPipelinesIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3879
+ }
3880
+
3881
+ /**
3882
+ * List meetings for a specific prospect (by contact).
3883
+ * @summary List Meetings by Prospect
3884
+ * @param {string} cONTACTID
3885
+ * @param {number} [page]
3886
+ * @param {number} [limit]
3887
+ * @param {*} [options] Override http request option.
3888
+ * @throws {RequiredError}
3889
+ */
3890
+ public apiProspectsCONTACTIDMeetingsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3891
+ return V1LegacyApiFp(this.configuration).apiProspectsCONTACTIDMeetingsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3892
+ }
3893
+
3894
+ /**
3895
+ * List observations for a specific prospect (by contact).
3896
+ * @summary List Observations by Prospect
3897
+ * @param {string} cONTACTID
3898
+ * @param {number} [page]
3899
+ * @param {number} [limit]
3900
+ * @param {*} [options] Override http request option.
3901
+ * @throws {RequiredError}
3902
+ */
3903
+ public apiProspectsCONTACTIDObservationsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3904
+ return V1LegacyApiFp(this.configuration).apiProspectsCONTACTIDObservationsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3905
+ }
3906
+
3907
+ /**
3908
+ * List tasks for a specific prospect (by contact).
3909
+ * @summary List Tasks by Prospect
3910
+ * @param {string} cONTACTID
3911
+ * @param {number} [page]
3912
+ * @param {number} [limit]
3913
+ * @param {*} [options] Override http request option.
3914
+ * @throws {RequiredError}
3915
+ */
3916
+ public apiProspectsCONTACTIDTasksGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3917
+ return V1LegacyApiFp(this.configuration).apiProspectsCONTACTIDTasksGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3918
+ }
3919
+
3920
+ /**
3921
+ * List tickets for a specific prospect (by contact).
3922
+ * @summary List Tickets by Prospect
3923
+ * @param {string} cONTACTID
3924
+ * @param {number} [page]
3925
+ * @param {number} [limit]
3926
+ * @param {*} [options] Override http request option.
3927
+ * @throws {RequiredError}
3928
+ */
3929
+ public apiProspectsCONTACTIDTicketsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3930
+ return V1LegacyApiFp(this.configuration).apiProspectsCONTACTIDTicketsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3931
+ }
3932
+
3933
+ /**
3934
+ * List treatments for a specific prospect (by contact).
3935
+ * @summary List Treatments by Prospect
3936
+ * @param {string} cONTACTID
3937
+ * @param {number} [page]
3938
+ * @param {number} [limit]
3939
+ * @param {*} [options] Override http request option.
3940
+ * @throws {RequiredError}
3941
+ */
3942
+ public apiProspectsCONTACTIDTreatmentsGet(cONTACTID: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
3943
+ return V1LegacyApiFp(this.configuration).apiProspectsCONTACTIDTreatmentsGet(cONTACTID, page, limit, options).then((request) => request(this.axios, this.basePath));
3944
+ }
3945
+
3946
+ /**
3947
+ * Retrieves a specific prospect by ID.
3948
+ * @summary Get One Prospect
3949
+ * @param {string} id
3950
+ * @param {*} [options] Override http request option.
3951
+ * @throws {RequiredError}
3952
+ */
3953
+ public apiProspectsIdGet(id: string, options?: RawAxiosRequestConfig) {
3954
+ return V1LegacyApiFp(this.configuration).apiProspectsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3955
+ }
3956
+
3957
+ /**
3958
+ *
3959
+ * @summary Update One Prospect
3960
+ * @param {string} id
3961
+ * @param {*} [options] Override http request option.
3962
+ * @throws {RequiredError}
3963
+ */
3964
+ public apiProspectsIdPut(id: string, options?: RawAxiosRequestConfig) {
3965
+ return V1LegacyApiFp(this.configuration).apiProspectsIdPut(id, options).then((request) => request(this.axios, this.basePath));
3966
+ }
3967
+
3968
+ /**
3969
+ * ### 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`.
3970
+ * @summary Get One Staff
3971
+ * @param {string} id
3972
+ * @param {*} [options] Override http request option.
3973
+ * @throws {RequiredError}
3974
+ */
3975
+ public apiStaffsIdGet(id: string, options?: RawAxiosRequestConfig) {
3976
+ return V1LegacyApiFp(this.configuration).apiStaffsIdGet(id, options).then((request) => request(this.axios, this.basePath));
3977
+ }
3978
+
3979
+ /**
3980
+ * Updates staff information. The request body should include: `fullname` (string), `phone` (string), `role` (string - role ID), `workspaces` (array), `customFields` (array of objects).
3981
+ * @summary Update One Staff
3982
+ * @param {string} id
3983
+ * @param {object} [body]
3984
+ * @param {*} [options] Override http request option.
3985
+ * @throws {RequiredError}
3986
+ */
3987
+ public apiStaffsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
3988
+ return V1LegacyApiFp(this.configuration).apiStaffsIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
3989
+ }
3990
+
3991
+ /**
3992
+ * ### 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.
3993
+ * @summary Create One Staff
3994
+ * @param {object} [body]
3995
+ * @param {*} [options] Override http request option.
3996
+ * @throws {RequiredError}
3997
+ */
3998
+ public apiStaffsPost(body?: object, options?: RawAxiosRequestConfig) {
3999
+ return V1LegacyApiFp(this.configuration).apiStaffsPost(body, options).then((request) => request(this.axios, this.basePath));
4000
+ }
4001
+
4002
+ /**
4003
+ * 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`.
4004
+ * @summary Get One Task
4005
+ * @param {string} id
4006
+ * @param {*} [options] Override http request option.
4007
+ * @throws {RequiredError}
4008
+ */
4009
+ public apiTasksIdGet(id: string, options?: RawAxiosRequestConfig) {
4010
+ return V1LegacyApiFp(this.configuration).apiTasksIdGet(id, options).then((request) => request(this.axios, this.basePath));
4011
+ }
4012
+
4013
+ /**
4014
+ * Atualiza os dados de uma tarefa existente.
4015
+ * @summary Update One Task
4016
+ * @param {string} id
4017
+ * @param {object} [body]
4018
+ * @param {*} [options] Override http request option.
4019
+ * @throws {RequiredError}
4020
+ */
4021
+ public apiTasksIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
4022
+ return V1LegacyApiFp(this.configuration).apiTasksIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
4023
+ }
4024
+
4025
+ /**
4026
+ * 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`.
4027
+ * @summary Get One Ticket
4028
+ * @param {string} id
4029
+ * @param {*} [options] Override http request option.
4030
+ * @throws {RequiredError}
4031
+ */
4032
+ public apiTicketsIdGet(id: string, options?: RawAxiosRequestConfig) {
4033
+ return V1LegacyApiFp(this.configuration).apiTicketsIdGet(id, options).then((request) => request(this.axios, this.basePath));
4034
+ }
4035
+
4036
+ /**
4037
+ * Atualiza os dados de um ticket existente.
4038
+ * @summary Update One Ticket
4039
+ * @param {string} id
4040
+ * @param {object} [body]
4041
+ * @param {*} [options] Override http request option.
4042
+ * @throws {RequiredError}
4043
+ */
4044
+ public apiTicketsIdPut(id: string, body?: object, options?: RawAxiosRequestConfig) {
4045
+ return V1LegacyApiFp(this.configuration).apiTicketsIdPut(id, body, options).then((request) => request(this.axios, this.basePath));
4046
+ }
4047
+
4048
+ /**
4049
+ *
4050
+ * @summary Get One Treatment
4051
+ * @param {string} id
4052
+ * @param {*} [options] Override http request option.
4053
+ * @throws {RequiredError}
4054
+ */
4055
+ public apiTreatmentsIdGet(id: string, options?: RawAxiosRequestConfig) {
4056
+ return V1LegacyApiFp(this.configuration).apiTreatmentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
4057
+ }
4058
+
4059
+ /**
4060
+ *
4061
+ * @summary Update One Treatment
4062
+ * @param {string} id
4063
+ * @param {*} [options] Override http request option.
4064
+ * @throws {RequiredError}
4065
+ */
4066
+ public apiTreatmentsIdPut(id: string, options?: RawAxiosRequestConfig) {
4067
+ return V1LegacyApiFp(this.configuration).apiTreatmentsIdPut(id, options).then((request) => request(this.axios, this.basePath));
4068
+ }
4069
+
4070
+ /**
4071
+ *
4072
+ * @summary Get One Treatment Type
4073
+ * @param {string} id
4074
+ * @param {*} [options] Override http request option.
4075
+ * @throws {RequiredError}
4076
+ */
4077
+ public apiTreatmentsTypesIdGet(id: string, options?: RawAxiosRequestConfig) {
4078
+ return V1LegacyApiFp(this.configuration).apiTreatmentsTypesIdGet(id, options).then((request) => request(this.axios, this.basePath));
4079
+ }
4080
+
4081
+ /**
4082
+ *
4083
+ * @summary Update One Treatment Type
4084
+ * @param {string} id
4085
+ * @param {*} [options] Override http request option.
4086
+ * @throws {RequiredError}
4087
+ */
4088
+ public apiTreatmentsTypesIdPut(id: string, options?: RawAxiosRequestConfig) {
4089
+ return V1LegacyApiFp(this.configuration).apiTreatmentsTypesIdPut(id, options).then((request) => request(this.axios, this.basePath));
4090
+ }
4091
+
4092
+ /**
4093
+ *
4094
+ * @summary Create One Treatment Type
4095
+ * @param {*} [options] Override http request option.
4096
+ * @throws {RequiredError}
4097
+ */
4098
+ public apiTreatmentsTypesPost(options?: RawAxiosRequestConfig) {
4099
+ return V1LegacyApiFp(this.configuration).apiTreatmentsTypesPost(options).then((request) => request(this.axios, this.basePath));
4100
+ }
4101
+
4102
+ /**
4103
+ *
4104
+ * @summary List Workspaces
4105
+ * @param {number} [page]
4106
+ * @param {number} [limit]
4107
+ * @param {string} [search]
4108
+ * @param {*} [options] Override http request option.
4109
+ * @throws {RequiredError}
4110
+ */
4111
+ public apiTreatmentsWorkspacesGet(page?: number, limit?: number, search?: string, options?: RawAxiosRequestConfig) {
4112
+ return V1LegacyApiFp(this.configuration).apiTreatmentsWorkspacesGet(page, limit, search, options).then((request) => request(this.axios, this.basePath));
4113
+ }
4114
+
4115
+ /**
4116
+ *
4117
+ * @summary Get One Workspace
4118
+ * @param {string} id
4119
+ * @param {*} [options] Override http request option.
4120
+ * @throws {RequiredError}
4121
+ */
4122
+ public apiTreatmentsWorkspacesIdGet(id: string, options?: RawAxiosRequestConfig) {
4123
+ return V1LegacyApiFp(this.configuration).apiTreatmentsWorkspacesIdGet(id, options).then((request) => request(this.axios, this.basePath));
4124
+ }
4125
+
4126
+ /**
4127
+ *
4128
+ * @summary Update One Workspace
4129
+ * @param {string} id
4130
+ * @param {*} [options] Override http request option.
4131
+ * @throws {RequiredError}
4132
+ */
4133
+ public apiTreatmentsWorkspacesIdPut(id: string, options?: RawAxiosRequestConfig) {
4134
+ return V1LegacyApiFp(this.configuration).apiTreatmentsWorkspacesIdPut(id, options).then((request) => request(this.axios, this.basePath));
4135
+ }
4136
+
4137
+ /**
4138
+ *
4139
+ * @summary Create One Workspace
4140
+ * @param {*} [options] Override http request option.
4141
+ * @throws {RequiredError}
4142
+ */
4143
+ public apiTreatmentsWorkspacesPost(options?: RawAxiosRequestConfig) {
4144
+ return V1LegacyApiFp(this.configuration).apiTreatmentsWorkspacesPost(options).then((request) => request(this.axios, this.basePath));
4145
+ }
4146
+
4147
+ /**
4148
+ * The endpoint makes an HTTP GET request to retrieve the OpenID configuration. The response contains various endpoints and supported features related to the OpenID Connect protocol, including authorization, token, userinfo, and revocation endpoints.
4149
+ * @summary OpenID Connect Discovery Endpoint
4150
+ * @param {*} [options] Override http request option.
4151
+ * @throws {RequiredError}
4152
+ */
4153
+ public wellKnownOpenidConfigurationGet(options?: RawAxiosRequestConfig) {
4154
+ return V1LegacyApiFp(this.configuration).wellKnownOpenidConfigurationGet(options).then((request) => request(this.axios, this.basePath));
4155
+ }
4156
+ }
4157
+