@magnetcustomer/sdk 1.0.1 → 2.0.0

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