@magnetcustomer/sdk 1.0.1 → 2.1.0

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