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