webitel-sdk 23.7.13 → 23.7.14
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/bundles/index.esm.js +1576 -521
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +1750 -620
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/api/agent-in-queue-agents-in-queue.js +1 -1
- package/esm2015/api/agent-in-queue-statistics-agent-in-queue-statistics-item.js +1 -1
- package/esm2015/api/agent-pause-cause-service-api.js +1 -1
- package/esm2015/api/agent-service-api.js +1 -1
- package/esm2015/api/agent-skill-service-api.js +1 -1
- package/esm2015/api/agent-team-service-api.js +1 -1
- package/esm2015/api/aggregate-request-group.js +1 -1
- package/esm2015/api/audit-form-service-api.js +1 -1
- package/esm2015/api/backend-profile-service-api.js +1 -1
- package/esm2015/api/bucket-service-api.js +1 -1
- package/esm2015/api/calendar-service-api.js +1 -1
- package/esm2015/api/call-service-api.js +1 -1
- package/esm2015/api/catalog-api.js +896 -0
- package/esm2015/api/catalog-api.js.map +1 -0
- package/esm2015/api/chat-helper-service-api.js +1 -1
- package/esm2015/api/cognitive-profile-service-api.js +1 -1
- package/esm2015/api/communication-type-service-api.js +1 -1
- package/esm2015/api/config-service-api.js +1 -1
- package/esm2015/api/contacts-api.js +1 -1
- package/esm2015/api/create-call-request-call-settings.js +1 -1
- package/esm2015/api/default-device-config-response-sip-device-config.js +1 -1
- package/esm2015/api/default-device-config-response-web-rtcdevice-config.js +1 -1
- package/esm2015/api/email-profile-service-api.js +1 -1
- package/esm2015/api/emails-api.js +1 -1
- package/esm2015/api/engine-accept-of-day.js +1 -1
- package/esm2015/api/engine-active-call.js +1 -1
- package/esm2015/api/engine-agent-call-statistics-list.js +1 -1
- package/esm2015/api/engine-agent-call-statistics.js +1 -1
- package/esm2015/api/engine-agent-channel.js +1 -1
- package/esm2015/api/engine-agent-in-queue-statistics-list.js +1 -1
- package/esm2015/api/engine-agent-in-queue-statistics.js +1 -1
- package/esm2015/api/engine-agent-in-queue.js +1 -1
- package/esm2015/api/engine-agent-in-team.js +1 -1
- package/esm2015/api/engine-agent-pause-cause.js +1 -1
- package/esm2015/api/engine-agent-set-state-request.js +1 -1
- package/esm2015/api/engine-agent-skill-item.js +1 -1
- package/esm2015/api/engine-agent-skill.js +1 -1
- package/esm2015/api/engine-agent-state.js +1 -1
- package/esm2015/api/engine-agent-stats-statistic.js +1 -1
- package/esm2015/api/engine-agent-status-request.js +1 -1
- package/esm2015/api/engine-agent-status-statistic-item.js +1 -1
- package/esm2015/api/engine-agent-team.js +1 -1
- package/esm2015/api/engine-agent-today-statistics-response.js +1 -1
- package/esm2015/api/engine-agent-user.js +1 -1
- package/esm2015/api/engine-agent.js +1 -1
- package/esm2015/api/engine-aggregate-history-call-request.js +1 -1
- package/esm2015/api/engine-aggregate-request.js +1 -1
- package/esm2015/api/engine-aggregate-result.js +1 -1
- package/esm2015/api/engine-attempt-callback-request.js +1 -1
- package/esm2015/api/engine-attempt-history.js +1 -1
- package/esm2015/api/engine-attempt-renewal-result-request.js +1 -1
- package/esm2015/api/engine-attempt-result-request.js +1 -1
- package/esm2015/api/engine-attempt-result-response.js +1 -1
- package/esm2015/api/engine-attempt.js +1 -1
- package/esm2015/api/engine-audit-form.js +1 -1
- package/esm2015/api/engine-audit-question-type.js +1 -1
- package/esm2015/api/engine-audit-rate.js +1 -1
- package/esm2015/api/engine-blind-transfer-call-request.js +1 -1
- package/esm2015/api/engine-bool-filter.js +1 -1
- package/esm2015/api/engine-broadcast-request.js +1 -1
- package/esm2015/api/engine-bucket.js +1 -1
- package/esm2015/api/engine-calendar.js +1 -1
- package/esm2015/api/engine-call-annotation.js +1 -1
- package/esm2015/api/engine-call-file.js +1 -1
- package/esm2015/api/engine-call-hold.js +1 -1
- package/esm2015/api/engine-chat-plan.js +1 -1
- package/esm2015/api/engine-communication-channels.js +1 -1
- package/esm2015/api/engine-communication-type-request.js +1 -1
- package/esm2015/api/engine-communication-type.js +1 -1
- package/esm2015/api/engine-create-agent-pause-cause-request.js +1 -1
- package/esm2015/api/engine-create-agent-request.js +1 -1
- package/esm2015/api/engine-create-agent-skill-bulk-item.js +1 -1
- package/esm2015/api/engine-create-agent-skill-request.js +1 -1
- package/esm2015/api/engine-create-agent-skills-request.js +1 -1
- package/esm2015/api/engine-create-agent-skills-response.js +1 -1
- package/esm2015/api/engine-create-agent-team-request.js +1 -1
- package/esm2015/api/engine-create-attempt-request.js +1 -1
- package/esm2015/api/engine-create-attempt-response.js +1 -1
- package/esm2015/api/engine-create-audit-form-rate-request.js +1 -1
- package/esm2015/api/engine-create-audit-form-request.js +1 -1
- package/esm2015/api/engine-create-bucket-request.js +1 -1
- package/esm2015/api/engine-create-calendar-request.js +1 -1
- package/esm2015/api/engine-create-call-annotation-request.js +1 -1
- package/esm2015/api/engine-create-call-request-endpoint-request.js +1 -1
- package/esm2015/api/engine-create-call-request.js +1 -1
- package/esm2015/api/engine-create-call-response.js +1 -1
- package/esm2015/api/engine-create-chat-plan-request.js +1 -1
- package/esm2015/api/engine-create-email-profile-request.js +1 -1
- package/esm2015/api/engine-create-list-communication-request.js +1 -1
- package/esm2015/api/engine-create-list-request.js +1 -1
- package/esm2015/api/engine-create-member-bulk-item.js +1 -1
- package/esm2015/api/engine-create-member-bulk-request.js +1 -1
- package/esm2015/api/engine-create-member-request.js +1 -1
- package/esm2015/api/engine-create-outbound-resource-display-bulk-request.js +1 -1
- package/esm2015/api/engine-create-outbound-resource-display-request.js +1 -1
- package/esm2015/api/engine-create-outbound-resource-group-request.js +1 -1
- package/esm2015/api/engine-create-outbound-resource-in-group-request.js +1 -1
- package/esm2015/api/engine-create-outbound-resource-request.js +1 -1
- package/esm2015/api/engine-create-preset-query-request.js +1 -1
- package/esm2015/api/engine-create-queue-bucket-request.js +1 -1
- package/esm2015/api/engine-create-queue-hook-request.js +1 -1
- package/esm2015/api/engine-create-queue-request.js +1 -1
- package/esm2015/api/engine-create-queue-resource-group-request.js +1 -1
- package/esm2015/api/engine-create-queue-skill-request.js +1 -1
- package/esm2015/api/engine-create-region-request.js +1 -1
- package/esm2015/api/engine-create-routing-outbound-call-request.js +1 -1
- package/esm2015/api/engine-create-routing-schema-request.js +1 -1
- package/esm2015/api/engine-create-routing-variable-request.js +1 -1
- package/esm2015/api/engine-create-skill-agent-request.js +1 -1
- package/esm2015/api/engine-create-skill-agent-response.js +1 -1
- package/esm2015/api/engine-create-skill-request.js +1 -1
- package/esm2015/api/engine-create-system-setting-request.js +1 -1
- package/esm2015/api/engine-create-trigger-job-request.js +1 -1
- package/esm2015/api/engine-create-trigger-request.js +1 -1
- package/esm2015/api/engine-default-device-config-response.js +1 -1
- package/esm2015/api/engine-delete-members-request.js +1 -1
- package/esm2015/api/engine-delete-skill-agent-request.js +1 -1
- package/esm2015/api/engine-delete-skill-agent-response.js +1 -1
- package/esm2015/api/engine-dtmf-call-request.js +1 -1
- package/esm2015/api/engine-eavesdrop-call-request-endpoint-request.js +1 -1
- package/esm2015/api/engine-eavesdrop-call-request.js +1 -1
- package/esm2015/api/engine-email-profile.js +1 -1
- package/esm2015/api/engine-endpoint.js +1 -1
- package/esm2015/api/engine-except-date.js +1 -1
- package/esm2015/api/engine-filter-between.js +1 -1
- package/esm2015/api/engine-for-agent-pause-cause-list.js +1 -1
- package/esm2015/api/engine-for-agent-pause-cause.js +1 -1
- package/esm2015/api/engine-hangup-call-request.js +1 -1
- package/esm2015/api/engine-history-call.js +1 -1
- package/esm2015/api/engine-history-file-job.js +1 -1
- package/esm2015/api/engine-hold-call-response.js +1 -1
- package/esm2015/api/engine-list-agent-in-queue.js +1 -1
- package/esm2015/api/engine-list-agent-in-team.js +1 -1
- package/esm2015/api/engine-list-agent-pause-cause.js +1 -1
- package/esm2015/api/engine-list-agent-skill.js +1 -1
- package/esm2015/api/engine-list-agent-state-history.js +1 -1
- package/esm2015/api/engine-list-agent-stats-statistic.js +1 -1
- package/esm2015/api/engine-list-agent-team.js +1 -1
- package/esm2015/api/engine-list-agent-user.js +1 -1
- package/esm2015/api/engine-list-agent.js +1 -1
- package/esm2015/api/engine-list-aggregate.js +1 -1
- package/esm2015/api/engine-list-attempt.js +1 -1
- package/esm2015/api/engine-list-audit-form.js +1 -1
- package/esm2015/api/engine-list-audit-rate.js +1 -1
- package/esm2015/api/engine-list-bucket.js +1 -1
- package/esm2015/api/engine-list-calendar.js +1 -1
- package/esm2015/api/engine-list-call.js +1 -1
- package/esm2015/api/engine-list-chat-plan.js +1 -1
- package/esm2015/api/engine-list-communication-type.js +1 -1
- package/esm2015/api/engine-list-communication.js +1 -1
- package/esm2015/api/engine-list-email-profile.js +1 -1
- package/esm2015/api/engine-list-history-attempt.js +1 -1
- package/esm2015/api/engine-list-history-call.js +1 -1
- package/esm2015/api/engine-list-member-attempt.js +1 -1
- package/esm2015/api/engine-list-member.js +1 -1
- package/esm2015/api/engine-list-of-list-communication.js +1 -1
- package/esm2015/api/engine-list-of-list.js +1 -1
- package/esm2015/api/engine-list-outbound-resource-display.js +1 -1
- package/esm2015/api/engine-list-outbound-resource-group.js +1 -1
- package/esm2015/api/engine-list-outbound-resource-in-group.js +1 -1
- package/esm2015/api/engine-list-outbound-resource.js +1 -1
- package/esm2015/api/engine-list-preset-query.js +1 -1
- package/esm2015/api/engine-list-queue-bucket.js +1 -1
- package/esm2015/api/engine-list-queue-hook.js +1 -1
- package/esm2015/api/engine-list-queue-resource-group.js +1 -1
- package/esm2015/api/engine-list-queue-skill.js +1 -1
- package/esm2015/api/engine-list-queue.js +1 -1
- package/esm2015/api/engine-list-region.js +1 -1
- package/esm2015/api/engine-list-report-general.js +1 -1
- package/esm2015/api/engine-list-resource-display.js +1 -1
- package/esm2015/api/engine-list-routing-outbound-call.js +1 -1
- package/esm2015/api/engine-list-routing-schema-tags.js +1 -1
- package/esm2015/api/engine-list-routing-schema.js +1 -1
- package/esm2015/api/engine-list-routing-variable.js +1 -1
- package/esm2015/api/engine-list-skill-agent.js +1 -1
- package/esm2015/api/engine-list-skill.js +1 -1
- package/esm2015/api/engine-list-system-setting.js +1 -1
- package/esm2015/api/engine-list-timezone-response.js +1 -1
- package/esm2015/api/engine-list-trigger-job.js +1 -1
- package/esm2015/api/engine-list-trigger.js +1 -1
- package/esm2015/api/engine-list.js +1 -1
- package/esm2015/api/engine-login-email-profile-response.js +1 -1
- package/esm2015/api/engine-lookup.js +1 -1
- package/esm2015/api/engine-member-attempt.js +1 -1
- package/esm2015/api/engine-member-bulk-response.js +1 -1
- package/esm2015/api/engine-member-communication-create-request.js +1 -1
- package/esm2015/api/engine-member-communication.js +1 -1
- package/esm2015/api/engine-member-in-queue.js +1 -1
- package/esm2015/api/engine-move-position-routing-outbound-call-request.js +1 -1
- package/esm2015/api/engine-move-position-routing-outbound-call-response.js +1 -1
- package/esm2015/api/engine-outbound-resource-group.js +1 -1
- package/esm2015/api/engine-outbound-resource-in-group.js +1 -1
- package/esm2015/api/engine-outbound-resource-parameters.js +1 -1
- package/esm2015/api/engine-outbound-resource-time-range.js +1 -1
- package/esm2015/api/engine-outbound-resource-view-group.js +1 -1
- package/esm2015/api/engine-outbound-resource.js +1 -1
- package/esm2015/api/engine-patch-agent-pause-cause-request.js +1 -1
- package/esm2015/api/engine-patch-agent-request.js +1 -1
- package/esm2015/api/engine-patch-agent-skill-request.js +1 -1
- package/esm2015/api/engine-patch-agent-skills-request.js +1 -1
- package/esm2015/api/engine-patch-audit-form-request.js +1 -1
- package/esm2015/api/engine-patch-chat-plan-request.js +1 -1
- package/esm2015/api/engine-patch-email-profile-request.js +1 -1
- package/esm2015/api/engine-patch-history-call-request.js +1 -1
- package/esm2015/api/engine-patch-member-request.js +1 -1
- package/esm2015/api/engine-patch-outbound-resource-request.js +1 -1
- package/esm2015/api/engine-patch-preset-query-request.js +1 -1
- package/esm2015/api/engine-patch-queue-bucket-request.js +1 -1
- package/esm2015/api/engine-patch-queue-hook-request.js +1 -1
- package/esm2015/api/engine-patch-queue-request.js +1 -1
- package/esm2015/api/engine-patch-queue-skill-request.js +1 -1
- package/esm2015/api/engine-patch-region-request.js +1 -1
- package/esm2015/api/engine-patch-routing-outbound-call-request.js +1 -1
- package/esm2015/api/engine-patch-routing-schema-request.js +1 -1
- package/esm2015/api/engine-patch-skill-agent-request.js +1 -1
- package/esm2015/api/engine-patch-skill-agent-response.js +1 -1
- package/esm2015/api/engine-patch-system-setting-request.js +1 -1
- package/esm2015/api/engine-patch-trigger-request.js +1 -1
- package/esm2015/api/engine-preset-query-section.js +1 -1
- package/esm2015/api/engine-preset-query.js +1 -1
- package/esm2015/api/engine-question-answer.js +1 -1
- package/esm2015/api/engine-question.js +1 -1
- package/esm2015/api/engine-queue-bucket.js +1 -1
- package/esm2015/api/engine-queue-hook.js +1 -1
- package/esm2015/api/engine-queue-report-general-agent-status.js +1 -1
- package/esm2015/api/engine-queue-report-general.js +1 -1
- package/esm2015/api/engine-queue-resource-group.js +1 -1
- package/esm2015/api/engine-queue-skill.js +1 -1
- package/esm2015/api/engine-queue.js +1 -1
- package/esm2015/api/engine-region.js +1 -1
- package/esm2015/api/engine-reset-members-request.js +1 -1
- package/esm2015/api/engine-reset-members-response.js +1 -1
- package/esm2015/api/engine-resource-display.js +1 -1
- package/esm2015/api/engine-response.js +1 -1
- package/esm2015/api/engine-routing-outbound-call-compact.js +1 -1
- package/esm2015/api/engine-routing-outbound-call.js +1 -1
- package/esm2015/api/engine-routing-schema-tag.js +1 -1
- package/esm2015/api/engine-routing-schema-type.js +1 -1
- package/esm2015/api/engine-routing-schema.js +1 -1
- package/esm2015/api/engine-routing-variable.js +1 -1
- package/esm2015/api/engine-schema-tag.js +1 -1
- package/esm2015/api/engine-search-history-call-request.js +1 -1
- package/esm2015/api/engine-set-variables-call-request.js +1 -1
- package/esm2015/api/engine-skill-agent-item.js +1 -1
- package/esm2015/api/engine-skill.js +1 -1
- package/esm2015/api/engine-system-setting.js +1 -1
- package/esm2015/api/engine-task-processing.js +1 -1
- package/esm2015/api/engine-test-email-profile-response.js +1 -1
- package/esm2015/api/engine-timezone.js +1 -1
- package/esm2015/api/engine-transcript-lookup.js +1 -1
- package/esm2015/api/engine-trigger-job-state.js +1 -1
- package/esm2015/api/engine-trigger-job.js +1 -1
- package/esm2015/api/engine-trigger-type.js +1 -1
- package/esm2015/api/engine-trigger.js +1 -1
- package/esm2015/api/engine-update-agent-pause-cause-request.js +1 -1
- package/esm2015/api/engine-update-agent-request.js +1 -1
- package/esm2015/api/engine-update-agent-skill-request.js +1 -1
- package/esm2015/api/engine-update-agent-team-request.js +1 -1
- package/esm2015/api/engine-update-audit-form-request.js +1 -1
- package/esm2015/api/engine-update-bucket-request.js +1 -1
- package/esm2015/api/engine-update-calendar-request.js +1 -1
- package/esm2015/api/engine-update-call-annotation-request.js +1 -1
- package/esm2015/api/engine-update-chat-plan-request.js +1 -1
- package/esm2015/api/engine-update-communication-type-request.js +1 -1
- package/esm2015/api/engine-update-email-profile-request.js +1 -1
- package/esm2015/api/engine-update-list-communication-request.js +1 -1
- package/esm2015/api/engine-update-list-request.js +1 -1
- package/esm2015/api/engine-update-member-request.js +1 -1
- package/esm2015/api/engine-update-outbound-resource-display-request.js +1 -1
- package/esm2015/api/engine-update-outbound-resource-group-request.js +1 -1
- package/esm2015/api/engine-update-outbound-resource-in-group-request.js +1 -1
- package/esm2015/api/engine-update-outbound-resource-request.js +1 -1
- package/esm2015/api/engine-update-preset-query-request.js +1 -1
- package/esm2015/api/engine-update-queue-bucket-request.js +1 -1
- package/esm2015/api/engine-update-queue-hook-request.js +1 -1
- package/esm2015/api/engine-update-queue-request.js +1 -1
- package/esm2015/api/engine-update-queue-resource-group-request.js +1 -1
- package/esm2015/api/engine-update-queue-skill-request.js +1 -1
- package/esm2015/api/engine-update-region-request.js +1 -1
- package/esm2015/api/engine-update-routing-outbound-call-request.js +1 -1
- package/esm2015/api/engine-update-routing-schema-request.js +1 -1
- package/esm2015/api/engine-update-routing-variable-request.js +1 -1
- package/esm2015/api/engine-update-skill-request.js +1 -1
- package/esm2015/api/engine-update-system-setting-request.js +1 -1
- package/esm2015/api/engine-update-trigger-request.js +1 -1
- package/esm2015/api/engine-user-call-request.js +1 -1
- package/esm2015/api/file-service-api.js +1 -1
- package/esm2015/api/file-transcript-service-api.js +1 -1
- package/esm2015/api/google-protobuf-null-value.js +1 -1
- package/esm2015/api/history-file-job-history-file-job-action.js +1 -1
- package/esm2015/api/history-file-job-history-file-job-state.js +1 -1
- package/esm2015/api/import-template-service-api.js +1 -1
- package/esm2015/api/index.js +13 -0
- package/esm2015/api/index.js.map +1 -1
- package/esm2015/api/labels-api.js +1 -1
- package/esm2015/api/list-service-api.js +1 -1
- package/esm2015/api/list-skill-agent-list-skill-agg.js +1 -1
- package/esm2015/api/logger-action.js +1 -1
- package/esm2015/api/logger-available-system-objects.js +1 -1
- package/esm2015/api/logger-config-status.js +1 -1
- package/esm2015/api/logger-config.js +1 -1
- package/esm2015/api/logger-configs.js +1 -1
- package/esm2015/api/logger-create-config-request.js +1 -1
- package/esm2015/api/logger-delete-config-bulk-request.js +1 -1
- package/esm2015/api/logger-log.js +1 -1
- package/esm2015/api/logger-logs.js +1 -1
- package/esm2015/api/logger-lookup.js +1 -1
- package/esm2015/api/logger-patch-config-request.js +1 -1
- package/esm2015/api/logger-service-api.js +1 -1
- package/esm2015/api/logger-system-objects.js +1 -1
- package/esm2015/api/logger-update-config-request.js +1 -1
- package/esm2015/api/managers-api.js +1 -1
- package/esm2015/api/media-file-service-api.js +1 -1
- package/esm2015/api/member-service-api.js +1 -1
- package/esm2015/api/newcontact-source-changes.js +1 -1
- package/esm2015/api/newupdate-of-the-email-address-link.js +1 -1
- package/esm2015/api/newupdate-of-the-email-address-link1.js +1 -1
- package/esm2015/api/newupdate-of-the-manager-link.js +1 -1
- package/esm2015/api/newupdate-of-the-manager-link1.js +1 -1
- package/esm2015/api/newupdate-of-the-phone-number-details.js +1 -1
- package/esm2015/api/newupdate-of-the-phone-number-details1.js +1 -1
- package/esm2015/api/newvariable-update.js +1 -1
- package/esm2015/api/newvariable-update1.js +1 -1
- package/esm2015/api/outbound-resource-group-service-api.js +1 -1
- package/esm2015/api/outbound-resource-service-api.js +1 -1
- package/esm2015/api/phones-api.js +20 -16
- package/esm2015/api/phones-api.js.map +1 -1
- package/esm2015/api/preset-query-service-api.js +1 -1
- package/esm2015/api/protobuf-any.js +1 -1
- package/esm2015/api/protobuf-null-value.js +1 -1
- package/esm2015/api/question-option.js +1 -1
- package/esm2015/api/queue-bucket-service-api.js +1 -1
- package/esm2015/api/queue-hook-service-api.js +1 -1
- package/esm2015/api/queue-resources-service-api.js +1 -1
- package/esm2015/api/queue-service-api.js +1 -1
- package/esm2015/api/queue-skill-service-api.js +1 -1
- package/esm2015/api/region-service-api.js +1 -1
- package/esm2015/api/routing-chat-plan-service-api.js +1 -1
- package/esm2015/api/routing-outbound-call-service-api.js +1 -1
- package/esm2015/api/routing-schema-service-api.js +1 -1
- package/esm2015/api/routing-variable-service-api.js +1 -1
- package/esm2015/api/runtime-error.js +1 -1
- package/esm2015/api/runtime-stream-error.js +1 -1
- package/esm2015/api/skill-service-api.js +1 -1
- package/esm2015/api/start-file-transcript-response-transcript-job.js +1 -1
- package/esm2015/api/storage-backend-profile.js +1 -1
- package/esm2015/api/storage-cognitive-profile.js +1 -1
- package/esm2015/api/storage-create-backend-profile-request.js +1 -1
- package/esm2015/api/storage-create-cognitive-profile-request.js +1 -1
- package/esm2015/api/storage-create-import-template-request.js +1 -1
- package/esm2015/api/storage-delete-file-transcript-request.js +1 -1
- package/esm2015/api/storage-delete-file-transcript-response.js +1 -1
- package/esm2015/api/storage-delete-files-request.js +1 -1
- package/esm2015/api/storage-import-source-type.js +1 -1
- package/esm2015/api/storage-import-template.js +1 -1
- package/esm2015/api/storage-list-backend-profile.js +1 -1
- package/esm2015/api/storage-list-cognitive-profile.js +1 -1
- package/esm2015/api/storage-list-import-template.js +1 -1
- package/esm2015/api/storage-list-media.js +1 -1
- package/esm2015/api/storage-list-phrases.js +1 -1
- package/esm2015/api/storage-media-file.js +1 -1
- package/esm2015/api/storage-patch-backend-profile-request.js +1 -1
- package/esm2015/api/storage-patch-cognitive-profile-request.js +1 -1
- package/esm2015/api/storage-patch-import-template-request.js +1 -1
- package/esm2015/api/storage-provider-type.js +1 -1
- package/esm2015/api/storage-service-type.js +1 -1
- package/esm2015/api/storage-start-file-transcript-request.js +1 -1
- package/esm2015/api/storage-start-file-transcript-response.js +1 -1
- package/esm2015/api/storage-stream-file-metadata.js +1 -1
- package/esm2015/api/storage-stream-file.js +1 -1
- package/esm2015/api/storage-transcript-phrase.js +1 -1
- package/esm2015/api/storage-update-backend-profile-request.js +1 -1
- package/esm2015/api/storage-update-cognitive-profile-request.js +1 -1
- package/esm2015/api/storage-update-import-template-request.js +1 -1
- package/esm2015/api/storage-upload-file-request-metadata.js +1 -1
- package/esm2015/api/storage-upload-file-response.js +1 -1
- package/esm2015/api/storage-upload-file-url-response.js +1 -1
- package/esm2015/api/storage-upload-status-code.js +1 -1
- package/esm2015/api/system-setting-service-api.js +1 -1
- package/esm2015/api/trigger-service-api.js +1 -1
- package/esm2015/api/user-helper-service-api.js +1 -1
- package/esm2015/api/variables-api.js +1 -1
- package/esm2015/api/webitel-chat-chat-customers.js +13 -0
- package/esm2015/api/webitel-chat-chat-customers.js.map +1 -0
- package/esm2015/api/webitel-chat-chat-dialogs.js +13 -0
- package/esm2015/api/webitel-chat-chat-dialogs.js.map +1 -0
- package/esm2015/api/webitel-chat-chat-invite.js +13 -0
- package/esm2015/api/webitel-chat-chat-invite.js.map +1 -0
- package/esm2015/api/webitel-chat-chat-members.js +13 -0
- package/esm2015/api/webitel-chat-chat-members.js.map +1 -0
- package/esm2015/api/webitel-chat-chat-messages-request-offset.js +13 -0
- package/esm2015/api/webitel-chat-chat-messages-request-offset.js.map +1 -0
- package/esm2015/api/webitel-chat-chat-messages.js +13 -0
- package/esm2015/api/webitel-chat-chat-messages.js.map +1 -0
- package/esm2015/api/webitel-chat-chat.js +13 -0
- package/esm2015/api/webitel-chat-chat.js.map +1 -0
- package/esm2015/api/webitel-chat-customer.js +13 -0
- package/esm2015/api/webitel-chat-customer.js.map +1 -0
- package/esm2015/api/webitel-chat-dialog.js +13 -0
- package/esm2015/api/webitel-chat-dialog.js.map +1 -0
- package/esm2015/api/webitel-chat-file.js +13 -0
- package/esm2015/api/webitel-chat-file.js.map +1 -0
- package/esm2015/api/webitel-chat-message.js +13 -0
- package/esm2015/api/webitel-chat-message.js.map +1 -0
- package/esm2015/api/webitel-chat-peer.js +13 -0
- package/esm2015/api/webitel-chat-peer.js.map +1 -0
- package/esm2015/api/webitel-chat-timerange.js +13 -0
- package/esm2015/api/webitel-chat-timerange.js.map +1 -0
- package/esm2015/api/webitel-contacts-access-mode.js +1 -1
- package/esm2015/api/webitel-contacts-comment-format-codeblock.js +1 -1
- package/esm2015/api/webitel-contacts-comment-format-link.js +1 -1
- package/esm2015/api/webitel-contacts-comment-format.js +1 -1
- package/esm2015/api/webitel-contacts-comment-list.js +1 -1
- package/esm2015/api/webitel-contacts-comment.js +1 -1
- package/esm2015/api/webitel-contacts-contact-list.js +1 -1
- package/esm2015/api/webitel-contacts-contact.js +1 -1
- package/esm2015/api/webitel-contacts-email-address.js +1 -1
- package/esm2015/api/webitel-contacts-email-list.js +1 -1
- package/esm2015/api/webitel-contacts-imclient-list.js +1 -1
- package/esm2015/api/webitel-contacts-imclient.js +1 -1
- package/esm2015/api/webitel-contacts-input-comment.js +1 -1
- package/esm2015/api/webitel-contacts-input-contact.js +1 -1
- package/esm2015/api/webitel-contacts-input-email-address.js +1 -1
- package/esm2015/api/webitel-contacts-input-imclient.js +1 -1
- package/esm2015/api/webitel-contacts-input-label.js +1 -1
- package/esm2015/api/webitel-contacts-input-language.js +1 -1
- package/esm2015/api/webitel-contacts-input-manager.js +1 -1
- package/esm2015/api/webitel-contacts-input-name.js +1 -1
- package/esm2015/api/webitel-contacts-input-phone-number.js +1 -1
- package/esm2015/api/webitel-contacts-input-photo.js +1 -1
- package/esm2015/api/webitel-contacts-input-timezone.js +1 -1
- package/esm2015/api/webitel-contacts-input-variable.js +1 -1
- package/esm2015/api/webitel-contacts-label-info.js +1 -1
- package/esm2015/api/webitel-contacts-label-list.js +1 -1
- package/esm2015/api/webitel-contacts-label-tags.js +1 -1
- package/esm2015/api/webitel-contacts-label.js +1 -1
- package/esm2015/api/webitel-contacts-language-list.js +1 -1
- package/esm2015/api/webitel-contacts-language.js +1 -1
- package/esm2015/api/webitel-contacts-lookup.js +1 -1
- package/esm2015/api/webitel-contacts-manager-list.js +1 -1
- package/esm2015/api/webitel-contacts-manager.js +1 -1
- package/esm2015/api/webitel-contacts-name.js +1 -1
- package/esm2015/api/webitel-contacts-phone-list.js +1 -1
- package/esm2015/api/webitel-contacts-phone-number.js +1 -1
- package/esm2015/api/webitel-contacts-photo-list.js +1 -1
- package/esm2015/api/webitel-contacts-photo.js +1 -1
- package/esm2015/api/webitel-contacts-timezone-list.js +1 -1
- package/esm2015/api/webitel-contacts-timezone.js +1 -1
- package/esm2015/api/webitel-contacts-variable-list.js +1 -1
- package/esm2015/api/webitel-contacts-variable.js +1 -1
- package/esm2015/api.js +2 -1
- package/esm2015/api.js.map +1 -1
- package/esm2015/base.js +1 -1
- package/esm2015/configuration.js +1 -1
- package/esm2015/index.js +1 -1
- package/esm2015/socket/agent.js +2 -0
- package/esm2015/socket/agent.js.map +1 -1
- package/esm5/api/agent-in-queue-agents-in-queue.js +1 -1
- package/esm5/api/agent-in-queue-statistics-agent-in-queue-statistics-item.js +1 -1
- package/esm5/api/agent-pause-cause-service-api.js +1 -1
- package/esm5/api/agent-service-api.js +1 -1
- package/esm5/api/agent-skill-service-api.js +1 -1
- package/esm5/api/agent-team-service-api.js +1 -1
- package/esm5/api/aggregate-request-group.js +1 -1
- package/esm5/api/audit-form-service-api.js +1 -1
- package/esm5/api/backend-profile-service-api.js +1 -1
- package/esm5/api/bucket-service-api.js +1 -1
- package/esm5/api/calendar-service-api.js +1 -1
- package/esm5/api/call-service-api.js +1 -1
- package/esm5/api/catalog-api.js +969 -0
- package/esm5/api/catalog-api.js.map +1 -0
- package/esm5/api/chat-helper-service-api.js +1 -1
- package/esm5/api/cognitive-profile-service-api.js +1 -1
- package/esm5/api/communication-type-service-api.js +1 -1
- package/esm5/api/config-service-api.js +1 -1
- package/esm5/api/contacts-api.js +1 -1
- package/esm5/api/create-call-request-call-settings.js +1 -1
- package/esm5/api/default-device-config-response-sip-device-config.js +1 -1
- package/esm5/api/default-device-config-response-web-rtcdevice-config.js +1 -1
- package/esm5/api/email-profile-service-api.js +1 -1
- package/esm5/api/emails-api.js +1 -1
- package/esm5/api/engine-accept-of-day.js +1 -1
- package/esm5/api/engine-active-call.js +1 -1
- package/esm5/api/engine-agent-call-statistics-list.js +1 -1
- package/esm5/api/engine-agent-call-statistics.js +1 -1
- package/esm5/api/engine-agent-channel.js +1 -1
- package/esm5/api/engine-agent-in-queue-statistics-list.js +1 -1
- package/esm5/api/engine-agent-in-queue-statistics.js +1 -1
- package/esm5/api/engine-agent-in-queue.js +1 -1
- package/esm5/api/engine-agent-in-team.js +1 -1
- package/esm5/api/engine-agent-pause-cause.js +1 -1
- package/esm5/api/engine-agent-set-state-request.js +1 -1
- package/esm5/api/engine-agent-skill-item.js +1 -1
- package/esm5/api/engine-agent-skill.js +1 -1
- package/esm5/api/engine-agent-state.js +1 -1
- package/esm5/api/engine-agent-stats-statistic.js +1 -1
- package/esm5/api/engine-agent-status-request.js +1 -1
- package/esm5/api/engine-agent-status-statistic-item.js +1 -1
- package/esm5/api/engine-agent-team.js +1 -1
- package/esm5/api/engine-agent-today-statistics-response.js +1 -1
- package/esm5/api/engine-agent-user.js +1 -1
- package/esm5/api/engine-agent.js +1 -1
- package/esm5/api/engine-aggregate-history-call-request.js +1 -1
- package/esm5/api/engine-aggregate-request.js +1 -1
- package/esm5/api/engine-aggregate-result.js +1 -1
- package/esm5/api/engine-attempt-callback-request.js +1 -1
- package/esm5/api/engine-attempt-history.js +1 -1
- package/esm5/api/engine-attempt-renewal-result-request.js +1 -1
- package/esm5/api/engine-attempt-result-request.js +1 -1
- package/esm5/api/engine-attempt-result-response.js +1 -1
- package/esm5/api/engine-attempt.js +1 -1
- package/esm5/api/engine-audit-form.js +1 -1
- package/esm5/api/engine-audit-question-type.js +1 -1
- package/esm5/api/engine-audit-rate.js +1 -1
- package/esm5/api/engine-blind-transfer-call-request.js +1 -1
- package/esm5/api/engine-bool-filter.js +1 -1
- package/esm5/api/engine-broadcast-request.js +1 -1
- package/esm5/api/engine-bucket.js +1 -1
- package/esm5/api/engine-calendar.js +1 -1
- package/esm5/api/engine-call-annotation.js +1 -1
- package/esm5/api/engine-call-file.js +1 -1
- package/esm5/api/engine-call-hold.js +1 -1
- package/esm5/api/engine-chat-plan.js +1 -1
- package/esm5/api/engine-communication-channels.js +1 -1
- package/esm5/api/engine-communication-type-request.js +1 -1
- package/esm5/api/engine-communication-type.js +1 -1
- package/esm5/api/engine-create-agent-pause-cause-request.js +1 -1
- package/esm5/api/engine-create-agent-request.js +1 -1
- package/esm5/api/engine-create-agent-skill-bulk-item.js +1 -1
- package/esm5/api/engine-create-agent-skill-request.js +1 -1
- package/esm5/api/engine-create-agent-skills-request.js +1 -1
- package/esm5/api/engine-create-agent-skills-response.js +1 -1
- package/esm5/api/engine-create-agent-team-request.js +1 -1
- package/esm5/api/engine-create-attempt-request.js +1 -1
- package/esm5/api/engine-create-attempt-response.js +1 -1
- package/esm5/api/engine-create-audit-form-rate-request.js +1 -1
- package/esm5/api/engine-create-audit-form-request.js +1 -1
- package/esm5/api/engine-create-bucket-request.js +1 -1
- package/esm5/api/engine-create-calendar-request.js +1 -1
- package/esm5/api/engine-create-call-annotation-request.js +1 -1
- package/esm5/api/engine-create-call-request-endpoint-request.js +1 -1
- package/esm5/api/engine-create-call-request.js +1 -1
- package/esm5/api/engine-create-call-response.js +1 -1
- package/esm5/api/engine-create-chat-plan-request.js +1 -1
- package/esm5/api/engine-create-email-profile-request.js +1 -1
- package/esm5/api/engine-create-list-communication-request.js +1 -1
- package/esm5/api/engine-create-list-request.js +1 -1
- package/esm5/api/engine-create-member-bulk-item.js +1 -1
- package/esm5/api/engine-create-member-bulk-request.js +1 -1
- package/esm5/api/engine-create-member-request.js +1 -1
- package/esm5/api/engine-create-outbound-resource-display-bulk-request.js +1 -1
- package/esm5/api/engine-create-outbound-resource-display-request.js +1 -1
- package/esm5/api/engine-create-outbound-resource-group-request.js +1 -1
- package/esm5/api/engine-create-outbound-resource-in-group-request.js +1 -1
- package/esm5/api/engine-create-outbound-resource-request.js +1 -1
- package/esm5/api/engine-create-preset-query-request.js +1 -1
- package/esm5/api/engine-create-queue-bucket-request.js +1 -1
- package/esm5/api/engine-create-queue-hook-request.js +1 -1
- package/esm5/api/engine-create-queue-request.js +1 -1
- package/esm5/api/engine-create-queue-resource-group-request.js +1 -1
- package/esm5/api/engine-create-queue-skill-request.js +1 -1
- package/esm5/api/engine-create-region-request.js +1 -1
- package/esm5/api/engine-create-routing-outbound-call-request.js +1 -1
- package/esm5/api/engine-create-routing-schema-request.js +1 -1
- package/esm5/api/engine-create-routing-variable-request.js +1 -1
- package/esm5/api/engine-create-skill-agent-request.js +1 -1
- package/esm5/api/engine-create-skill-agent-response.js +1 -1
- package/esm5/api/engine-create-skill-request.js +1 -1
- package/esm5/api/engine-create-system-setting-request.js +1 -1
- package/esm5/api/engine-create-trigger-job-request.js +1 -1
- package/esm5/api/engine-create-trigger-request.js +1 -1
- package/esm5/api/engine-default-device-config-response.js +1 -1
- package/esm5/api/engine-delete-members-request.js +1 -1
- package/esm5/api/engine-delete-skill-agent-request.js +1 -1
- package/esm5/api/engine-delete-skill-agent-response.js +1 -1
- package/esm5/api/engine-dtmf-call-request.js +1 -1
- package/esm5/api/engine-eavesdrop-call-request-endpoint-request.js +1 -1
- package/esm5/api/engine-eavesdrop-call-request.js +1 -1
- package/esm5/api/engine-email-profile.js +1 -1
- package/esm5/api/engine-endpoint.js +1 -1
- package/esm5/api/engine-except-date.js +1 -1
- package/esm5/api/engine-filter-between.js +1 -1
- package/esm5/api/engine-for-agent-pause-cause-list.js +1 -1
- package/esm5/api/engine-for-agent-pause-cause.js +1 -1
- package/esm5/api/engine-hangup-call-request.js +1 -1
- package/esm5/api/engine-history-call.js +1 -1
- package/esm5/api/engine-history-file-job.js +1 -1
- package/esm5/api/engine-hold-call-response.js +1 -1
- package/esm5/api/engine-list-agent-in-queue.js +1 -1
- package/esm5/api/engine-list-agent-in-team.js +1 -1
- package/esm5/api/engine-list-agent-pause-cause.js +1 -1
- package/esm5/api/engine-list-agent-skill.js +1 -1
- package/esm5/api/engine-list-agent-state-history.js +1 -1
- package/esm5/api/engine-list-agent-stats-statistic.js +1 -1
- package/esm5/api/engine-list-agent-team.js +1 -1
- package/esm5/api/engine-list-agent-user.js +1 -1
- package/esm5/api/engine-list-agent.js +1 -1
- package/esm5/api/engine-list-aggregate.js +1 -1
- package/esm5/api/engine-list-attempt.js +1 -1
- package/esm5/api/engine-list-audit-form.js +1 -1
- package/esm5/api/engine-list-audit-rate.js +1 -1
- package/esm5/api/engine-list-bucket.js +1 -1
- package/esm5/api/engine-list-calendar.js +1 -1
- package/esm5/api/engine-list-call.js +1 -1
- package/esm5/api/engine-list-chat-plan.js +1 -1
- package/esm5/api/engine-list-communication-type.js +1 -1
- package/esm5/api/engine-list-communication.js +1 -1
- package/esm5/api/engine-list-email-profile.js +1 -1
- package/esm5/api/engine-list-history-attempt.js +1 -1
- package/esm5/api/engine-list-history-call.js +1 -1
- package/esm5/api/engine-list-member-attempt.js +1 -1
- package/esm5/api/engine-list-member.js +1 -1
- package/esm5/api/engine-list-of-list-communication.js +1 -1
- package/esm5/api/engine-list-of-list.js +1 -1
- package/esm5/api/engine-list-outbound-resource-display.js +1 -1
- package/esm5/api/engine-list-outbound-resource-group.js +1 -1
- package/esm5/api/engine-list-outbound-resource-in-group.js +1 -1
- package/esm5/api/engine-list-outbound-resource.js +1 -1
- package/esm5/api/engine-list-preset-query.js +1 -1
- package/esm5/api/engine-list-queue-bucket.js +1 -1
- package/esm5/api/engine-list-queue-hook.js +1 -1
- package/esm5/api/engine-list-queue-resource-group.js +1 -1
- package/esm5/api/engine-list-queue-skill.js +1 -1
- package/esm5/api/engine-list-queue.js +1 -1
- package/esm5/api/engine-list-region.js +1 -1
- package/esm5/api/engine-list-report-general.js +1 -1
- package/esm5/api/engine-list-resource-display.js +1 -1
- package/esm5/api/engine-list-routing-outbound-call.js +1 -1
- package/esm5/api/engine-list-routing-schema-tags.js +1 -1
- package/esm5/api/engine-list-routing-schema.js +1 -1
- package/esm5/api/engine-list-routing-variable.js +1 -1
- package/esm5/api/engine-list-skill-agent.js +1 -1
- package/esm5/api/engine-list-skill.js +1 -1
- package/esm5/api/engine-list-system-setting.js +1 -1
- package/esm5/api/engine-list-timezone-response.js +1 -1
- package/esm5/api/engine-list-trigger-job.js +1 -1
- package/esm5/api/engine-list-trigger.js +1 -1
- package/esm5/api/engine-list.js +1 -1
- package/esm5/api/engine-login-email-profile-response.js +1 -1
- package/esm5/api/engine-lookup.js +1 -1
- package/esm5/api/engine-member-attempt.js +1 -1
- package/esm5/api/engine-member-bulk-response.js +1 -1
- package/esm5/api/engine-member-communication-create-request.js +1 -1
- package/esm5/api/engine-member-communication.js +1 -1
- package/esm5/api/engine-member-in-queue.js +1 -1
- package/esm5/api/engine-move-position-routing-outbound-call-request.js +1 -1
- package/esm5/api/engine-move-position-routing-outbound-call-response.js +1 -1
- package/esm5/api/engine-outbound-resource-group.js +1 -1
- package/esm5/api/engine-outbound-resource-in-group.js +1 -1
- package/esm5/api/engine-outbound-resource-parameters.js +1 -1
- package/esm5/api/engine-outbound-resource-time-range.js +1 -1
- package/esm5/api/engine-outbound-resource-view-group.js +1 -1
- package/esm5/api/engine-outbound-resource.js +1 -1
- package/esm5/api/engine-patch-agent-pause-cause-request.js +1 -1
- package/esm5/api/engine-patch-agent-request.js +1 -1
- package/esm5/api/engine-patch-agent-skill-request.js +1 -1
- package/esm5/api/engine-patch-agent-skills-request.js +1 -1
- package/esm5/api/engine-patch-audit-form-request.js +1 -1
- package/esm5/api/engine-patch-chat-plan-request.js +1 -1
- package/esm5/api/engine-patch-email-profile-request.js +1 -1
- package/esm5/api/engine-patch-history-call-request.js +1 -1
- package/esm5/api/engine-patch-member-request.js +1 -1
- package/esm5/api/engine-patch-outbound-resource-request.js +1 -1
- package/esm5/api/engine-patch-preset-query-request.js +1 -1
- package/esm5/api/engine-patch-queue-bucket-request.js +1 -1
- package/esm5/api/engine-patch-queue-hook-request.js +1 -1
- package/esm5/api/engine-patch-queue-request.js +1 -1
- package/esm5/api/engine-patch-queue-skill-request.js +1 -1
- package/esm5/api/engine-patch-region-request.js +1 -1
- package/esm5/api/engine-patch-routing-outbound-call-request.js +1 -1
- package/esm5/api/engine-patch-routing-schema-request.js +1 -1
- package/esm5/api/engine-patch-skill-agent-request.js +1 -1
- package/esm5/api/engine-patch-skill-agent-response.js +1 -1
- package/esm5/api/engine-patch-system-setting-request.js +1 -1
- package/esm5/api/engine-patch-trigger-request.js +1 -1
- package/esm5/api/engine-preset-query-section.js +1 -1
- package/esm5/api/engine-preset-query.js +1 -1
- package/esm5/api/engine-question-answer.js +1 -1
- package/esm5/api/engine-question.js +1 -1
- package/esm5/api/engine-queue-bucket.js +1 -1
- package/esm5/api/engine-queue-hook.js +1 -1
- package/esm5/api/engine-queue-report-general-agent-status.js +1 -1
- package/esm5/api/engine-queue-report-general.js +1 -1
- package/esm5/api/engine-queue-resource-group.js +1 -1
- package/esm5/api/engine-queue-skill.js +1 -1
- package/esm5/api/engine-queue.js +1 -1
- package/esm5/api/engine-region.js +1 -1
- package/esm5/api/engine-reset-members-request.js +1 -1
- package/esm5/api/engine-reset-members-response.js +1 -1
- package/esm5/api/engine-resource-display.js +1 -1
- package/esm5/api/engine-response.js +1 -1
- package/esm5/api/engine-routing-outbound-call-compact.js +1 -1
- package/esm5/api/engine-routing-outbound-call.js +1 -1
- package/esm5/api/engine-routing-schema-tag.js +1 -1
- package/esm5/api/engine-routing-schema-type.js +1 -1
- package/esm5/api/engine-routing-schema.js +1 -1
- package/esm5/api/engine-routing-variable.js +1 -1
- package/esm5/api/engine-schema-tag.js +1 -1
- package/esm5/api/engine-search-history-call-request.js +1 -1
- package/esm5/api/engine-set-variables-call-request.js +1 -1
- package/esm5/api/engine-skill-agent-item.js +1 -1
- package/esm5/api/engine-skill.js +1 -1
- package/esm5/api/engine-system-setting.js +1 -1
- package/esm5/api/engine-task-processing.js +1 -1
- package/esm5/api/engine-test-email-profile-response.js +1 -1
- package/esm5/api/engine-timezone.js +1 -1
- package/esm5/api/engine-transcript-lookup.js +1 -1
- package/esm5/api/engine-trigger-job-state.js +1 -1
- package/esm5/api/engine-trigger-job.js +1 -1
- package/esm5/api/engine-trigger-type.js +1 -1
- package/esm5/api/engine-trigger.js +1 -1
- package/esm5/api/engine-update-agent-pause-cause-request.js +1 -1
- package/esm5/api/engine-update-agent-request.js +1 -1
- package/esm5/api/engine-update-agent-skill-request.js +1 -1
- package/esm5/api/engine-update-agent-team-request.js +1 -1
- package/esm5/api/engine-update-audit-form-request.js +1 -1
- package/esm5/api/engine-update-bucket-request.js +1 -1
- package/esm5/api/engine-update-calendar-request.js +1 -1
- package/esm5/api/engine-update-call-annotation-request.js +1 -1
- package/esm5/api/engine-update-chat-plan-request.js +1 -1
- package/esm5/api/engine-update-communication-type-request.js +1 -1
- package/esm5/api/engine-update-email-profile-request.js +1 -1
- package/esm5/api/engine-update-list-communication-request.js +1 -1
- package/esm5/api/engine-update-list-request.js +1 -1
- package/esm5/api/engine-update-member-request.js +1 -1
- package/esm5/api/engine-update-outbound-resource-display-request.js +1 -1
- package/esm5/api/engine-update-outbound-resource-group-request.js +1 -1
- package/esm5/api/engine-update-outbound-resource-in-group-request.js +1 -1
- package/esm5/api/engine-update-outbound-resource-request.js +1 -1
- package/esm5/api/engine-update-preset-query-request.js +1 -1
- package/esm5/api/engine-update-queue-bucket-request.js +1 -1
- package/esm5/api/engine-update-queue-hook-request.js +1 -1
- package/esm5/api/engine-update-queue-request.js +1 -1
- package/esm5/api/engine-update-queue-resource-group-request.js +1 -1
- package/esm5/api/engine-update-queue-skill-request.js +1 -1
- package/esm5/api/engine-update-region-request.js +1 -1
- package/esm5/api/engine-update-routing-outbound-call-request.js +1 -1
- package/esm5/api/engine-update-routing-schema-request.js +1 -1
- package/esm5/api/engine-update-routing-variable-request.js +1 -1
- package/esm5/api/engine-update-skill-request.js +1 -1
- package/esm5/api/engine-update-system-setting-request.js +1 -1
- package/esm5/api/engine-update-trigger-request.js +1 -1
- package/esm5/api/engine-user-call-request.js +1 -1
- package/esm5/api/file-service-api.js +1 -1
- package/esm5/api/file-transcript-service-api.js +1 -1
- package/esm5/api/google-protobuf-null-value.js +1 -1
- package/esm5/api/history-file-job-history-file-job-action.js +1 -1
- package/esm5/api/history-file-job-history-file-job-state.js +1 -1
- package/esm5/api/import-template-service-api.js +1 -1
- package/esm5/api/index.js +13 -0
- package/esm5/api/index.js.map +1 -1
- package/esm5/api/labels-api.js +1 -1
- package/esm5/api/list-service-api.js +1 -1
- package/esm5/api/list-skill-agent-list-skill-agg.js +1 -1
- package/esm5/api/logger-action.js +1 -1
- package/esm5/api/logger-available-system-objects.js +1 -1
- package/esm5/api/logger-config-status.js +1 -1
- package/esm5/api/logger-config.js +1 -1
- package/esm5/api/logger-configs.js +1 -1
- package/esm5/api/logger-create-config-request.js +1 -1
- package/esm5/api/logger-delete-config-bulk-request.js +1 -1
- package/esm5/api/logger-log.js +1 -1
- package/esm5/api/logger-logs.js +1 -1
- package/esm5/api/logger-lookup.js +1 -1
- package/esm5/api/logger-patch-config-request.js +1 -1
- package/esm5/api/logger-service-api.js +1 -1
- package/esm5/api/logger-system-objects.js +1 -1
- package/esm5/api/logger-update-config-request.js +1 -1
- package/esm5/api/managers-api.js +1 -1
- package/esm5/api/media-file-service-api.js +1 -1
- package/esm5/api/member-service-api.js +1 -1
- package/esm5/api/newcontact-source-changes.js +1 -1
- package/esm5/api/newupdate-of-the-email-address-link.js +1 -1
- package/esm5/api/newupdate-of-the-email-address-link1.js +1 -1
- package/esm5/api/newupdate-of-the-manager-link.js +1 -1
- package/esm5/api/newupdate-of-the-manager-link1.js +1 -1
- package/esm5/api/newupdate-of-the-phone-number-details.js +1 -1
- package/esm5/api/newupdate-of-the-phone-number-details1.js +1 -1
- package/esm5/api/newvariable-update.js +1 -1
- package/esm5/api/newvariable-update1.js +1 -1
- package/esm5/api/outbound-resource-group-service-api.js +1 -1
- package/esm5/api/outbound-resource-service-api.js +1 -1
- package/esm5/api/phones-api.js +20 -16
- package/esm5/api/phones-api.js.map +1 -1
- package/esm5/api/preset-query-service-api.js +1 -1
- package/esm5/api/protobuf-any.js +1 -1
- package/esm5/api/protobuf-null-value.js +1 -1
- package/esm5/api/question-option.js +1 -1
- package/esm5/api/queue-bucket-service-api.js +1 -1
- package/esm5/api/queue-hook-service-api.js +1 -1
- package/esm5/api/queue-resources-service-api.js +1 -1
- package/esm5/api/queue-service-api.js +1 -1
- package/esm5/api/queue-skill-service-api.js +1 -1
- package/esm5/api/region-service-api.js +1 -1
- package/esm5/api/routing-chat-plan-service-api.js +1 -1
- package/esm5/api/routing-outbound-call-service-api.js +1 -1
- package/esm5/api/routing-schema-service-api.js +1 -1
- package/esm5/api/routing-variable-service-api.js +1 -1
- package/esm5/api/runtime-error.js +1 -1
- package/esm5/api/runtime-stream-error.js +1 -1
- package/esm5/api/skill-service-api.js +1 -1
- package/esm5/api/start-file-transcript-response-transcript-job.js +1 -1
- package/esm5/api/storage-backend-profile.js +1 -1
- package/esm5/api/storage-cognitive-profile.js +1 -1
- package/esm5/api/storage-create-backend-profile-request.js +1 -1
- package/esm5/api/storage-create-cognitive-profile-request.js +1 -1
- package/esm5/api/storage-create-import-template-request.js +1 -1
- package/esm5/api/storage-delete-file-transcript-request.js +1 -1
- package/esm5/api/storage-delete-file-transcript-response.js +1 -1
- package/esm5/api/storage-delete-files-request.js +1 -1
- package/esm5/api/storage-import-source-type.js +1 -1
- package/esm5/api/storage-import-template.js +1 -1
- package/esm5/api/storage-list-backend-profile.js +1 -1
- package/esm5/api/storage-list-cognitive-profile.js +1 -1
- package/esm5/api/storage-list-import-template.js +1 -1
- package/esm5/api/storage-list-media.js +1 -1
- package/esm5/api/storage-list-phrases.js +1 -1
- package/esm5/api/storage-media-file.js +1 -1
- package/esm5/api/storage-patch-backend-profile-request.js +1 -1
- package/esm5/api/storage-patch-cognitive-profile-request.js +1 -1
- package/esm5/api/storage-patch-import-template-request.js +1 -1
- package/esm5/api/storage-provider-type.js +1 -1
- package/esm5/api/storage-service-type.js +1 -1
- package/esm5/api/storage-start-file-transcript-request.js +1 -1
- package/esm5/api/storage-start-file-transcript-response.js +1 -1
- package/esm5/api/storage-stream-file-metadata.js +1 -1
- package/esm5/api/storage-stream-file.js +1 -1
- package/esm5/api/storage-transcript-phrase.js +1 -1
- package/esm5/api/storage-update-backend-profile-request.js +1 -1
- package/esm5/api/storage-update-cognitive-profile-request.js +1 -1
- package/esm5/api/storage-update-import-template-request.js +1 -1
- package/esm5/api/storage-upload-file-request-metadata.js +1 -1
- package/esm5/api/storage-upload-file-response.js +1 -1
- package/esm5/api/storage-upload-file-url-response.js +1 -1
- package/esm5/api/storage-upload-status-code.js +1 -1
- package/esm5/api/system-setting-service-api.js +1 -1
- package/esm5/api/trigger-service-api.js +1 -1
- package/esm5/api/user-helper-service-api.js +1 -1
- package/esm5/api/variables-api.js +1 -1
- package/esm5/api/webitel-chat-chat-customers.js +13 -0
- package/esm5/api/webitel-chat-chat-customers.js.map +1 -0
- package/esm5/api/webitel-chat-chat-dialogs.js +13 -0
- package/esm5/api/webitel-chat-chat-dialogs.js.map +1 -0
- package/esm5/api/webitel-chat-chat-invite.js +13 -0
- package/esm5/api/webitel-chat-chat-invite.js.map +1 -0
- package/esm5/api/webitel-chat-chat-members.js +13 -0
- package/esm5/api/webitel-chat-chat-members.js.map +1 -0
- package/esm5/api/webitel-chat-chat-messages-request-offset.js +13 -0
- package/esm5/api/webitel-chat-chat-messages-request-offset.js.map +1 -0
- package/esm5/api/webitel-chat-chat-messages.js +13 -0
- package/esm5/api/webitel-chat-chat-messages.js.map +1 -0
- package/esm5/api/webitel-chat-chat.js +13 -0
- package/esm5/api/webitel-chat-chat.js.map +1 -0
- package/esm5/api/webitel-chat-customer.js +13 -0
- package/esm5/api/webitel-chat-customer.js.map +1 -0
- package/esm5/api/webitel-chat-dialog.js +13 -0
- package/esm5/api/webitel-chat-dialog.js.map +1 -0
- package/esm5/api/webitel-chat-file.js +13 -0
- package/esm5/api/webitel-chat-file.js.map +1 -0
- package/esm5/api/webitel-chat-message.js +13 -0
- package/esm5/api/webitel-chat-message.js.map +1 -0
- package/esm5/api/webitel-chat-peer.js +13 -0
- package/esm5/api/webitel-chat-peer.js.map +1 -0
- package/esm5/api/webitel-chat-timerange.js +13 -0
- package/esm5/api/webitel-chat-timerange.js.map +1 -0
- package/esm5/api/webitel-contacts-access-mode.js +1 -1
- package/esm5/api/webitel-contacts-comment-format-codeblock.js +1 -1
- package/esm5/api/webitel-contacts-comment-format-link.js +1 -1
- package/esm5/api/webitel-contacts-comment-format.js +1 -1
- package/esm5/api/webitel-contacts-comment-list.js +1 -1
- package/esm5/api/webitel-contacts-comment.js +1 -1
- package/esm5/api/webitel-contacts-contact-list.js +1 -1
- package/esm5/api/webitel-contacts-contact.js +1 -1
- package/esm5/api/webitel-contacts-email-address.js +1 -1
- package/esm5/api/webitel-contacts-email-list.js +1 -1
- package/esm5/api/webitel-contacts-imclient-list.js +1 -1
- package/esm5/api/webitel-contacts-imclient.js +1 -1
- package/esm5/api/webitel-contacts-input-comment.js +1 -1
- package/esm5/api/webitel-contacts-input-contact.js +1 -1
- package/esm5/api/webitel-contacts-input-email-address.js +1 -1
- package/esm5/api/webitel-contacts-input-imclient.js +1 -1
- package/esm5/api/webitel-contacts-input-label.js +1 -1
- package/esm5/api/webitel-contacts-input-language.js +1 -1
- package/esm5/api/webitel-contacts-input-manager.js +1 -1
- package/esm5/api/webitel-contacts-input-name.js +1 -1
- package/esm5/api/webitel-contacts-input-phone-number.js +1 -1
- package/esm5/api/webitel-contacts-input-photo.js +1 -1
- package/esm5/api/webitel-contacts-input-timezone.js +1 -1
- package/esm5/api/webitel-contacts-input-variable.js +1 -1
- package/esm5/api/webitel-contacts-label-info.js +1 -1
- package/esm5/api/webitel-contacts-label-list.js +1 -1
- package/esm5/api/webitel-contacts-label-tags.js +1 -1
- package/esm5/api/webitel-contacts-label.js +1 -1
- package/esm5/api/webitel-contacts-language-list.js +1 -1
- package/esm5/api/webitel-contacts-language.js +1 -1
- package/esm5/api/webitel-contacts-lookup.js +1 -1
- package/esm5/api/webitel-contacts-manager-list.js +1 -1
- package/esm5/api/webitel-contacts-manager.js +1 -1
- package/esm5/api/webitel-contacts-name.js +1 -1
- package/esm5/api/webitel-contacts-phone-list.js +1 -1
- package/esm5/api/webitel-contacts-phone-number.js +1 -1
- package/esm5/api/webitel-contacts-photo-list.js +1 -1
- package/esm5/api/webitel-contacts-photo.js +1 -1
- package/esm5/api/webitel-contacts-timezone-list.js +1 -1
- package/esm5/api/webitel-contacts-timezone.js +1 -1
- package/esm5/api/webitel-contacts-variable-list.js +1 -1
- package/esm5/api/webitel-contacts-variable.js +1 -1
- package/esm5/api.js +2 -1
- package/esm5/api.js.map +1 -1
- package/esm5/base.js +1 -1
- package/esm5/configuration.js +1 -1
- package/esm5/index.js +1 -1
- package/esm5/socket/agent.js +2 -0
- package/esm5/socket/agent.js.map +1 -1
- package/package.json +1 -1
- package/types/api/agent-in-queue-agents-in-queue.d.ts +1 -1
- package/types/api/agent-in-queue-statistics-agent-in-queue-statistics-item.d.ts +1 -1
- package/types/api/agent-pause-cause-service-api.d.ts +1 -1
- package/types/api/agent-service-api.d.ts +1 -1
- package/types/api/agent-skill-service-api.d.ts +1 -1
- package/types/api/agent-team-service-api.d.ts +1 -1
- package/types/api/aggregate-request-group.d.ts +1 -1
- package/types/api/audit-form-service-api.d.ts +1 -1
- package/types/api/backend-profile-service-api.d.ts +1 -1
- package/types/api/bucket-service-api.d.ts +1 -1
- package/types/api/calendar-service-api.d.ts +1 -1
- package/types/api/call-service-api.d.ts +1 -1
- package/types/api/catalog-api.d.ts +430 -0
- package/types/api/catalog-api.d.ts.map +1 -0
- package/types/api/chat-helper-service-api.d.ts +1 -1
- package/types/api/cognitive-profile-service-api.d.ts +1 -1
- package/types/api/communication-type-service-api.d.ts +1 -1
- package/types/api/config-service-api.d.ts +1 -1
- package/types/api/contacts-api.d.ts +1 -1
- package/types/api/create-call-request-call-settings.d.ts +1 -1
- package/types/api/default-device-config-response-sip-device-config.d.ts +1 -1
- package/types/api/default-device-config-response-web-rtcdevice-config.d.ts +1 -1
- package/types/api/email-profile-service-api.d.ts +1 -1
- package/types/api/emails-api.d.ts +1 -1
- package/types/api/engine-accept-of-day.d.ts +1 -1
- package/types/api/engine-active-call.d.ts +1 -1
- package/types/api/engine-agent-call-statistics-list.d.ts +1 -1
- package/types/api/engine-agent-call-statistics.d.ts +1 -1
- package/types/api/engine-agent-channel.d.ts +1 -1
- package/types/api/engine-agent-in-queue-statistics-list.d.ts +1 -1
- package/types/api/engine-agent-in-queue-statistics.d.ts +1 -1
- package/types/api/engine-agent-in-queue.d.ts +1 -1
- package/types/api/engine-agent-in-team.d.ts +1 -1
- package/types/api/engine-agent-pause-cause.d.ts +1 -1
- package/types/api/engine-agent-set-state-request.d.ts +1 -1
- package/types/api/engine-agent-skill-item.d.ts +1 -1
- package/types/api/engine-agent-skill.d.ts +1 -1
- package/types/api/engine-agent-state.d.ts +1 -1
- package/types/api/engine-agent-stats-statistic.d.ts +1 -1
- package/types/api/engine-agent-status-request.d.ts +1 -1
- package/types/api/engine-agent-status-statistic-item.d.ts +1 -1
- package/types/api/engine-agent-team.d.ts +1 -1
- package/types/api/engine-agent-today-statistics-response.d.ts +1 -1
- package/types/api/engine-agent-user.d.ts +1 -1
- package/types/api/engine-agent.d.ts +1 -1
- package/types/api/engine-aggregate-history-call-request.d.ts +1 -1
- package/types/api/engine-aggregate-request.d.ts +1 -1
- package/types/api/engine-aggregate-result.d.ts +1 -1
- package/types/api/engine-attempt-callback-request.d.ts +1 -1
- package/types/api/engine-attempt-history.d.ts +1 -1
- package/types/api/engine-attempt-renewal-result-request.d.ts +1 -1
- package/types/api/engine-attempt-result-request.d.ts +1 -1
- package/types/api/engine-attempt-result-response.d.ts +1 -1
- package/types/api/engine-attempt.d.ts +1 -1
- package/types/api/engine-audit-form.d.ts +1 -1
- package/types/api/engine-audit-question-type.d.ts +1 -1
- package/types/api/engine-audit-rate.d.ts +1 -1
- package/types/api/engine-blind-transfer-call-request.d.ts +1 -1
- package/types/api/engine-bool-filter.d.ts +1 -1
- package/types/api/engine-broadcast-request.d.ts +1 -1
- package/types/api/engine-bucket.d.ts +1 -1
- package/types/api/engine-calendar.d.ts +1 -1
- package/types/api/engine-call-annotation.d.ts +1 -1
- package/types/api/engine-call-file.d.ts +1 -1
- package/types/api/engine-call-hold.d.ts +1 -1
- package/types/api/engine-chat-plan.d.ts +1 -1
- package/types/api/engine-communication-channels.d.ts +1 -1
- package/types/api/engine-communication-type-request.d.ts +1 -1
- package/types/api/engine-communication-type.d.ts +1 -1
- package/types/api/engine-create-agent-pause-cause-request.d.ts +1 -1
- package/types/api/engine-create-agent-request.d.ts +1 -1
- package/types/api/engine-create-agent-skill-bulk-item.d.ts +1 -1
- package/types/api/engine-create-agent-skill-request.d.ts +1 -1
- package/types/api/engine-create-agent-skills-request.d.ts +1 -1
- package/types/api/engine-create-agent-skills-response.d.ts +1 -1
- package/types/api/engine-create-agent-team-request.d.ts +1 -1
- package/types/api/engine-create-attempt-request.d.ts +1 -1
- package/types/api/engine-create-attempt-response.d.ts +1 -1
- package/types/api/engine-create-audit-form-rate-request.d.ts +1 -1
- package/types/api/engine-create-audit-form-request.d.ts +1 -1
- package/types/api/engine-create-bucket-request.d.ts +1 -1
- package/types/api/engine-create-calendar-request.d.ts +1 -1
- package/types/api/engine-create-call-annotation-request.d.ts +1 -1
- package/types/api/engine-create-call-request-endpoint-request.d.ts +1 -1
- package/types/api/engine-create-call-request.d.ts +1 -1
- package/types/api/engine-create-call-response.d.ts +1 -1
- package/types/api/engine-create-chat-plan-request.d.ts +1 -1
- package/types/api/engine-create-email-profile-request.d.ts +1 -1
- package/types/api/engine-create-list-communication-request.d.ts +1 -1
- package/types/api/engine-create-list-request.d.ts +1 -1
- package/types/api/engine-create-member-bulk-item.d.ts +1 -1
- package/types/api/engine-create-member-bulk-request.d.ts +1 -1
- package/types/api/engine-create-member-request.d.ts +1 -1
- package/types/api/engine-create-outbound-resource-display-bulk-request.d.ts +1 -1
- package/types/api/engine-create-outbound-resource-display-request.d.ts +1 -1
- package/types/api/engine-create-outbound-resource-group-request.d.ts +1 -1
- package/types/api/engine-create-outbound-resource-in-group-request.d.ts +1 -1
- package/types/api/engine-create-outbound-resource-request.d.ts +1 -1
- package/types/api/engine-create-preset-query-request.d.ts +1 -1
- package/types/api/engine-create-queue-bucket-request.d.ts +1 -1
- package/types/api/engine-create-queue-hook-request.d.ts +1 -1
- package/types/api/engine-create-queue-request.d.ts +1 -1
- package/types/api/engine-create-queue-resource-group-request.d.ts +1 -1
- package/types/api/engine-create-queue-skill-request.d.ts +1 -1
- package/types/api/engine-create-region-request.d.ts +1 -1
- package/types/api/engine-create-routing-outbound-call-request.d.ts +1 -1
- package/types/api/engine-create-routing-schema-request.d.ts +1 -1
- package/types/api/engine-create-routing-variable-request.d.ts +1 -1
- package/types/api/engine-create-skill-agent-request.d.ts +1 -1
- package/types/api/engine-create-skill-agent-response.d.ts +1 -1
- package/types/api/engine-create-skill-request.d.ts +1 -1
- package/types/api/engine-create-system-setting-request.d.ts +1 -1
- package/types/api/engine-create-trigger-job-request.d.ts +1 -1
- package/types/api/engine-create-trigger-request.d.ts +1 -1
- package/types/api/engine-default-device-config-response.d.ts +1 -1
- package/types/api/engine-delete-members-request.d.ts +1 -1
- package/types/api/engine-delete-skill-agent-request.d.ts +1 -1
- package/types/api/engine-delete-skill-agent-response.d.ts +1 -1
- package/types/api/engine-dtmf-call-request.d.ts +1 -1
- package/types/api/engine-eavesdrop-call-request-endpoint-request.d.ts +1 -1
- package/types/api/engine-eavesdrop-call-request.d.ts +1 -1
- package/types/api/engine-email-profile.d.ts +1 -1
- package/types/api/engine-endpoint.d.ts +1 -1
- package/types/api/engine-except-date.d.ts +1 -1
- package/types/api/engine-filter-between.d.ts +1 -1
- package/types/api/engine-for-agent-pause-cause-list.d.ts +1 -1
- package/types/api/engine-for-agent-pause-cause.d.ts +1 -1
- package/types/api/engine-hangup-call-request.d.ts +1 -1
- package/types/api/engine-history-call.d.ts +1 -1
- package/types/api/engine-history-file-job.d.ts +1 -1
- package/types/api/engine-hold-call-response.d.ts +1 -1
- package/types/api/engine-list-agent-in-queue.d.ts +1 -1
- package/types/api/engine-list-agent-in-team.d.ts +1 -1
- package/types/api/engine-list-agent-pause-cause.d.ts +1 -1
- package/types/api/engine-list-agent-skill.d.ts +1 -1
- package/types/api/engine-list-agent-state-history.d.ts +1 -1
- package/types/api/engine-list-agent-stats-statistic.d.ts +1 -1
- package/types/api/engine-list-agent-team.d.ts +1 -1
- package/types/api/engine-list-agent-user.d.ts +1 -1
- package/types/api/engine-list-agent.d.ts +1 -1
- package/types/api/engine-list-aggregate.d.ts +1 -1
- package/types/api/engine-list-attempt.d.ts +1 -1
- package/types/api/engine-list-audit-form.d.ts +1 -1
- package/types/api/engine-list-audit-rate.d.ts +1 -1
- package/types/api/engine-list-bucket.d.ts +1 -1
- package/types/api/engine-list-calendar.d.ts +1 -1
- package/types/api/engine-list-call.d.ts +1 -1
- package/types/api/engine-list-chat-plan.d.ts +1 -1
- package/types/api/engine-list-communication-type.d.ts +1 -1
- package/types/api/engine-list-communication.d.ts +1 -1
- package/types/api/engine-list-email-profile.d.ts +1 -1
- package/types/api/engine-list-history-attempt.d.ts +1 -1
- package/types/api/engine-list-history-call.d.ts +1 -1
- package/types/api/engine-list-member-attempt.d.ts +1 -1
- package/types/api/engine-list-member.d.ts +1 -1
- package/types/api/engine-list-of-list-communication.d.ts +1 -1
- package/types/api/engine-list-of-list.d.ts +1 -1
- package/types/api/engine-list-outbound-resource-display.d.ts +1 -1
- package/types/api/engine-list-outbound-resource-group.d.ts +1 -1
- package/types/api/engine-list-outbound-resource-in-group.d.ts +1 -1
- package/types/api/engine-list-outbound-resource.d.ts +1 -1
- package/types/api/engine-list-preset-query.d.ts +1 -1
- package/types/api/engine-list-queue-bucket.d.ts +1 -1
- package/types/api/engine-list-queue-hook.d.ts +1 -1
- package/types/api/engine-list-queue-resource-group.d.ts +1 -1
- package/types/api/engine-list-queue-skill.d.ts +1 -1
- package/types/api/engine-list-queue.d.ts +1 -1
- package/types/api/engine-list-region.d.ts +1 -1
- package/types/api/engine-list-report-general.d.ts +1 -1
- package/types/api/engine-list-resource-display.d.ts +1 -1
- package/types/api/engine-list-routing-outbound-call.d.ts +1 -1
- package/types/api/engine-list-routing-schema-tags.d.ts +1 -1
- package/types/api/engine-list-routing-schema.d.ts +1 -1
- package/types/api/engine-list-routing-variable.d.ts +1 -1
- package/types/api/engine-list-skill-agent.d.ts +1 -1
- package/types/api/engine-list-skill.d.ts +1 -1
- package/types/api/engine-list-system-setting.d.ts +1 -1
- package/types/api/engine-list-timezone-response.d.ts +1 -1
- package/types/api/engine-list-trigger-job.d.ts +1 -1
- package/types/api/engine-list-trigger.d.ts +1 -1
- package/types/api/engine-list.d.ts +1 -1
- package/types/api/engine-login-email-profile-response.d.ts +1 -1
- package/types/api/engine-lookup.d.ts +1 -1
- package/types/api/engine-member-attempt.d.ts +1 -1
- package/types/api/engine-member-bulk-response.d.ts +1 -1
- package/types/api/engine-member-communication-create-request.d.ts +1 -1
- package/types/api/engine-member-communication.d.ts +1 -1
- package/types/api/engine-member-in-queue.d.ts +1 -1
- package/types/api/engine-move-position-routing-outbound-call-request.d.ts +1 -1
- package/types/api/engine-move-position-routing-outbound-call-response.d.ts +1 -1
- package/types/api/engine-outbound-resource-group.d.ts +1 -1
- package/types/api/engine-outbound-resource-in-group.d.ts +1 -1
- package/types/api/engine-outbound-resource-parameters.d.ts +1 -1
- package/types/api/engine-outbound-resource-time-range.d.ts +1 -1
- package/types/api/engine-outbound-resource-view-group.d.ts +1 -1
- package/types/api/engine-outbound-resource.d.ts +1 -1
- package/types/api/engine-patch-agent-pause-cause-request.d.ts +1 -1
- package/types/api/engine-patch-agent-request.d.ts +1 -1
- package/types/api/engine-patch-agent-skill-request.d.ts +1 -1
- package/types/api/engine-patch-agent-skills-request.d.ts +1 -1
- package/types/api/engine-patch-audit-form-request.d.ts +1 -1
- package/types/api/engine-patch-chat-plan-request.d.ts +1 -1
- package/types/api/engine-patch-email-profile-request.d.ts +1 -1
- package/types/api/engine-patch-history-call-request.d.ts +1 -1
- package/types/api/engine-patch-member-request.d.ts +1 -1
- package/types/api/engine-patch-outbound-resource-request.d.ts +1 -1
- package/types/api/engine-patch-preset-query-request.d.ts +1 -1
- package/types/api/engine-patch-queue-bucket-request.d.ts +1 -1
- package/types/api/engine-patch-queue-hook-request.d.ts +1 -1
- package/types/api/engine-patch-queue-request.d.ts +1 -1
- package/types/api/engine-patch-queue-skill-request.d.ts +1 -1
- package/types/api/engine-patch-region-request.d.ts +1 -1
- package/types/api/engine-patch-routing-outbound-call-request.d.ts +1 -1
- package/types/api/engine-patch-routing-schema-request.d.ts +1 -1
- package/types/api/engine-patch-skill-agent-request.d.ts +1 -1
- package/types/api/engine-patch-skill-agent-response.d.ts +1 -1
- package/types/api/engine-patch-system-setting-request.d.ts +1 -1
- package/types/api/engine-patch-trigger-request.d.ts +1 -1
- package/types/api/engine-preset-query-section.d.ts +1 -1
- package/types/api/engine-preset-query.d.ts +1 -1
- package/types/api/engine-question-answer.d.ts +1 -1
- package/types/api/engine-question.d.ts +1 -1
- package/types/api/engine-queue-bucket.d.ts +1 -1
- package/types/api/engine-queue-hook.d.ts +1 -1
- package/types/api/engine-queue-report-general-agent-status.d.ts +1 -1
- package/types/api/engine-queue-report-general.d.ts +1 -1
- package/types/api/engine-queue-resource-group.d.ts +1 -1
- package/types/api/engine-queue-skill.d.ts +1 -1
- package/types/api/engine-queue.d.ts +1 -1
- package/types/api/engine-region.d.ts +1 -1
- package/types/api/engine-reset-members-request.d.ts +1 -1
- package/types/api/engine-reset-members-response.d.ts +1 -1
- package/types/api/engine-resource-display.d.ts +1 -1
- package/types/api/engine-response.d.ts +1 -1
- package/types/api/engine-routing-outbound-call-compact.d.ts +1 -1
- package/types/api/engine-routing-outbound-call.d.ts +1 -1
- package/types/api/engine-routing-schema-tag.d.ts +1 -1
- package/types/api/engine-routing-schema-type.d.ts +1 -1
- package/types/api/engine-routing-schema.d.ts +1 -1
- package/types/api/engine-routing-variable.d.ts +1 -1
- package/types/api/engine-schema-tag.d.ts +1 -1
- package/types/api/engine-search-history-call-request.d.ts +1 -1
- package/types/api/engine-set-variables-call-request.d.ts +1 -1
- package/types/api/engine-skill-agent-item.d.ts +1 -1
- package/types/api/engine-skill.d.ts +1 -1
- package/types/api/engine-system-setting.d.ts +1 -1
- package/types/api/engine-task-processing.d.ts +1 -1
- package/types/api/engine-test-email-profile-response.d.ts +1 -1
- package/types/api/engine-timezone.d.ts +1 -1
- package/types/api/engine-transcript-lookup.d.ts +1 -1
- package/types/api/engine-trigger-job-state.d.ts +1 -1
- package/types/api/engine-trigger-job.d.ts +1 -1
- package/types/api/engine-trigger-type.d.ts +1 -1
- package/types/api/engine-trigger.d.ts +1 -1
- package/types/api/engine-update-agent-pause-cause-request.d.ts +1 -1
- package/types/api/engine-update-agent-request.d.ts +1 -1
- package/types/api/engine-update-agent-skill-request.d.ts +1 -1
- package/types/api/engine-update-agent-team-request.d.ts +1 -1
- package/types/api/engine-update-audit-form-request.d.ts +1 -1
- package/types/api/engine-update-bucket-request.d.ts +1 -1
- package/types/api/engine-update-calendar-request.d.ts +1 -1
- package/types/api/engine-update-call-annotation-request.d.ts +1 -1
- package/types/api/engine-update-chat-plan-request.d.ts +1 -1
- package/types/api/engine-update-communication-type-request.d.ts +1 -1
- package/types/api/engine-update-email-profile-request.d.ts +1 -1
- package/types/api/engine-update-list-communication-request.d.ts +1 -1
- package/types/api/engine-update-list-request.d.ts +1 -1
- package/types/api/engine-update-member-request.d.ts +1 -1
- package/types/api/engine-update-outbound-resource-display-request.d.ts +1 -1
- package/types/api/engine-update-outbound-resource-group-request.d.ts +1 -1
- package/types/api/engine-update-outbound-resource-in-group-request.d.ts +1 -1
- package/types/api/engine-update-outbound-resource-request.d.ts +1 -1
- package/types/api/engine-update-preset-query-request.d.ts +1 -1
- package/types/api/engine-update-queue-bucket-request.d.ts +1 -1
- package/types/api/engine-update-queue-hook-request.d.ts +1 -1
- package/types/api/engine-update-queue-request.d.ts +1 -1
- package/types/api/engine-update-queue-resource-group-request.d.ts +1 -1
- package/types/api/engine-update-queue-skill-request.d.ts +1 -1
- package/types/api/engine-update-region-request.d.ts +1 -1
- package/types/api/engine-update-routing-outbound-call-request.d.ts +1 -1
- package/types/api/engine-update-routing-schema-request.d.ts +1 -1
- package/types/api/engine-update-routing-variable-request.d.ts +1 -1
- package/types/api/engine-update-skill-request.d.ts +1 -1
- package/types/api/engine-update-system-setting-request.d.ts +1 -1
- package/types/api/engine-update-trigger-request.d.ts +1 -1
- package/types/api/engine-user-call-request.d.ts +1 -1
- package/types/api/file-service-api.d.ts +1 -1
- package/types/api/file-transcript-service-api.d.ts +1 -1
- package/types/api/google-protobuf-null-value.d.ts +1 -1
- package/types/api/history-file-job-history-file-job-action.d.ts +1 -1
- package/types/api/history-file-job-history-file-job-state.d.ts +1 -1
- package/types/api/import-template-service-api.d.ts +1 -1
- package/types/api/index.d.ts +13 -0
- package/types/api/index.d.ts.map +1 -1
- package/types/api/labels-api.d.ts +1 -1
- package/types/api/list-service-api.d.ts +1 -1
- package/types/api/list-skill-agent-list-skill-agg.d.ts +1 -1
- package/types/api/logger-action.d.ts +1 -1
- package/types/api/logger-available-system-objects.d.ts +1 -1
- package/types/api/logger-config-status.d.ts +1 -1
- package/types/api/logger-config.d.ts +1 -1
- package/types/api/logger-configs.d.ts +1 -1
- package/types/api/logger-create-config-request.d.ts +1 -1
- package/types/api/logger-delete-config-bulk-request.d.ts +1 -1
- package/types/api/logger-log.d.ts +1 -1
- package/types/api/logger-logs.d.ts +1 -1
- package/types/api/logger-lookup.d.ts +1 -1
- package/types/api/logger-patch-config-request.d.ts +1 -1
- package/types/api/logger-service-api.d.ts +1 -1
- package/types/api/logger-system-objects.d.ts +1 -1
- package/types/api/logger-update-config-request.d.ts +1 -1
- package/types/api/managers-api.d.ts +1 -1
- package/types/api/media-file-service-api.d.ts +1 -1
- package/types/api/member-service-api.d.ts +1 -1
- package/types/api/newcontact-source-changes.d.ts +1 -1
- package/types/api/newupdate-of-the-email-address-link.d.ts +1 -1
- package/types/api/newupdate-of-the-email-address-link1.d.ts +1 -1
- package/types/api/newupdate-of-the-manager-link.d.ts +1 -1
- package/types/api/newupdate-of-the-manager-link1.d.ts +1 -1
- package/types/api/newupdate-of-the-phone-number-details.d.ts +1 -1
- package/types/api/newupdate-of-the-phone-number-details1.d.ts +1 -1
- package/types/api/newvariable-update.d.ts +1 -1
- package/types/api/newvariable-update1.d.ts +1 -1
- package/types/api/outbound-resource-group-service-api.d.ts +1 -1
- package/types/api/outbound-resource-service-api.d.ts +1 -1
- package/types/api/phones-api.d.ts +9 -9
- package/types/api/phones-api.d.ts.map +1 -1
- package/types/api/preset-query-service-api.d.ts +1 -1
- package/types/api/protobuf-any.d.ts +1 -1
- package/types/api/protobuf-null-value.d.ts +1 -1
- package/types/api/question-option.d.ts +1 -1
- package/types/api/queue-bucket-service-api.d.ts +1 -1
- package/types/api/queue-hook-service-api.d.ts +1 -1
- package/types/api/queue-resources-service-api.d.ts +1 -1
- package/types/api/queue-service-api.d.ts +1 -1
- package/types/api/queue-skill-service-api.d.ts +1 -1
- package/types/api/region-service-api.d.ts +1 -1
- package/types/api/routing-chat-plan-service-api.d.ts +1 -1
- package/types/api/routing-outbound-call-service-api.d.ts +1 -1
- package/types/api/routing-schema-service-api.d.ts +1 -1
- package/types/api/routing-variable-service-api.d.ts +1 -1
- package/types/api/runtime-error.d.ts +1 -1
- package/types/api/runtime-stream-error.d.ts +1 -1
- package/types/api/skill-service-api.d.ts +1 -1
- package/types/api/start-file-transcript-response-transcript-job.d.ts +1 -1
- package/types/api/storage-backend-profile.d.ts +1 -1
- package/types/api/storage-cognitive-profile.d.ts +1 -1
- package/types/api/storage-create-backend-profile-request.d.ts +1 -1
- package/types/api/storage-create-cognitive-profile-request.d.ts +1 -1
- package/types/api/storage-create-import-template-request.d.ts +1 -1
- package/types/api/storage-delete-file-transcript-request.d.ts +1 -1
- package/types/api/storage-delete-file-transcript-response.d.ts +1 -1
- package/types/api/storage-delete-files-request.d.ts +1 -1
- package/types/api/storage-import-source-type.d.ts +1 -1
- package/types/api/storage-import-template.d.ts +1 -1
- package/types/api/storage-list-backend-profile.d.ts +1 -1
- package/types/api/storage-list-cognitive-profile.d.ts +1 -1
- package/types/api/storage-list-import-template.d.ts +1 -1
- package/types/api/storage-list-media.d.ts +1 -1
- package/types/api/storage-list-phrases.d.ts +1 -1
- package/types/api/storage-media-file.d.ts +1 -1
- package/types/api/storage-patch-backend-profile-request.d.ts +1 -1
- package/types/api/storage-patch-cognitive-profile-request.d.ts +1 -1
- package/types/api/storage-patch-import-template-request.d.ts +1 -1
- package/types/api/storage-provider-type.d.ts +1 -1
- package/types/api/storage-service-type.d.ts +1 -1
- package/types/api/storage-start-file-transcript-request.d.ts +1 -1
- package/types/api/storage-start-file-transcript-response.d.ts +1 -1
- package/types/api/storage-stream-file-metadata.d.ts +1 -1
- package/types/api/storage-stream-file.d.ts +1 -1
- package/types/api/storage-transcript-phrase.d.ts +1 -1
- package/types/api/storage-update-backend-profile-request.d.ts +1 -1
- package/types/api/storage-update-cognitive-profile-request.d.ts +1 -1
- package/types/api/storage-update-import-template-request.d.ts +1 -1
- package/types/api/storage-upload-file-request-metadata.d.ts +1 -1
- package/types/api/storage-upload-file-response.d.ts +1 -1
- package/types/api/storage-upload-file-url-response.d.ts +1 -1
- package/types/api/storage-upload-status-code.d.ts +1 -1
- package/types/api/system-setting-service-api.d.ts +1 -1
- package/types/api/trigger-service-api.d.ts +1 -1
- package/types/api/user-helper-service-api.d.ts +1 -1
- package/types/api/variables-api.d.ts +1 -1
- package/types/api/webitel-chat-chat-customers.d.ts +45 -0
- package/types/api/webitel-chat-chat-customers.d.ts.map +1 -0
- package/types/api/webitel-chat-chat-dialogs.d.ts +38 -0
- package/types/api/webitel-chat-chat-dialogs.d.ts.map +1 -0
- package/types/api/webitel-chat-chat-invite.d.ts +31 -0
- package/types/api/webitel-chat-chat-invite.d.ts.map +1 -0
- package/types/api/webitel-chat-chat-members.d.ts +38 -0
- package/types/api/webitel-chat-chat-members.d.ts.map +1 -0
- package/types/api/webitel-chat-chat-messages-request-offset.d.ts +31 -0
- package/types/api/webitel-chat-chat-messages-request-offset.d.ts.map +1 -0
- package/types/api/webitel-chat-chat-messages.d.ts +52 -0
- package/types/api/webitel-chat-chat-messages.d.ts.map +1 -0
- package/types/api/webitel-chat-chat.d.ts +77 -0
- package/types/api/webitel-chat-chat.d.ts.map +1 -0
- package/types/api/webitel-chat-customer.d.ts +44 -0
- package/types/api/webitel-chat-customer.d.ts.map +1 -0
- package/types/api/webitel-chat-dialog.d.ts +90 -0
- package/types/api/webitel-chat-dialog.d.ts.map +1 -0
- package/types/api/webitel-chat-file.d.ts +43 -0
- package/types/api/webitel-chat-file.d.ts.map +1 -0
- package/types/api/webitel-chat-message.d.ts +78 -0
- package/types/api/webitel-chat-message.d.ts.map +1 -0
- package/types/api/webitel-chat-peer.d.ts +37 -0
- package/types/api/webitel-chat-peer.d.ts.map +1 -0
- package/types/api/webitel-chat-timerange.d.ts +31 -0
- package/types/api/webitel-chat-timerange.d.ts.map +1 -0
- package/types/api/webitel-contacts-access-mode.d.ts +1 -1
- package/types/api/webitel-contacts-comment-format-codeblock.d.ts +1 -1
- package/types/api/webitel-contacts-comment-format-link.d.ts +1 -1
- package/types/api/webitel-contacts-comment-format.d.ts +1 -1
- package/types/api/webitel-contacts-comment-list.d.ts +1 -1
- package/types/api/webitel-contacts-comment.d.ts +1 -1
- package/types/api/webitel-contacts-contact-list.d.ts +1 -1
- package/types/api/webitel-contacts-contact.d.ts +1 -1
- package/types/api/webitel-contacts-email-address.d.ts +1 -1
- package/types/api/webitel-contacts-email-list.d.ts +1 -1
- package/types/api/webitel-contacts-imclient-list.d.ts +1 -1
- package/types/api/webitel-contacts-imclient.d.ts +1 -1
- package/types/api/webitel-contacts-input-comment.d.ts +1 -1
- package/types/api/webitel-contacts-input-contact.d.ts +1 -1
- package/types/api/webitel-contacts-input-email-address.d.ts +1 -1
- package/types/api/webitel-contacts-input-imclient.d.ts +1 -1
- package/types/api/webitel-contacts-input-label.d.ts +1 -1
- package/types/api/webitel-contacts-input-language.d.ts +1 -1
- package/types/api/webitel-contacts-input-manager.d.ts +1 -1
- package/types/api/webitel-contacts-input-name.d.ts +1 -1
- package/types/api/webitel-contacts-input-phone-number.d.ts +1 -1
- package/types/api/webitel-contacts-input-photo.d.ts +1 -1
- package/types/api/webitel-contacts-input-timezone.d.ts +1 -1
- package/types/api/webitel-contacts-input-variable.d.ts +1 -1
- package/types/api/webitel-contacts-label-info.d.ts +1 -1
- package/types/api/webitel-contacts-label-list.d.ts +1 -1
- package/types/api/webitel-contacts-label-tags.d.ts +1 -1
- package/types/api/webitel-contacts-label.d.ts +1 -1
- package/types/api/webitel-contacts-language-list.d.ts +1 -1
- package/types/api/webitel-contacts-language.d.ts +1 -1
- package/types/api/webitel-contacts-lookup.d.ts +1 -1
- package/types/api/webitel-contacts-manager-list.d.ts +1 -1
- package/types/api/webitel-contacts-manager.d.ts +1 -1
- package/types/api/webitel-contacts-name.d.ts +1 -1
- package/types/api/webitel-contacts-phone-list.d.ts +1 -1
- package/types/api/webitel-contacts-phone-number.d.ts +1 -1
- package/types/api/webitel-contacts-photo-list.d.ts +1 -1
- package/types/api/webitel-contacts-photo.d.ts +1 -1
- package/types/api/webitel-contacts-timezone-list.d.ts +1 -1
- package/types/api/webitel-contacts-timezone.d.ts +1 -1
- package/types/api/webitel-contacts-variable-list.d.ts +1 -1
- package/types/api/webitel-contacts-variable.d.ts +1 -1
- package/types/api.d.ts +2 -1
- package/types/api.d.ts.map +1 -1
- package/types/base.d.ts +1 -1
- package/types/configuration.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/types/socket/agent.d.ts +3 -0
- package/types/socket/agent.d.ts.map +1 -1
|
@@ -0,0 +1,969 @@
|
|
|
1
|
+
// tslint:disable
|
|
2
|
+
/**
|
|
3
|
+
* Webitel API
|
|
4
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 23.07.0
|
|
7
|
+
* Contact: support@webitel.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
import { __assign, __awaiter, __extends, __generator } from "tslib";
|
|
14
|
+
import * as globalImportUrl from 'url';
|
|
15
|
+
import globalAxios from 'axios';
|
|
16
|
+
// Some imports not used depending on template conditions
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { BASE_PATH, BaseAPI, RequiredError, } from '../base';
|
|
19
|
+
/**
|
|
20
|
+
* CatalogApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export var CatalogApiAxiosParamCreator = function (configuration) {
|
|
24
|
+
var _this = this;
|
|
25
|
+
return {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @summary Query of external chat customers
|
|
29
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
30
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
31
|
+
* @param {string} [q] Search term: peer{id,name}
|
|
32
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
33
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
34
|
+
* @param {Array<string>} [id] Set of unique contact **ID**entifier(s).
|
|
35
|
+
* @param {string} [type] The type of contact to filter.
|
|
36
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
37
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
38
|
+
* @param {string} [viaName] Contact display **name**.
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getCustomers: function (page, size, q, sort, fields, id, type, viaId, viaType, viaName, options) {
|
|
43
|
+
if (options === void 0) { options = {}; }
|
|
44
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
45
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
46
|
+
return __generator(this, function (_b) {
|
|
47
|
+
switch (_b.label) {
|
|
48
|
+
case 0:
|
|
49
|
+
localVarPath = "/chat/customers";
|
|
50
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
51
|
+
if (configuration) {
|
|
52
|
+
baseOptions = configuration.baseOptions;
|
|
53
|
+
}
|
|
54
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
55
|
+
localVarHeaderParameter = {};
|
|
56
|
+
localVarQueryParameter = {};
|
|
57
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
58
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
59
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
60
|
+
case 1:
|
|
61
|
+
_a = _b.sent();
|
|
62
|
+
return [3 /*break*/, 4];
|
|
63
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
64
|
+
case 3:
|
|
65
|
+
_a = _b.sent();
|
|
66
|
+
_b.label = 4;
|
|
67
|
+
case 4:
|
|
68
|
+
localVarApiKeyValue = _a;
|
|
69
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
70
|
+
_b.label = 5;
|
|
71
|
+
case 5:
|
|
72
|
+
if (page !== undefined) {
|
|
73
|
+
localVarQueryParameter['page'] = page;
|
|
74
|
+
}
|
|
75
|
+
if (size !== undefined) {
|
|
76
|
+
localVarQueryParameter['size'] = size;
|
|
77
|
+
}
|
|
78
|
+
if (q !== undefined) {
|
|
79
|
+
localVarQueryParameter['q'] = q;
|
|
80
|
+
}
|
|
81
|
+
if (sort) {
|
|
82
|
+
localVarQueryParameter['sort'] = sort;
|
|
83
|
+
}
|
|
84
|
+
if (fields) {
|
|
85
|
+
localVarQueryParameter['fields'] = fields;
|
|
86
|
+
}
|
|
87
|
+
if (id) {
|
|
88
|
+
localVarQueryParameter['id'] = id;
|
|
89
|
+
}
|
|
90
|
+
if (type !== undefined) {
|
|
91
|
+
localVarQueryParameter['type'] = type;
|
|
92
|
+
}
|
|
93
|
+
if (viaId !== undefined) {
|
|
94
|
+
localVarQueryParameter['via.id'] = viaId;
|
|
95
|
+
}
|
|
96
|
+
if (viaType !== undefined) {
|
|
97
|
+
localVarQueryParameter['via.type'] = viaType;
|
|
98
|
+
}
|
|
99
|
+
if (viaName !== undefined) {
|
|
100
|
+
localVarQueryParameter['via.name'] = viaName;
|
|
101
|
+
}
|
|
102
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
103
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
104
|
+
delete localVarUrlObj.search;
|
|
105
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107
|
+
return [2 /*return*/, {
|
|
108
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
}];
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
},
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @summary Query of chat conversations
|
|
118
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
119
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
120
|
+
* @param {string} [q] Search term: peer.name
|
|
121
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
122
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
123
|
+
* @param {Array<string>} [id] Set of unique chat IDentifier(s). Accept: dialog -or- member ID.
|
|
124
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
125
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
126
|
+
* @param {string} [viaName] Contact display **name**.
|
|
127
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
128
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
129
|
+
* @param {string} [peerName] Contact display **name**.
|
|
130
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
131
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
132
|
+
* @param {boolean} [online] Dialogs ONLY that are currently [not] active( closed: ? ).
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
getDialogs: function (page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options) {
|
|
137
|
+
if (options === void 0) { options = {}; }
|
|
138
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
139
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
140
|
+
return __generator(this, function (_b) {
|
|
141
|
+
switch (_b.label) {
|
|
142
|
+
case 0:
|
|
143
|
+
localVarPath = "/chat/dialogs";
|
|
144
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
145
|
+
if (configuration) {
|
|
146
|
+
baseOptions = configuration.baseOptions;
|
|
147
|
+
}
|
|
148
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
149
|
+
localVarHeaderParameter = {};
|
|
150
|
+
localVarQueryParameter = {};
|
|
151
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
152
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
153
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
154
|
+
case 1:
|
|
155
|
+
_a = _b.sent();
|
|
156
|
+
return [3 /*break*/, 4];
|
|
157
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
158
|
+
case 3:
|
|
159
|
+
_a = _b.sent();
|
|
160
|
+
_b.label = 4;
|
|
161
|
+
case 4:
|
|
162
|
+
localVarApiKeyValue = _a;
|
|
163
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
164
|
+
_b.label = 5;
|
|
165
|
+
case 5:
|
|
166
|
+
if (page !== undefined) {
|
|
167
|
+
localVarQueryParameter['page'] = page;
|
|
168
|
+
}
|
|
169
|
+
if (size !== undefined) {
|
|
170
|
+
localVarQueryParameter['size'] = size;
|
|
171
|
+
}
|
|
172
|
+
if (q !== undefined) {
|
|
173
|
+
localVarQueryParameter['q'] = q;
|
|
174
|
+
}
|
|
175
|
+
if (sort) {
|
|
176
|
+
localVarQueryParameter['sort'] = sort;
|
|
177
|
+
}
|
|
178
|
+
if (fields) {
|
|
179
|
+
localVarQueryParameter['fields'] = fields;
|
|
180
|
+
}
|
|
181
|
+
if (id) {
|
|
182
|
+
localVarQueryParameter['id'] = id;
|
|
183
|
+
}
|
|
184
|
+
if (viaId !== undefined) {
|
|
185
|
+
localVarQueryParameter['via.id'] = viaId;
|
|
186
|
+
}
|
|
187
|
+
if (viaType !== undefined) {
|
|
188
|
+
localVarQueryParameter['via.type'] = viaType;
|
|
189
|
+
}
|
|
190
|
+
if (viaName !== undefined) {
|
|
191
|
+
localVarQueryParameter['via.name'] = viaName;
|
|
192
|
+
}
|
|
193
|
+
if (peerId !== undefined) {
|
|
194
|
+
localVarQueryParameter['peer.id'] = peerId;
|
|
195
|
+
}
|
|
196
|
+
if (peerType !== undefined) {
|
|
197
|
+
localVarQueryParameter['peer.type'] = peerType;
|
|
198
|
+
}
|
|
199
|
+
if (peerName !== undefined) {
|
|
200
|
+
localVarQueryParameter['peer.name'] = peerName;
|
|
201
|
+
}
|
|
202
|
+
if (dateSince !== undefined) {
|
|
203
|
+
localVarQueryParameter['date.since'] = dateSince;
|
|
204
|
+
}
|
|
205
|
+
if (dateUntil !== undefined) {
|
|
206
|
+
localVarQueryParameter['date.until'] = dateUntil;
|
|
207
|
+
}
|
|
208
|
+
if (online !== undefined) {
|
|
209
|
+
localVarQueryParameter['online'] = online;
|
|
210
|
+
}
|
|
211
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
212
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
213
|
+
delete localVarUrlObj.search;
|
|
214
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
216
|
+
return [2 /*return*/, {
|
|
217
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
218
|
+
options: localVarRequestOptions,
|
|
219
|
+
}];
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
},
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @summary Query of chat messages history
|
|
227
|
+
* @param {string} chatId Unique chat dialog
|
|
228
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
229
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
230
|
+
* @param {number} [limit] Number of messages to return.
|
|
231
|
+
* @param {string} [q] Search term: message.text
|
|
232
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
233
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
234
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
235
|
+
* @param {string} [peerName] Contact display **name**.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
getHistory: function (chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options) {
|
|
240
|
+
if (options === void 0) { options = {}; }
|
|
241
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
242
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
243
|
+
return __generator(this, function (_b) {
|
|
244
|
+
switch (_b.label) {
|
|
245
|
+
case 0:
|
|
246
|
+
// verify required parameter 'chatId' is not null or undefined
|
|
247
|
+
if (chatId === null || chatId === undefined) {
|
|
248
|
+
throw new RequiredError('chatId', 'Required parameter chatId was null or undefined when calling getHistory.');
|
|
249
|
+
}
|
|
250
|
+
localVarPath = "/chat/dialogs/{chat_id}/messages".replace("{" + 'chat_id' + "}", encodeURIComponent(String(chatId)));
|
|
251
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
252
|
+
if (configuration) {
|
|
253
|
+
baseOptions = configuration.baseOptions;
|
|
254
|
+
}
|
|
255
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
256
|
+
localVarHeaderParameter = {};
|
|
257
|
+
localVarQueryParameter = {};
|
|
258
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
259
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
260
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
261
|
+
case 1:
|
|
262
|
+
_a = _b.sent();
|
|
263
|
+
return [3 /*break*/, 4];
|
|
264
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
265
|
+
case 3:
|
|
266
|
+
_a = _b.sent();
|
|
267
|
+
_b.label = 4;
|
|
268
|
+
case 4:
|
|
269
|
+
localVarApiKeyValue = _a;
|
|
270
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
271
|
+
_b.label = 5;
|
|
272
|
+
case 5:
|
|
273
|
+
if (offsetId !== undefined) {
|
|
274
|
+
localVarQueryParameter['offset.id'] = offsetId;
|
|
275
|
+
}
|
|
276
|
+
if (offsetDate !== undefined) {
|
|
277
|
+
localVarQueryParameter['offset.date'] = offsetDate;
|
|
278
|
+
}
|
|
279
|
+
if (limit !== undefined) {
|
|
280
|
+
localVarQueryParameter['limit'] = limit;
|
|
281
|
+
}
|
|
282
|
+
if (q !== undefined) {
|
|
283
|
+
localVarQueryParameter['q'] = q;
|
|
284
|
+
}
|
|
285
|
+
if (fields) {
|
|
286
|
+
localVarQueryParameter['fields'] = fields;
|
|
287
|
+
}
|
|
288
|
+
if (peerId !== undefined) {
|
|
289
|
+
localVarQueryParameter['peer.id'] = peerId;
|
|
290
|
+
}
|
|
291
|
+
if (peerType !== undefined) {
|
|
292
|
+
localVarQueryParameter['peer.type'] = peerType;
|
|
293
|
+
}
|
|
294
|
+
if (peerName !== undefined) {
|
|
295
|
+
localVarQueryParameter['peer.name'] = peerName;
|
|
296
|
+
}
|
|
297
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
298
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
299
|
+
delete localVarUrlObj.search;
|
|
300
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
302
|
+
return [2 /*return*/, {
|
|
303
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
304
|
+
options: localVarRequestOptions,
|
|
305
|
+
}];
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary Query of chat messages history
|
|
313
|
+
* @param {string} peerType Contact **type** provider.
|
|
314
|
+
* @param {string} peerId Contact unique **ID**entifier. Contact **type**-specific string.
|
|
315
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
316
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
317
|
+
* @param {number} [limit] Number of messages to return.
|
|
318
|
+
* @param {string} [q] Search term: message.text
|
|
319
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
320
|
+
* @param {string} [chatId] Unique chat dialog
|
|
321
|
+
* @param {string} [peerName] Contact display **name**.
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
getHistory2: function (peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options) {
|
|
326
|
+
if (options === void 0) { options = {}; }
|
|
327
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
328
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
329
|
+
return __generator(this, function (_b) {
|
|
330
|
+
switch (_b.label) {
|
|
331
|
+
case 0:
|
|
332
|
+
// verify required parameter 'peerType' is not null or undefined
|
|
333
|
+
if (peerType === null || peerType === undefined) {
|
|
334
|
+
throw new RequiredError('peerType', 'Required parameter peerType was null or undefined when calling getHistory2.');
|
|
335
|
+
}
|
|
336
|
+
// verify required parameter 'peerId' is not null or undefined
|
|
337
|
+
if (peerId === null || peerId === undefined) {
|
|
338
|
+
throw new RequiredError('peerId', 'Required parameter peerId was null or undefined when calling getHistory2.');
|
|
339
|
+
}
|
|
340
|
+
localVarPath = "/chat/{peer.type}/{peer.id}/messages"
|
|
341
|
+
.replace("{" + 'peer.type' + "}", encodeURIComponent(String(peerType)))
|
|
342
|
+
.replace("{" + 'peer.id' + "}", encodeURIComponent(String(peerId)));
|
|
343
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
344
|
+
if (configuration) {
|
|
345
|
+
baseOptions = configuration.baseOptions;
|
|
346
|
+
}
|
|
347
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
348
|
+
localVarHeaderParameter = {};
|
|
349
|
+
localVarQueryParameter = {};
|
|
350
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
351
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
352
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
353
|
+
case 1:
|
|
354
|
+
_a = _b.sent();
|
|
355
|
+
return [3 /*break*/, 4];
|
|
356
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
357
|
+
case 3:
|
|
358
|
+
_a = _b.sent();
|
|
359
|
+
_b.label = 4;
|
|
360
|
+
case 4:
|
|
361
|
+
localVarApiKeyValue = _a;
|
|
362
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
363
|
+
_b.label = 5;
|
|
364
|
+
case 5:
|
|
365
|
+
if (offsetId !== undefined) {
|
|
366
|
+
localVarQueryParameter['offset.id'] = offsetId;
|
|
367
|
+
}
|
|
368
|
+
if (offsetDate !== undefined) {
|
|
369
|
+
localVarQueryParameter['offset.date'] = offsetDate;
|
|
370
|
+
}
|
|
371
|
+
if (limit !== undefined) {
|
|
372
|
+
localVarQueryParameter['limit'] = limit;
|
|
373
|
+
}
|
|
374
|
+
if (q !== undefined) {
|
|
375
|
+
localVarQueryParameter['q'] = q;
|
|
376
|
+
}
|
|
377
|
+
if (fields) {
|
|
378
|
+
localVarQueryParameter['fields'] = fields;
|
|
379
|
+
}
|
|
380
|
+
if (chatId !== undefined) {
|
|
381
|
+
localVarQueryParameter['chat_id'] = chatId;
|
|
382
|
+
}
|
|
383
|
+
if (peerName !== undefined) {
|
|
384
|
+
localVarQueryParameter['peer.name'] = peerName;
|
|
385
|
+
}
|
|
386
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
387
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
388
|
+
delete localVarUrlObj.search;
|
|
389
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
391
|
+
return [2 /*return*/, {
|
|
392
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
393
|
+
options: localVarRequestOptions,
|
|
394
|
+
}];
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
});
|
|
398
|
+
},
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @summary Query of chat participants
|
|
402
|
+
* @param {string} chatId ID of the chat dialog.
|
|
403
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
404
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
405
|
+
* @param {string} [q] Search term: peer(type;name)
|
|
406
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
407
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
408
|
+
* @param {Array<string>} [id] Set of unique chat member ID.
|
|
409
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
410
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
411
|
+
* @param {string} [viaName] Contact display **name**.
|
|
412
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
413
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
414
|
+
* @param {string} [peerName] Contact display **name**.
|
|
415
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
416
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
417
|
+
* @param {boolean} [online] Participants ONLY who are currently [not] connected to the chat. ( left: ( 0 ? online : offline ) )
|
|
418
|
+
* @param {boolean} [joined] Participants ONLY who have [not] been connected to the chat. ( join: ( 0 ? [request|abandoned] : connected ) )
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
getMembers: function (chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options) {
|
|
423
|
+
if (options === void 0) { options = {}; }
|
|
424
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
425
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
426
|
+
return __generator(this, function (_b) {
|
|
427
|
+
switch (_b.label) {
|
|
428
|
+
case 0:
|
|
429
|
+
// verify required parameter 'chatId' is not null or undefined
|
|
430
|
+
if (chatId === null || chatId === undefined) {
|
|
431
|
+
throw new RequiredError('chatId', 'Required parameter chatId was null or undefined when calling getMembers.');
|
|
432
|
+
}
|
|
433
|
+
localVarPath = "/chat/dialogs/{chat_id}/members".replace("{" + 'chat_id' + "}", encodeURIComponent(String(chatId)));
|
|
434
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
435
|
+
if (configuration) {
|
|
436
|
+
baseOptions = configuration.baseOptions;
|
|
437
|
+
}
|
|
438
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
439
|
+
localVarHeaderParameter = {};
|
|
440
|
+
localVarQueryParameter = {};
|
|
441
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
442
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
443
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
444
|
+
case 1:
|
|
445
|
+
_a = _b.sent();
|
|
446
|
+
return [3 /*break*/, 4];
|
|
447
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
448
|
+
case 3:
|
|
449
|
+
_a = _b.sent();
|
|
450
|
+
_b.label = 4;
|
|
451
|
+
case 4:
|
|
452
|
+
localVarApiKeyValue = _a;
|
|
453
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
454
|
+
_b.label = 5;
|
|
455
|
+
case 5:
|
|
456
|
+
if (page !== undefined) {
|
|
457
|
+
localVarQueryParameter['page'] = page;
|
|
458
|
+
}
|
|
459
|
+
if (size !== undefined) {
|
|
460
|
+
localVarQueryParameter['size'] = size;
|
|
461
|
+
}
|
|
462
|
+
if (q !== undefined) {
|
|
463
|
+
localVarQueryParameter['q'] = q;
|
|
464
|
+
}
|
|
465
|
+
if (sort) {
|
|
466
|
+
localVarQueryParameter['sort'] = sort;
|
|
467
|
+
}
|
|
468
|
+
if (fields) {
|
|
469
|
+
localVarQueryParameter['fields'] = fields;
|
|
470
|
+
}
|
|
471
|
+
if (id) {
|
|
472
|
+
localVarQueryParameter['id'] = id;
|
|
473
|
+
}
|
|
474
|
+
if (viaId !== undefined) {
|
|
475
|
+
localVarQueryParameter['via.id'] = viaId;
|
|
476
|
+
}
|
|
477
|
+
if (viaType !== undefined) {
|
|
478
|
+
localVarQueryParameter['via.type'] = viaType;
|
|
479
|
+
}
|
|
480
|
+
if (viaName !== undefined) {
|
|
481
|
+
localVarQueryParameter['via.name'] = viaName;
|
|
482
|
+
}
|
|
483
|
+
if (peerId !== undefined) {
|
|
484
|
+
localVarQueryParameter['peer.id'] = peerId;
|
|
485
|
+
}
|
|
486
|
+
if (peerType !== undefined) {
|
|
487
|
+
localVarQueryParameter['peer.type'] = peerType;
|
|
488
|
+
}
|
|
489
|
+
if (peerName !== undefined) {
|
|
490
|
+
localVarQueryParameter['peer.name'] = peerName;
|
|
491
|
+
}
|
|
492
|
+
if (dateSince !== undefined) {
|
|
493
|
+
localVarQueryParameter['date.since'] = dateSince;
|
|
494
|
+
}
|
|
495
|
+
if (dateUntil !== undefined) {
|
|
496
|
+
localVarQueryParameter['date.until'] = dateUntil;
|
|
497
|
+
}
|
|
498
|
+
if (online !== undefined) {
|
|
499
|
+
localVarQueryParameter['online'] = online;
|
|
500
|
+
}
|
|
501
|
+
if (joined !== undefined) {
|
|
502
|
+
localVarQueryParameter['joined'] = joined;
|
|
503
|
+
}
|
|
504
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
505
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
506
|
+
delete localVarUrlObj.search;
|
|
507
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
508
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
509
|
+
return [2 /*return*/, {
|
|
510
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
511
|
+
options: localVarRequestOptions,
|
|
512
|
+
}];
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
},
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
/**
|
|
520
|
+
* CatalogApi - functional programming interface
|
|
521
|
+
* @export
|
|
522
|
+
*/
|
|
523
|
+
export var CatalogApiFp = function (configuration) {
|
|
524
|
+
return {
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @summary Query of external chat customers
|
|
528
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
529
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
530
|
+
* @param {string} [q] Search term: peer{id,name}
|
|
531
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
532
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
533
|
+
* @param {Array<string>} [id] Set of unique contact **ID**entifier(s).
|
|
534
|
+
* @param {string} [type] The type of contact to filter.
|
|
535
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
536
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
537
|
+
* @param {string} [viaName] Contact display **name**.
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
getCustomers: function (page, size, q, sort, fields, id, type, viaId, viaType, viaName, options) {
|
|
542
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
543
|
+
var localVarAxiosArgs;
|
|
544
|
+
return __generator(this, function (_a) {
|
|
545
|
+
switch (_a.label) {
|
|
546
|
+
case 0: return [4 /*yield*/, CatalogApiAxiosParamCreator(configuration).getCustomers(page, size, q, sort, fields, id, type, viaId, viaType, viaName, options)];
|
|
547
|
+
case 1:
|
|
548
|
+
localVarAxiosArgs = _a.sent();
|
|
549
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
550
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
551
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
552
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
553
|
+
return axios.request(axiosRequestArgs);
|
|
554
|
+
}];
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
});
|
|
558
|
+
},
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @summary Query of chat conversations
|
|
562
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
563
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
564
|
+
* @param {string} [q] Search term: peer.name
|
|
565
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
566
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
567
|
+
* @param {Array<string>} [id] Set of unique chat IDentifier(s). Accept: dialog -or- member ID.
|
|
568
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
569
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
570
|
+
* @param {string} [viaName] Contact display **name**.
|
|
571
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
572
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
573
|
+
* @param {string} [peerName] Contact display **name**.
|
|
574
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
575
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
576
|
+
* @param {boolean} [online] Dialogs ONLY that are currently [not] active( closed: ? ).
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
*/
|
|
580
|
+
getDialogs: function (page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options) {
|
|
581
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
582
|
+
var localVarAxiosArgs;
|
|
583
|
+
return __generator(this, function (_a) {
|
|
584
|
+
switch (_a.label) {
|
|
585
|
+
case 0: return [4 /*yield*/, CatalogApiAxiosParamCreator(configuration).getDialogs(page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options)];
|
|
586
|
+
case 1:
|
|
587
|
+
localVarAxiosArgs = _a.sent();
|
|
588
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
589
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
590
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
591
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
592
|
+
return axios.request(axiosRequestArgs);
|
|
593
|
+
}];
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
});
|
|
597
|
+
},
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @summary Query of chat messages history
|
|
601
|
+
* @param {string} chatId Unique chat dialog
|
|
602
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
603
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
604
|
+
* @param {number} [limit] Number of messages to return.
|
|
605
|
+
* @param {string} [q] Search term: message.text
|
|
606
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
607
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
608
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
609
|
+
* @param {string} [peerName] Contact display **name**.
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
getHistory: function (chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options) {
|
|
614
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
615
|
+
var localVarAxiosArgs;
|
|
616
|
+
return __generator(this, function (_a) {
|
|
617
|
+
switch (_a.label) {
|
|
618
|
+
case 0: return [4 /*yield*/, CatalogApiAxiosParamCreator(configuration).getHistory(chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options)];
|
|
619
|
+
case 1:
|
|
620
|
+
localVarAxiosArgs = _a.sent();
|
|
621
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
622
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
623
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
624
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
625
|
+
return axios.request(axiosRequestArgs);
|
|
626
|
+
}];
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
});
|
|
630
|
+
},
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* @summary Query of chat messages history
|
|
634
|
+
* @param {string} peerType Contact **type** provider.
|
|
635
|
+
* @param {string} peerId Contact unique **ID**entifier. Contact **type**-specific string.
|
|
636
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
637
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
638
|
+
* @param {number} [limit] Number of messages to return.
|
|
639
|
+
* @param {string} [q] Search term: message.text
|
|
640
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
641
|
+
* @param {string} [chatId] Unique chat dialog
|
|
642
|
+
* @param {string} [peerName] Contact display **name**.
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
*/
|
|
646
|
+
getHistory2: function (peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options) {
|
|
647
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
648
|
+
var localVarAxiosArgs;
|
|
649
|
+
return __generator(this, function (_a) {
|
|
650
|
+
switch (_a.label) {
|
|
651
|
+
case 0: return [4 /*yield*/, CatalogApiAxiosParamCreator(configuration).getHistory2(peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options)];
|
|
652
|
+
case 1:
|
|
653
|
+
localVarAxiosArgs = _a.sent();
|
|
654
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
655
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
656
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
657
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
658
|
+
return axios.request(axiosRequestArgs);
|
|
659
|
+
}];
|
|
660
|
+
}
|
|
661
|
+
});
|
|
662
|
+
});
|
|
663
|
+
},
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* @summary Query of chat participants
|
|
667
|
+
* @param {string} chatId ID of the chat dialog.
|
|
668
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
669
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
670
|
+
* @param {string} [q] Search term: peer(type;name)
|
|
671
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
672
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
673
|
+
* @param {Array<string>} [id] Set of unique chat member ID.
|
|
674
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
675
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
676
|
+
* @param {string} [viaName] Contact display **name**.
|
|
677
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
678
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
679
|
+
* @param {string} [peerName] Contact display **name**.
|
|
680
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
681
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
682
|
+
* @param {boolean} [online] Participants ONLY who are currently [not] connected to the chat. ( left: ( 0 ? online : offline ) )
|
|
683
|
+
* @param {boolean} [joined] Participants ONLY who have [not] been connected to the chat. ( join: ( 0 ? [request|abandoned] : connected ) )
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
*/
|
|
687
|
+
getMembers: function (chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options) {
|
|
688
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
689
|
+
var localVarAxiosArgs;
|
|
690
|
+
return __generator(this, function (_a) {
|
|
691
|
+
switch (_a.label) {
|
|
692
|
+
case 0: return [4 /*yield*/, CatalogApiAxiosParamCreator(configuration).getMembers(chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options)];
|
|
693
|
+
case 1:
|
|
694
|
+
localVarAxiosArgs = _a.sent();
|
|
695
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
696
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
697
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
698
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
699
|
+
return axios.request(axiosRequestArgs);
|
|
700
|
+
}];
|
|
701
|
+
}
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
},
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* CatalogApi - factory interface
|
|
709
|
+
* @export
|
|
710
|
+
*/
|
|
711
|
+
export var CatalogApiFactory = function (configuration, basePath, axios) {
|
|
712
|
+
return {
|
|
713
|
+
/**
|
|
714
|
+
*
|
|
715
|
+
* @summary Query of external chat customers
|
|
716
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
717
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
718
|
+
* @param {string} [q] Search term: peer{id,name}
|
|
719
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
720
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
721
|
+
* @param {Array<string>} [id] Set of unique contact **ID**entifier(s).
|
|
722
|
+
* @param {string} [type] The type of contact to filter.
|
|
723
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
724
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
725
|
+
* @param {string} [viaName] Contact display **name**.
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
getCustomers: function (page, size, q, sort, fields, id, type, viaId, viaType, viaName, options) {
|
|
730
|
+
return CatalogApiFp(configuration)
|
|
731
|
+
.getCustomers(page, size, q, sort, fields, id, type, viaId, viaType, viaName, options)
|
|
732
|
+
.then(function (request) { return request(axios, basePath); });
|
|
733
|
+
},
|
|
734
|
+
/**
|
|
735
|
+
*
|
|
736
|
+
* @summary Query of chat conversations
|
|
737
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
738
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
739
|
+
* @param {string} [q] Search term: peer.name
|
|
740
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
741
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
742
|
+
* @param {Array<string>} [id] Set of unique chat IDentifier(s). Accept: dialog -or- member ID.
|
|
743
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
744
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
745
|
+
* @param {string} [viaName] Contact display **name**.
|
|
746
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
747
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
748
|
+
* @param {string} [peerName] Contact display **name**.
|
|
749
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
750
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
751
|
+
* @param {boolean} [online] Dialogs ONLY that are currently [not] active( closed: ? ).
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
getDialogs: function (page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options) {
|
|
756
|
+
return CatalogApiFp(configuration)
|
|
757
|
+
.getDialogs(page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options)
|
|
758
|
+
.then(function (request) { return request(axios, basePath); });
|
|
759
|
+
},
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @summary Query of chat messages history
|
|
763
|
+
* @param {string} chatId Unique chat dialog
|
|
764
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
765
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
766
|
+
* @param {number} [limit] Number of messages to return.
|
|
767
|
+
* @param {string} [q] Search term: message.text
|
|
768
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
769
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
770
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
771
|
+
* @param {string} [peerName] Contact display **name**.
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
getHistory: function (chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options) {
|
|
776
|
+
return CatalogApiFp(configuration)
|
|
777
|
+
.getHistory(chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options)
|
|
778
|
+
.then(function (request) { return request(axios, basePath); });
|
|
779
|
+
},
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @summary Query of chat messages history
|
|
783
|
+
* @param {string} peerType Contact **type** provider.
|
|
784
|
+
* @param {string} peerId Contact unique **ID**entifier. Contact **type**-specific string.
|
|
785
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
786
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
787
|
+
* @param {number} [limit] Number of messages to return.
|
|
788
|
+
* @param {string} [q] Search term: message.text
|
|
789
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
790
|
+
* @param {string} [chatId] Unique chat dialog
|
|
791
|
+
* @param {string} [peerName] Contact display **name**.
|
|
792
|
+
* @param {*} [options] Override http request option.
|
|
793
|
+
* @throws {RequiredError}
|
|
794
|
+
*/
|
|
795
|
+
getHistory2: function (peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options) {
|
|
796
|
+
return CatalogApiFp(configuration)
|
|
797
|
+
.getHistory2(peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options)
|
|
798
|
+
.then(function (request) { return request(axios, basePath); });
|
|
799
|
+
},
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @summary Query of chat participants
|
|
803
|
+
* @param {string} chatId ID of the chat dialog.
|
|
804
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
805
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
806
|
+
* @param {string} [q] Search term: peer(type;name)
|
|
807
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
808
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
809
|
+
* @param {Array<string>} [id] Set of unique chat member ID.
|
|
810
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
811
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
812
|
+
* @param {string} [viaName] Contact display **name**.
|
|
813
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
814
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
815
|
+
* @param {string} [peerName] Contact display **name**.
|
|
816
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
817
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
818
|
+
* @param {boolean} [online] Participants ONLY who are currently [not] connected to the chat. ( left: ( 0 ? online : offline ) )
|
|
819
|
+
* @param {boolean} [joined] Participants ONLY who have [not] been connected to the chat. ( join: ( 0 ? [request|abandoned] : connected ) )
|
|
820
|
+
* @param {*} [options] Override http request option.
|
|
821
|
+
* @throws {RequiredError}
|
|
822
|
+
*/
|
|
823
|
+
getMembers: function (chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options) {
|
|
824
|
+
return CatalogApiFp(configuration)
|
|
825
|
+
.getMembers(chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options)
|
|
826
|
+
.then(function (request) { return request(axios, basePath); });
|
|
827
|
+
},
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
/**
|
|
831
|
+
* CatalogApi - object-oriented interface
|
|
832
|
+
* @export
|
|
833
|
+
* @class CatalogApi
|
|
834
|
+
* @extends {BaseAPI}
|
|
835
|
+
*/
|
|
836
|
+
var CatalogApi = /** @class */ (function (_super) {
|
|
837
|
+
__extends(CatalogApi, _super);
|
|
838
|
+
function CatalogApi() {
|
|
839
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
*
|
|
843
|
+
* @summary Query of external chat customers
|
|
844
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
845
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
846
|
+
* @param {string} [q] Search term: peer{id,name}
|
|
847
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
848
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
849
|
+
* @param {Array<string>} [id] Set of unique contact **ID**entifier(s).
|
|
850
|
+
* @param {string} [type] The type of contact to filter.
|
|
851
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
852
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
853
|
+
* @param {string} [viaName] Contact display **name**.
|
|
854
|
+
* @param {*} [options] Override http request option.
|
|
855
|
+
* @throws {RequiredError}
|
|
856
|
+
* @memberof CatalogApi
|
|
857
|
+
*/
|
|
858
|
+
CatalogApi.prototype.getCustomers = function (page, size, q, sort, fields, id, type, viaId, viaType, viaName, options) {
|
|
859
|
+
var _this = this;
|
|
860
|
+
return CatalogApiFp(this.configuration)
|
|
861
|
+
.getCustomers(page, size, q, sort, fields, id, type, viaId, viaType, viaName, options)
|
|
862
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @summary Query of chat conversations
|
|
867
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
868
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
869
|
+
* @param {string} [q] Search term: peer.name
|
|
870
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
871
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
872
|
+
* @param {Array<string>} [id] Set of unique chat IDentifier(s). Accept: dialog -or- member ID.
|
|
873
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
874
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
875
|
+
* @param {string} [viaName] Contact display **name**.
|
|
876
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
877
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
878
|
+
* @param {string} [peerName] Contact display **name**.
|
|
879
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
880
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
881
|
+
* @param {boolean} [online] Dialogs ONLY that are currently [not] active( closed: ? ).
|
|
882
|
+
* @param {*} [options] Override http request option.
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
* @memberof CatalogApi
|
|
885
|
+
*/
|
|
886
|
+
CatalogApi.prototype.getDialogs = function (page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options) {
|
|
887
|
+
var _this = this;
|
|
888
|
+
return CatalogApiFp(this.configuration)
|
|
889
|
+
.getDialogs(page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, options)
|
|
890
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
891
|
+
};
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @summary Query of chat messages history
|
|
895
|
+
* @param {string} chatId Unique chat dialog
|
|
896
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
897
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
898
|
+
* @param {number} [limit] Number of messages to return.
|
|
899
|
+
* @param {string} [q] Search term: message.text
|
|
900
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
901
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
902
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
903
|
+
* @param {string} [peerName] Contact display **name**.
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @throws {RequiredError}
|
|
906
|
+
* @memberof CatalogApi
|
|
907
|
+
*/
|
|
908
|
+
CatalogApi.prototype.getHistory = function (chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options) {
|
|
909
|
+
var _this = this;
|
|
910
|
+
return CatalogApiFp(this.configuration)
|
|
911
|
+
.getHistory(chatId, offsetId, offsetDate, limit, q, fields, peerId, peerType, peerName, options)
|
|
912
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @summary Query of chat messages history
|
|
917
|
+
* @param {string} peerType Contact **type** provider.
|
|
918
|
+
* @param {string} peerId Contact unique **ID**entifier. Contact **type**-specific string.
|
|
919
|
+
* @param {string} [offsetId] Messages ONLY starting from the specified message ID
|
|
920
|
+
* @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli).
|
|
921
|
+
* @param {number} [limit] Number of messages to return.
|
|
922
|
+
* @param {string} [q] Search term: message.text
|
|
923
|
+
* @param {Array<string>} [fields] Fields to return into result.
|
|
924
|
+
* @param {string} [chatId] Unique chat dialog
|
|
925
|
+
* @param {string} [peerName] Contact display **name**.
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
* @memberof CatalogApi
|
|
929
|
+
*/
|
|
930
|
+
CatalogApi.prototype.getHistory2 = function (peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options) {
|
|
931
|
+
var _this = this;
|
|
932
|
+
return CatalogApiFp(this.configuration)
|
|
933
|
+
.getHistory2(peerType, peerId, offsetId, offsetDate, limit, q, fields, chatId, peerName, options)
|
|
934
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @summary Query of chat participants
|
|
939
|
+
* @param {string} chatId ID of the chat dialog.
|
|
940
|
+
* @param {number} [page] Page number to return. **default**: 1.
|
|
941
|
+
* @param {number} [size] Page records limit. **default**: 16.
|
|
942
|
+
* @param {string} [q] Search term: peer(type;name)
|
|
943
|
+
* @param {Array<string>} [sort] Sort records by { fields } specification.
|
|
944
|
+
* @param {Array<string>} [fields] Fields [Q]uery to build result dataset record.
|
|
945
|
+
* @param {Array<string>} [id] Set of unique chat member ID.
|
|
946
|
+
* @param {string} [viaId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
947
|
+
* @param {string} [viaType] Contact **type** provider.
|
|
948
|
+
* @param {string} [viaName] Contact display **name**.
|
|
949
|
+
* @param {string} [peerId] Contact unique **ID**entifier. Contact **type**-specific string.
|
|
950
|
+
* @param {string} [peerType] Contact **type** provider.
|
|
951
|
+
* @param {string} [peerName] Contact display **name**.
|
|
952
|
+
* @param {string} [dateSince] Since epochtime (milli). **Match**: greater than ..
|
|
953
|
+
* @param {string} [dateUntil] Until epochtime (milli). **Match**: less or equal ..
|
|
954
|
+
* @param {boolean} [online] Participants ONLY who are currently [not] connected to the chat. ( left: ( 0 ? online : offline ) )
|
|
955
|
+
* @param {boolean} [joined] Participants ONLY who have [not] been connected to the chat. ( join: ( 0 ? [request|abandoned] : connected ) )
|
|
956
|
+
* @param {*} [options] Override http request option.
|
|
957
|
+
* @throws {RequiredError}
|
|
958
|
+
* @memberof CatalogApi
|
|
959
|
+
*/
|
|
960
|
+
CatalogApi.prototype.getMembers = function (chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options) {
|
|
961
|
+
var _this = this;
|
|
962
|
+
return CatalogApiFp(this.configuration)
|
|
963
|
+
.getMembers(chatId, page, size, q, sort, fields, id, viaId, viaType, viaName, peerId, peerType, peerName, dateSince, dateUntil, online, joined, options)
|
|
964
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
965
|
+
};
|
|
966
|
+
return CatalogApi;
|
|
967
|
+
}(BaseAPI));
|
|
968
|
+
export { CatalogApi };
|
|
969
|
+
//# sourceMappingURL=catalog-api.js.map
|