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