"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.QueryBizMinutesResponseBodyMinutesDetails = exports.BatchGetMinutesDetailsResponseBodyMinutesDetails = exports.UpdateMinutesTitleResponse = exports.UpdateMinutesTitleResponseBody = exports.UpdateMinutesTitleRequest = exports.UpdateMinutesTitleHeaders = exports.QueryUploadVideoPlayInfoResponse = exports.QueryUploadVideoPlayInfoResponseBody = exports.QueryUploadVideoPlayInfoRequest = exports.QueryUploadVideoPlayInfoHeaders = exports.QueryScheduleConfMinutesResponse = exports.QueryScheduleConfMinutesResponseBody = exports.QueryScheduleConfMinutesRequest = exports.QueryScheduleConfMinutesHeaders = exports.QueryMinutesTextResponse = exports.QueryMinutesTextResponseBody = exports.QueryMinutesTextRequest = exports.QueryMinutesTextHeaders = exports.QueryMinutesStatusResponse = exports.QueryMinutesStatusResponseBody = exports.QueryMinutesStatusRequest = exports.QueryMinutesStatusHeaders = exports.QueryMinutesShareListResponse = exports.QueryMinutesShareListResponseBody = exports.QueryMinutesShareListRequest = exports.QueryMinutesShareListHeaders = exports.QueryMinutesPlayInfoResponse = exports.QueryMinutesPlayInfoResponseBody = exports.QueryMinutesPlayInfoRequest = exports.QueryMinutesPlayInfoHeaders = 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.DeleteMinutesResponse = exports.DeleteMinutesResponseBody = exports.DeleteMinutesRequest = exports.DeleteMinutesHeaders = exports.BatchGetMinutesDetailsResponse = exports.BatchGetMinutesDetailsResponseBody = exports.BatchGetMinutesDetailsRequest = exports.BatchGetMinutesDetailsHeaders = void 0;
exports.QueryUploadVideoPlayInfoResponseBodyPlayInfo = exports.QueryScheduleConfMinutesResponseBodyMinutesDetails = exports.QueryMinutesTextResponseBodyParagraphList = exports.QueryMinutesTextResponseBodyParagraphListSentenceList = exports.QueryMinutesTextResponseBodyParagraphListSentenceListWordList = exports.QueryMinutesShareListResponseBodyMinutesDetails = exports.QueryMinutesPlayInfoResponseBodyPlayInfo = exports.QueryCreateMinutesListResponseBodyMinutesDetails = 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 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 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 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 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 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 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 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',
            unionId: 'unionId',
        };
    }
    static types() {
        return {
            endTime: 'number',
            nickName: 'string',
            paragraph: 'string',
            paragraphId: 'number',
            recordId: 'number',
            sentenceList: { 'type': 'array', 'itemType': QueryMinutesTextResponseBodyParagraphListSentenceList },
            startTime: 'number',
            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 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 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 - 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 - 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 - 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 - 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);
    }
    /**
     * 查询上传视频播放信息
     *
     * @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);
    }
}
exports.default = Client;
//# sourceMappingURL=client.js.map