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