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