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