"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.QueryMinutesShareListRequest = exports.QueryMinutesShareListHeaders = exports.QueryMinutesPlayInfoResponse = exports.QueryMinutesPlayInfoResponseBody = exports.QueryMinutesPlayInfoRequest = exports.QueryMinutesPlayInfoHeaders = exports.QueryMinutesKeywordResponse = exports.QueryMinutesKeywordResponseBody = exports.QueryMinutesKeywordRequest = exports.QueryMinutesKeywordHeaders = exports.QueryMinutesBasicInfoResponse = exports.QueryMinutesBasicInfoResponseBody = exports.QueryMinutesBasicInfoRequest = exports.QueryMinutesBasicInfoHeaders = exports.QueryCreateMinutesListResponse = exports.QueryCreateMinutesListResponseBody = exports.QueryCreateMinutesListRequest = exports.QueryCreateMinutesListHeaders = exports.QueryBizMinutesResponse = exports.QueryBizMinutesResponseBody = exports.QueryBizMinutesRequest = exports.QueryBizMinutesHeaders = exports.OpenQueryMinutesSummaryResponse = exports.OpenQueryMinutesSummaryResponseBody = exports.OpenQueryMinutesSummaryRequest = exports.OpenQueryMinutesSummaryHeaders = exports.GenerateSummaryResponse = exports.GenerateSummaryResponseBody = exports.GenerateSummaryRequest = exports.GenerateSummaryHeaders = exports.ExportMinutesTaskResultResponse = exports.ExportMinutesTaskResultResponseBody = exports.ExportMinutesTaskResultRequest = exports.ExportMinutesTaskResultHeaders = exports.DeleteMinutesResponse = exports.DeleteMinutesResponseBody = exports.DeleteMinutesRequest = exports.DeleteMinutesHeaders = exports.CreateSmartDeviceAiSummaryResponse = exports.CreateSmartDeviceAiSummaryResponseBody = exports.CreateSmartDeviceAiSummaryRequest = exports.CreateSmartDeviceAiSummaryHeaders = exports.CreateMinutesByUploadFileResponse = exports.CreateMinutesByUploadFileResponseBody = exports.CreateMinutesByUploadFileRequest = exports.CreateMinutesByUploadFileHeaders = exports.BatchGetMinutesDetailsResponse = exports.BatchGetMinutesDetailsResponseBody = exports.BatchGetMinutesDetailsRequest = exports.BatchGetMinutesDetailsHeaders = void 0;
exports.QueryUploadVideoPlayInfoResponseBodyPlayInfo = exports.QuerySmartDeviceAiSummaryResponseBodyAiSummaryList = exports.QueryScheduleConfMinutesResponseBodyMinutesDetails = exports.QueryMinutesTextResponseBodyParagraphList = exports.QueryMinutesTextResponseBodyParagraphListSentenceList = exports.QueryMinutesTextResponseBodyParagraphListSentenceListWordList = exports.QueryMinutesShareListResponseBodyMinutesDetails = exports.QueryMinutesPlayInfoResponseBodyPlayInfo = exports.QueryCreateMinutesListResponseBodyMinutesDetails = exports.QueryBizMinutesResponseBodyMinutesDetails = exports.ExportMinutesTaskResultRequestSummaryExportSetting = exports.BatchGetMinutesDetailsResponseBodyMinutesDetails = exports.UpdatePermissionResponse = exports.UpdatePermissionResponseBody = exports.UpdatePermissionRequest = exports.UpdatePermissionHeaders = exports.UpdateMinutesTitleResponse = exports.UpdateMinutesTitleResponseBody = exports.UpdateMinutesTitleRequest = exports.UpdateMinutesTitleHeaders = exports.QueryUploadVideoPlayInfoResponse = exports.QueryUploadVideoPlayInfoResponseBody = exports.QueryUploadVideoPlayInfoRequest = exports.QueryUploadVideoPlayInfoHeaders = exports.QuerySummaryWithTemplateResponse = exports.QuerySummaryWithTemplateResponseBody = exports.QuerySummaryWithTemplateRequest = exports.QuerySummaryWithTemplateHeaders = exports.QuerySmartDeviceAiSummaryResponse = exports.QuerySmartDeviceAiSummaryResponseBody = exports.QuerySmartDeviceAiSummaryRequest = exports.QuerySmartDeviceAiSummaryHeaders = exports.QueryScheduleConfMinutesResponse = exports.QueryScheduleConfMinutesResponseBody = exports.QueryScheduleConfMinutesRequest = exports.QueryScheduleConfMinutesHeaders = exports.QueryMinutesTodoResponse = exports.QueryMinutesTodoResponseBody = exports.QueryMinutesTodoRequest = exports.QueryMinutesTodoHeaders = exports.QueryMinutesTextResponse = exports.QueryMinutesTextResponseBody = exports.QueryMinutesTextRequest = exports.QueryMinutesTextHeaders = exports.QueryMinutesStatusResponse = exports.QueryMinutesStatusResponseBody = exports.QueryMinutesStatusRequest = exports.QueryMinutesStatusHeaders = exports.QueryMinutesShareListResponse = exports.QueryMinutesShareListResponseBody = void 0;
exports.UpdatePermissionResponseBodyFailMemberInfoList = exports.UpdatePermissionRequestMemberInfoList = void 0;
// This file is auto-generated, don't edit it
/**
 */
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
const gateway_dingtalk_1 = __importDefault(require("@alicloud/gateway-dingtalk"));
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
const $tea = __importStar(require("@alicloud/tea-typescript"));
class BatchGetMinutesDetailsHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.BatchGetMinutesDetailsHeaders = BatchGetMinutesDetailsHeaders;
class BatchGetMinutesDetailsRequest extends $tea.Model {
    static names() {
        return {
            taskUuids: 'taskUuids',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            taskUuids: { 'type': 'array', 'itemType': 'string' },
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.BatchGetMinutesDetailsRequest = BatchGetMinutesDetailsRequest;
class BatchGetMinutesDetailsResponseBody extends $tea.Model {
    static names() {
        return {
            minutesDetails: 'minutesDetails',
        };
    }
    static types() {
        return {
            minutesDetails: { 'type': 'array', 'itemType': BatchGetMinutesDetailsResponseBodyMinutesDetails },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.BatchGetMinutesDetailsResponseBody = BatchGetMinutesDetailsResponseBody;
class BatchGetMinutesDetailsResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: BatchGetMinutesDetailsResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.BatchGetMinutesDetailsResponse = BatchGetMinutesDetailsResponse;
class CreateMinutesByUploadFileHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateMinutesByUploadFileHeaders = CreateMinutesByUploadFileHeaders;
class CreateMinutesByUploadFileRequest extends $tea.Model {
    static names() {
        return {
            bizId: 'bizId',
            creatorId: 'creatorId',
            mediaFileUrl: 'mediaFileUrl',
            mediaType: 'mediaType',
            title: 'title',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            bizId: 'string',
            creatorId: 'string',
            mediaFileUrl: 'string',
            mediaType: 'string',
            title: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateMinutesByUploadFileRequest = CreateMinutesByUploadFileRequest;
class CreateMinutesByUploadFileResponseBody extends $tea.Model {
    static names() {
        return {
            bizId: 'bizId',
            taskUuid: 'taskUuid',
        };
    }
    static types() {
        return {
            bizId: 'string',
            taskUuid: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateMinutesByUploadFileResponseBody = CreateMinutesByUploadFileResponseBody;
class CreateMinutesByUploadFileResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: CreateMinutesByUploadFileResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateMinutesByUploadFileResponse = CreateMinutesByUploadFileResponse;
class CreateSmartDeviceAiSummaryHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateSmartDeviceAiSummaryHeaders = CreateSmartDeviceAiSummaryHeaders;
class CreateSmartDeviceAiSummaryRequest extends $tea.Model {
    static names() {
        return {
            agentId: 'agentId',
            instanceId: 'instanceId',
            isvContext: 'isvContext',
            openFileId: 'openFileId',
        };
    }
    static types() {
        return {
            agentId: 'string',
            instanceId: 'string',
            isvContext: 'string',
            openFileId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateSmartDeviceAiSummaryRequest = CreateSmartDeviceAiSummaryRequest;
class CreateSmartDeviceAiSummaryResponseBody extends $tea.Model {
    static names() {
        return {
            async: 'async',
        };
    }
    static types() {
        return {
            async: 'boolean',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateSmartDeviceAiSummaryResponseBody = CreateSmartDeviceAiSummaryResponseBody;
class CreateSmartDeviceAiSummaryResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: CreateSmartDeviceAiSummaryResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.CreateSmartDeviceAiSummaryResponse = CreateSmartDeviceAiSummaryResponse;
class DeleteMinutesHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.DeleteMinutesHeaders = DeleteMinutesHeaders;
class DeleteMinutesRequest extends $tea.Model {
    static names() {
        return {
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.DeleteMinutesRequest = DeleteMinutesRequest;
class DeleteMinutesResponseBody extends $tea.Model {
    static names() {
        return {
            taskUuid: 'taskUuid',
        };
    }
    static types() {
        return {
            taskUuid: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.DeleteMinutesResponseBody = DeleteMinutesResponseBody;
class DeleteMinutesResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: DeleteMinutesResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.DeleteMinutesResponse = DeleteMinutesResponse;
class ExportMinutesTaskResultHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.ExportMinutesTaskResultHeaders = ExportMinutesTaskResultHeaders;
class ExportMinutesTaskResultRequest extends $tea.Model {
    static names() {
        return {
            expireTime: 'expireTime',
            summaryExportSetting: 'summaryExportSetting',
            taskType: 'taskType',
            taskUuid: 'taskUuid',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            expireTime: 'number',
            summaryExportSetting: ExportMinutesTaskResultRequestSummaryExportSetting,
            taskType: 'string',
            taskUuid: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.ExportMinutesTaskResultRequest = ExportMinutesTaskResultRequest;
class ExportMinutesTaskResultResponseBody extends $tea.Model {
    static names() {
        return {
            minutesDocUrl: 'minutesDocUrl',
        };
    }
    static types() {
        return {
            minutesDocUrl: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.ExportMinutesTaskResultResponseBody = ExportMinutesTaskResultResponseBody;
class ExportMinutesTaskResultResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: ExportMinutesTaskResultResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.ExportMinutesTaskResultResponse = ExportMinutesTaskResultResponse;
class GenerateSummaryHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.GenerateSummaryHeaders = GenerateSummaryHeaders;
class GenerateSummaryRequest extends $tea.Model {
    static names() {
        return {
            diyTemplateVersion: 'diyTemplateVersion',
            summaryTemplateId: 'summaryTemplateId',
            summaryTemplateType: 'summaryTemplateType',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            diyTemplateVersion: 'string',
            summaryTemplateId: 'string',
            summaryTemplateType: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.GenerateSummaryRequest = GenerateSummaryRequest;
class GenerateSummaryResponseBody extends $tea.Model {
    static names() {
        return {
            summaryText: 'summaryText',
            taskUuid: 'taskUuid',
        };
    }
    static types() {
        return {
            summaryText: 'string',
            taskUuid: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.GenerateSummaryResponseBody = GenerateSummaryResponseBody;
class GenerateSummaryResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: GenerateSummaryResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.GenerateSummaryResponse = GenerateSummaryResponse;
class OpenQueryMinutesSummaryHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.OpenQueryMinutesSummaryHeaders = OpenQueryMinutesSummaryHeaders;
class OpenQueryMinutesSummaryRequest extends $tea.Model {
    static names() {
        return {
            taskUuid: 'taskUuid',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            taskUuid: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.OpenQueryMinutesSummaryRequest = OpenQueryMinutesSummaryRequest;
class OpenQueryMinutesSummaryResponseBody extends $tea.Model {
    static names() {
        return {
            fullSummary: 'fullSummary',
        };
    }
    static types() {
        return {
            fullSummary: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.OpenQueryMinutesSummaryResponseBody = OpenQueryMinutesSummaryResponseBody;
class OpenQueryMinutesSummaryResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: OpenQueryMinutesSummaryResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.OpenQueryMinutesSummaryResponse = OpenQueryMinutesSummaryResponse;
class QueryBizMinutesHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryBizMinutesHeaders = QueryBizMinutesHeaders;
class QueryBizMinutesRequest extends $tea.Model {
    static names() {
        return {
            bizId: 'bizId',
            bizType: 'bizType',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            bizId: 'string',
            bizType: 'number',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryBizMinutesRequest = QueryBizMinutesRequest;
class QueryBizMinutesResponseBody extends $tea.Model {
    static names() {
        return {
            minutesDetails: 'minutesDetails',
        };
    }
    static types() {
        return {
            minutesDetails: { 'type': 'array', 'itemType': QueryBizMinutesResponseBodyMinutesDetails },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryBizMinutesResponseBody = QueryBizMinutesResponseBody;
class QueryBizMinutesResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryBizMinutesResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryBizMinutesResponse = QueryBizMinutesResponse;
class QueryCreateMinutesListHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryCreateMinutesListHeaders = QueryCreateMinutesListHeaders;
class QueryCreateMinutesListRequest extends $tea.Model {
    static names() {
        return {
            maxResults: 'maxResults',
            nextToken: 'nextToken',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            maxResults: 'number',
            nextToken: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryCreateMinutesListRequest = QueryCreateMinutesListRequest;
class QueryCreateMinutesListResponseBody extends $tea.Model {
    static names() {
        return {
            hasNext: 'hasNext',
            minutesDetails: 'minutesDetails',
            nextToken: 'nextToken',
        };
    }
    static types() {
        return {
            hasNext: 'boolean',
            minutesDetails: { 'type': 'array', 'itemType': QueryCreateMinutesListResponseBodyMinutesDetails },
            nextToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryCreateMinutesListResponseBody = QueryCreateMinutesListResponseBody;
class QueryCreateMinutesListResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryCreateMinutesListResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryCreateMinutesListResponse = QueryCreateMinutesListResponse;
class QueryMinutesBasicInfoHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesBasicInfoHeaders = QueryMinutesBasicInfoHeaders;
class QueryMinutesBasicInfoRequest extends $tea.Model {
    static names() {
        return {
            taskUuid: 'taskUuid',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            taskUuid: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesBasicInfoRequest = QueryMinutesBasicInfoRequest;
class QueryMinutesBasicInfoResponseBody extends $tea.Model {
    static names() {
        return {
            duration: 'duration',
            endTime: 'endTime',
            startTime: 'startTime',
            taskCreator: 'taskCreator',
            taskUuid: 'taskUuid',
            title: 'title',
            url: 'url',
        };
    }
    static types() {
        return {
            duration: 'number',
            endTime: 'number',
            startTime: 'number',
            taskCreator: 'string',
            taskUuid: 'string',
            title: 'string',
            url: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesBasicInfoResponseBody = QueryMinutesBasicInfoResponseBody;
class QueryMinutesBasicInfoResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesBasicInfoResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesBasicInfoResponse = QueryMinutesBasicInfoResponse;
class QueryMinutesKeywordHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesKeywordHeaders = QueryMinutesKeywordHeaders;
class QueryMinutesKeywordRequest extends $tea.Model {
    static names() {
        return {
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesKeywordRequest = QueryMinutesKeywordRequest;
class QueryMinutesKeywordResponseBody extends $tea.Model {
    static names() {
        return {
            keywords: 'keywords',
        };
    }
    static types() {
        return {
            keywords: { 'type': 'array', 'itemType': 'string' },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesKeywordResponseBody = QueryMinutesKeywordResponseBody;
class QueryMinutesKeywordResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesKeywordResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesKeywordResponse = QueryMinutesKeywordResponse;
class QueryMinutesPlayInfoHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesPlayInfoHeaders = QueryMinutesPlayInfoHeaders;
class QueryMinutesPlayInfoRequest extends $tea.Model {
    static names() {
        return {
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesPlayInfoRequest = QueryMinutesPlayInfoRequest;
class QueryMinutesPlayInfoResponseBody extends $tea.Model {
    static names() {
        return {
            playInfo: 'playInfo',
        };
    }
    static types() {
        return {
            playInfo: QueryMinutesPlayInfoResponseBodyPlayInfo,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesPlayInfoResponseBody = QueryMinutesPlayInfoResponseBody;
class QueryMinutesPlayInfoResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesPlayInfoResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesPlayInfoResponse = QueryMinutesPlayInfoResponse;
class QueryMinutesShareListHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesShareListHeaders = QueryMinutesShareListHeaders;
class QueryMinutesShareListRequest extends $tea.Model {
    static names() {
        return {
            maxResults: 'maxResults',
            nextToken: 'nextToken',
            scene: 'scene',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            maxResults: 'number',
            nextToken: 'string',
            scene: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesShareListRequest = QueryMinutesShareListRequest;
class QueryMinutesShareListResponseBody extends $tea.Model {
    static names() {
        return {
            hasNext: 'hasNext',
            minutesDetails: 'minutesDetails',
            nextToken: 'nextToken',
        };
    }
    static types() {
        return {
            hasNext: 'boolean',
            minutesDetails: { 'type': 'array', 'itemType': QueryMinutesShareListResponseBodyMinutesDetails },
            nextToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesShareListResponseBody = QueryMinutesShareListResponseBody;
class QueryMinutesShareListResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesShareListResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesShareListResponse = QueryMinutesShareListResponse;
class QueryMinutesStatusHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesStatusHeaders = QueryMinutesStatusHeaders;
class QueryMinutesStatusRequest extends $tea.Model {
    static names() {
        return {
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesStatusRequest = QueryMinutesStatusRequest;
class QueryMinutesStatusResponseBody extends $tea.Model {
    static names() {
        return {
            status: 'status',
        };
    }
    static types() {
        return {
            status: 'number',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesStatusResponseBody = QueryMinutesStatusResponseBody;
class QueryMinutesStatusResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesStatusResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesStatusResponse = QueryMinutesStatusResponse;
class QueryMinutesTextHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextHeaders = QueryMinutesTextHeaders;
class QueryMinutesTextRequest extends $tea.Model {
    static names() {
        return {
            direction: 'direction',
            maxResults: 'maxResults',
            nextToken: 'nextToken',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            direction: 'number',
            maxResults: 'number',
            nextToken: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextRequest = QueryMinutesTextRequest;
class QueryMinutesTextResponseBody extends $tea.Model {
    static names() {
        return {
            hasNext: 'hasNext',
            nextToken: 'nextToken',
            paragraphList: 'paragraphList',
        };
    }
    static types() {
        return {
            hasNext: 'boolean',
            nextToken: 'string',
            paragraphList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphList },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextResponseBody = QueryMinutesTextResponseBody;
class QueryMinutesTextResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesTextResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextResponse = QueryMinutesTextResponse;
class QueryMinutesTodoHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTodoHeaders = QueryMinutesTodoHeaders;
class QueryMinutesTodoRequest extends $tea.Model {
    static names() {
        return {
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTodoRequest = QueryMinutesTodoRequest;
class QueryMinutesTodoResponseBody extends $tea.Model {
    static names() {
        return {
            actions: 'actions',
        };
    }
    static types() {
        return {
            actions: { 'type': 'array', 'itemType': 'string' },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTodoResponseBody = QueryMinutesTodoResponseBody;
class QueryMinutesTodoResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryMinutesTodoResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTodoResponse = QueryMinutesTodoResponse;
class QueryScheduleConfMinutesHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryScheduleConfMinutesHeaders = QueryScheduleConfMinutesHeaders;
class QueryScheduleConfMinutesRequest extends $tea.Model {
    static names() {
        return {
            eventId: 'eventId',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            eventId: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryScheduleConfMinutesRequest = QueryScheduleConfMinutesRequest;
class QueryScheduleConfMinutesResponseBody extends $tea.Model {
    static names() {
        return {
            minutesDetails: 'minutesDetails',
        };
    }
    static types() {
        return {
            minutesDetails: { 'type': 'array', 'itemType': QueryScheduleConfMinutesResponseBodyMinutesDetails },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryScheduleConfMinutesResponseBody = QueryScheduleConfMinutesResponseBody;
class QueryScheduleConfMinutesResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryScheduleConfMinutesResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryScheduleConfMinutesResponse = QueryScheduleConfMinutesResponse;
class QuerySmartDeviceAiSummaryHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySmartDeviceAiSummaryHeaders = QuerySmartDeviceAiSummaryHeaders;
class QuerySmartDeviceAiSummaryRequest extends $tea.Model {
    static names() {
        return {
            agentId: 'agentId',
            openFileId: 'openFileId',
        };
    }
    static types() {
        return {
            agentId: 'string',
            openFileId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySmartDeviceAiSummaryRequest = QuerySmartDeviceAiSummaryRequest;
class QuerySmartDeviceAiSummaryResponseBody extends $tea.Model {
    static names() {
        return {
            aiSummaryList: 'aiSummaryList',
            state: 'state',
        };
    }
    static types() {
        return {
            aiSummaryList: { 'type': 'array', 'itemType': QuerySmartDeviceAiSummaryResponseBodyAiSummaryList },
            state: 'number',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySmartDeviceAiSummaryResponseBody = QuerySmartDeviceAiSummaryResponseBody;
class QuerySmartDeviceAiSummaryResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QuerySmartDeviceAiSummaryResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySmartDeviceAiSummaryResponse = QuerySmartDeviceAiSummaryResponse;
class QuerySummaryWithTemplateHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySummaryWithTemplateHeaders = QuerySummaryWithTemplateHeaders;
class QuerySummaryWithTemplateRequest extends $tea.Model {
    static names() {
        return {
            diyTemplateVersion: 'diyTemplateVersion',
            summaryTemplateId: 'summaryTemplateId',
            summaryTemplateType: 'summaryTemplateType',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            diyTemplateVersion: 'string',
            summaryTemplateId: 'string',
            summaryTemplateType: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySummaryWithTemplateRequest = QuerySummaryWithTemplateRequest;
class QuerySummaryWithTemplateResponseBody extends $tea.Model {
    static names() {
        return {
            summaryText: 'summaryText',
        };
    }
    static types() {
        return {
            summaryText: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySummaryWithTemplateResponseBody = QuerySummaryWithTemplateResponseBody;
class QuerySummaryWithTemplateResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QuerySummaryWithTemplateResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySummaryWithTemplateResponse = QuerySummaryWithTemplateResponse;
class QueryUploadVideoPlayInfoHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryUploadVideoPlayInfoHeaders = QueryUploadVideoPlayInfoHeaders;
class QueryUploadVideoPlayInfoRequest extends $tea.Model {
    static names() {
        return {
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryUploadVideoPlayInfoRequest = QueryUploadVideoPlayInfoRequest;
class QueryUploadVideoPlayInfoResponseBody extends $tea.Model {
    static names() {
        return {
            playInfo: 'playInfo',
        };
    }
    static types() {
        return {
            playInfo: QueryUploadVideoPlayInfoResponseBodyPlayInfo,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryUploadVideoPlayInfoResponseBody = QueryUploadVideoPlayInfoResponseBody;
class QueryUploadVideoPlayInfoResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: QueryUploadVideoPlayInfoResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryUploadVideoPlayInfoResponse = QueryUploadVideoPlayInfoResponse;
class UpdateMinutesTitleHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdateMinutesTitleHeaders = UpdateMinutesTitleHeaders;
class UpdateMinutesTitleRequest extends $tea.Model {
    static names() {
        return {
            title: 'title',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            title: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdateMinutesTitleRequest = UpdateMinutesTitleRequest;
class UpdateMinutesTitleResponseBody extends $tea.Model {
    static names() {
        return {
            taskUuid: 'taskUuid',
            title: 'title',
        };
    }
    static types() {
        return {
            taskUuid: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdateMinutesTitleResponseBody = UpdateMinutesTitleResponseBody;
class UpdateMinutesTitleResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: UpdateMinutesTitleResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdateMinutesTitleResponse = UpdateMinutesTitleResponse;
class UpdatePermissionHeaders extends $tea.Model {
    static names() {
        return {
            commonHeaders: 'commonHeaders',
            xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
        };
    }
    static types() {
        return {
            commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            xAcsDingtalkAccessToken: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdatePermissionHeaders = UpdatePermissionHeaders;
class UpdatePermissionRequest extends $tea.Model {
    static names() {
        return {
            memberInfoList: 'memberInfoList',
            opType: 'opType',
            roleCode: 'roleCode',
            roleSubResourceIds: 'roleSubResourceIds',
            shareScope: 'shareScope',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            memberInfoList: { 'type': 'array', 'itemType': UpdatePermissionRequestMemberInfoList },
            opType: 'number',
            roleCode: 'string',
            roleSubResourceIds: { 'type': 'array', 'itemType': 'string' },
            shareScope: 'number',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdatePermissionRequest = UpdatePermissionRequest;
class UpdatePermissionResponseBody extends $tea.Model {
    static names() {
        return {
            failMemberInfoList: 'failMemberInfoList',
        };
    }
    static types() {
        return {
            failMemberInfoList: { 'type': 'array', 'itemType': UpdatePermissionResponseBodyFailMemberInfoList },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdatePermissionResponseBody = UpdatePermissionResponseBody;
class UpdatePermissionResponse extends $tea.Model {
    static names() {
        return {
            headers: 'headers',
            statusCode: 'statusCode',
            body: 'body',
        };
    }
    static types() {
        return {
            headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
            statusCode: 'number',
            body: UpdatePermissionResponseBody,
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdatePermissionResponse = UpdatePermissionResponse;
class BatchGetMinutesDetailsResponseBodyMinutesDetails extends $tea.Model {
    static names() {
        return {
            bizType: 'bizType',
            creatorNick: 'creatorNick',
            creatorUnionId: 'creatorUnionId',
            durationMicros: 'durationMicros',
            isDeleted: 'isDeleted',
            size: 'size',
            startTime: 'startTime',
            status: 'status',
            taskUuid: 'taskUuid',
            title: 'title',
        };
    }
    static types() {
        return {
            bizType: 'number',
            creatorNick: 'string',
            creatorUnionId: 'string',
            durationMicros: 'number',
            isDeleted: 'number',
            size: 'number',
            startTime: 'number',
            status: 'number',
            taskUuid: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.BatchGetMinutesDetailsResponseBodyMinutesDetails = BatchGetMinutesDetailsResponseBodyMinutesDetails;
class ExportMinutesTaskResultRequestSummaryExportSetting extends $tea.Model {
    static names() {
        return {
            enableBilingual: 'enableBilingual',
            targetLang: 'targetLang',
        };
    }
    static types() {
        return {
            enableBilingual: 'boolean',
            targetLang: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.ExportMinutesTaskResultRequestSummaryExportSetting = ExportMinutesTaskResultRequestSummaryExportSetting;
class QueryBizMinutesResponseBodyMinutesDetails extends $tea.Model {
    static names() {
        return {
            bizType: 'bizType',
            creatorNick: 'creatorNick',
            creatorUnionId: 'creatorUnionId',
            durationMicros: 'durationMicros',
            isDeleted: 'isDeleted',
            size: 'size',
            startTime: 'startTime',
            status: 'status',
            taskUuid: 'taskUuid',
            title: 'title',
        };
    }
    static types() {
        return {
            bizType: 'number',
            creatorNick: 'string',
            creatorUnionId: 'string',
            durationMicros: 'number',
            isDeleted: 'number',
            size: 'number',
            startTime: 'number',
            status: 'number',
            taskUuid: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryBizMinutesResponseBodyMinutesDetails = QueryBizMinutesResponseBodyMinutesDetails;
class QueryCreateMinutesListResponseBodyMinutesDetails extends $tea.Model {
    static names() {
        return {
            bizType: 'bizType',
            creatorNick: 'creatorNick',
            creatorUnionId: 'creatorUnionId',
            durationMicros: 'durationMicros',
            isDeleted: 'isDeleted',
            size: 'size',
            startTime: 'startTime',
            status: 'status',
            taskUuid: 'taskUuid',
            title: 'title',
        };
    }
    static types() {
        return {
            bizType: 'number',
            creatorNick: 'string',
            creatorUnionId: 'string',
            durationMicros: 'number',
            isDeleted: 'number',
            size: 'number',
            startTime: 'number',
            status: 'number',
            taskUuid: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryCreateMinutesListResponseBodyMinutesDetails = QueryCreateMinutesListResponseBodyMinutesDetails;
class QueryMinutesPlayInfoResponseBodyPlayInfo extends $tea.Model {
    static names() {
        return {
            downloadUrl: 'downloadUrl',
            duration: 'duration',
            mediaType: 'mediaType',
            playUrl: 'playUrl',
            size: 'size',
            status: 'status',
        };
    }
    static types() {
        return {
            downloadUrl: 'string',
            duration: 'string',
            mediaType: 'string',
            playUrl: 'string',
            size: 'string',
            status: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesPlayInfoResponseBodyPlayInfo = QueryMinutesPlayInfoResponseBodyPlayInfo;
class QueryMinutesShareListResponseBodyMinutesDetails extends $tea.Model {
    static names() {
        return {
            bizType: 'bizType',
            creatorNick: 'creatorNick',
            creatorUnionId: 'creatorUnionId',
            durationMicros: 'durationMicros',
            isDeleted: 'isDeleted',
            size: 'size',
            startTime: 'startTime',
            status: 'status',
            taskUuid: 'taskUuid',
            title: 'title',
        };
    }
    static types() {
        return {
            bizType: 'number',
            creatorNick: 'string',
            creatorUnionId: 'string',
            durationMicros: 'number',
            isDeleted: 'number',
            size: 'number',
            startTime: 'number',
            status: 'number',
            taskUuid: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesShareListResponseBodyMinutesDetails = QueryMinutesShareListResponseBodyMinutesDetails;
class QueryMinutesTextResponseBodyParagraphListSentenceListWordList extends $tea.Model {
    static names() {
        return {
            endTime: 'endTime',
            startTime: 'startTime',
            word: 'word',
            wordId: 'wordId',
        };
    }
    static types() {
        return {
            endTime: 'number',
            startTime: 'number',
            word: 'string',
            wordId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextResponseBodyParagraphListSentenceListWordList = QueryMinutesTextResponseBodyParagraphListSentenceListWordList;
class QueryMinutesTextResponseBodyParagraphListSentenceList extends $tea.Model {
    static names() {
        return {
            endTime: 'endTime',
            sentence: 'sentence',
            startTime: 'startTime',
            wordList: 'wordList',
        };
    }
    static types() {
        return {
            endTime: 'number',
            sentence: 'string',
            startTime: 'number',
            wordList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphListSentenceListWordList },
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextResponseBodyParagraphListSentenceList = QueryMinutesTextResponseBodyParagraphListSentenceList;
class QueryMinutesTextResponseBodyParagraphList extends $tea.Model {
    static names() {
        return {
            endTime: 'endTime',
            nickName: 'nickName',
            paragraph: 'paragraph',
            paragraphId: 'paragraphId',
            recordId: 'recordId',
            sentenceList: 'sentenceList',
            startTime: 'startTime',
            subSpeakerId: 'subSpeakerId',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            endTime: 'number',
            nickName: 'string',
            paragraph: 'string',
            paragraphId: 'number',
            recordId: 'number',
            sentenceList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphListSentenceList },
            startTime: 'number',
            subSpeakerId: 'string',
            unionId: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryMinutesTextResponseBodyParagraphList = QueryMinutesTextResponseBodyParagraphList;
class QueryScheduleConfMinutesResponseBodyMinutesDetails extends $tea.Model {
    static names() {
        return {
            bizType: 'bizType',
            creatorNick: 'creatorNick',
            creatorUnionId: 'creatorUnionId',
            durationMicros: 'durationMicros',
            isDeleted: 'isDeleted',
            size: 'size',
            startTime: 'startTime',
            status: 'status',
            taskUuid: 'taskUuid',
            title: 'title',
        };
    }
    static types() {
        return {
            bizType: 'number',
            creatorNick: 'string',
            creatorUnionId: 'string',
            durationMicros: 'number',
            isDeleted: 'number',
            size: 'number',
            startTime: 'number',
            status: 'number',
            taskUuid: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryScheduleConfMinutesResponseBodyMinutesDetails = QueryScheduleConfMinutesResponseBodyMinutesDetails;
class QuerySmartDeviceAiSummaryResponseBodyAiSummaryList extends $tea.Model {
    static names() {
        return {
            agentId: 'agentId',
            aiSceneRuleAvatarUrl: 'aiSceneRuleAvatarUrl',
            creatorUnionId: 'creatorUnionId',
            instanceId: 'instanceId',
            openFileId: 'openFileId',
            order: 'order',
            summary: 'summary',
            templateId: 'templateId',
            title: 'title',
        };
    }
    static types() {
        return {
            agentId: 'string',
            aiSceneRuleAvatarUrl: 'string',
            creatorUnionId: 'string',
            instanceId: 'string',
            openFileId: 'string',
            order: 'number',
            summary: 'string',
            templateId: 'string',
            title: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QuerySmartDeviceAiSummaryResponseBodyAiSummaryList = QuerySmartDeviceAiSummaryResponseBodyAiSummaryList;
class QueryUploadVideoPlayInfoResponseBodyPlayInfo extends $tea.Model {
    static names() {
        return {
            duration: 'duration',
            playUrl: 'playUrl',
            size: 'size',
            status: 'status',
        };
    }
    static types() {
        return {
            duration: 'number',
            playUrl: 'string',
            size: 'number',
            status: 'string',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.QueryUploadVideoPlayInfoResponseBodyPlayInfo = QueryUploadVideoPlayInfoResponseBodyPlayInfo;
class UpdatePermissionRequestMemberInfoList extends $tea.Model {
    static names() {
        return {
            memberType: 'memberType',
            memberUnionId: 'memberUnionId',
            policyId: 'policyId',
        };
    }
    static types() {
        return {
            memberType: 'number',
            memberUnionId: 'string',
            policyId: 'number',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdatePermissionRequestMemberInfoList = UpdatePermissionRequestMemberInfoList;
class UpdatePermissionResponseBodyFailMemberInfoList extends $tea.Model {
    static names() {
        return {
            memberType: 'memberType',
            memberUnionId: 'memberUnionId',
            policyId: 'policyId',
        };
    }
    static types() {
        return {
            memberType: 'number',
            memberUnionId: 'string',
            policyId: 'number',
        };
    }
    constructor(map) {
        super(map);
    }
}
exports.UpdatePermissionResponseBodyFailMemberInfoList = UpdatePermissionResponseBodyFailMemberInfoList;
class Client extends openapi_client_1.default {
    constructor(config) {
        super(config);
        let gatewayClient = new gateway_dingtalk_1.default();
        this._spi = gatewayClient;
        this._endpointRule = "";
        if (tea_util_1.default.empty(this._endpoint)) {
            this._endpoint = "api.dingtalk.com";
        }
    }
    /**
     * 批量获取闪记详情
     *
     * @param request - BatchGetMinutesDetailsRequest
     * @param headers - BatchGetMinutesDetailsHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns BatchGetMinutesDetailsResponse
     */
    async batchGetMinutesDetailsWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let body = {};
        if (!tea_util_1.default.isUnset(request.taskUuids)) {
            body["taskUuids"] = request.taskUuids;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "BatchGetMinutesDetails",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/details/query`,
            method: "POST",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new BatchGetMinutesDetailsResponse({}));
    }
    /**
     * 批量获取闪记详情
     *
     * @param request - BatchGetMinutesDetailsRequest
     * @returns BatchGetMinutesDetailsResponse
     */
    async batchGetMinutesDetails(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new BatchGetMinutesDetailsHeaders({});
        return await this.batchGetMinutesDetailsWithOptions(request, headers, runtime);
    }
    /**
     * 从上传的媒体文件创建闪记
     *
     * @param request - CreateMinutesByUploadFileRequest
     * @param headers - CreateMinutesByUploadFileHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns CreateMinutesByUploadFileResponse
     */
    async createMinutesByUploadFileWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let body = {};
        if (!tea_util_1.default.isUnset(request.bizId)) {
            body["bizId"] = request.bizId;
        }
        if (!tea_util_1.default.isUnset(request.creatorId)) {
            body["creatorId"] = request.creatorId;
        }
        if (!tea_util_1.default.isUnset(request.mediaFileUrl)) {
            body["mediaFileUrl"] = request.mediaFileUrl;
        }
        if (!tea_util_1.default.isUnset(request.mediaType)) {
            body["mediaType"] = request.mediaType;
        }
        if (!tea_util_1.default.isUnset(request.title)) {
            body["title"] = request.title;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "CreateMinutesByUploadFile",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/createMinutesByUploadFile`,
            method: "POST",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new CreateMinutesByUploadFileResponse({}));
    }
    /**
     * 从上传的媒体文件创建闪记
     *
     * @param request - CreateMinutesByUploadFileRequest
     * @returns CreateMinutesByUploadFileResponse
     */
    async createMinutesByUploadFile(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new CreateMinutesByUploadFileHeaders({});
        return await this.createMinutesByUploadFileWithOptions(request, headers, runtime);
    }
    /**
     * 创建DingTalkA1小助理分析
     *
     * @param request - CreateSmartDeviceAiSummaryRequest
     * @param headers - CreateSmartDeviceAiSummaryHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns CreateSmartDeviceAiSummaryResponse
     */
    async createSmartDeviceAiSummaryWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let body = {};
        if (!tea_util_1.default.isUnset(request.agentId)) {
            body["agentId"] = request.agentId;
        }
        if (!tea_util_1.default.isUnset(request.instanceId)) {
            body["instanceId"] = request.instanceId;
        }
        if (!tea_util_1.default.isUnset(request.isvContext)) {
            body["isvContext"] = request.isvContext;
        }
        if (!tea_util_1.default.isUnset(request.openFileId)) {
            body["openFileId"] = request.openFileId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "CreateSmartDeviceAiSummary",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/smartdevice/aisummary/create`,
            method: "POST",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new CreateSmartDeviceAiSummaryResponse({}));
    }
    /**
     * 创建DingTalkA1小助理分析
     *
     * @param request - CreateSmartDeviceAiSummaryRequest
     * @returns CreateSmartDeviceAiSummaryResponse
     */
    async createSmartDeviceAiSummary(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new CreateSmartDeviceAiSummaryHeaders({});
        return await this.createSmartDeviceAiSummaryWithOptions(request, headers, runtime);
    }
    /**
     * 删除闪记
     *
     * @param request - DeleteMinutesRequest
     * @param headers - DeleteMinutesHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns DeleteMinutesResponse
     */
    async deleteMinutesWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "DeleteMinutes",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}`,
            method: "DELETE",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new DeleteMinutesResponse({}));
    }
    /**
     * 删除闪记
     *
     * @param request - DeleteMinutesRequest
     * @returns DeleteMinutesResponse
     */
    async deleteMinutes(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new DeleteMinutesHeaders({});
        return await this.deleteMinutesWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 导出闪记任务结果
     *
     * @param request - ExportMinutesTaskResultRequest
     * @param headers - ExportMinutesTaskResultHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns ExportMinutesTaskResultResponse
     */
    async exportMinutesTaskResultWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let body = {};
        if (!tea_util_1.default.isUnset(request.expireTime)) {
            body["expireTime"] = request.expireTime;
        }
        if (!tea_util_1.default.isUnset(request.summaryExportSetting)) {
            body["summaryExportSetting"] = request.summaryExportSetting;
        }
        if (!tea_util_1.default.isUnset(request.taskType)) {
            body["taskType"] = request.taskType;
        }
        if (!tea_util_1.default.isUnset(request.taskUuid)) {
            body["taskUuid"] = request.taskUuid;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "ExportMinutesTaskResult",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/minutesTask/export`,
            method: "POST",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new ExportMinutesTaskResultResponse({}));
    }
    /**
     * 导出闪记任务结果
     *
     * @param request - ExportMinutesTaskResultRequest
     * @returns ExportMinutesTaskResultResponse
     */
    async exportMinutesTaskResult(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new ExportMinutesTaskResultHeaders({});
        return await this.exportMinutesTaskResultWithOptions(request, headers, runtime);
    }
    /**
     * 生成摘要
     *
     * @param request - GenerateSummaryRequest
     * @param headers - GenerateSummaryHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns GenerateSummaryResponse
     */
    async generateSummaryWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let body = {};
        if (!tea_util_1.default.isUnset(request.diyTemplateVersion)) {
            body["diyTemplateVersion"] = request.diyTemplateVersion;
        }
        if (!tea_util_1.default.isUnset(request.summaryTemplateId)) {
            body["summaryTemplateId"] = request.summaryTemplateId;
        }
        if (!tea_util_1.default.isUnset(request.summaryTemplateType)) {
            body["summaryTemplateType"] = request.summaryTemplateType;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "GenerateSummary",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}/summary`,
            method: "POST",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new GenerateSummaryResponse({}));
    }
    /**
     * 生成摘要
     *
     * @param request - GenerateSummaryRequest
     * @returns GenerateSummaryResponse
     */
    async generateSummary(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new GenerateSummaryHeaders({});
        return await this.generateSummaryWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 查询闪记摘要
     *
     * @param request - OpenQueryMinutesSummaryRequest
     * @param headers - OpenQueryMinutesSummaryHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns OpenQueryMinutesSummaryResponse
     */
    async openQueryMinutesSummaryWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.taskUuid)) {
            query["taskUuid"] = request.taskUuid;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "OpenQueryMinutesSummary",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/queryMinutesSummary`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new OpenQueryMinutesSummaryResponse({}));
    }
    /**
     * 查询闪记摘要
     *
     * @param request - OpenQueryMinutesSummaryRequest
     * @returns OpenQueryMinutesSummaryResponse
     */
    async openQueryMinutesSummary(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new OpenQueryMinutesSummaryHeaders({});
        return await this.openQueryMinutesSummaryWithOptions(request, headers, runtime);
    }
    /**
     * 查询闪会、文档等来源的闪记列表
     *
     * @param request - QueryBizMinutesRequest
     * @param headers - QueryBizMinutesHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryBizMinutesResponse
     */
    async queryBizMinutesWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.bizId)) {
            query["bizId"] = request.bizId;
        }
        if (!tea_util_1.default.isUnset(request.bizType)) {
            query["bizType"] = request.bizType;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryBizMinutes",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/queryBizMinutes`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryBizMinutesResponse({}));
    }
    /**
     * 查询闪会、文档等来源的闪记列表
     *
     * @param request - QueryBizMinutesRequest
     * @returns QueryBizMinutesResponse
     */
    async queryBizMinutes(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryBizMinutesHeaders({});
        return await this.queryBizMinutesWithOptions(request, headers, runtime);
    }
    /**
     * 查询自己创建的闪记列表
     *
     * @param request - QueryCreateMinutesListRequest
     * @param headers - QueryCreateMinutesListHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryCreateMinutesListResponse
     */
    async queryCreateMinutesListWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.maxResults)) {
            query["maxResults"] = request.maxResults;
        }
        if (!tea_util_1.default.isUnset(request.nextToken)) {
            query["nextToken"] = request.nextToken;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryCreateMinutesList",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/createLists`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryCreateMinutesListResponse({}));
    }
    /**
     * 查询自己创建的闪记列表
     *
     * @param request - QueryCreateMinutesListRequest
     * @returns QueryCreateMinutesListResponse
     */
    async queryCreateMinutesList(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryCreateMinutesListHeaders({});
        return await this.queryCreateMinutesListWithOptions(request, headers, runtime);
    }
    /**
     * 查询闪记基本信息
     *
     * @param request - QueryMinutesBasicInfoRequest
     * @param headers - QueryMinutesBasicInfoHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesBasicInfoResponse
     */
    async queryMinutesBasicInfoWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.taskUuid)) {
            query["taskUuid"] = request.taskUuid;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesBasicInfo",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/queryMinutesBasicInfo`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesBasicInfoResponse({}));
    }
    /**
     * 查询闪记基本信息
     *
     * @param request - QueryMinutesBasicInfoRequest
     * @returns QueryMinutesBasicInfoResponse
     */
    async queryMinutesBasicInfo(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesBasicInfoHeaders({});
        return await this.queryMinutesBasicInfoWithOptions(request, headers, runtime);
    }
    /**
     * 查询闪记关键字
     *
     * @param request - QueryMinutesKeywordRequest
     * @param headers - QueryMinutesKeywordHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesKeywordResponse
     */
    async queryMinutesKeywordWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesKeyword",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/${taskUuid}/keywords`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesKeywordResponse({}));
    }
    /**
     * 查询闪记关键字
     *
     * @param request - QueryMinutesKeywordRequest
     * @returns QueryMinutesKeywordResponse
     */
    async queryMinutesKeyword(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesKeywordHeaders({});
        return await this.queryMinutesKeywordWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 查询闪记媒体播放信息
     *
     * @param request - QueryMinutesPlayInfoRequest
     * @param headers - QueryMinutesPlayInfoHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesPlayInfoResponse
     */
    async queryMinutesPlayInfoWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesPlayInfo",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}/playInfos`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesPlayInfoResponse({}));
    }
    /**
     * 查询闪记媒体播放信息
     *
     * @param request - QueryMinutesPlayInfoRequest
     * @returns QueryMinutesPlayInfoResponse
     */
    async queryMinutesPlayInfo(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesPlayInfoHeaders({});
        return await this.queryMinutesPlayInfoWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 获取与我共享闪记列表
     *
     * @param request - QueryMinutesShareListRequest
     * @param headers - QueryMinutesShareListHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesShareListResponse
     */
    async queryMinutesShareListWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.maxResults)) {
            query["maxResults"] = request.maxResults;
        }
        if (!tea_util_1.default.isUnset(request.nextToken)) {
            query["nextToken"] = request.nextToken;
        }
        if (!tea_util_1.default.isUnset(request.scene)) {
            query["scene"] = request.scene;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesShareList",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/shareLists`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesShareListResponse({}));
    }
    /**
     * 获取与我共享闪记列表
     *
     * @param request - QueryMinutesShareListRequest
     * @returns QueryMinutesShareListResponse
     */
    async queryMinutesShareList(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesShareListHeaders({});
        return await this.queryMinutesShareListWithOptions(request, headers, runtime);
    }
    /**
     * 查询闪记状态
     *
     * @param request - QueryMinutesStatusRequest
     * @param headers - QueryMinutesStatusHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesStatusResponse
     */
    async queryMinutesStatusWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesStatus",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/${taskUuid}/taskStatus`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesStatusResponse({}));
    }
    /**
     * 查询闪记状态
     *
     * @param request - QueryMinutesStatusRequest
     * @returns QueryMinutesStatusResponse
     */
    async queryMinutesStatus(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesStatusHeaders({});
        return await this.queryMinutesStatusWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 查询闪记转写文本内容
     *
     * @param request - QueryMinutesTextRequest
     * @param headers - QueryMinutesTextHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesTextResponse
     */
    async queryMinutesTextWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.direction)) {
            query["direction"] = request.direction;
        }
        if (!tea_util_1.default.isUnset(request.maxResults)) {
            query["maxResults"] = request.maxResults;
        }
        if (!tea_util_1.default.isUnset(request.nextToken)) {
            query["nextToken"] = request.nextToken;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesText",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/${taskUuid}/textInfos`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesTextResponse({}));
    }
    /**
     * 查询闪记转写文本内容
     *
     * @param request - QueryMinutesTextRequest
     * @returns QueryMinutesTextResponse
     */
    async queryMinutesText(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesTextHeaders({});
        return await this.queryMinutesTextWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 查询闪记待办
     *
     * @param request - QueryMinutesTodoRequest
     * @param headers - QueryMinutesTodoHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryMinutesTodoResponse
     */
    async queryMinutesTodoWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryMinutesTodo",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/${taskUuid}/todos`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryMinutesTodoResponse({}));
    }
    /**
     * 查询闪记待办
     *
     * @param request - QueryMinutesTodoRequest
     * @returns QueryMinutesTodoResponse
     */
    async queryMinutesTodo(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryMinutesTodoHeaders({});
        return await this.queryMinutesTodoWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 查询预约会议闪记列表
     *
     * @param request - QueryScheduleConfMinutesRequest
     * @param headers - QueryScheduleConfMinutesHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryScheduleConfMinutesResponse
     */
    async queryScheduleConfMinutesWithOptions(scheduleConferenceId, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.eventId)) {
            query["eventId"] = request.eventId;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryScheduleConfMinutes",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/scheduleConference/${scheduleConferenceId}/minutes`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryScheduleConfMinutesResponse({}));
    }
    /**
     * 查询预约会议闪记列表
     *
     * @param request - QueryScheduleConfMinutesRequest
     * @returns QueryScheduleConfMinutesResponse
     */
    async queryScheduleConfMinutes(scheduleConferenceId, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryScheduleConfMinutesHeaders({});
        return await this.queryScheduleConfMinutesWithOptions(scheduleConferenceId, request, headers, runtime);
    }
    /**
     * 查询DingTalkA1小助理分析
     *
     * @param request - QuerySmartDeviceAiSummaryRequest
     * @param headers - QuerySmartDeviceAiSummaryHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QuerySmartDeviceAiSummaryResponse
     */
    async querySmartDeviceAiSummaryWithOptions(request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let body = {};
        if (!tea_util_1.default.isUnset(request.agentId)) {
            body["agentId"] = request.agentId;
        }
        if (!tea_util_1.default.isUnset(request.openFileId)) {
            body["openFileId"] = request.openFileId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "QuerySmartDeviceAiSummary",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/smartdevice/aisummary`,
            method: "POST",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QuerySmartDeviceAiSummaryResponse({}));
    }
    /**
     * 查询DingTalkA1小助理分析
     *
     * @param request - QuerySmartDeviceAiSummaryRequest
     * @returns QuerySmartDeviceAiSummaryResponse
     */
    async querySmartDeviceAiSummary(request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QuerySmartDeviceAiSummaryHeaders({});
        return await this.querySmartDeviceAiSummaryWithOptions(request, headers, runtime);
    }
    /**
     * 根据模板id查询摘要
     *
     * @param request - QuerySummaryWithTemplateRequest
     * @param headers - QuerySummaryWithTemplateHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QuerySummaryWithTemplateResponse
     */
    async querySummaryWithTemplateWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.diyTemplateVersion)) {
            query["diyTemplateVersion"] = request.diyTemplateVersion;
        }
        if (!tea_util_1.default.isUnset(request.summaryTemplateId)) {
            query["summaryTemplateId"] = request.summaryTemplateId;
        }
        if (!tea_util_1.default.isUnset(request.summaryTemplateType)) {
            query["summaryTemplateType"] = request.summaryTemplateType;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QuerySummaryWithTemplate",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}/summary/template`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QuerySummaryWithTemplateResponse({}));
    }
    /**
     * 根据模板id查询摘要
     *
     * @param request - QuerySummaryWithTemplateRequest
     * @returns QuerySummaryWithTemplateResponse
     */
    async querySummaryWithTemplate(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QuerySummaryWithTemplateHeaders({});
        return await this.querySummaryWithTemplateWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 查询上传视频播放信息
     *
     * @param request - QueryUploadVideoPlayInfoRequest
     * @param headers - QueryUploadVideoPlayInfoHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns QueryUploadVideoPlayInfoResponse
     */
    async queryUploadVideoPlayInfoWithOptions(videoId, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "QueryUploadVideoPlayInfo",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/uploadVideos/${videoId}/playInfos`,
            method: "GET",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new QueryUploadVideoPlayInfoResponse({}));
    }
    /**
     * 查询上传视频播放信息
     *
     * @param request - QueryUploadVideoPlayInfoRequest
     * @returns QueryUploadVideoPlayInfoResponse
     */
    async queryUploadVideoPlayInfo(videoId, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new QueryUploadVideoPlayInfoHeaders({});
        return await this.queryUploadVideoPlayInfoWithOptions(videoId, request, headers, runtime);
    }
    /**
     * 更新闪记标题
     *
     * @param request - UpdateMinutesTitleRequest
     * @param headers - UpdateMinutesTitleHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns UpdateMinutesTitleResponse
     */
    async updateMinutesTitleWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.title)) {
            query["title"] = request.title;
        }
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
        });
        let params = new $OpenApi.Params({
            action: "UpdateMinutesTitle",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/flashMinutes/tasks/${taskUuid}/titles`,
            method: "PUT",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new UpdateMinutesTitleResponse({}));
    }
    /**
     * 更新闪记标题
     *
     * @param request - UpdateMinutesTitleRequest
     * @returns UpdateMinutesTitleResponse
     */
    async updateMinutesTitle(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new UpdateMinutesTitleHeaders({});
        return await this.updateMinutesTitleWithOptions(taskUuid, request, headers, runtime);
    }
    /**
     * 更新闪记权限
     *
     * @param request - UpdatePermissionRequest
     * @param headers - UpdatePermissionHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns UpdatePermissionResponse
     */
    async updatePermissionWithOptions(taskUuid, request, headers, runtime) {
        tea_util_1.default.validateModel(request);
        let query = {};
        if (!tea_util_1.default.isUnset(request.unionId)) {
            query["unionId"] = request.unionId;
        }
        let body = {};
        if (!tea_util_1.default.isUnset(request.memberInfoList)) {
            body["memberInfoList"] = request.memberInfoList;
        }
        if (!tea_util_1.default.isUnset(request.opType)) {
            body["opType"] = request.opType;
        }
        if (!tea_util_1.default.isUnset(request.roleCode)) {
            body["roleCode"] = request.roleCode;
        }
        if (!tea_util_1.default.isUnset(request.roleSubResourceIds)) {
            body["roleSubResourceIds"] = request.roleSubResourceIds;
        }
        if (!tea_util_1.default.isUnset(request.shareScope)) {
            body["shareScope"] = request.shareScope;
        }
        let realHeaders = {};
        if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
            realHeaders = headers.commonHeaders;
        }
        if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
            realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
        }
        let req = new $OpenApi.OpenApiRequest({
            headers: realHeaders,
            query: openapi_util_1.default.query(query),
            body: openapi_util_1.default.parseToMap(body),
        });
        let params = new $OpenApi.Params({
            action: "UpdatePermission",
            version: "minutes_1.0",
            protocol: "HTTP",
            pathname: `/v1.0/minutes/${taskUuid}/permission`,
            method: "PUT",
            authType: "AK",
            style: "ROA",
            reqBodyType: "none",
            bodyType: "json",
        });
        return $tea.cast(await this.execute(params, req, runtime), new UpdatePermissionResponse({}));
    }
    /**
     * 更新闪记权限
     *
     * @param request - UpdatePermissionRequest
     * @returns UpdatePermissionResponse
     */
    async updatePermission(taskUuid, request) {
        let runtime = new $Util.RuntimeOptions({});
        let headers = new UpdatePermissionHeaders({});
        return await this.updatePermissionWithOptions(taskUuid, request, headers, runtime);
    }
}
exports.default = Client;
//# sourceMappingURL=client.js.map