// This file is auto-generated, don't edit it /** */ import Util, * as $Util from '@alicloud/tea-util'; import GatewayClient from '@alicloud/gateway-dingtalk'; import OpenApi, * as $OpenApi from '@alicloud/openapi-client'; import OpenApiUtil from '@alicloud/openapi-util'; import * as $tea from '@alicloud/tea-typescript'; export class AiRetailProductAddHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductAddRequest extends $tea.Model { attribute?: { [key: string]: string }; barcodes?: string[]; brand?: string; category?: string; currecy?: string; /** * @example * 1 */ enable?: number; imageFileIds?: string[]; itemNumbers?: string[]; price?: number; /** * @remarks * This parameter is required. */ productCode?: string; /** * @example * 办公室的电话是:13222333232 */ productFab?: string; /** * @example * https://xxxxxxx.com/xxxxxx */ productInfo?: string; /** * @remarks * This parameter is required. * * @example * 办公室的电话是多少 */ productName?: string; tag1?: string; tag2?: string; tag3?: string; static names(): { [key: string]: string } { return { attribute: 'attribute', barcodes: 'barcodes', brand: 'brand', category: 'category', currecy: 'currecy', enable: 'enable', imageFileIds: 'imageFileIds', itemNumbers: 'itemNumbers', price: 'price', productCode: 'productCode', productFab: 'productFab', productInfo: 'productInfo', productName: 'productName', tag1: 'tag1', tag2: 'tag2', tag3: 'tag3', }; } static types(): { [key: string]: any } { return { attribute: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, barcodes: { 'type': 'array', 'itemType': 'string' }, brand: 'string', category: 'string', currecy: 'string', enable: 'number', imageFileIds: { 'type': 'array', 'itemType': 'string' }, itemNumbers: { 'type': 'array', 'itemType': 'string' }, price: 'number', productCode: 'string', productFab: 'string', productInfo: 'string', productName: 'string', tag1: 'string', tag2: 'string', tag3: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductAddResponseBody extends $tea.Model { productId?: number; static names(): { [key: string]: string } { return { productId: 'productId', }; } static types(): { [key: string]: any } { return { productId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductAddResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: AiRetailProductAddResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AiRetailProductAddResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductDeleteHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductDeleteRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ productId?: number; static names(): { [key: string]: string } { return { productId: 'productId', }; } static types(): { [key: string]: any } { return { productId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductDeleteResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: boolean; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductImgUploadHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductImgUploadRequest extends $tea.Model { /** * @remarks * This parameter is required. */ bizCode?: string; static names(): { [key: string]: string } { return { bizCode: 'bizCode', }; } static types(): { [key: string]: any } { return { bizCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductImgUploadResponseBody extends $tea.Model { result?: AiRetailProductImgUploadResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: AiRetailProductImgUploadResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductImgUploadResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: AiRetailProductImgUploadResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AiRetailProductImgUploadResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductQueryHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductQueryRequest extends $tea.Model { productCode?: string; productId?: number; static names(): { [key: string]: string } { return { productCode: 'productCode', productId: 'productId', }; } static types(): { [key: string]: any } { return { productCode: 'string', productId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductQueryResponseBody extends $tea.Model { data?: AiRetailProductQueryResponseBodyData[]; static names(): { [key: string]: string } { return { data: 'data', }; } static types(): { [key: string]: any } { return { data: { 'type': 'array', 'itemType': AiRetailProductQueryResponseBodyData }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductQueryResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: AiRetailProductQueryResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AiRetailProductQueryResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductUpdateHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductUpdateRequest extends $tea.Model { attribute?: { [key: string]: string }; barcodes?: string[]; brand?: string; category?: string; currency?: string; enable?: number; imageFileIds?: string[]; itemNumbers?: string[]; price?: number; productCode?: string; /** * @example * 办公室的电话是:13222333232 */ productFab?: string; /** * @remarks * This parameter is required. */ productId?: number; /** * @example * https://xxxxxxx.com/xxxxxx */ productInfo?: string; /** * @example * 办公室的电话是多少 */ productName?: string; tag1?: string; tag2?: string; tag3?: string; static names(): { [key: string]: string } { return { attribute: 'attribute', barcodes: 'barcodes', brand: 'brand', category: 'category', currency: 'currency', enable: 'enable', imageFileIds: 'imageFileIds', itemNumbers: 'itemNumbers', price: 'price', productCode: 'productCode', productFab: 'productFab', productId: 'productId', productInfo: 'productInfo', productName: 'productName', tag1: 'tag1', tag2: 'tag2', tag3: 'tag3', }; } static types(): { [key: string]: any } { return { attribute: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, barcodes: { 'type': 'array', 'itemType': 'string' }, brand: 'string', category: 'string', currency: 'string', enable: 'number', imageFileIds: { 'type': 'array', 'itemType': 'string' }, itemNumbers: { 'type': 'array', 'itemType': 'string' }, price: 'number', productCode: 'string', productFab: 'string', productId: 'number', productInfo: 'string', productName: 'string', tag1: 'string', tag2: 'string', tag3: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductUpdateResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: boolean; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailRequest extends $tea.Model { recordId?: number; static names(): { [key: string]: string } { return { recordId: 'recordId', }; } static types(): { [key: string]: any } { return { recordId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailResponseBody extends $tea.Model { result?: AiTrainingDetailResponseBodyResult; success?: boolean; static names(): { [key: string]: string } { return { result: 'result', success: 'success', }; } static types(): { [key: string]: any } { return { result: AiTrainingDetailResponseBodyResult, success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: AiTrainingDetailResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AiTrainingDetailResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingRecordHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingRecordRequest extends $tea.Model { direction?: number; endTime?: number; lastId?: number; size?: number; startTime?: number; taskId?: number; static names(): { [key: string]: string } { return { direction: 'direction', endTime: 'endTime', lastId: 'lastId', size: 'size', startTime: 'startTime', taskId: 'taskId', }; } static types(): { [key: string]: any } { return { direction: 'number', endTime: 'number', lastId: 'number', size: 'number', startTime: 'number', taskId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingRecordResponseBody extends $tea.Model { direction?: number; hasMore?: boolean; lastId?: number; trainingList?: AiTrainingRecordResponseBodyTrainingList[]; static names(): { [key: string]: string } { return { direction: 'direction', hasMore: 'hasMore', lastId: 'lastId', trainingList: 'trainingList', }; } static types(): { [key: string]: any } { return { direction: 'number', hasMore: 'boolean', lastId: 'number', trainingList: { 'type': 'array', 'itemType': AiTrainingRecordResponseBodyTrainingList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingRecordResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: AiTrainingRecordResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: AiTrainingRecordResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultRequest extends $tea.Model { taskIds?: string[]; static names(): { [key: string]: string } { return { taskIds: 'taskIds', }; } static types(): { [key: string]: any } { return { taskIds: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultResponseBody extends $tea.Model { tasks?: BatchGetTaskResultResponseBodyTasks[]; static names(): { [key: string]: string } { return { tasks: 'tasks', }; } static types(): { [key: string]: any } { return { tasks: { 'type': 'array', 'itemType': BatchGetTaskResultResponseBodyTasks }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: BatchGetTaskResultResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: BatchGetTaskResultResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchRequest extends $tea.Model { /** * @remarks * This parameter is required. */ businessInfo?: string; /** * @remarks * This parameter is required. */ corpName?: string; /** * @remarks * This parameter is required. */ userId?: string; static names(): { [key: string]: string } { return { businessInfo: 'businessInfo', corpName: 'corpName', userId: 'userId', }; } static types(): { [key: string]: any } { return { businessInfo: 'string', corpName: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchResponseBody extends $tea.Model { taskId?: string; static names(): { [key: string]: string } { return { taskId: 'taskId', }; } static types(): { [key: string]: any } { return { taskId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: BusinessMatchResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: BusinessMatchResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchResultHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchResultRequest extends $tea.Model { /** * @remarks * This parameter is required. */ taskId?: string; /** * @remarks * This parameter is required. */ userId?: string; static names(): { [key: string]: string } { return { taskId: 'taskId', userId: 'userId', }; } static types(): { [key: string]: any } { return { taskId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchResultResponseBody extends $tea.Model { content?: string; isMatched?: boolean; status?: number; static names(): { [key: string]: string } { return { content: 'content', isMatched: 'isMatched', status: 'status', }; } static types(): { [key: string]: any } { return { content: 'string', isMatched: 'boolean', status: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BusinessMatchResultResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: BusinessMatchResultResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: BusinessMatchResultResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusAddRenterMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusAddRenterMemberRequest extends $tea.Model { /** * @example * {"age":8} */ extend?: string; /** * @remarks * This parameter is required. * * @example * 158******** */ mobile?: string; /** * @remarks * This parameter is required. * * @example * 张三组 */ name?: string; /** * @remarks * This parameter is required. * * @example * 612355 */ renterId?: number; /** * @example * admin */ type?: string; static names(): { [key: string]: string } { return { extend: 'extend', mobile: 'mobile', name: 'name', renterId: 'renterId', type: 'type', }; } static types(): { [key: string]: any } { return { extend: 'string', mobile: 'string', name: 'string', renterId: 'number', type: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusAddRenterMemberResponseBody extends $tea.Model { unionId?: string; userId?: string; userState?: string; static names(): { [key: string]: string } { return { unionId: 'unionId', userId: 'userId', userState: 'userState', }; } static types(): { [key: string]: any } { return { unionId: 'string', userId: 'string', userState: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusAddRenterMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusAddRenterMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusAddRenterMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusRequest extends $tea.Model { /** * @example * 锦城街道和谐社区101号 */ address?: string; /** * @example * 5200.13(平方千米) */ area?: number; /** * @example * 0 */ belongProjectGroupId?: number; /** * @remarks * This parameter is required. * * @example * 绿城未来park */ campusName?: string; /** * @example * 1000 */ capacity?: number; /** * @example * 371500 */ cityId?: number; /** * @example * 中国 */ country?: string; /** * @example * 371502 */ countyId?: number; /** * @remarks * This parameter is required. */ creatorUnionId?: string; /** * @example * 绿城未来park项目 */ description?: string; /** * @example * {"creator":"dsy"} */ extend?: string; /** * @example * 123,456 */ location?: string; orderEndTime?: number; orderInfo?: string; /** * @example * 1655704317794 */ orderStartTime?: number; /** * @example * 370000(山东) */ provId?: number; /** * @example * 156xxxx4338 */ telephone?: string; static names(): { [key: string]: string } { return { address: 'address', area: 'area', belongProjectGroupId: 'belongProjectGroupId', campusName: 'campusName', capacity: 'capacity', cityId: 'cityId', country: 'country', countyId: 'countyId', creatorUnionId: 'creatorUnionId', description: 'description', extend: 'extend', location: 'location', orderEndTime: 'orderEndTime', orderInfo: 'orderInfo', orderStartTime: 'orderStartTime', provId: 'provId', telephone: 'telephone', }; } static types(): { [key: string]: any } { return { address: 'string', area: 'number', belongProjectGroupId: 'number', campusName: 'string', capacity: 'number', cityId: 'number', country: 'string', countyId: 'number', creatorUnionId: 'string', description: 'string', extend: 'string', location: 'string', orderEndTime: 'number', orderInfo: 'string', orderStartTime: 'number', provId: 'number', telephone: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusResponseBody extends $tea.Model { campusCorpId?: string; campusDeptId?: string; static names(): { [key: string]: string } { return { campusCorpId: 'campusCorpId', campusDeptId: 'campusDeptId', }; } static types(): { [key: string]: any } { return { campusCorpId: 'string', campusDeptId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusCreateCampusResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusCreateCampusResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusGroupRequest extends $tea.Model { /** * @example * 扩展信息 */ extend?: string; /** * @remarks * This parameter is required. * * @example * 测试项目组 */ name?: string; static names(): { [key: string]: string } { return { extend: 'extend', name: 'name', }; } static types(): { [key: string]: any } { return { extend: 'string', name: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusGroupResponseBody extends $tea.Model { groupId?: number; static names(): { [key: string]: string } { return { groupId: 'groupId', }; } static types(): { [key: string]: any } { return { groupId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateCampusGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusCreateCampusGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusCreateCampusGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateRenterHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateRenterRequest extends $tea.Model { /** * @example * 231313 */ creditCode?: string; /** * @example * 1655704317794 */ endTime?: number; /** * @example * 扩展 */ extend?: string; /** * @remarks * This parameter is required. * * @example * 钉钉 */ name?: string; /** * @example * 1655704317794 */ startTime?: number; /** * @example * 1 */ state?: number; static names(): { [key: string]: string } { return { creditCode: 'creditCode', endTime: 'endTime', extend: 'extend', name: 'name', startTime: 'startTime', state: 'state', }; } static types(): { [key: string]: any } { return { creditCode: 'string', endTime: 'number', extend: 'string', name: 'string', startTime: 'number', state: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateRenterResponseBody extends $tea.Model { /** * @example * 1001 */ renterId?: string; static names(): { [key: string]: string } { return { renterId: 'renterId', }; } static types(): { [key: string]: any } { return { renterId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusCreateRenterResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusCreateRenterResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusCreateRenterResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDelRenterMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDelRenterMemberRequest extends $tea.Model { /** * @example * 124353123 */ renterId?: number; /** * @example * kindg**** */ unionId?: string; static names(): { [key: string]: string } { return { renterId: 'renterId', unionId: 'unionId', }; } static types(): { [key: string]: any } { return { renterId: 'number', unionId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDelRenterMemberResponseBody extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDelRenterMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusDelRenterMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusDelRenterMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteCampusGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteCampusGroupRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 12345 */ campusProjectGroupId?: number; static names(): { [key: string]: string } { return { campusProjectGroupId: 'campusProjectGroupId', }; } static types(): { [key: string]: any } { return { campusProjectGroupId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteCampusGroupResponseBody extends $tea.Model { success?: boolean; static names(): { [key: string]: string } { return { success: 'success', }; } static types(): { [key: string]: any } { return { success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteCampusGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusDeleteCampusGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusDeleteCampusGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteRenterHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteRenterRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1001 */ renterId?: number; static names(): { [key: string]: string } { return { renterId: 'renterId', }; } static types(): { [key: string]: any } { return { renterId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusDeleteRenterResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11 */ campusDeptId?: number; static names(): { [key: string]: string } { return { campusDeptId: 'campusDeptId', }; } static types(): { [key: string]: any } { return { campusDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusResponseBody extends $tea.Model { /** * @example * ##街道 */ address?: string; /** * @example * 1000 */ area?: number; /** * @example * 1011 */ belongProjectGroupId?: string; /** * @example * ding121212 */ campusCorpId?: string; /** * @example * 1001 */ campusDeptId?: number; /** * @example * 测试园区 */ campusName?: string; /** * @example * 100 */ capacity?: string; /** * @example * 2030 */ cityId?: number; /** * @example * 中国 */ country?: string; /** * @example * 203040 */ countyId?: number; /** * @example * 描述 */ description?: string; /** * @example * 扩展 */ extend?: string; /** * @example * 120.1,28.1 */ location?: string; /** * @example * 1655704317794 */ orderEndTime?: number; /** * @example * 购买信息 */ orderInfo?: string; /** * @example * 1655704317794 */ orderStartTime?: number; /** * @example * 20 */ provId?: number; /** * @example * 13914772123 */ telephone?: string; static names(): { [key: string]: string } { return { address: 'address', area: 'area', belongProjectGroupId: 'belongProjectGroupId', campusCorpId: 'campusCorpId', campusDeptId: 'campusDeptId', campusName: 'campusName', capacity: 'capacity', cityId: 'cityId', country: 'country', countyId: 'countyId', description: 'description', extend: 'extend', location: 'location', orderEndTime: 'orderEndTime', orderInfo: 'orderInfo', orderStartTime: 'orderStartTime', provId: 'provId', telephone: 'telephone', }; } static types(): { [key: string]: any } { return { address: 'string', area: 'number', belongProjectGroupId: 'string', campusCorpId: 'string', campusDeptId: 'number', campusName: 'string', capacity: 'string', cityId: 'number', country: 'string', countyId: 'number', description: 'string', extend: 'string', location: 'string', orderEndTime: 'number', orderInfo: 'string', orderStartTime: 'number', provId: 'number', telephone: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusGetCampusResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusGetCampusResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusGroupRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11 */ groupId?: number; static names(): { [key: string]: string } { return { groupId: 'groupId', }; } static types(): { [key: string]: any } { return { groupId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusGroupResponseBody extends $tea.Model { /** * @example * 项目扩展信息 */ extend?: string; /** * @example * 测试项目组 */ projectGroupName?: string; static names(): { [key: string]: string } { return { extend: 'extend', projectGroupName: 'projectGroupName', }; } static types(): { [key: string]: any } { return { extend: 'string', projectGroupName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetCampusGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusGetCampusGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusGetCampusGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1001 */ renterId?: number; static names(): { [key: string]: string } { return { renterId: 'renterId', }; } static types(): { [key: string]: any } { return { renterId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterResponseBody extends $tea.Model { /** * @example * ding121313 */ bindRenterCorpId?: string; /** * @example * 1655704317794 */ bindTime?: number; /** * @example * 231313 */ creditCode?: string; /** * @example * 1655704317794 */ endTime?: number; /** * @example * 扩展 */ extend?: string; /** * @example * 名称 */ name?: string; /** * @example * 101 */ renterDeptId?: number; /** * @example * 1655704317794 */ startTime?: number; /** * @example * 1 */ state?: number; static names(): { [key: string]: string } { return { bindRenterCorpId: 'bindRenterCorpId', bindTime: 'bindTime', creditCode: 'creditCode', endTime: 'endTime', extend: 'extend', name: 'name', renterDeptId: 'renterDeptId', startTime: 'startTime', state: 'state', }; } static types(): { [key: string]: any } { return { bindRenterCorpId: 'string', bindTime: 'number', creditCode: 'string', endTime: 'number', extend: 'string', name: 'string', renterDeptId: 'number', startTime: 'number', state: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusGetRenterResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusGetRenterResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterMemberRequest extends $tea.Model { /** * @example * 1987215 */ renterId?: number; /** * @remarks * This parameter is required. * * @example * 1iasndkjas8 */ unionId?: string; static names(): { [key: string]: string } { return { renterId: 'renterId', unionId: 'unionId', }; } static types(): { [key: string]: any } { return { renterId: 'number', unionId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterMemberResponseBody extends $tea.Model { extend?: string; inviteState?: number; name?: string; state?: string; type?: string; userId?: string; static names(): { [key: string]: string } { return { extend: 'extend', inviteState: 'inviteState', name: 'name', state: 'state', type: 'type', userId: 'userId', }; } static types(): { [key: string]: any } { return { extend: 'string', inviteState: 'number', name: 'string', state: 'string', type: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusGetRenterMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusGetRenterMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusGetRenterMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusRequest extends $tea.Model { /** * @example * 12345 */ groupDeptId?: number; static names(): { [key: string]: string } { return { groupDeptId: 'groupDeptId', }; } static types(): { [key: string]: any } { return { groupDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusResponseBody extends $tea.Model { result?: CampusListCampusResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': CampusListCampusResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusListCampusResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusListCampusResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusGroupResponseBody extends $tea.Model { result?: CampusListCampusGroupResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': CampusListCampusGroupResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusListCampusGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusListCampusGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterResponseBody extends $tea.Model { result?: CampusListRenterResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': CampusListRenterResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusListRenterResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusListRenterResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterMembersHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterMembersRequest extends $tea.Model { /** * @example * 836213123 */ renterId?: number; static names(): { [key: string]: string } { return { renterId: 'renterId', }; } static types(): { [key: string]: any } { return { renterId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterMembersResponseBody extends $tea.Model { result?: CampusListRenterMembersResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': CampusListRenterMembersResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterMembersResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusListRenterMembersResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusListRenterMembersResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusRequest extends $tea.Model { /** * @example * 锦城街道和谐社区101号 */ address?: string; /** * @example * 5200.13(平方米) */ area?: number; /** * @example * 0 */ belongProjectGroupId?: number; /** * @remarks * This parameter is required. * * @example * 12345 */ campusDeptId?: number; /** * @example * 绿城未来park */ campusName?: string; /** * @example * 10000 */ capacity?: number; /** * @example * 371500 */ cityId?: number; /** * @example * 中国 */ country?: string; /** * @example * 371502 */ countyId?: number; /** * @example * 绿城产业 */ description?: string; /** * @example * {"creator":"dsy"} */ extend?: string; /** * @example * 1655704317794 */ orderEndTime?: number; /** * @example * 线下付款 */ orderInfo?: number; /** * @example * 1655704317794 */ orderStartTime?: number; /** * @example * 370000(山东) */ provId?: number; /** * @example * 156XXXX338 */ telephone?: string; static names(): { [key: string]: string } { return { address: 'address', area: 'area', belongProjectGroupId: 'belongProjectGroupId', campusDeptId: 'campusDeptId', campusName: 'campusName', capacity: 'capacity', cityId: 'cityId', country: 'country', countyId: 'countyId', description: 'description', extend: 'extend', orderEndTime: 'orderEndTime', orderInfo: 'orderInfo', orderStartTime: 'orderStartTime', provId: 'provId', telephone: 'telephone', }; } static types(): { [key: string]: any } { return { address: 'string', area: 'number', belongProjectGroupId: 'number', campusDeptId: 'number', campusName: 'string', capacity: 'number', cityId: 'number', country: 'string', countyId: 'number', description: 'string', extend: 'string', orderEndTime: 'number', orderInfo: 'number', orderStartTime: 'number', provId: 'number', telephone: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusResponseBody extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusUpdateCampusResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusUpdateCampusResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusGroupRequest extends $tea.Model { /** * @remarks * This parameter is required. */ campusProjectGroupId?: number; /** * @example * 扩展信息 */ extend?: string; /** * @example * 绿城未来park */ name?: string; static names(): { [key: string]: string } { return { campusProjectGroupId: 'campusProjectGroupId', extend: 'extend', name: 'name', }; } static types(): { [key: string]: any } { return { campusProjectGroupId: 'number', extend: 'string', name: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusGroupResponseBody extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateCampusGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusUpdateCampusGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusUpdateCampusGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterRequest extends $tea.Model { /** * @example * 231313 */ creditCode?: string; /** * @example * 16123523124 */ endTime?: number; /** * @example * 扩展 */ extend?: string; /** * @remarks * This parameter is required. * * @example * 钉钉 */ name?: string; /** * @remarks * This parameter is required. * * @example * 12352335 */ renterId?: number; /** * @example * 2183478412 */ startTime?: number; /** * @example * 0 */ state?: number; static names(): { [key: string]: string } { return { creditCode: 'creditCode', endTime: 'endTime', extend: 'extend', name: 'name', renterId: 'renterId', startTime: 'startTime', state: 'state', }; } static types(): { [key: string]: any } { return { creditCode: 'string', endTime: 'number', extend: 'string', name: 'string', renterId: 'number', startTime: 'number', state: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterResponseBody extends $tea.Model { /** * @example * 1001 */ renterId?: string; static names(): { [key: string]: string } { return { renterId: 'renterId', }; } static types(): { [key: string]: any } { return { renterId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusUpdateRenterResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusUpdateRenterResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterMemberRequest extends $tea.Model { /** * @example * 扩展 */ extend?: string; /** * @example * 张三组 */ name?: string; /** * @remarks * This parameter is required. * * @example * 41239123 */ renterId?: number; /** * @example * 1 */ type?: string; /** * @remarks * This parameter is required. * * @example * fksif91273 */ unionId?: string; static names(): { [key: string]: string } { return { extend: 'extend', name: 'name', renterId: 'renterId', type: 'type', unionId: 'unionId', }; } static types(): { [key: string]: any } { return { extend: 'string', name: 'string', renterId: 'number', type: 'string', unionId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterMemberResponseBody extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusUpdateRenterMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CampusUpdateRenterMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CampusUpdateRenterMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIAddDatasetPermissionHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIAddDatasetPermissionRequest extends $tea.Model { /** * @example * user */ authorizationType?: string; authorizedObjectId?: string[]; datasetId?: number; /** * @example * 操作人id */ optUser?: string; static names(): { [key: string]: string } { return { authorizationType: 'authorizationType', authorizedObjectId: 'authorizedObjectId', datasetId: 'datasetId', optUser: 'optUser', }; } static types(): { [key: string]: any } { return { authorizationType: 'string', authorizedObjectId: { 'type': 'array', 'itemType': 'string' }, datasetId: 'number', optUser: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIAddDatasetPermissionResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIAddDatasetPermissionResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAIAddDatasetPermissionResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAIAddDatasetPermissionResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIListDatasetHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIListDatasetRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ appId?: number; static names(): { [key: string]: string } { return { appId: 'appId', }; } static types(): { [key: string]: any } { return { appId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIListDatasetResponseBody extends $tea.Model { result?: ChatAIListDatasetResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': ChatAIListDatasetResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIListDatasetResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAIListDatasetResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAIListDatasetResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIQueryDatasetPermissionHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIQueryDatasetPermissionRequest extends $tea.Model { /** * @example * 数据集Id */ datasetId?: string; static names(): { [key: string]: string } { return { datasetId: 'datasetId', }; } static types(): { [key: string]: any } { return { datasetId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIQueryDatasetPermissionResponseBody extends $tea.Model { permissionInfos?: ChatAIQueryDatasetPermissionResponseBodyPermissionInfos[]; static names(): { [key: string]: string } { return { permissionInfos: 'permissionInfos', }; } static types(): { [key: string]: any } { return { permissionInfos: { 'type': 'array', 'itemType': ChatAIQueryDatasetPermissionResponseBodyPermissionInfos }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIQueryDatasetPermissionResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAIQueryDatasetPermissionResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAIQueryDatasetPermissionResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIRemoveDatasetPermissionHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIRemoveDatasetPermissionRequest extends $tea.Model { /** * @example * user */ authorizationType?: string; authorizedObjectId?: string[]; datasetId?: number; /** * @example * 操作人id */ optUser?: string; static names(): { [key: string]: string } { return { authorizationType: 'authorizationType', authorizedObjectId: 'authorizedObjectId', datasetId: 'datasetId', optUser: 'optUser', }; } static types(): { [key: string]: any } { return { authorizationType: 'string', authorizedObjectId: { 'type': 'array', 'itemType': 'string' }, datasetId: 'number', optUser: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIRemoveDatasetPermissionResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIRemoveDatasetPermissionResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAIRemoveDatasetPermissionResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAIRemoveDatasetPermissionResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAITextSentimentAnalysisHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAITextSentimentAnalysisRequest extends $tea.Model { history?: string[]; /** * @remarks * This parameter is required. */ text?: string; static names(): { [key: string]: string } { return { history: 'history', text: 'text', }; } static types(): { [key: string]: any } { return { history: { 'type': 'array', 'itemType': 'string' }, text: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAITextSentimentAnalysisResponseBody extends $tea.Model { result?: ChatAITextSentimentAnalysisResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: ChatAITextSentimentAnalysisResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAITextSentimentAnalysisResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAITextSentimentAnalysisResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAITextSentimentAnalysisResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiQueryLogsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiQueryLogsRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 123 */ appId?: number; /** * @example * 1744124223000 */ endTime?: number; /** * @remarks * This parameter is required. * * @example * 0 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 20 */ pageSize?: number; /** * @example * 123 */ scenceId?: number; /** * @example * 1744124223000 */ startTime?: number; static names(): { [key: string]: string } { return { appId: 'appId', endTime: 'endTime', pageNumber: 'pageNumber', pageSize: 'pageSize', scenceId: 'scenceId', startTime: 'startTime', }; } static types(): { [key: string]: any } { return { appId: 'number', endTime: 'number', pageNumber: 'number', pageSize: 'number', scenceId: 'number', startTime: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiQueryLogsResponseBody extends $tea.Model { data?: ChatAiQueryLogsResponseBodyData[]; /** * @example * 1 */ pageNumber?: number; /** * @example * 20 */ pageSize?: number; /** * @example * 200 */ total?: number; /** * @example * 50 */ totalPage?: number; static names(): { [key: string]: string } { return { data: 'data', pageNumber: 'pageNumber', pageSize: 'pageSize', total: 'total', totalPage: 'totalPage', }; } static types(): { [key: string]: any } { return { data: { 'type': 'array', 'itemType': ChatAiQueryLogsResponseBodyData }, pageNumber: 'number', pageSize: 'number', total: 'number', totalPage: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiQueryLogsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAiQueryLogsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAiQueryLogsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiTravelListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiTravelListRequest extends $tea.Model { paramList?: ChatAiTravelListRequestParamList[]; /** * @example * qaz12345900 */ travelId?: string; static names(): { [key: string]: string } { return { paramList: 'paramList', travelId: 'travelId', }; } static types(): { [key: string]: any } { return { paramList: { 'type': 'array', 'itemType': ChatAiTravelListRequestParamList }, travelId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiTravelListResponseBody extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiTravelListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatAiTravelListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatAiTravelListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatFormGetDataForApiAccessHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatFormGetDataForApiAccessRequest extends $tea.Model { /** * @remarks * This parameter is required. */ dingTalkTraceId?: string; static names(): { [key: string]: string } { return { dingTalkTraceId: 'dingTalkTraceId', }; } static types(): { [key: string]: any } { return { dingTalkTraceId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatFormGetDataForApiAccessResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ data?: string; static names(): { [key: string]: string } { return { data: 'data', }; } static types(): { [key: string]: any } { return { data: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatFormGetDataForApiAccessResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatFormGetDataForApiAccessResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatFormGetDataForApiAccessResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddGeneralFileHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddGeneralFileRequest extends $tea.Model { /** * @example * aaaaa */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * https://xxxxxxx.com/xxxxxx */ downloadUrl?: string; /** * @example * 这是一个财务制度相关的文件 */ fileDesc?: string; /** * @remarks * This parameter is required. * * @example * aaa.doc */ fileName?: string; tagList?: ChatMemoAddGeneralFileRequestTagList[]; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', downloadUrl: 'downloadUrl', fileDesc: 'fileDesc', fileName: 'fileName', tagList: 'tagList', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', downloadUrl: 'string', fileDesc: 'string', fileName: 'string', tagList: { 'type': 'array', 'itemType': ChatMemoAddGeneralFileRequestTagList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddGeneralFileResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; /** * @example * aaaa.doc */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddGeneralFileResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoAddGeneralFileResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoAddGeneralFileResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphNodeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphNodeRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. */ nodeInfo?: ChatMemoAddKnowledgeGraphNodeRequestNodeInfo; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', nodeInfo: 'nodeInfo', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', nodeInfo: ChatMemoAddKnowledgeGraphNodeRequestNodeInfo, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphNodeResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; /** * @example * aaaa.doc */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphNodeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoAddKnowledgeGraphNodeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoAddKnowledgeGraphNodeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphRelationHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphRelationRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. */ relationInfo?: ChatMemoAddKnowledgeGraphRelationRequestRelationInfo; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', relationInfo: 'relationInfo', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', relationInfo: ChatMemoAddKnowledgeGraphRelationRequestRelationInfo, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphRelationResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; /** * @example * aaaa.doc */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphRelationResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoAddKnowledgeGraphRelationResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoAddKnowledgeGraphRelationResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteGeneralFileHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteGeneralFileRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * aaaa.doc */ mediaId?: string; static names(): { [key: string]: string } { return { datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteGeneralFileResponseBody extends $tea.Model { /** * @example * true */ result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteGeneralFileResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoDeleteGeneralFileResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoDeleteGeneralFileResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphNodeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphNodeRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * xxxxx */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphNodeResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; success?: boolean; static names(): { [key: string]: string } { return { bizId: 'bizId', success: 'success', }; } static types(): { [key: string]: any } { return { bizId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphNodeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoDeleteKnowledgeGraphNodeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoDeleteKnowledgeGraphNodeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphRelationHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphRelationRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * xxxxx */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphRelationResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; success?: boolean; static names(): { [key: string]: string } { return { bizId: 'bizId', success: 'success', }; } static types(): { [key: string]: any } { return { bizId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoDeleteKnowledgeGraphRelationResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoDeleteKnowledgeGraphRelationResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoDeleteKnowledgeGraphRelationResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqAddHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqAddRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 办公室的电话是:13222333232 */ answer?: string; /** * @example * aaaaa */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * 办公室的电话是多少 */ question?: string; /** * @example * https://xxxxxxx.com/xxxxxx */ redirection?: string; static names(): { [key: string]: string } { return { answer: 'answer', bizId: 'bizId', datasetId: 'datasetId', question: 'question', redirection: 'redirection', }; } static types(): { [key: string]: any } { return { answer: 'string', bizId: 'string', datasetId: 'number', question: 'string', redirection: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqAddResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; /** * @example * aaaa.doc */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqAddResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoFaqAddResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoFaqAddResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqDeleteHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqDeleteRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * aaaa */ mediaId?: string; static names(): { [key: string]: string } { return { datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqDeleteResponseBody extends $tea.Model { /** * @example * true */ result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqDeleteResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoFaqDeleteResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoFaqDeleteResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqListRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * 1 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 20 */ pageSize?: number; static names(): { [key: string]: string } { return { datasetId: 'datasetId', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { datasetId: 'number', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqListResponseBody extends $tea.Model { data?: ChatMemoFaqListResponseBodyData[]; /** * @example * 1 */ pageNumber?: number; /** * @example * 20 */ pageSize?: number; /** * @example * 200 */ total?: number; /** * @example * 50 */ totalPage?: number; static names(): { [key: string]: string } { return { data: 'data', pageNumber: 'pageNumber', pageSize: 'pageSize', total: 'total', totalPage: 'totalPage', }; } static types(): { [key: string]: any } { return { data: { 'type': 'array', 'itemType': ChatMemoFaqListResponseBodyData }, pageNumber: 'number', pageSize: 'number', total: 'number', totalPage: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoFaqListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoFaqListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileListRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * 1 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 20 */ pageSize?: number; static names(): { [key: string]: string } { return { datasetId: 'datasetId', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { datasetId: 'number', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileListResponseBody extends $tea.Model { data?: ChatMemoGetFileListResponseBodyData[]; /** * @example * 1 */ pageNumber?: number; /** * @example * 20 */ pageSize?: number; /** * @example * 200 */ total?: number; /** * @example * 50 */ totalPage?: number; static names(): { [key: string]: string } { return { data: 'data', pageNumber: 'pageNumber', pageSize: 'pageSize', total: 'total', totalPage: 'totalPage', }; } static types(): { [key: string]: any } { return { data: { 'type': 'array', 'itemType': ChatMemoGetFileListResponseBodyData }, pageNumber: 'number', pageSize: 'number', total: 'number', totalPage: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoGetFileListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoGetFileListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileStatusHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileStatusRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * aaaa.doc */ mediaId?: string; static names(): { [key: string]: string } { return { datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileStatusResponseBody extends $tea.Model { /** * @example * -1 */ status?: number; /** * @example * 待处理 */ statusDesc?: string; static names(): { [key: string]: string } { return { status: 'status', statusDesc: 'statusDesc', }; } static types(): { [key: string]: any } { return { status: 'number', statusDesc: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileStatusResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoGetFileStatusResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoGetFileStatusResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphNodeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphNodeRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * xxxxx */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphNodeResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; /** * @remarks * This parameter is required. */ nodeInfo?: ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo; static names(): { [key: string]: string } { return { bizId: 'bizId', nodeInfo: 'nodeInfo', }; } static types(): { [key: string]: any } { return { bizId: 'string', nodeInfo: ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphNodeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoQueryKnowledgeGraphNodeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoQueryKnowledgeGraphNodeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphRelationHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphRelationRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. * * @example * xxxxx */ mediaId?: string; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', mediaId: 'mediaId', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', mediaId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphRelationResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; /** * @remarks * This parameter is required. */ relationInfo?: ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo; static names(): { [key: string]: string } { return { bizId: 'bizId', relationInfo: 'relationInfo', }; } static types(): { [key: string]: any } { return { bizId: 'string', relationInfo: ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphRelationResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoQueryKnowledgeGraphRelationResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoQueryKnowledgeGraphRelationResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphNodeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphNodeRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. */ nodeInfo?: ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', nodeInfo: 'nodeInfo', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', nodeInfo: ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphNodeResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; success?: boolean; static names(): { [key: string]: string } { return { bizId: 'bizId', success: 'success', }; } static types(): { [key: string]: any } { return { bizId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphNodeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoUpdateKnowledgeGraphNodeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoUpdateKnowledgeGraphNodeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphRelationHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphRelationRequest extends $tea.Model { /** * @example * xxxxxx */ bizId?: string; /** * @remarks * This parameter is required. * * @example * 111111 */ datasetId?: number; /** * @remarks * This parameter is required. */ relationInfo?: ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo; static names(): { [key: string]: string } { return { bizId: 'bizId', datasetId: 'datasetId', relationInfo: 'relationInfo', }; } static types(): { [key: string]: any } { return { bizId: 'string', datasetId: 'number', relationInfo: ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphRelationResponseBody extends $tea.Model { /** * @example * xxxxx */ bizId?: string; success?: boolean; static names(): { [key: string]: string } { return { bizId: 'bizId', success: 'success', }; } static types(): { [key: string]: any } { return { bizId: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphRelationResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ChatMemoUpdateKnowledgeGraphRelationResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ChatMemoUpdateKnowledgeGraphRelationResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailRequest extends $tea.Model { postId?: number; static names(): { [key: string]: string } { return { postId: 'postId', }; } static types(): { [key: string]: any } { return { postId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailResponseBody extends $tea.Model { result?: CirclePostDetailResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: CirclePostDetailResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CirclePostDetailResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CirclePostDetailResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostRecordHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostRecordRequest extends $tea.Model { direction?: number; endTime?: number; size?: number; startTime?: number; static names(): { [key: string]: string } { return { direction: 'direction', endTime: 'endTime', size: 'size', startTime: 'startTime', }; } static types(): { [key: string]: any } { return { direction: 'number', endTime: 'number', size: 'number', startTime: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostRecordResponseBody extends $tea.Model { result?: CirclePostRecordResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: CirclePostRecordResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostRecordResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CirclePostRecordResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CirclePostRecordResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeActiveCollegeDeptGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeActiveCollegeDeptGroupRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeActiveCollegeDeptGroupResponseBody extends $tea.Model { /** * @example * 0134124 */ openConversationId?: string; static names(): { [key: string]: string } { return { openConversationId: 'openConversationId', }; } static types(): { [key: string]: any } { return { openConversationId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeActiveCollegeDeptGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeActiveCollegeDeptGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeActiveCollegeDeptGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddCollegeDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddCollegeDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 三年二班 */ deptName?: string; /** * @remarks * This parameter is required. * * @example * class */ deptType?: string; /** * @remarks * This parameter is required. * * @example * 10 */ sortFactor?: number; /** * @remarks * This parameter is required. * * @example * 22222 */ superId?: number; static names(): { [key: string]: string } { return { deptName: 'deptName', deptType: 'deptType', sortFactor: 'sortFactor', superId: 'superId', }; } static types(): { [key: string]: any } { return { deptName: 'string', deptType: 'string', sortFactor: 'number', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddCollegeDeptResponseBody extends $tea.Model { /** * @example * 123123 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddCollegeDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeAddCollegeDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeAddCollegeDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddManagerHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddManagerRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 12525 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddManagerResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddManagerResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeAddManagerResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeAddManagerResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddStudentHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddStudentRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 6235234 */ deptId?: number; /** * @example * ”city“:"Beijing" */ empExtension?: { [key: string]: string }; /** * @example * male */ gender?: string; /** * @example * 11019xxxxxx0001 */ identifyId?: string; /** * @remarks * This parameter is required. * * @example * 186xxxxxxxx */ mobile?: string; /** * @example * 2015 */ startYear?: string; /** * @remarks * This parameter is required. * * @example * 张三 */ studentName?: string; /** * @remarks * This parameter is required. * * @example * mf1922051 */ studentNumber?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', empExtension: 'empExtension', gender: 'gender', identifyId: 'identifyId', mobile: 'mobile', startYear: 'startYear', studentName: 'studentName', studentNumber: 'studentNumber', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', empExtension: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, gender: 'string', identifyId: 'string', mobile: 'string', startYear: 'string', studentName: 'string', studentNumber: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddStudentResponseBody extends $tea.Model { /** * @example * NORMAL */ dingMemberStatus?: string; /** * @example * true */ isActive?: boolean; /** * @example * 1111111 */ studentId?: number; /** * @example * 11111111 */ unionId?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { dingMemberStatus: 'dingMemberStatus', isActive: 'isActive', studentId: 'studentId', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { dingMemberStatus: 'string', isActive: 'boolean', studentId: 'number', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeAddStudentResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeAddStudentResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeAddStudentResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeChangeStudentDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeChangeStudentDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 222222 */ newDeptId?: number; /** * @remarks * This parameter is required. * * @example * 33333 */ studentId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', newDeptId: 'newDeptId', studentId: 'studentId', }; } static types(): { [key: string]: any } { return { deptId: 'number', newDeptId: 'number', studentId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeChangeStudentDeptResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeChangeStudentDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeChangeStudentDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeChangeStudentDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeDeleteCollegeDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeDeleteCollegeDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeDeleteCollegeDeptResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeDeleteCollegeDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeDeleteCollegeDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeDeleteCollegeDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListCollegeSubDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListCollegeSubDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListCollegeSubDeptResponseBody extends $tea.Model { collegeDeptInfoSimpleList?: CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList[]; static names(): { [key: string]: string } { return { collegeDeptInfoSimpleList: 'collegeDeptInfoSimpleList', }; } static types(): { [key: string]: any } { return { collegeDeptInfoSimpleList: { 'type': 'array', 'itemType': CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListCollegeSubDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeListCollegeSubDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeListCollegeSubDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListDeptManagerHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListDeptManagerRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 10 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 100 */ pageSize?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { deptId: 'number', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListDeptManagerResponseBody extends $tea.Model { managerInfoSimpleList?: CollegeListDeptManagerResponseBodyManagerInfoSimpleList[]; /** * @example * 1000 */ totalCount?: number; static names(): { [key: string]: string } { return { managerInfoSimpleList: 'managerInfoSimpleList', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { managerInfoSimpleList: { 'type': 'array', 'itemType': CollegeListDeptManagerResponseBodyManagerInfoSimpleList }, totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListDeptManagerResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeListDeptManagerResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeListDeptManagerResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListStudentInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListStudentInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. */ deptId?: number; /** * @remarks * This parameter is required. * * @example * UNCHECKED */ dingStudentStatus?: string; /** * @remarks * This parameter is required. * * @example * 10 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 100 */ pageSize?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', dingStudentStatus: 'dingStudentStatus', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { deptId: 'number', dingStudentStatus: 'string', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListStudentInfoResponseBody extends $tea.Model { studentInfoSimpleList?: CollegeListStudentInfoResponseBodyStudentInfoSimpleList[]; /** * @example * 10 */ totalCount?: number; static names(): { [key: string]: string } { return { studentInfoSimpleList: 'studentInfoSimpleList', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { studentInfoSimpleList: { 'type': 'array', 'itemType': CollegeListStudentInfoResponseBodyStudentInfoSimpleList }, totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListStudentInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeListStudentInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeListStudentInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListUncheckedStudentHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListUncheckedStudentRequest extends $tea.Model { /** * @example * 1111111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 1 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 100 */ pageSize?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { deptId: 'number', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListUncheckedStudentResponseBody extends $tea.Model { studentInfoSimpleList?: CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList[]; /** * @example * 10 */ totalCount?: number; static names(): { [key: string]: string } { return { studentInfoSimpleList: 'studentInfoSimpleList', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { studentInfoSimpleList: { 'type': 'array', 'itemType': CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList }, totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListUncheckedStudentResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeListUncheckedStudentResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeListUncheckedStudentResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptGroupInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptGroupInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptGroupInfoResponseBody extends $tea.Model { /** * @example * xxx全员群 */ groupName?: string; /** * @example * 0124215 */ openConversationId?: string; static names(): { [key: string]: string } { return { groupName: 'groupName', openConversationId: 'openConversationId', }; } static types(): { [key: string]: any } { return { groupName: 'string', openConversationId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptGroupInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeQueryCollegeDeptGroupInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeQueryCollegeDeptGroupInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 111111 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptInfoResponseBody extends $tea.Model { /** * @example * 01123 */ deptId?: number; /** * @example * 三年二班 */ deptName?: string; /** * @example * class */ deptType?: string; /** * @example * 1 */ sortFactor?: number; /** * @example * 0123123 */ superId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', deptName: 'deptName', deptType: 'deptType', sortFactor: 'sortFactor', superId: 'superId', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptName: 'string', deptType: 'string', sortFactor: 'number', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryCollegeDeptInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeQueryCollegeDeptInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeQueryCollegeDeptInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 22222 */ studentId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', studentId: 'studentId', }; } static types(): { [key: string]: any } { return { deptId: 'number', studentId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByDeptResponseBody extends $tea.Model { /** * @example * 01123 */ deptId?: number; /** * @example * NORMAL */ dingMemberStatus?: string; /** * @example * ”city“:"Beijing" */ empExtension?: { [key: string]: any }; /** * @example * male */ gender?: string; /** * @example * 11019xxxxxx0001 */ identifyId?: string; /** * @example * true */ isActive?: boolean; /** * @example * 2015 */ startYear?: string; /** * @example * 1111111 */ studentId?: number; /** * @example * 张三 */ studentName?: string; /** * @example * mf1922051 */ studentNumber?: string; /** * @example * 11111111 */ unionId?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', dingMemberStatus: 'dingMemberStatus', empExtension: 'empExtension', gender: 'gender', identifyId: 'identifyId', isActive: 'isActive', startYear: 'startYear', studentId: 'studentId', studentName: 'studentName', studentNumber: 'studentNumber', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', dingMemberStatus: 'string', empExtension: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, gender: 'string', identifyId: 'string', isActive: 'boolean', startYear: 'string', studentId: 'number', studentName: 'string', studentNumber: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeQueryStudentInfoByDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeQueryStudentInfoByDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByMobileHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByMobileRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 187xxxxxxxx */ mobile?: string; static names(): { [key: string]: string } { return { mobile: 'mobile', }; } static types(): { [key: string]: any } { return { mobile: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByMobileResponseBody extends $tea.Model { deptStudentInfoList?: CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList[]; /** * @example * NORMAL */ dingMemberStatus?: string; /** * @example * ”city“:"Beijing" */ empExtension?: { [key: string]: any }; /** * @example * male */ gender?: string; /** * @example * 11019xxxxxx0001 */ identifyId?: string; /** * @example * true */ isActive?: boolean; /** * @example * 2015 */ startYear?: string; /** * @example * 1111111 */ studentId?: number; /** * @example * 张三 */ studentName?: string; /** * @example * 11111111 */ unionId?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { deptStudentInfoList: 'deptStudentInfoList', dingMemberStatus: 'dingMemberStatus', empExtension: 'empExtension', gender: 'gender', identifyId: 'identifyId', isActive: 'isActive', startYear: 'startYear', studentId: 'studentId', studentName: 'studentName', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptStudentInfoList: { 'type': 'array', 'itemType': CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList }, dingMemberStatus: 'string', empExtension: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, gender: 'string', identifyId: 'string', isActive: 'boolean', startYear: 'string', studentId: 'number', studentName: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByMobileResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeQueryStudentInfoByMobileResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeQueryStudentInfoByMobileResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByStudentIdHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByStudentIdRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 22222 */ studentId?: number; static names(): { [key: string]: string } { return { studentId: 'studentId', }; } static types(): { [key: string]: any } { return { studentId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByStudentIdResponseBody extends $tea.Model { deptStudentInfoList?: CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList[]; /** * @example * NORMAL */ dingMemberStatus?: string; /** * @example * ”city“:"Beijing" */ empExtension?: { [key: string]: any }; /** * @example * male */ gender?: string; /** * @example * 11019xxxxxx0001 */ identifyId?: string; /** * @example * true */ isActive?: boolean; /** * @example * 2015 */ startYear?: string; /** * @example * 1111111 */ studentId?: number; /** * @example * 张三 */ studentName?: string; /** * @example * 11111111 */ unionId?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { deptStudentInfoList: 'deptStudentInfoList', dingMemberStatus: 'dingMemberStatus', empExtension: 'empExtension', gender: 'gender', identifyId: 'identifyId', isActive: 'isActive', startYear: 'startYear', studentId: 'studentId', studentName: 'studentName', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptStudentInfoList: { 'type': 'array', 'itemType': CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList }, dingMemberStatus: 'string', empExtension: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, gender: 'string', identifyId: 'string', isActive: 'boolean', startYear: 'string', studentId: 'number', studentName: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByStudentIdResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeQueryStudentInfoByStudentIdResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeQueryStudentInfoByStudentIdResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveManagerHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveManagerRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * true */ isForce?: boolean; /** * @remarks * This parameter is required. * * @example * 12345 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', isForce: 'isForce', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', isForce: 'boolean', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveManagerResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveManagerResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeRemoveManagerResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeRemoveManagerResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveStudentHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveStudentRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 2222 */ studentId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', studentId: 'studentId', }; } static types(): { [key: string]: any } { return { deptId: 'number', studentId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveStudentResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeRemoveStudentResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeRemoveStudentResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeRemoveStudentResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateCollegeDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateCollegeDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ deptId?: number; deptName?: string; /** * @example * 10 */ sortFactor?: number; /** * @example * 22222 */ superId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', deptName: 'deptName', sortFactor: 'sortFactor', superId: 'superId', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptName: 'string', sortFactor: 'number', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateCollegeDeptResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateCollegeDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeUpdateCollegeDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeUpdateCollegeDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentDeptInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentDeptInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 22222 */ studentId?: number; /** * @example * mf193121 */ studentNumber?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', studentId: 'studentId', studentNumber: 'studentNumber', }; } static types(): { [key: string]: any } { return { deptId: 'number', studentId: 'number', studentNumber: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentDeptInfoResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentDeptInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeUpdateStudentDeptInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeUpdateStudentDeptInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentInfoRequest extends $tea.Model { /** * @example * "city":"beijing" */ empExtension?: { [key: string]: string }; /** * @example * male */ gender?: string; /** * @example * 11019xxxxxx0001 */ identifyId?: string; /** * @example * 2015 */ startYear?: string; /** * @remarks * This parameter is required. * * @example * 1111111 */ studentId?: number; /** * @example * 张三 */ studentName?: string; static names(): { [key: string]: string } { return { empExtension: 'empExtension', gender: 'gender', identifyId: 'identifyId', startYear: 'startYear', studentId: 'studentId', studentName: 'studentName', }; } static types(): { [key: string]: any } { return { empExtension: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, gender: 'string', identifyId: 'string', startYear: 'string', studentId: 'number', studentName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentInfoResponseBody extends $tea.Model { /** * @example * true */ isSuccessful?: boolean; static names(): { [key: string]: string } { return { isSuccessful: 'isSuccessful', }; } static types(): { [key: string]: any } { return { isSuccessful: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeUpdateStudentInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeUpdateStudentInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentMoblieHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentMoblieRequest extends $tea.Model { isForce?: boolean; /** * @remarks * This parameter is required. * * @example * 187xxxxxxxx */ newMobile?: string; /** * @remarks * This parameter is required. * * @example * 222222 */ studentId?: number; static names(): { [key: string]: string } { return { isForce: 'isForce', newMobile: 'newMobile', studentId: 'studentId', }; } static types(): { [key: string]: any } { return { isForce: 'boolean', newMobile: 'string', studentId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentMoblieResponseBody extends $tea.Model { /** * @example * failed */ updateResult?: string; static names(): { [key: string]: string } { return { updateResult: 'updateResult', }; } static types(): { [key: string]: any } { return { updateResult: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeUpdateStudentMoblieResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CollegeUpdateStudentMoblieResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CollegeUpdateStudentMoblieResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactCreateHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactCreateRequest extends $tea.Model { managerIdList?: string[]; /** * @remarks * This parameter is required. * * @example * A项目通讯录 */ name?: string; order?: number; static names(): { [key: string]: string } { return { managerIdList: 'managerIdList', name: 'name', order: 'order', }; } static types(): { [key: string]: any } { return { managerIdList: { 'type': 'array', 'itemType': 'string' }, name: 'string', order: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactCreateResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: CustomizeContactCreateResponseBodyContent; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: CustomizeContactCreateResponseBodyContent, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactCreateResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactCreateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactCreateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeleteHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeleteRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * xxx */ code?: string; static names(): { [key: string]: string } { return { code: 'code', }; } static types(): { [key: string]: any } { return { code: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeleteResponseBody extends $tea.Model { content?: boolean; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeleteResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeleteResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeleteResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptCreateHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptCreateRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; managerIdList?: string[]; /** * @remarks * This parameter is required. */ name?: string; order?: number; /** * @remarks * This parameter is required. */ parentDeptId?: number; refId?: number; /** * @remarks * This parameter is required. */ type?: number; static names(): { [key: string]: string } { return { code: 'code', managerIdList: 'managerIdList', name: 'name', order: 'order', parentDeptId: 'parentDeptId', refId: 'refId', type: 'type', }; } static types(): { [key: string]: any } { return { code: 'string', managerIdList: { 'type': 'array', 'itemType': 'string' }, name: 'string', order: 'number', parentDeptId: 'number', refId: 'number', type: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptCreateResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: number; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptCreateResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeptCreateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeptCreateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptDeleteHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptDeleteRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * XXX */ code?: string; /** * @remarks * This parameter is required. * * @example * 65722123 */ deptId?: number; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptDeleteResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: boolean; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptDeleteResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeptDeleteResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeptDeleteResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptGroupCreateHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptGroupCreateRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * alt-contact:Mzc0ODAwMQ== */ code?: string; /** * @remarks * This parameter is required. * * @example * 65725421 */ deptId?: number; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptGroupCreateResponseBody extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptGroupCreateResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeptGroupCreateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeptGroupCreateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ deptId?: number; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptInfoResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: CustomizeContactDeptInfoResponseBodyContent; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: CustomizeContactDeptInfoResponseBodyContent, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeptInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeptInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptListRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * XXXX */ code?: string; /** * @remarks * This parameter is required. * * @example * 65722123 */ deptId?: number; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptListResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: CustomizeContactDeptListResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': CustomizeContactDeptListResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeptListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeptListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptUpdateHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptUpdateRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ deptId?: number; managerIdList?: string[]; name?: string; order?: number; /** * @remarks * This parameter is required. */ parentDeptId?: number; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', managerIdList: 'managerIdList', name: 'name', order: 'order', parentDeptId: 'parentDeptId', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', managerIdList: { 'type': 'array', 'itemType': 'string' }, name: 'string', order: 'number', parentDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptUpdateResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: number; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptUpdateResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactDeptUpdateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactDeptUpdateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpAddHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpAddRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. * * @example * 65722123 */ deptId?: number; /** * @remarks * This parameter is required. */ userIdList?: string[]; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', userIdList: 'userIdList', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', userIdList: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpAddResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: boolean; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpAddResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactEmpAddResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactEmpAddResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpDeleteHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpDeleteRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. * * @example * 65722123 */ deptId?: number; /** * @remarks * This parameter is required. */ userIdList?: string[]; static names(): { [key: string]: string } { return { code: 'code', deptId: 'deptId', userIdList: 'userIdList', }; } static types(): { [key: string]: any } { return { code: 'string', deptId: 'number', userIdList: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpDeleteResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: boolean; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpDeleteResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactEmpDeleteResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactEmpDeleteResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpListRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 65722123 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpListResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: CustomizeContactEmpListResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': CustomizeContactEmpListResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactEmpListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactEmpListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactListResponseBody extends $tea.Model { content?: CustomizeContactListResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': CustomizeContactListResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactUpdateHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactUpdateRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * alt-contact:MjkwMDAa */ code?: string; managerIdList?: string[]; /** * @remarks * This parameter is required. * * @example * A项目通讯录 */ name?: string; /** * @remarks * This parameter is required. */ order?: number; static names(): { [key: string]: string } { return { code: 'code', managerIdList: 'managerIdList', name: 'name', order: 'order', }; } static types(): { [key: string]: any } { return { code: 'string', managerIdList: { 'type': 'array', 'itemType': 'string' }, name: 'string', order: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactUpdateResponseBody extends $tea.Model { content?: boolean; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactUpdateResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: CustomizeContactUpdateResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: CustomizeContactUpdateResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DIgitalStoreMessagePushHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DIgitalStoreMessagePushRequest extends $tea.Model { messageDataList?: DIgitalStoreMessagePushRequestMessageDataList[]; static names(): { [key: string]: string } { return { messageDataList: 'messageDataList', }; } static types(): { [key: string]: any } { return { messageDataList: { 'type': 'array', 'itemType': DIgitalStoreMessagePushRequestMessageDataList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DIgitalStoreMessagePushShrinkRequest extends $tea.Model { messageDataListShrink?: string; static names(): { [key: string]: string } { return { messageDataListShrink: 'messageDataList', }; } static types(): { [key: string]: any } { return { messageDataListShrink: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DIgitalStoreMessagePushResponseBody extends $tea.Model { /** * @example * true */ content?: boolean; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DIgitalStoreMessagePushResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DIgitalStoreMessagePushResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DIgitalStoreMessagePushResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreCardRecordHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreCardRecordRequest extends $tea.Model { /** * @example * 1696917858123 */ beginTime?: number; /** * @example * 1696918858123 */ endTime?: number; ids?: number[]; /** * @example * 1 */ pageNumber?: number; /** * @example * 10 */ pageSize?: number; /** * @example * 场景卡片名称 */ sceneCardName?: string; static names(): { [key: string]: string } { return { beginTime: 'beginTime', endTime: 'endTime', ids: 'ids', pageNumber: 'pageNumber', pageSize: 'pageSize', sceneCardName: 'sceneCardName', }; } static types(): { [key: string]: any } { return { beginTime: 'number', endTime: 'number', ids: { 'type': 'array', 'itemType': 'number' }, pageNumber: 'number', pageSize: 'number', sceneCardName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreCardRecordResponseBody extends $tea.Model { content?: DigitalStoreCardRecordResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStoreCardRecordResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreCardRecordResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreCardRecordResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreCardRecordResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreContactInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreContactInfoResponseBody extends $tea.Model { /** * @remarks * This parameter is required. * * @example * codexxxxx */ code?: string; /** * @example * 123 */ dingDeptId?: number; /** * @example * 门店通 */ name?: string; /** * @remarks * This parameter is required. * * @example * 5647993312 */ rootDeptId?: number; static names(): { [key: string]: string } { return { code: 'code', dingDeptId: 'dingDeptId', name: 'name', rootDeptId: 'rootDeptId', }; } static types(): { [key: string]: any } { return { code: 'string', dingDeptId: 'number', name: 'string', rootDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreContactInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreContactInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreContactInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreConversationsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreConversationsRequest extends $tea.Model { /** * @example * xxx店 */ conversationTitle?: string; /** * @example * store */ conversationType?: string; static names(): { [key: string]: string } { return { conversationTitle: 'conversationTitle', conversationType: 'conversationType', }; } static types(): { [key: string]: any } { return { conversationTitle: 'string', conversationType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreConversationsResponseBody extends $tea.Model { content?: DigitalStoreConversationsResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStoreConversationsResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreConversationsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreConversationsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreConversationsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordRequest extends $tea.Model { /** * @example * 1696917858123 */ beginTime?: number; /** * @example * 1696918858123 */ endTime?: number; ids?: number[]; /** * @example * 场景卡片名称 */ sceneCardName?: string; static names(): { [key: string]: string } { return { beginTime: 'beginTime', endTime: 'endTime', ids: 'ids', sceneCardName: 'sceneCardName', }; } static types(): { [key: string]: any } { return { beginTime: 'number', endTime: 'number', ids: { 'type': 'array', 'itemType': 'number' }, sceneCardName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordResponseBody extends $tea.Model { fileName?: string; fileType?: string; fileUrl?: string; id?: string; isImport?: string; remark?: string; status?: string; successNum?: string; totalNum?: string; static names(): { [key: string]: string } { return { fileName: 'fileName', fileType: 'fileType', fileUrl: 'fileUrl', id: 'id', isImport: 'isImport', remark: 'remark', status: 'status', successNum: 'successNum', totalNum: 'totalNum', }; } static types(): { [key: string]: any } { return { fileName: 'string', fileType: 'string', fileUrl: 'string', id: 'string', isImport: 'string', remark: 'string', status: 'string', successNum: 'string', totalNum: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreExportCardRecordResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreExportCardRecordResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordDetailHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordDetailRequest extends $tea.Model { /** * @example * 1696917858123 */ beginTime?: number; /** * @example * 1696918858123 */ endTime?: number; ids?: number[]; /** * @example * 场景卡片名称 */ sceneCardName?: string; static names(): { [key: string]: string } { return { beginTime: 'beginTime', endTime: 'endTime', ids: 'ids', sceneCardName: 'sceneCardName', }; } static types(): { [key: string]: any } { return { beginTime: 'number', endTime: 'number', ids: { 'type': 'array', 'itemType': 'number' }, sceneCardName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordDetailResponseBody extends $tea.Model { fileName?: string; fileType?: string; fileUrl?: string; id?: string; isImport?: string; remark?: string; status?: string; successNum?: string; totalNum?: string; static names(): { [key: string]: string } { return { fileName: 'fileName', fileType: 'fileType', fileUrl: 'fileUrl', id: 'id', isImport: 'isImport', remark: 'remark', status: 'status', successNum: 'successNum', totalNum: 'totalNum', }; } static types(): { [key: string]: any } { return { fileName: 'string', fileType: 'string', fileUrl: 'string', id: 'string', isImport: 'string', remark: 'string', status: 'string', successNum: 'string', totalNum: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreExportCardRecordDetailResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreExportCardRecordDetailResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreExportCardRecordDetailResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ groupId?: number; static names(): { [key: string]: string } { return { groupId: 'groupId', }; } static types(): { [key: string]: any } { return { groupId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupInfoResponseBody extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ groupId?: number; /** * @remarks * This parameter is required. * * @example * 分组1 */ groupName?: string; /** * @remarks * This parameter is required. */ storeIdList?: number[]; static names(): { [key: string]: string } { return { groupId: 'groupId', groupName: 'groupName', storeIdList: 'storeIdList', }; } static types(): { [key: string]: any } { return { groupId: 'number', groupName: 'string', storeIdList: { 'type': 'array', 'itemType': 'number' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreGroupInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreGroupInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupsResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: DigitalStoreGroupsResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStoreGroupsResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreGroupsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreGroupsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreNodeInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreNodeInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ nodeId?: number; static names(): { [key: string]: string } { return { code: 'code', nodeId: 'nodeId', }; } static types(): { [key: string]: any } { return { code: 'string', nodeId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreNodeInfoResponseBody extends $tea.Model { /** * @example * 76644111 */ dingDeptId?: number; /** * @remarks * This parameter is required. * * @example * 6756433 */ id?: number; /** * @remarks * This parameter is required. * * @example * 华夏之心店 */ name?: string; /** * @remarks * This parameter is required. * * @example * 873366531 */ parentId?: number; /** * @remarks * This parameter is required. * * @example * 1 */ type?: number; static names(): { [key: string]: string } { return { dingDeptId: 'dingDeptId', id: 'id', name: 'name', parentId: 'parentId', type: 'type', }; } static types(): { [key: string]: any } { return { dingDeptId: 'number', id: 'number', name: 'string', parentId: 'number', type: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreNodeInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreNodeInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreNodeInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreQueryConversationHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreQueryConversationRequest extends $tea.Model { /** * @example * F1342222 */ storeCode?: string; static names(): { [key: string]: string } { return { storeCode: 'storeCode', }; } static types(): { [key: string]: any } { return { storeCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreQueryConversationResponseBody extends $tea.Model { conversationTitle?: string; openConversationId?: string; static names(): { [key: string]: string } { return { conversationTitle: 'conversationTitle', openConversationId: 'openConversationId', }; } static types(): { [key: string]: any } { return { conversationTitle: 'string', openConversationId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreQueryConversationResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreQueryConversationResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreQueryConversationResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRightsInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRightsInfoResponseBody extends $tea.Model { /** * @example * 1659668620000 */ endTime?: number; /** * @remarks * This parameter is required. * * @example * 100 */ quantity?: number; /** * @example * RIGHT_MDT_LEVEL */ rightsCode?: string; /** * @remarks * This parameter is required. * * @example * 高级版 */ rightsName?: string; /** * @example * 1656990220000 */ startTime?: number; static names(): { [key: string]: string } { return { endTime: 'endTime', quantity: 'quantity', rightsCode: 'rightsCode', rightsName: 'rightsName', startTime: 'startTime', }; } static types(): { [key: string]: any } { return { endTime: 'number', quantity: 'number', rightsCode: 'string', rightsName: 'string', startTime: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRightsInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreRightsInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreRightsInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRolesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRolesResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: DigitalStoreRolesResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStoreRolesResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRolesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreRolesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreRolesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSceneScopeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSceneScopeRequest extends $tea.Model { /** * @example * cidxxa9122s733s1== */ openConversationId?: string; /** * @example * achieveAllocate */ sceneCode?: string; static names(): { [key: string]: string } { return { openConversationId: 'openConversationId', sceneCode: 'sceneCode', }; } static types(): { [key: string]: any } { return { openConversationId: 'string', sceneCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSceneScopeResponseBody extends $tea.Model { /** * @example * store */ groupConversationType?: string; /** * @example * 536239912 */ scopeId?: number; static names(): { [key: string]: string } { return { groupConversationType: 'groupConversationType', scopeId: 'scopeId', }; } static types(): { [key: string]: any } { return { groupConversationType: 'string', scopeId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSceneScopeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreSceneScopeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreSceneScopeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreStoreInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreStoreInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ storeId?: number; static names(): { [key: string]: string } { return { code: 'code', storeId: 'storeId', }; } static types(): { [key: string]: any } { return { code: 'string', storeId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreStoreInfoResponseBody extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 余杭塘路xxxx号 */ address?: string; /** * @remarks * This parameter is required. * * @example * 9:00-22:00 */ businessHours?: string; /** * @example * 64266411 */ dingDeptId?: number; /** * @remarks * This parameter is required. * * @example * 123 */ latitude?: string; /** * @remarks * This parameter is required. * * @example * 余杭塘路xxxx号 */ locationAddress?: string; /** * @remarks * This parameter is required. * * @example * 123 */ longitude?: string; /** * @remarks * This parameter is required. * * @example * 华夏之心店 */ name?: string; /** * @remarks * This parameter is required. * * @example * 873366531 */ parentId?: number; /** * @remarks * This parameter is required. * * @example * CLOSED */ status?: string; /** * @remarks * This parameter is required. * * @example * 10平方米 */ storeAcreage?: string; /** * @remarks * This parameter is required. * * @example * 1千兆 */ storeBandwidth?: string; /** * @remarks * This parameter is required. * * @example * xxxxxxxxxxx */ storeCode?: string; /** * @remarks * This parameter is required. * * @example * 6756433 */ storeId?: number; /** * @remarks * This parameter is required. * * @example * 0571-123456 */ telephone?: string; static names(): { [key: string]: string } { return { address: 'address', businessHours: 'businessHours', dingDeptId: 'dingDeptId', latitude: 'latitude', locationAddress: 'locationAddress', longitude: 'longitude', name: 'name', parentId: 'parentId', status: 'status', storeAcreage: 'storeAcreage', storeBandwidth: 'storeBandwidth', storeCode: 'storeCode', storeId: 'storeId', telephone: 'telephone', }; } static types(): { [key: string]: any } { return { address: 'string', businessHours: 'string', dingDeptId: 'number', latitude: 'string', locationAddress: 'string', longitude: 'string', name: 'string', parentId: 'number', status: 'string', storeAcreage: 'string', storeBandwidth: 'string', storeCode: 'string', storeId: 'number', telephone: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreStoreInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreStoreInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreStoreInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSubNodesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSubNodesRequest extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ nodeId?: number; static names(): { [key: string]: string } { return { code: 'code', nodeId: 'nodeId', }; } static types(): { [key: string]: any } { return { code: 'string', nodeId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSubNodesResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: DigitalStoreSubNodesResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStoreSubNodesResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSubNodesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreSubNodesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreSubNodesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoRequest extends $tea.Model { updateUserList?: DigitalStoreUpdateAuthInfoRequestUpdateUserList[]; static names(): { [key: string]: string } { return { updateUserList: 'updateUserList', }; } static types(): { [key: string]: any } { return { updateUserList: { 'type': 'array', 'itemType': DigitalStoreUpdateAuthInfoRequestUpdateUserList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreUpdateAuthInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreUpdateAuthInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUserInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUserInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * alt;ss1331 */ code?: string; /** * @remarks * This parameter is required. * * @example * 2311sds1 */ userId?: string; static names(): { [key: string]: string } { return { code: 'code', userId: 'userId', }; } static types(): { [key: string]: any } { return { code: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUserInfoResponseBody extends $tea.Model { /** * @example * 张三 */ name?: string; roleIdList?: number[]; /** * @remarks * This parameter is required. * * @example * 5647993312 */ scopeList?: number[]; /** * @remarks * This parameter is required. */ storeList?: number[]; /** * @remarks * This parameter is required. * * @example * 331222222 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', roleIdList: 'roleIdList', scopeList: 'scopeList', storeList: 'storeList', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', roleIdList: { 'type': 'array', 'itemType': 'number' }, scopeList: { 'type': 'array', 'itemType': 'number' }, storeList: { 'type': 'array', 'itemType': 'number' }, userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUserInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreUserInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreUserInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUsersHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUsersRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * alt:1213ss */ code?: string; /** * @remarks * This parameter is required. * * @example * 1231 */ nodeId?: number; static names(): { [key: string]: string } { return { code: 'code', nodeId: 'nodeId', }; } static types(): { [key: string]: any } { return { code: 'string', nodeId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUsersResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: DigitalStoreUsersResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStoreUsersResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUsersResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStoreUsersResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStoreUsersResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStorelistExportTaskRecordHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStorelistExportTaskRecordRequest extends $tea.Model { pageNumber?: number; pageSize?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStorelistExportTaskRecordResponseBody extends $tea.Model { content?: DigitalStorelistExportTaskRecordResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': DigitalStorelistExportTaskRecordResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStorelistExportTaskRecordResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: DigitalStorelistExportTaskRecordResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: DigitalStorelistExportTaskRecordResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalAppOrgsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalAppOrgsRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * ecological */ externalType?: string; static names(): { [key: string]: string } { return { externalType: 'externalType', }; } static types(): { [key: string]: any } { return { externalType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalAppOrgsResponseBody extends $tea.Model { result?: ExternalQueryExternalAppOrgsResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': ExternalQueryExternalAppOrgsResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalAppOrgsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ExternalQueryExternalAppOrgsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ExternalQueryExternalAppOrgsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalBelongMainOrgHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalBelongMainOrgRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * ecological */ externalType?: string; static names(): { [key: string]: string } { return { externalType: 'externalType', }; } static types(): { [key: string]: any } { return { externalType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalBelongMainOrgResponseBody extends $tea.Model { corpId?: string; corpName?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', corpName: 'corpName', }; } static types(): { [key: string]: any } { return { corpId: 'string', corpName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalBelongMainOrgResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ExternalQueryExternalBelongMainOrgResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ExternalQueryExternalBelongMainOrgResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalOrgsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalOrgsRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * ecological */ externalType?: string; static names(): { [key: string]: string } { return { externalType: 'externalType', }; } static types(): { [key: string]: any } { return { externalType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalOrgsResponseBody extends $tea.Model { result?: ExternalQueryExternalOrgsResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': ExternalQueryExternalOrgsResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalOrgsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: ExternalQueryExternalOrgsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: ExternalQueryExternalOrgsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetConvertResultHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetConvertResultRequest extends $tea.Model { /** * @remarks * This parameter is required. */ taskBizId?: string; static names(): { [key: string]: string } { return { taskBizId: 'taskBizId', }; } static types(): { [key: string]: any } { return { taskBizId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetConvertResultResponseBody extends $tea.Model { dingOpenErrcode?: number; errorMsg?: string; result?: GetConvertResultResponseBodyResult; success?: boolean; static names(): { [key: string]: string } { return { dingOpenErrcode: 'dingOpenErrcode', errorMsg: 'errorMsg', result: 'result', success: 'success', }; } static types(): { [key: string]: any } { return { dingOpenErrcode: 'number', errorMsg: 'string', result: GetConvertResultResponseBodyResult, success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetConvertResultResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: GetConvertResultResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: GetConvertResultResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultRequest extends $tea.Model { bizCode?: string; /** * @remarks * This parameter is required. */ taskPackageId?: string; static names(): { [key: string]: string } { return { bizCode: 'bizCode', taskPackageId: 'taskPackageId', }; } static types(): { [key: string]: any } { return { bizCode: 'string', taskPackageId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultResponseBody extends $tea.Model { taskPackageId?: string; tasks?: GetTaskPackageResultResponseBodyTasks[]; static names(): { [key: string]: string } { return { taskPackageId: 'taskPackageId', tasks: 'tasks', }; } static types(): { [key: string]: any } { return { taskPackageId: 'string', tasks: { 'type': 'array', 'itemType': GetTaskPackageResultResponseBodyTasks }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: GetTaskPackageResultResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: GetTaskPackageResultResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskQueueHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskQueueRequest extends $tea.Model { /** * @remarks * This parameter is required. */ bizCode?: string; static names(): { [key: string]: string } { return { bizCode: 'bizCode', }; } static types(): { [key: string]: any } { return { bizCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskQueueResponseBody extends $tea.Model { errorCode?: string; errorMsg?: string; result?: GetTaskQueueResponseBodyResult; success?: boolean; static names(): { [key: string]: string } { return { errorCode: 'errorCode', errorMsg: 'errorMsg', result: 'result', success: 'success', }; } static types(): { [key: string]: any } { return { errorCode: 'string', errorMsg: 'string', result: GetTaskQueueResponseBodyResult, success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskQueueResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: GetTaskQueueResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: GetTaskQueueResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class HospitalDataCheckHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class HospitalDataCheckRequest extends $tea.Model { /** * @example * 1 */ allDeptCount?: number; /** * @example * 1 */ allDeptUserCount?: number; /** * @example * 1 */ allGroupCount?: number; /** * @example * 1 */ allGroupUserCount?: number; /** * @example * 1 */ deptCount?: number; /** * @example * 1 */ deptUserCount?: number; /** * @example * 1 */ groupCount?: number; /** * @example * 1 */ groupUserCount?: number; static names(): { [key: string]: string } { return { allDeptCount: 'allDeptCount', allDeptUserCount: 'allDeptUserCount', allGroupCount: 'allGroupCount', allGroupUserCount: 'allGroupUserCount', deptCount: 'deptCount', deptUserCount: 'deptUserCount', groupCount: 'groupCount', groupUserCount: 'groupUserCount', }; } static types(): { [key: string]: any } { return { allDeptCount: 'number', allDeptUserCount: 'number', allGroupCount: 'number', allGroupUserCount: 'number', deptCount: 'number', deptUserCount: 'number', groupCount: 'number', groupUserCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class HospitalDataCheckResponseBody extends $tea.Model { allDeptCount?: number; allDeptUserCount?: number; allGroupCount?: number; allGroupUserCount?: number; deptCount?: number; deptUserCount?: number; groupCount?: number; groupUserCount?: number; match?: boolean; static names(): { [key: string]: string } { return { allDeptCount: 'allDeptCount', allDeptUserCount: 'allDeptUserCount', allGroupCount: 'allGroupCount', allGroupUserCount: 'allGroupUserCount', deptCount: 'deptCount', deptUserCount: 'deptUserCount', groupCount: 'groupCount', groupUserCount: 'groupUserCount', match: 'match', }; } static types(): { [key: string]: any } { return { allDeptCount: 'number', allDeptUserCount: 'number', allGroupCount: 'number', allGroupUserCount: 'number', deptCount: 'number', deptUserCount: 'number', groupCount: 'number', groupUserCount: 'number', match: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class HospitalDataCheckResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: HospitalDataCheckResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: HospitalDataCheckResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCommonEventHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCommonEventRequest extends $tea.Model { /** * @remarks * This parameter is required. */ action?: string; /** * @remarks * This parameter is required. */ appKey?: string; bizData?: { [key: string]: any }; /** * @remarks * This parameter is required. */ eventType?: string[]; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', bizData: 'bizData', eventType: 'eventType', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', bizData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, eventType: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCommonEventResponseBody extends $tea.Model { errorMsg?: string; requestId?: string; result?: IndustryManufactureCommonEventResponseBodyResult; static names(): { [key: string]: string } { return { errorMsg: 'errorMsg', requestId: 'requestId', result: 'result', }; } static types(): { [key: string]: any } { return { errorMsg: 'string', requestId: 'string', result: IndustryManufactureCommonEventResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCommonEventResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureCommonEventResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureCommonEventResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCostRecordListGetHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCostRecordListGetRequest extends $tea.Model { appId?: number; appIds?: number[]; appName?: string; corpId?: string; cursor?: number; endTime?: number; instanceId?: string; isvOrgId?: number; materialNo?: string; microappAgentId?: number; orderNo?: string; orgId?: number; pageNumber?: number; pageSize?: number; productionTaskNo?: string; startTime?: number; suiteKey?: string; tokenGrantType?: number; static names(): { [key: string]: string } { return { appId: 'appId', appIds: 'appIds', appName: 'appName', corpId: 'corpId', cursor: 'cursor', endTime: 'endTime', instanceId: 'instanceId', isvOrgId: 'isvOrgId', materialNo: 'materialNo', microappAgentId: 'microappAgentId', orderNo: 'orderNo', orgId: 'orgId', pageNumber: 'pageNumber', pageSize: 'pageSize', productionTaskNo: 'productionTaskNo', startTime: 'startTime', suiteKey: 'suiteKey', tokenGrantType: 'tokenGrantType', }; } static types(): { [key: string]: any } { return { appId: 'number', appIds: { 'type': 'array', 'itemType': 'number' }, appName: 'string', corpId: 'string', cursor: 'number', endTime: 'number', instanceId: 'string', isvOrgId: 'number', materialNo: 'string', microappAgentId: 'number', orderNo: 'string', orgId: 'number', pageNumber: 'number', pageSize: 'number', productionTaskNo: 'string', startTime: 'number', suiteKey: 'string', tokenGrantType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCostRecordListGetResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ hasMore?: boolean; list?: IndustryManufactureCostRecordListGetResponseBodyList[]; /** * @remarks * This parameter is required. */ nextCursor?: number; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { hasMore: 'hasMore', list: 'list', nextCursor: 'nextCursor', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { hasMore: 'boolean', list: { 'type': 'array', 'itemType': IndustryManufactureCostRecordListGetResponseBodyList }, nextCursor: 'number', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCostRecordListGetResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureCostRecordListGetResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureCostRecordListGetResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureFeeListGetHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureFeeListGetRequest extends $tea.Model { appId?: number; appIds?: number[]; appName?: string; corpId?: string; cursor?: number; endTime?: number; isvOrgId?: number; materialNo?: string; microappAgentId?: number; orgId?: number; pageNumber?: number; pageSize?: number; productionTaskNo?: string; startTime?: number; suiteKey?: string; tokenGrantType?: number; type?: string; static names(): { [key: string]: string } { return { appId: 'appId', appIds: 'appIds', appName: 'appName', corpId: 'corpId', cursor: 'cursor', endTime: 'endTime', isvOrgId: 'isvOrgId', materialNo: 'materialNo', microappAgentId: 'microappAgentId', orgId: 'orgId', pageNumber: 'pageNumber', pageSize: 'pageSize', productionTaskNo: 'productionTaskNo', startTime: 'startTime', suiteKey: 'suiteKey', tokenGrantType: 'tokenGrantType', type: 'type', }; } static types(): { [key: string]: any } { return { appId: 'number', appIds: { 'type': 'array', 'itemType': 'number' }, appName: 'string', corpId: 'string', cursor: 'number', endTime: 'number', isvOrgId: 'number', materialNo: 'string', microappAgentId: 'number', orgId: 'number', pageNumber: 'number', pageSize: 'number', productionTaskNo: 'string', startTime: 'number', suiteKey: 'string', tokenGrantType: 'number', type: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureFeeListGetResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ hasMore?: boolean; /** * @remarks * This parameter is required. */ list?: IndustryManufactureFeeListGetResponseBodyList[]; /** * @remarks * This parameter is required. */ nextCursor?: number; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { hasMore: 'hasMore', list: 'list', nextCursor: 'nextCursor', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { hasMore: 'boolean', list: { 'type': 'array', 'itemType': IndustryManufactureFeeListGetResponseBodyList }, nextCursor: 'number', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureFeeListGetResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureFeeListGetResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureFeeListGetResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureLabourCostHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureLabourCostRequest extends $tea.Model { appId?: number; appIds?: number[]; appName?: string; corpId?: string; cursor?: number; endTime?: number; isvOrgId?: string; materialNo?: string; microappAgentId?: number; orgId?: number; /** * @remarks * This parameter is required. */ pageNumber?: number; /** * @remarks * This parameter is required. */ pageSize?: number; processNo?: string; startTime?: number; suiteKey?: string; tokenGrantType?: number; static names(): { [key: string]: string } { return { appId: 'appId', appIds: 'appIds', appName: 'appName', corpId: 'corpId', cursor: 'cursor', endTime: 'endTime', isvOrgId: 'isvOrgId', materialNo: 'materialNo', microappAgentId: 'microappAgentId', orgId: 'orgId', pageNumber: 'pageNumber', pageSize: 'pageSize', processNo: 'processNo', startTime: 'startTime', suiteKey: 'suiteKey', tokenGrantType: 'tokenGrantType', }; } static types(): { [key: string]: any } { return { appId: 'number', appIds: { 'type': 'array', 'itemType': 'number' }, appName: 'string', corpId: 'string', cursor: 'number', endTime: 'number', isvOrgId: 'string', materialNo: 'string', microappAgentId: 'number', orgId: 'number', pageNumber: 'number', pageSize: 'number', processNo: 'string', startTime: 'number', suiteKey: 'string', tokenGrantType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureLabourCostResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ hasMore?: boolean; list?: IndustryManufactureLabourCostResponseBodyList[]; /** * @remarks * This parameter is required. */ nextCursor?: number; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { hasMore: 'hasMore', list: 'list', nextCursor: 'nextCursor', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { hasMore: 'boolean', list: { 'type': 'array', 'itemType': IndustryManufactureLabourCostResponseBodyList }, nextCursor: 'number', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureLabourCostResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureLabourCostResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureLabourCostResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMaterialListHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMaterialListRequest extends $tea.Model { appId?: number; appIds?: number[]; appName?: string; /** * @remarks * This parameter is required. */ corpId?: string; currentPage?: number; cursor?: number; endTime?: number; instanceId?: string; isvOrgId?: number; materialNo?: string; microappAgentId?: number; orgId?: number; pageSize?: number; startTime?: number; suiteKey?: string; tokenGrantType?: number; static names(): { [key: string]: string } { return { appId: 'appId', appIds: 'appIds', appName: 'appName', corpId: 'corpId', currentPage: 'currentPage', cursor: 'cursor', endTime: 'endTime', instanceId: 'instanceId', isvOrgId: 'isvOrgId', materialNo: 'materialNo', microappAgentId: 'microappAgentId', orgId: 'orgId', pageSize: 'pageSize', startTime: 'startTime', suiteKey: 'suiteKey', tokenGrantType: 'tokenGrantType', }; } static types(): { [key: string]: any } { return { appId: 'number', appIds: { 'type': 'array', 'itemType': 'number' }, appName: 'string', corpId: 'string', currentPage: 'number', cursor: 'number', endTime: 'number', instanceId: 'string', isvOrgId: 'number', materialNo: 'string', microappAgentId: 'number', orgId: 'number', pageSize: 'number', startTime: 'number', suiteKey: 'string', tokenGrantType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMaterialListResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ hasMore?: boolean; list?: IndustryManufactureMaterialListResponseBodyList[]; /** * @remarks * This parameter is required. */ nextCursor?: number; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { hasMore: 'hasMore', list: 'list', nextCursor: 'nextCursor', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { hasMore: 'boolean', list: { 'type': 'array', 'itemType': IndustryManufactureMaterialListResponseBodyList }, nextCursor: 'number', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMaterialListResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMaterialListResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMaterialListResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesDispatchTaskHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesDispatchTaskRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @remarks * This parameter is required. * * @example * opsoft */ appKey?: string; /** * @example * task */ baseDataName?: string; /** * @example * 3 */ defectsAmount?: string; /** * @example * 张三 */ dispatchStaffName?: string; /** * @example * 170000000332 */ dispatchStaffNo?: string; /** * @example * 20 */ fineAmount?: string; /** * @example * 1 */ overdue?: number; /** * @example * 321 */ planQuantity?: number; /** * @example * 1 */ priority?: number; /** * @example * 打磨 */ processName?: string; /** * @example * fsdfs3fsd2234wds */ processUuid?: string; /** * @example * dingfsdfs3fsd2234wds */ productCode?: string; /** * @example * 毛坯KM50二级盖 */ productName?: string; /** * @example * 20*20*3 */ productSpecification?: string; /** * @example * dingfsdfs3fsd2234wds */ projectCode?: string; /** * @example * 0220423001 */ projectId?: string; /** * @example * WORKING */ projectStatus?: string; /** * @example * [{"userId":"123","name":"汉俊","planQuantity":30}] */ taskOperators?: string; /** * @example * 2021-03-12 23:59:59 */ taskPlanEndTime?: string; /** * @example * 2021-03-12 23:59:59 */ taskPlanStartTime?: string; /** * @example * WORKING */ taskStatus?: string; /** * @example * NORMAL */ taskType?: string; /** * @example * dfsdfs3fsd2234wds */ teamId?: string; /** * @remarks * This parameter is required. * * @example * fsdfs3fsd2234wds */ uuid?: string; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', baseDataName: 'baseDataName', defectsAmount: 'defectsAmount', dispatchStaffName: 'dispatchStaffName', dispatchStaffNo: 'dispatchStaffNo', fineAmount: 'fineAmount', overdue: 'overdue', planQuantity: 'planQuantity', priority: 'priority', processName: 'processName', processUuid: 'processUuid', productCode: 'productCode', productName: 'productName', productSpecification: 'productSpecification', projectCode: 'projectCode', projectId: 'projectId', projectStatus: 'projectStatus', taskOperators: 'taskOperators', taskPlanEndTime: 'taskPlanEndTime', taskPlanStartTime: 'taskPlanStartTime', taskStatus: 'taskStatus', taskType: 'taskType', teamId: 'teamId', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', baseDataName: 'string', defectsAmount: 'string', dispatchStaffName: 'string', dispatchStaffNo: 'string', fineAmount: 'string', overdue: 'number', planQuantity: 'number', priority: 'number', processName: 'string', processUuid: 'string', productCode: 'string', productName: 'string', productSpecification: 'string', projectCode: 'string', projectId: 'string', projectStatus: 'string', taskOperators: 'string', taskPlanEndTime: 'string', taskPlanStartTime: 'string', taskStatus: 'string', taskType: 'string', teamId: 'string', uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesDispatchTaskResponseBody extends $tea.Model { result?: IndustryManufactureMesDispatchTaskResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesDispatchTaskResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesDispatchTaskResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesDispatchTaskResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesDispatchTaskResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesMaterialHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesMaterialRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @remarks * This parameter is required. * * @example * opsoft */ appKey?: string; /** * @example * material */ baseDataName?: string; /** * @example * 紧压白茶,白茶,红茶 */ category?: string; /** * **if can be null:** * true */ extendData?: IndustryManufactureMesMaterialRequestExtendData[]; /** * @example * 20220509028 */ productCode?: string; /** * @example * 毛坯SNR47端盖 */ productName?: string; /** * @example * KM63 */ productSpecification?: string; /** * @example * 原材料 */ prop?: string; /** * @example * 件 */ unit?: string; /** * @remarks * This parameter is required. * * @example * 39C1E213-86B2-706B-9615-5B957DF8C15D */ uuid?: string; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', baseDataName: 'baseDataName', category: 'category', extendData: 'extendData', productCode: 'productCode', productName: 'productName', productSpecification: 'productSpecification', prop: 'prop', unit: 'unit', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', baseDataName: 'string', category: 'string', extendData: { 'type': 'array', 'itemType': IndustryManufactureMesMaterialRequestExtendData }, productCode: 'string', productName: 'string', productSpecification: 'string', prop: 'string', unit: 'string', uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesMaterialResponseBody extends $tea.Model { result?: IndustryManufactureMesMaterialResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesMaterialResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesMaterialResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesMaterialResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesMaterialResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutPlanHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutPlanRequest extends $tea.Model { /** * @example * APPROVING */ approvalStatus?: string; /** * @example * [{"userId":"123","name":"汉俊"}] */ approver?: string; /** * @remarks * This parameter is required. * * @example * wwPlan */ baseDataName?: string; /** * @remarks * This parameter is required. * * @example * WWJH-20220728 */ outSourceProjectCode?: string; /** * @example * cid34444 */ outSourceTeamId?: string; /** * @example * 321 */ price?: string; /** * @example * 20220728_OP20 */ processIdentificationCode?: string; /** * @example * [{ "uuid": "1543878029936459777", "name": "YF-盐雾", "preProcess": "1470231820594245633" }] */ processUuids?: string; /** * @example * WL12345 */ productCode?: string; /** * @example * 毛坯KM63三级盖 */ productName?: string; /** * @example * 5/16*13.5 */ productSpecification?: string; /** * @example * 20220728_001 */ projectCode?: string; /** * @example * 20220728_001 */ projectId?: string; /** * @example * 321 */ sendPlanQuantity?: string; /** * @example * GX002 */ supplierCode?: string; /** * @example * 北京供应 */ supplierName?: string; /** * @example * 20 */ totalWage?: string; /** * @remarks * This parameter is required. * * @example * C1E213-86B2-706B-9615-5B957DF8C15D */ uuid?: string; static names(): { [key: string]: string } { return { approvalStatus: 'approvalStatus', approver: 'approver', baseDataName: 'baseDataName', outSourceProjectCode: 'outSourceProjectCode', outSourceTeamId: 'outSourceTeamId', price: 'price', processIdentificationCode: 'processIdentificationCode', processUuids: 'processUuids', productCode: 'productCode', productName: 'productName', productSpecification: 'productSpecification', projectCode: 'projectCode', projectId: 'projectId', sendPlanQuantity: 'sendPlanQuantity', supplierCode: 'supplierCode', supplierName: 'supplierName', totalWage: 'totalWage', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { approvalStatus: 'string', approver: 'string', baseDataName: 'string', outSourceProjectCode: 'string', outSourceTeamId: 'string', price: 'string', processIdentificationCode: 'string', processUuids: 'string', productCode: 'string', productName: 'string', productSpecification: 'string', projectCode: 'string', projectId: 'string', sendPlanQuantity: 'string', supplierCode: 'string', supplierName: 'string', totalWage: 'string', uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutPlanResponseBody extends $tea.Model { result?: IndustryManufactureMesOutPlanResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesOutPlanResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutPlanResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesOutPlanResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesOutPlanResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutputHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutputRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @remarks * This parameter is required. * * @example * opsoft */ appKey?: string; /** * @example * AGREE */ approveStatus?: string; /** * @example * output */ baseDataName?: string; /** * @example * 3 */ defectsAmount?: string; /** * @example * [{"count":10,"reason":"工废"},{"count":20,"reason":"料废"}] */ defectsReason?: string; /** * @example * 20 */ fineAmount?: string; /** * @example * y */ hasQualityTest?: string; /** * @example * 1 */ overdue?: number; /** * @example * 321 */ planQuantity?: number; /** * @example * 1 */ priority?: number; /** * @example * 打磨 */ processName?: string; /** * @example * fsdfs3fsd2234wds */ processUuid?: string; /** * @example * dingfsdfs3fsd2234wds */ productCode?: string; /** * @example * 毛坯KM50二级盖 */ productName?: string; /** * @example * 20*20*3 */ productSpecification?: string; /** * @example * dingfsdfs3fsd2234wds */ projectCode?: string; /** * @example * 0220423001 */ projectId?: string; /** * @example * WORKING */ projectStatus?: string; /** * @example * VERIFIED */ qualityTestStatus?: string; /** * @example * 2021-03-12 23:59:59 */ taskPlanEndTime?: string; /** * @example * 2021-03-12 23:59:59 */ taskPlanStartTime?: string; /** * @example * WORKING */ taskStatus?: string; /** * @example * NORMAL */ taskType?: string; /** * @example * C1E213-86B2-706B-9615-5B957DF8C15D */ taskUuid?: string; /** * @example * dfsdfs3fsd2234wds */ teamId?: string; /** * @example * 170000000332 */ userId?: string; /** * @example * 张三 */ userName?: string; /** * @remarks * This parameter is required. * * @example * fsdfs3fsd2234wds */ uuid?: string; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', approveStatus: 'approveStatus', baseDataName: 'baseDataName', defectsAmount: 'defectsAmount', defectsReason: 'defectsReason', fineAmount: 'fineAmount', hasQualityTest: 'hasQualityTest', overdue: 'overdue', planQuantity: 'planQuantity', priority: 'priority', processName: 'processName', processUuid: 'processUuid', productCode: 'productCode', productName: 'productName', productSpecification: 'productSpecification', projectCode: 'projectCode', projectId: 'projectId', projectStatus: 'projectStatus', qualityTestStatus: 'qualityTestStatus', taskPlanEndTime: 'taskPlanEndTime', taskPlanStartTime: 'taskPlanStartTime', taskStatus: 'taskStatus', taskType: 'taskType', taskUuid: 'taskUuid', teamId: 'teamId', userId: 'userId', userName: 'userName', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', approveStatus: 'string', baseDataName: 'string', defectsAmount: 'string', defectsReason: 'string', fineAmount: 'string', hasQualityTest: 'string', overdue: 'number', planQuantity: 'number', priority: 'number', processName: 'string', processUuid: 'string', productCode: 'string', productName: 'string', productSpecification: 'string', projectCode: 'string', projectId: 'string', projectStatus: 'string', qualityTestStatus: 'string', taskPlanEndTime: 'string', taskPlanStartTime: 'string', taskStatus: 'string', taskType: 'string', taskUuid: 'string', teamId: 'string', userId: 'string', userName: 'string', uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutputResponseBody extends $tea.Model { result?: IndustryManufactureMesOutputResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesOutputResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutputResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesOutputResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesOutputResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProcessHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProcessRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @remarks * This parameter is required. * * @example * opsoft */ appKey?: string; /** * @example * process */ baseDataName?: string; extendData?: IndustryManufactureMesProcessRequestExtendData[]; /** * @example * 打磨 */ name?: string; /** * @example * y */ needDispatch?: string; /** * @example * n */ needQualityTest?: string; /** * @example * 011354 */ no?: string; /** * @example * 0.21 */ price?: string; /** * @example * 自制 */ prop?: string; /** * @example * 这里是备注 */ remark?: string; /** * @example * 止口面攻牙的操作方法 */ sop?: string; /** * @remarks * This parameter is required. * * @example * 39C1E213-86B2-706B-9615-5B957DF8C15D */ uuid?: string; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', baseDataName: 'baseDataName', extendData: 'extendData', name: 'name', needDispatch: 'needDispatch', needQualityTest: 'needQualityTest', no: 'no', price: 'price', prop: 'prop', remark: 'remark', sop: 'sop', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', baseDataName: 'string', extendData: { 'type': 'array', 'itemType': IndustryManufactureMesProcessRequestExtendData }, name: 'string', needDispatch: 'string', needQualityTest: 'string', no: 'string', price: 'string', prop: 'string', remark: 'string', sop: 'string', uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProcessResponseBody extends $tea.Model { result?: IndustryManufactureMesProcessResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesProcessResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProcessResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesProcessResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesProcessResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProductionPlanHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProductionPlanRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @example * 2021-03-12 00:00:00 */ actualEndTime?: string; /** * @example * 2021-03-12 00:00:00 */ actualStartTime?: string; /** * @remarks * This parameter is required. * * @example * opsoft */ appKey?: string; /** * @remarks * This parameter is required. * * @example * productionplan */ baseDataName?: string; /** * @example * 39C1E213-86B2-706B-9615-5B957DF8C15D */ bomUuid?: string; events?: string[]; extendData?: IndustryManufactureMesProductionPlanRequestExtendData[]; /** * @example * 20220509034 */ no?: string; /** * @example * 0 */ overdue?: string; /** * @example * 2021-03-12 00:00:00 */ planEndTime?: string; /** * @example * 321 */ planQuantity?: string; /** * @example * 2021-03-12 00:00:00 */ planStartTime?: string; /** * @example * { TODO "uuid": "1543878029722550273", "name": "YF-钣金", "preProcess": "" } */ processUuids?: string; /** * @example * 011351 */ productCode?: string; /** * @example * 毛坯KM50三级盖 */ productName?: string; /** * @example * KM50 */ productSpecification?: string; /** * @example * 300 */ qualifiedQuantity?: string; /** * @example * sell20220509034 */ sellOrderNo?: string; /** * @example * WORKING */ status?: string; /** * @example * { "processId1": ["teamId11", "teamId12", "teamId13"], "processId2": ["teamId21", "teamId22", "teamId23"] } */ teamList?: string; /** * @example * 毛坯KM50三级盖 */ title?: string; /** * @example * NORMAL */ type?: string; /** * @example * 个 */ unit?: string; /** * @remarks * This parameter is required. * * @example * 39C1E213-86B2-706B-9615-5B957DF8C15D */ uuid?: string; static names(): { [key: string]: string } { return { action: 'action', actualEndTime: 'actualEndTime', actualStartTime: 'actualStartTime', appKey: 'appKey', baseDataName: 'baseDataName', bomUuid: 'bomUuid', events: 'events', extendData: 'extendData', no: 'no', overdue: 'overdue', planEndTime: 'planEndTime', planQuantity: 'planQuantity', planStartTime: 'planStartTime', processUuids: 'processUuids', productCode: 'productCode', productName: 'productName', productSpecification: 'productSpecification', qualifiedQuantity: 'qualifiedQuantity', sellOrderNo: 'sellOrderNo', status: 'status', teamList: 'teamList', title: 'title', type: 'type', unit: 'unit', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { action: 'string', actualEndTime: 'string', actualStartTime: 'string', appKey: 'string', baseDataName: 'string', bomUuid: 'string', events: { 'type': 'array', 'itemType': 'string' }, extendData: { 'type': 'array', 'itemType': IndustryManufactureMesProductionPlanRequestExtendData }, no: 'string', overdue: 'string', planEndTime: 'string', planQuantity: 'string', planStartTime: 'string', processUuids: 'string', productCode: 'string', productName: 'string', productSpecification: 'string', qualifiedQuantity: 'string', sellOrderNo: 'string', status: 'string', teamList: 'string', title: 'string', type: 'string', unit: 'string', uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProductionPlanResponseBody extends $tea.Model { result?: IndustryManufactureMesProductionPlanResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesProductionPlanResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProductionPlanResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesProductionPlanResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesProductionPlanResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @remarks * This parameter is required. * * @example * libai */ appKey?: string; /** * @remarks * This parameter is required. * * @example * outTeam */ baseDataName?: string; events?: string[]; extendData?: IndustryManufactureMesSubCooperationTeamRequestExtendData[]; groupPlugins?: IndustryManufactureMesSubCooperationTeamRequestGroupPlugins[]; /** * @example * SUB_COOPERATION_GROUP */ groupType?: string; leaders?: IndustryManufactureMesSubCooperationTeamRequestLeaders[]; members?: IndustryManufactureMesSubCooperationTeamRequestMembers[]; /** * @example * 打磨班组 */ name?: string; /** * @remarks * This parameter is required. * * @example * dingfsdfs3fsd2234wds */ outCorpId?: string; processIds?: string[]; /** * @remarks * This parameter is required. * * @example * d41d8cd98f00b204e9800998ecf8427e */ uuid?: string; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', baseDataName: 'baseDataName', events: 'events', extendData: 'extendData', groupPlugins: 'groupPlugins', groupType: 'groupType', leaders: 'leaders', members: 'members', name: 'name', outCorpId: 'outCorpId', processIds: 'processIds', uuid: 'uuid', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', baseDataName: 'string', events: { 'type': 'array', 'itemType': 'string' }, extendData: { 'type': 'array', 'itemType': IndustryManufactureMesSubCooperationTeamRequestExtendData }, groupPlugins: { 'type': 'array', 'itemType': IndustryManufactureMesSubCooperationTeamRequestGroupPlugins }, groupType: 'string', leaders: { 'type': 'array', 'itemType': IndustryManufactureMesSubCooperationTeamRequestLeaders }, members: { 'type': 'array', 'itemType': IndustryManufactureMesSubCooperationTeamRequestMembers }, name: 'string', outCorpId: 'string', processIds: { 'type': 'array', 'itemType': 'string' }, uuid: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamResponseBody extends $tea.Model { result?: IndustryManufactureMesSubCooperationTeamResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: IndustryManufactureMesSubCooperationTeamResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesSubCooperationTeamResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesSubCooperationTeamResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * add */ action?: string; /** * @remarks * This parameter is required. * * @example * libai */ appKey?: string; /** * @remarks * This parameter is required. * * @example * team */ baseDataName?: string; events?: string[]; extendData?: IndustryManufactureMesTeamMgmtRequestExtendData[]; groupConfig?: { [key: string]: any }; groupPlugins?: IndustryManufactureMesTeamMgmtRequestGroupPlugins[]; /** * @example * PROCESS */ groupType?: string; /** * @remarks * This parameter is required. * * @example * d41d8cd98f00b204e9800998ecf8427e */ id?: string; leaders?: IndustryManufactureMesTeamMgmtRequestLeaders[]; members?: IndustryManufactureMesTeamMgmtRequestMembers[]; /** * @example * 打磨班组 */ name?: string; processIds?: string[]; tagKey?: string; tagValues?: string[]; static names(): { [key: string]: string } { return { action: 'action', appKey: 'appKey', baseDataName: 'baseDataName', events: 'events', extendData: 'extendData', groupConfig: 'groupConfig', groupPlugins: 'groupPlugins', groupType: 'groupType', id: 'id', leaders: 'leaders', members: 'members', name: 'name', processIds: 'processIds', tagKey: 'tagKey', tagValues: 'tagValues', }; } static types(): { [key: string]: any } { return { action: 'string', appKey: 'string', baseDataName: 'string', events: { 'type': 'array', 'itemType': 'string' }, extendData: { 'type': 'array', 'itemType': IndustryManufactureMesTeamMgmtRequestExtendData }, groupConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, groupPlugins: { 'type': 'array', 'itemType': IndustryManufactureMesTeamMgmtRequestGroupPlugins }, groupType: 'string', id: 'string', leaders: { 'type': 'array', 'itemType': IndustryManufactureMesTeamMgmtRequestLeaders }, members: { 'type': 'array', 'itemType': IndustryManufactureMesTeamMgmtRequestMembers }, name: 'string', processIds: { 'type': 'array', 'itemType': 'string' }, tagKey: 'string', tagValues: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtResponseBody extends $tea.Model { dingOpenErrcode?: number; /** * @remarks * This parameter is required. */ errorMsg?: string; /** * @remarks * This parameter is required. */ result?: IndustryManufactureMesTeamMgmtResponseBodyResult; static names(): { [key: string]: string } { return { dingOpenErrcode: 'dingOpenErrcode', errorMsg: 'errorMsg', result: 'result', }; } static types(): { [key: string]: any } { return { dingOpenErrcode: 'number', errorMsg: 'string', result: IndustryManufactureMesTeamMgmtResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryManufactureMesTeamMgmtResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryManufactureMesTeamMgmtResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryMmanufactureMaterialCostGetHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryMmanufactureMaterialCostGetRequest extends $tea.Model { appId?: number; appIds?: number[]; appName?: string; /** * @remarks * This parameter is required. */ corpId?: string; cursor?: number; endTime?: number; instanceId?: string; isvOrgId?: number; materialNo?: string; microappAgentId?: number; orgId?: number; /** * @remarks * This parameter is required. */ pageNumber?: number; /** * @remarks * This parameter is required. */ pageSize?: number; startTime?: number; suiteKey?: string; tokenGrantType?: number; static names(): { [key: string]: string } { return { appId: 'appId', appIds: 'appIds', appName: 'appName', corpId: 'corpId', cursor: 'cursor', endTime: 'endTime', instanceId: 'instanceId', isvOrgId: 'isvOrgId', materialNo: 'materialNo', microappAgentId: 'microappAgentId', orgId: 'orgId', pageNumber: 'pageNumber', pageSize: 'pageSize', startTime: 'startTime', suiteKey: 'suiteKey', tokenGrantType: 'tokenGrantType', }; } static types(): { [key: string]: any } { return { appId: 'number', appIds: { 'type': 'array', 'itemType': 'number' }, appName: 'string', corpId: 'string', cursor: 'number', endTime: 'number', instanceId: 'string', isvOrgId: 'number', materialNo: 'string', microappAgentId: 'number', orgId: 'number', pageNumber: 'number', pageSize: 'number', startTime: 'number', suiteKey: 'string', tokenGrantType: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryMmanufactureMaterialCostGetResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ hasMore?: boolean; list?: IndustryMmanufactureMaterialCostGetResponseBodyList[]; /** * @remarks * This parameter is required. */ nextCursor?: number; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { hasMore: 'hasMore', list: 'list', nextCursor: 'nextCursor', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { hasMore: 'boolean', list: { 'type': 'array', 'itemType': IndustryMmanufactureMaterialCostGetResponseBodyList }, nextCursor: 'number', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryMmanufactureMaterialCostGetResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: IndustryMmanufactureMaterialCostGetResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: IndustryMmanufactureMaterialCostGetResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class OrderConvertHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class OrderConvertRequest extends $tea.Model { attachments?: OrderConvertRequestAttachments[]; /** * @remarks * This parameter is required. */ operateUserId?: string; /** * @remarks * This parameter is required. */ ruleBizId?: string; static names(): { [key: string]: string } { return { attachments: 'attachments', operateUserId: 'operateUserId', ruleBizId: 'ruleBizId', }; } static types(): { [key: string]: any } { return { attachments: { 'type': 'array', 'itemType': OrderConvertRequestAttachments }, operateUserId: 'string', ruleBizId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class OrderConvertResponseBody extends $tea.Model { dingOpenErrcode?: number; errorMsg?: string; result?: string; success?: boolean; static names(): { [key: string]: string } { return { dingOpenErrcode: 'dingOpenErrcode', errorMsg: 'errorMsg', result: 'result', success: 'success', }; } static types(): { [key: string]: any } { return { dingOpenErrcode: 'number', errorMsg: 'string', result: 'string', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class OrderConvertResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: OrderConvertResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: OrderConvertResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class PushDingMessageHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class PushDingMessageRequest extends $tea.Model { /** * @example * 10001 */ appId?: number; /** * @remarks * This parameter is required. * * @example * 消息内容 */ content?: string; /** * @remarks * This parameter is required. * * @example * CARD */ messageType?: string; /** * @example * https://www.dingtalk.com */ messageUrl?: string; /** * @example * http://pic.616pic.com/ys_b_img/00/27/71/Uu8E6C2Edn.jpg */ pictureUrl?: string; /** * @example * 转跳链接 */ singleTitle?: string; /** * @example * https://www.dingtalk.com */ singleUrl?: string; /** * @example * 消息title */ title?: string; /** * @remarks * This parameter is required. */ userIdList?: string[]; static names(): { [key: string]: string } { return { appId: 'appId', content: 'content', messageType: 'messageType', messageUrl: 'messageUrl', pictureUrl: 'pictureUrl', singleTitle: 'singleTitle', singleUrl: 'singleUrl', title: 'title', userIdList: 'userIdList', }; } static types(): { [key: string]: any } { return { appId: 'number', content: 'string', messageType: 'string', messageUrl: 'string', pictureUrl: 'string', singleTitle: 'string', singleUrl: 'string', title: 'string', userIdList: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class PushDingMessageResponseBody extends $tea.Model { content?: number; success?: boolean; static names(): { [key: string]: string } { return { content: 'content', success: 'success', }; } static types(): { [key: string]: any } { return { content: 'number', success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class PushDingMessageResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: PushDingMessageResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: PushDingMessageResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentRequest extends $tea.Model { /** * @example * 1 */ pageNumber?: number; /** * @example * 200 */ pageSize?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBody extends $tea.Model { content?: QueryAllDepartmentResponseBodyContent[]; /** * @example * 1 */ currentPage?: number; /** * @example * 100 */ totalCount?: number; /** * @example * 10 */ totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryAllDepartmentResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryAllDepartmentResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryAllDepartmentResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDoctorsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDoctorsRequest extends $tea.Model { monthMark?: string; /** * @example * 1 */ pageNum?: number; /** * @example * 200 */ pageSize?: number; static names(): { [key: string]: string } { return { monthMark: 'monthMark', pageNum: 'pageNum', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { monthMark: 'string', pageNum: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDoctorsResponseBody extends $tea.Model { content?: QueryAllDoctorsResponseBodyContent[]; /** * @remarks * This parameter is required. */ currentPage?: number; /** * @remarks * This parameter is required. */ totalCount?: number; /** * @remarks * This parameter is required. * * @example * 32 */ totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryAllDoctorsResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDoctorsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryAllDoctorsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryAllDoctorsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupRequest extends $tea.Model { /** * @example * 1 */ pageNumber?: number; /** * @example * 200 */ pageSize?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupResponseBody extends $tea.Model { content?: QueryAllGroupResponseBodyContent[]; currentPage?: number; totalCount?: number; totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryAllGroupResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryAllGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryAllGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupsInDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupsInDeptRequest extends $tea.Model { /** * @example * 1 */ pageNumber?: number; /** * @example * 200 */ pageSize?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupsInDeptResponseBody extends $tea.Model { content?: QueryAllGroupsInDeptResponseBodyContent[]; currentPage?: number; totalCount?: number; totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryAllGroupsInDeptResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupsInDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryAllGroupsInDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryAllGroupsInDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByDeptRequest extends $tea.Model { monthMark?: string; /** * @example * 1 */ pageNumber?: number; /** * @example * 200 */ pageSize?: number; static names(): { [key: string]: string } { return { monthMark: 'monthMark', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { monthMark: 'string', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByDeptResponseBody extends $tea.Model { content?: QueryAllMemberByDeptResponseBodyContent[]; /** * @remarks * This parameter is required. */ currentPage?: number; /** * @remarks * This parameter is required. */ totalCount?: number; /** * @remarks * This parameter is required. * * @example * 32 */ totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryAllMemberByDeptResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryAllMemberByDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryAllMemberByDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByGroupHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByGroupRequest extends $tea.Model { monthMark?: string; /** * @example * 1 */ pageNumber?: number; /** * @example * 200 */ pageSize?: number; static names(): { [key: string]: string } { return { monthMark: 'monthMark', pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { monthMark: 'string', pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByGroupResponseBody extends $tea.Model { content?: QueryAllMemberByGroupResponseBodyContent[]; /** * @remarks * This parameter is required. */ currentPage?: number; /** * @remarks * This parameter is required. */ totalCount?: number; /** * @remarks * This parameter is required. * * @example * 32 */ totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryAllMemberByGroupResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByGroupResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryAllMemberByGroupResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryAllMemberByGroupResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryBizOptLogHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryBizOptLogRequest extends $tea.Model { maxResults?: number; /** * @example * 10000 */ nextToken?: number; static names(): { [key: string]: string } { return { maxResults: 'maxResults', nextToken: 'nextToken', }; } static types(): { [key: string]: any } { return { maxResults: 'number', nextToken: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryBizOptLogResponseBody extends $tea.Model { content?: QueryBizOptLogResponseBodyContent[]; /** * @remarks * This parameter is required. */ nextToken?: number; static names(): { [key: string]: string } { return { content: 'content', nextToken: 'nextToken', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryBizOptLogResponseBodyContent }, nextToken: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryBizOptLogResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryBizOptLogResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryBizOptLogResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryChatAIOXMInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryChatAIOXMInfoRequest extends $tea.Model { /** * @example * 专属AI 平台信息Code */ code?: string; static names(): { [key: string]: string } { return { code: 'code', }; } static types(): { [key: string]: any } { return { code: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryChatAIOXMInfoResponseBody extends $tea.Model { result?: string; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryChatAIOXMInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryChatAIOXMInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryChatAIOXMInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesRequest extends $tea.Model { keyword?: string; /** * @remarks * This parameter is required. */ pageNo?: number; /** * @remarks * This parameter is required. */ pageSize?: number; static names(): { [key: string]: string } { return { keyword: 'keyword', pageNo: 'pageNo', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { keyword: 'string', pageNo: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesResponseBody extends $tea.Model { dingOpenErrcode?: number; errorMsg?: string; result?: QueryConvertRulesResponseBodyResult; success?: boolean; static names(): { [key: string]: string } { return { dingOpenErrcode: 'dingOpenErrcode', errorMsg: 'errorMsg', result: 'result', success: 'success', }; } static types(): { [key: string]: any } { return { dingOpenErrcode: 'number', errorMsg: 'string', result: QueryConvertRulesResponseBodyResult, success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryConvertRulesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryConvertRulesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentExtendInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentExtendInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1000 */ deptCode?: number; /** * @remarks * This parameter is required. * * @example * 1 */ propCode?: string; static names(): { [key: string]: string } { return { deptCode: 'deptCode', propCode: 'propCode', }; } static types(): { [key: string]: any } { return { deptCode: 'number', propCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentExtendInfoResponseBody extends $tea.Model { content?: QueryDepartmentExtendInfoResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryDepartmentExtendInfoResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentExtendInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryDepartmentExtendInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryDepartmentExtendInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentInfoResponseBody extends $tea.Model { content?: QueryDepartmentInfoResponseBodyContent; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: QueryDepartmentInfoResponseBodyContent, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryDepartmentInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryDepartmentInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberRequest extends $tea.Model { /** * @example * 0 */ monthMark?: string; static names(): { [key: string]: string } { return { monthMark: 'monthMark', }; } static types(): { [key: string]: any } { return { monthMark: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBody extends $tea.Model { content?: QueryDoctorDetailsByJobNumberResponseBodyContent; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: QueryDoctorDetailsByJobNumberResponseBodyContent, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryDoctorDetailsByJobNumberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryDoctorDetailsByJobNumberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoResponseBody extends $tea.Model { content?: QueryGroupInfoResponseBodyContent; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: QueryGroupInfoResponseBodyContent, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryGroupInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryGroupInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalDistrictInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalDistrictInfoRequest extends $tea.Model { /** * @example * 1 */ pageNumber?: number; /** * @example * 100 */ pageSize?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalDistrictInfoResponseBody extends $tea.Model { content?: QueryHospitalDistrictInfoResponseBodyContent[]; /** * @remarks * This parameter is required. * * @example * 2 */ currentPage?: number; /** * @remarks * This parameter is required. * * @example * 100 */ totalCount?: number; /** * @remarks * This parameter is required. * * @example * 10 */ totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryHospitalDistrictInfoResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalDistrictInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryHospitalDistrictInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryHospitalDistrictInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRoleUserInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRoleUserInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 100 */ pageSize?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRoleUserInfoResponseBody extends $tea.Model { content?: QueryHospitalRoleUserInfoResponseBodyContent[]; /** * @remarks * This parameter is required. * * @example * 1 */ currentPage?: number; /** * @remarks * This parameter is required. * * @example * 100 */ totalCount?: number; /** * @remarks * This parameter is required. * * @example * 10 */ totalPages?: number; static names(): { [key: string]: string } { return { content: 'content', currentPage: 'currentPage', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryHospitalRoleUserInfoResponseBodyContent }, currentPage: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRoleUserInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryHospitalRoleUserInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryHospitalRoleUserInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRolesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRolesResponseBody extends $tea.Model { content?: QueryHospitalRolesResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryHospitalRolesResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRolesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryHospitalRolesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryHospitalRolesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobCodeDictionaryHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobCodeDictionaryResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: QueryJobCodeDictionaryResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryJobCodeDictionaryResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobCodeDictionaryResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryJobCodeDictionaryResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryJobCodeDictionaryResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobStatusCodeDictionaryHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobStatusCodeDictionaryResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ content?: QueryJobStatusCodeDictionaryResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryJobStatusCodeDictionaryResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobStatusCodeDictionaryResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryJobStatusCodeDictionaryResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryJobStatusCodeDictionaryResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMedicalEventsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMedicalEventsResponseBody extends $tea.Model { content?: QueryMedicalEventsResponseBodyContent[]; /** * @remarks * This parameter is required. */ success?: boolean; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { content: 'content', success: 'success', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryMedicalEventsResponseBodyContent }, success: 'boolean', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMedicalEventsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryMedicalEventsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryMedicalEventsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultRequest extends $tea.Model { contentSearch?: string; createTimeEnd?: number; createTimeStart?: number; /** * @remarks * This parameter is required. */ pageNo?: number; /** * @remarks * This parameter is required. */ pageSize?: number; status?: string; title?: string; userId?: string; static names(): { [key: string]: string } { return { contentSearch: 'contentSearch', createTimeEnd: 'createTimeEnd', createTimeStart: 'createTimeStart', pageNo: 'pageNo', pageSize: 'pageSize', status: 'status', title: 'title', userId: 'userId', }; } static types(): { [key: string]: any } { return { contentSearch: 'string', createTimeEnd: 'number', createTimeStart: 'number', pageNo: 'number', pageSize: 'number', status: 'string', title: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultResponseBody extends $tea.Model { dingOpenErrcode?: number; errorMsg?: string; result?: QueryOrderConvertResultResponseBodyResult; success?: boolean; static names(): { [key: string]: string } { return { dingOpenErrcode: 'dingOpenErrcode', errorMsg: 'errorMsg', result: 'result', success: 'success', }; } static types(): { [key: string]: any } { return { dingOpenErrcode: 'number', errorMsg: 'string', result: QueryOrderConvertResultResponseBodyResult, success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryOrderConvertResultResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryOrderConvertResultResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserCredentialsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserCredentialsRequest extends $tea.Model { /** * @remarks * This parameter is required. */ userIds?: string[]; static names(): { [key: string]: string } { return { userIds: 'userIds', }; } static types(): { [key: string]: any } { return { userIds: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserCredentialsResponseBody extends $tea.Model { content?: QueryUserCredentialsResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryUserCredentialsResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserCredentialsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryUserCredentialsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryUserCredentialsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtInfoResponseBody extends $tea.Model { content?: QueryUserExtInfoResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryUserExtInfoResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryUserExtInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryUserExtInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtendValuesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtendValuesRequest extends $tea.Model { userExtendKey?: string; /** * @remarks * This parameter is required. */ userIds?: string[]; static names(): { [key: string]: string } { return { userExtendKey: 'userExtendKey', userIds: 'userIds', }; } static types(): { [key: string]: any } { return { userExtendKey: 'string', userIds: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtendValuesResponseBody extends $tea.Model { content?: QueryUserExtendValuesResponseBodyContent[]; /** * @remarks * This parameter is required. */ success?: boolean; /** * @remarks * This parameter is required. */ totalCount?: number; static names(): { [key: string]: string } { return { content: 'content', success: 'success', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryUserExtendValuesResponseBodyContent }, success: 'boolean', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtendValuesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryUserExtendValuesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryUserExtendValuesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoRequest extends $tea.Model { monthMark?: string; static names(): { [key: string]: string } { return { monthMark: 'monthMark', }; } static types(): { [key: string]: any } { return { monthMark: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBody extends $tea.Model { content?: QueryUserInfoResponseBodyContent; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: QueryUserInfoResponseBodyContent, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryUserInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryUserInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserProbCodeDictionaryHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserProbCodeDictionaryResponseBody extends $tea.Model { content?: QueryUserProbCodeDictionaryResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryUserProbCodeDictionaryResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserProbCodeDictionaryResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryUserProbCodeDictionaryResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryUserProbCodeDictionaryResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserRolesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserRolesResponseBody extends $tea.Model { content?: QueryUserRolesResponseBodyContent[]; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: { 'type': 'array', 'itemType': QueryUserRolesResponseBodyContent }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserRolesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: QueryUserRolesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: QueryUserRolesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SaveUserExtendValuesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SaveUserExtendValuesRequest extends $tea.Model { userDisplayName?: string; /** * @remarks * This parameter is required. */ userExtendKey?: string; /** * @remarks * This parameter is required. */ userExtendValue?: string; static names(): { [key: string]: string } { return { userDisplayName: 'userDisplayName', userExtendKey: 'userExtendKey', userExtendValue: 'userExtendValue', }; } static types(): { [key: string]: any } { return { userDisplayName: 'string', userExtendKey: 'string', userExtendValue: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SaveUserExtendValuesResponseBody extends $tea.Model { /** * @remarks * This parameter is required. */ success?: boolean; static names(): { [key: string]: string } { return { success: 'success', }; } static types(): { [key: string]: any } { return { success: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SaveUserExtendValuesResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SaveUserExtendValuesResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SaveUserExtendValuesResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskRequest extends $tea.Model { /** * @example * 1001 */ appId?: number; /** * @example * MEETING */ bizCode?: string; data?: SubmitTaskRequestData[]; unionId?: string; static names(): { [key: string]: string } { return { appId: 'appId', bizCode: 'bizCode', data: 'data', unionId: 'unionId', }; } static types(): { [key: string]: any } { return { appId: 'number', bizCode: 'string', data: { 'type': 'array', 'itemType': SubmitTaskRequestData }, unionId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskResponseBody extends $tea.Model { tasks?: SubmitTaskResponseBodyTasks[]; static names(): { [key: string]: string } { return { tasks: 'tasks', }; } static types(): { [key: string]: any } { return { tasks: { 'type': 'array', 'itemType': SubmitTaskResponseBodyTasks }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SubmitTaskResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SubmitTaskResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskPackageHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskPackageRequest extends $tea.Model { appId?: number; /** * **if can be null:** * false */ appSecret?: string; /** * @remarks * This parameter is required. */ bizCode?: string; data?: SubmitTaskPackageRequestData[]; desc?: string; fileType?: string; taskPackageName?: string; unionId?: string; version?: string; static names(): { [key: string]: string } { return { appId: 'appId', appSecret: 'appSecret', bizCode: 'bizCode', data: 'data', desc: 'desc', fileType: 'fileType', taskPackageName: 'taskPackageName', unionId: 'unionId', version: 'version', }; } static types(): { [key: string]: any } { return { appId: 'number', appSecret: 'string', bizCode: 'string', data: { 'type': 'array', 'itemType': SubmitTaskPackageRequestData }, desc: 'string', fileType: 'string', taskPackageName: 'string', unionId: 'string', version: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskPackageResponseBody extends $tea.Model { taskIdList?: string[]; taskPackageId?: string; static names(): { [key: string]: string } { return { taskIdList: 'taskIdList', taskPackageId: 'taskPackageId', }; } static types(): { [key: string]: any } { return { taskIdList: { 'type': 'array', 'itemType': 'string' }, taskPackageId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskPackageResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SubmitTaskPackageResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SubmitTaskPackageResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplAddRoleHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplAddRoleRequest extends $tea.Model { /** * @remarks * This parameter is required. */ parentRoleGroupId?: string; /** * @remarks * This parameter is required. */ roleName?: string; static names(): { [key: string]: string } { return { parentRoleGroupId: 'parentRoleGroupId', roleName: 'roleName', }; } static types(): { [key: string]: any } { return { parentRoleGroupId: 'string', roleName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplAddRoleResponseBody extends $tea.Model { /** * @example * 1213 */ result?: string; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplAddRoleResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplAddRoleResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplAddRoleResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 闪电供应商 */ deptName?: string; /** * @example * G12345 */ partnerNumber?: string; /** * @remarks * This parameter is required. * * @example * 1111 */ superDeptId?: number; /** * @remarks * This parameter is required. * * @example * SUPPLY_CHAIN_DEPT_TYPE */ supplyDeptType?: string; static names(): { [key: string]: string } { return { deptName: 'deptName', partnerNumber: 'partnerNumber', superDeptId: 'superDeptId', supplyDeptType: 'supplyDeptType', }; } static types(): { [key: string]: any } { return { deptName: 'string', partnerNumber: 'string', superDeptId: 'number', supplyDeptType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddDeptResponseBody extends $tea.Model { result?: SupplyAddDeptResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: SupplyAddDeptResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyAddDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyAddDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddMemberRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * false * * **if can be null:** * false */ isPartnerManager?: boolean; /** * @remarks * This parameter is required. * * @example * 187xxxx0001 */ memberMobile?: string; /** * @remarks * This parameter is required. * * @example * 李白 */ memberName?: string; /** * @example * 经理 */ memberTitle?: string; /** * @example * 1001 */ memberWorkNumber?: string; /** * @remarks * This parameter is required. * * @example * 1111 */ supplyDeptId?: number; static names(): { [key: string]: string } { return { isPartnerManager: 'isPartnerManager', memberMobile: 'memberMobile', memberName: 'memberName', memberTitle: 'memberTitle', memberWorkNumber: 'memberWorkNumber', supplyDeptId: 'supplyDeptId', }; } static types(): { [key: string]: any } { return { isPartnerManager: 'boolean', memberMobile: 'string', memberName: 'string', memberTitle: 'string', memberWorkNumber: 'string', supplyDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddMemberResponseBody extends $tea.Model { result?: SupplyAddMemberResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: SupplyAddMemberResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyAddMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyAddMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerAdminsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerAdminsRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 11 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 11 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerAdminsResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerAdminsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyAddPartnerAdminsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyAddPartnerAdminsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerManagersHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerManagersRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 56781213 */ deptId?: number; /** * @remarks * This parameter is required. */ interfaceId?: string; /** * @remarks * This parameter is required. */ interfaceType?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', interfaceId: 'interfaceId', interfaceType: 'interfaceType', }; } static types(): { [key: string]: any } { return { deptId: 'number', interfaceId: 'string', interfaceType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerManagersResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerManagersResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyAddPartnerManagersResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyAddPartnerManagersResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerTypeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerTypeRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 标签名称 */ name?: string; /** * @remarks * This parameter is required. * * @example * 862 */ superId?: number; static names(): { [key: string]: string } { return { name: 'name', superId: 'superId', }; } static types(): { [key: string]: any } { return { name: 'string', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerTypeResponseBody extends $tea.Model { result?: number; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddPartnerTypeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyAddPartnerTypeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyAddPartnerTypeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainDeleteDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainDeleteDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ supplyDeptId?: number; static names(): { [key: string]: string } { return { supplyDeptId: 'supplyDeptId', }; } static types(): { [key: string]: any } { return { supplyDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainDeleteDeptResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainDeleteDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyChainDeleteDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyChainDeleteDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainQueryDeptInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainQueryDeptInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ supplyDeptId?: number; static names(): { [key: string]: string } { return { supplyDeptId: 'supplyDeptId', }; } static types(): { [key: string]: any } { return { supplyDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainQueryDeptInfoResponseBody extends $tea.Model { result?: SupplyChainQueryDeptInfoResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: SupplyChainQueryDeptInfoResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainQueryDeptInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyChainQueryDeptInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyChainQueryDeptInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainUpdateDeptInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainUpdateDeptInfoRequest extends $tea.Model { /** * @example * 名称 */ name?: string; /** * @example * 123 */ partnerNumber?: string; partnerTypeList?: number[]; /** * @example * 1231 */ superId?: number; /** * @remarks * This parameter is required. * * @example * 576488112 */ supplyDeptId?: number; static names(): { [key: string]: string } { return { name: 'name', partnerNumber: 'partnerNumber', partnerTypeList: 'partnerTypeList', superId: 'superId', supplyDeptId: 'supplyDeptId', }; } static types(): { [key: string]: any } { return { name: 'string', partnerNumber: 'string', partnerTypeList: { 'type': 'array', 'itemType': 'number' }, superId: 'number', supplyDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainUpdateDeptInfoResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainUpdateDeptInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyChainUpdateDeptInfoResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyChainUpdateDeptInfoResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteMemberRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ deptId?: number; /** * @example * 13914772100 */ mobile?: string; /** * @example * 01010 */ unionId?: string; /** * @example * 0101 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', mobile: 'mobile', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', mobile: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteMemberResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyDeleteMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyDeleteMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerAdminsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerAdminsRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 111 */ userId?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', userId: 'userId', }; } static types(): { [key: string]: any } { return { deptId: 'number', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerAdminsResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerAdminsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyDeletePartnerAdminsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyDeletePartnerAdminsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerManagersHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerManagersRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1231 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 12131 */ interfaceId?: string; /** * @remarks * This parameter is required. * * @example * user */ interfaceType?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', interfaceId: 'interfaceId', interfaceType: 'interfaceType', }; } static types(): { [key: string]: any } { return { deptId: 'number', interfaceId: 'string', interfaceType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerManagersResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerManagersResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyDeletePartnerManagersResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyDeletePartnerManagersResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerTypeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerTypeRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ labelId?: number; static names(): { [key: string]: string } { return { labelId: 'labelId', }; } static types(): { [key: string]: any } { return { labelId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerTypeResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeletePartnerTypeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyDeletePartnerTypeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyDeletePartnerTypeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteRoleHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteRoleRequest extends $tea.Model { /** * @remarks * This parameter is required. */ isRoleGroup?: boolean; /** * @remarks * This parameter is required. */ roleId?: string; static names(): { [key: string]: string } { return { isRoleGroup: 'isRoleGroup', roleId: 'roleId', }; } static types(): { [key: string]: any } { return { isRoleGroup: 'boolean', roleId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteRoleResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyDeleteRoleResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyDeleteRoleResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyDeleteRoleResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyGetMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyGetMemberRequest extends $tea.Model { /** * @example * 19912345678 */ mobile?: string; unionId?: string; userId?: string; static names(): { [key: string]: string } { return { mobile: 'mobile', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { mobile: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyGetMemberResponseBody extends $tea.Model { result?: SupplyGetMemberResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: SupplyGetMemberResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyGetMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyGetMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyGetMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListDeptMembersHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListDeptMembersRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 10 */ pageNumber?: number; /** * @remarks * This parameter is required. * * @example * 100 */ pageSize?: number; /** * @remarks * This parameter is required. * * @example * 1111 */ supplyDeptId?: number; static names(): { [key: string]: string } { return { pageNumber: 'pageNumber', pageSize: 'pageSize', supplyDeptId: 'supplyDeptId', }; } static types(): { [key: string]: any } { return { pageNumber: 'number', pageSize: 'number', supplyDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListDeptMembersResponseBody extends $tea.Model { /** * @example * true */ hasMore?: boolean; list?: SupplyListDeptMembersResponseBodyList[]; static names(): { [key: string]: string } { return { hasMore: 'hasMore', list: 'list', }; } static types(): { [key: string]: any } { return { hasMore: 'boolean', list: { 'type': 'array', 'itemType': SupplyListDeptMembersResponseBodyList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListDeptMembersResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyListDeptMembersResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyListDeptMembersResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerAdminsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerAdminsRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 56781123 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerAdminsResponseBody extends $tea.Model { result?: SupplyListPartnerAdminsResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': SupplyListPartnerAdminsResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerAdminsResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyListPartnerAdminsResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyListPartnerAdminsResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerManagersHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerManagersRequest extends $tea.Model { /** * @example * 56781233 */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerManagersResponseBody extends $tea.Model { result?: SupplyListPartnerManagersResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': SupplyListPartnerManagersResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerManagersResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyListPartnerManagersResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyListPartnerManagersResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerTypeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerTypeRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ labelId?: number; static names(): { [key: string]: string } { return { labelId: 'labelId', }; } static types(): { [key: string]: any } { return { labelId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerTypeResponseBody extends $tea.Model { result?: SupplyListPartnerTypeResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': SupplyListPartnerTypeResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerTypeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyListPartnerTypeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyListPartnerTypeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListRoleHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListRoleRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 123 */ parentRoleId?: string; static names(): { [key: string]: string } { return { parentRoleId: 'parentRoleId', }; } static types(): { [key: string]: any } { return { parentRoleId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListRoleResponseBody extends $tea.Model { result?: SupplyListRoleResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': SupplyListRoleResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListRoleResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyListRoleResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyListRoleResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListSubDeptHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListSubDeptRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1111 */ supplyDeptId?: number; static names(): { [key: string]: string } { return { supplyDeptId: 'supplyDeptId', }; } static types(): { [key: string]: any } { return { supplyDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListSubDeptResponseBody extends $tea.Model { result?: SupplyListSubDeptResponseBodyResult[]; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: { 'type': 'array', 'itemType': SupplyListSubDeptResponseBodyResult }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListSubDeptResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyListSubDeptResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyListSubDeptResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyQueryPartnerTypeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyQueryPartnerTypeRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ labelId?: number; static names(): { [key: string]: string } { return { labelId: 'labelId', }; } static types(): { [key: string]: any } { return { labelId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyQueryPartnerTypeResponseBody extends $tea.Model { result?: SupplyQueryPartnerTypeResponseBodyResult; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: SupplyQueryPartnerTypeResponseBodyResult, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyQueryPartnerTypeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyQueryPartnerTypeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyQueryPartnerTypeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateMemberHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateMemberRequest extends $tea.Model { /** * @remarks * This parameter is required. */ isCopyDept?: boolean; /** * @example * 财务 */ memberTitle?: string; /** * @example * 121212 */ memberWorkNumber?: string; /** * @example * 13914772100 */ mobile?: string; /** * @remarks * This parameter is required. * * @example * 11 */ newDeptId?: number; /** * @remarks * This parameter is required. * * @example * 111 */ oldDeptId?: number; roleIdList?: string[]; /** * @example * 111 */ unionId?: string; /** * @example * 1212 */ userId?: string; static names(): { [key: string]: string } { return { isCopyDept: 'isCopyDept', memberTitle: 'memberTitle', memberWorkNumber: 'memberWorkNumber', mobile: 'mobile', newDeptId: 'newDeptId', oldDeptId: 'oldDeptId', roleIdList: 'roleIdList', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { isCopyDept: 'boolean', memberTitle: 'string', memberWorkNumber: 'string', mobile: 'string', newDeptId: 'number', oldDeptId: 'number', roleIdList: { 'type': 'array', 'itemType': 'string' }, unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateMemberResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateMemberResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyUpdateMemberResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyUpdateMemberResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdatePartnerTypeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdatePartnerTypeRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ labelId?: number; /** * @example * 标签名称 */ name?: string; /** * @example * 862 */ superId?: number; static names(): { [key: string]: string } { return { labelId: 'labelId', name: 'name', superId: 'superId', }; } static types(): { [key: string]: any } { return { labelId: 'number', name: 'string', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdatePartnerTypeResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdatePartnerTypeResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyUpdatePartnerTypeResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyUpdatePartnerTypeResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateRoleHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateRoleRequest extends $tea.Model { /** * @remarks * This parameter is required. */ isRoleGroup?: boolean; /** * @remarks * This parameter is required. */ roleId?: string; /** * @remarks * This parameter is required. */ roleName?: string; static names(): { [key: string]: string } { return { isRoleGroup: 'isRoleGroup', roleId: 'roleId', roleName: 'roleName', }; } static types(): { [key: string]: any } { return { isRoleGroup: 'boolean', roleId: 'string', roleName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateRoleResponseBody extends $tea.Model { result?: boolean; static names(): { [key: string]: string } { return { result: 'result', }; } static types(): { [key: string]: any } { return { result: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyUpdateRoleResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; body?: SupplyUpdateRoleResponseBody; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', body: 'body', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', body: SupplyUpdateRoleResponseBody, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateUserExtendInfoHeaders extends $tea.Model { commonHeaders?: { [key: string]: string }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string } { return { commonHeaders: 'commonHeaders', xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token', }; } static types(): { [key: string]: any } { return { commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, xAcsDingtalkAccessToken: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateUserExtendInfoRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 备注, 当jobStatusCode为其他(0)时, 需要通过该字段补充状态 */ comments?: string; /** * @remarks * This parameter is required. * * @example * 1 */ jobCode?: string; jobStatusCode?: string[]; /** * @remarks * This parameter is required. * * @example * 1 */ userProbCode?: string; static names(): { [key: string]: string } { return { comments: 'comments', jobCode: 'jobCode', jobStatusCode: 'jobStatusCode', userProbCode: 'userProbCode', }; } static types(): { [key: string]: any } { return { comments: 'string', jobCode: 'string', jobStatusCode: { 'type': 'array', 'itemType': 'string' }, userProbCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateUserExtendInfoResponse extends $tea.Model { headers?: { [key: string]: string }; statusCode?: number; static names(): { [key: string]: string } { return { headers: 'headers', statusCode: 'statusCode', }; } static types(): { [key: string]: any } { return { headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' }, statusCode: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductImgUploadResponseBodyResult extends $tea.Model { ossFileId?: string; ossUploadUrl?: string; static names(): { [key: string]: string } { return { ossFileId: 'ossFileId', ossUploadUrl: 'ossUploadUrl', }; } static types(): { [key: string]: any } { return { ossFileId: 'string', ossUploadUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiRetailProductQueryResponseBodyData extends $tea.Model { attribute?: string; barcodes?: string; brand?: string; category?: string; currency?: string; enable?: number; imageFileIds?: string; itemNumbers?: string; price?: number; productCode?: string; productFab?: string; productId?: number; productInfo?: string; productName?: string; /** * @example * 热销 */ tag1?: string; /** * @example * 新品 */ tag2?: string; /** * @example * 尾款 */ tag3?: string; static names(): { [key: string]: string } { return { attribute: 'attribute', barcodes: 'barcodes', brand: 'brand', category: 'category', currency: 'currency', enable: 'enable', imageFileIds: 'imageFileIds', itemNumbers: 'itemNumbers', price: 'price', productCode: 'productCode', productFab: 'productFab', productId: 'productId', productInfo: 'productInfo', productName: 'productName', tag1: 'tag1', tag2: 'tag2', tag3: 'tag3', }; } static types(): { [key: string]: any } { return { attribute: 'string', barcodes: 'string', brand: 'string', category: 'string', currency: 'string', enable: 'number', imageFileIds: 'string', itemNumbers: 'string', price: 'number', productCode: 'string', productFab: 'string', productId: 'number', productInfo: 'string', productName: 'string', tag1: 'string', tag2: 'string', tag3: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailResponseBodyResultProductInfoList extends $tea.Model { attribute?: string; brand?: string; category?: string; currency?: string; imageUrls?: string[]; price?: number; productCode?: string; productFab?: string; productId?: number; productInfo?: string; productName?: string; relatedType?: string; static names(): { [key: string]: string } { return { attribute: 'attribute', brand: 'brand', category: 'category', currency: 'currency', imageUrls: 'imageUrls', price: 'price', productCode: 'productCode', productFab: 'productFab', productId: 'productId', productInfo: 'productInfo', productName: 'productName', relatedType: 'relatedType', }; } static types(): { [key: string]: any } { return { attribute: 'string', brand: 'string', category: 'string', currency: 'string', imageUrls: { 'type': 'array', 'itemType': 'string' }, price: 'number', productCode: 'string', productFab: 'string', productId: 'number', productInfo: 'string', productName: 'string', relatedType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailResponseBodyResultTaskInfo extends $tea.Model { description?: string; taskId?: number; taskName?: string; static names(): { [key: string]: string } { return { description: 'description', taskId: 'taskId', taskName: 'taskName', }; } static types(): { [key: string]: any } { return { description: 'string', taskId: 'number', taskName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingDetailResponseBodyResult extends $tea.Model { adminReview?: string; aiJobStatus?: string; creator?: string; duration?: number; feedback?: number; feedbackContent?: string; gmtCreate?: string; gmtModified?: string; id?: number; isExcellent?: number; productInfoList?: AiTrainingDetailResponseBodyResultProductInfoList[]; productName?: string; taskInfo?: AiTrainingDetailResponseBodyResultTaskInfo; trainingRanking?: number; trainingRankingPercent?: number; trainingScore?: number; userId?: string; userName?: string; videoDownloadUrl?: string; static names(): { [key: string]: string } { return { adminReview: 'adminReview', aiJobStatus: 'aiJobStatus', creator: 'creator', duration: 'duration', feedback: 'feedback', feedbackContent: 'feedbackContent', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', id: 'id', isExcellent: 'isExcellent', productInfoList: 'productInfoList', productName: 'productName', taskInfo: 'taskInfo', trainingRanking: 'trainingRanking', trainingRankingPercent: 'trainingRankingPercent', trainingScore: 'trainingScore', userId: 'userId', userName: 'userName', videoDownloadUrl: 'videoDownloadUrl', }; } static types(): { [key: string]: any } { return { adminReview: 'string', aiJobStatus: 'string', creator: 'string', duration: 'number', feedback: 'number', feedbackContent: 'string', gmtCreate: 'string', gmtModified: 'string', id: 'number', isExcellent: 'number', productInfoList: { 'type': 'array', 'itemType': AiTrainingDetailResponseBodyResultProductInfoList }, productName: 'string', taskInfo: AiTrainingDetailResponseBodyResultTaskInfo, trainingRanking: 'number', trainingRankingPercent: 'number', trainingScore: 'number', userId: 'string', userName: 'string', videoDownloadUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class AiTrainingRecordResponseBodyTrainingList extends $tea.Model { aiJobStatus?: string; gmtCreate?: string; id?: number; productName?: string; trainingRanking?: number; trainingRankingPercent?: number; trainingScore?: number; userId?: string; userName?: string; static names(): { [key: string]: string } { return { aiJobStatus: 'aiJobStatus', gmtCreate: 'gmtCreate', id: 'id', productName: 'productName', trainingRanking: 'trainingRanking', trainingRankingPercent: 'trainingRankingPercent', trainingScore: 'trainingScore', userId: 'userId', userName: 'userName', }; } static types(): { [key: string]: any } { return { aiJobStatus: 'string', gmtCreate: 'string', id: 'number', productName: 'string', trainingRanking: 'number', trainingRankingPercent: 'number', trainingScore: 'number', userId: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultResponseBodyTasksResultItemsSubs extends $tea.Model { point?: number; reference?: string; referenceFrame?: string[]; subInfo?: string; subName?: string; static names(): { [key: string]: string } { return { point: 'point', reference: 'reference', referenceFrame: 'referenceFrame', subInfo: 'subInfo', subName: 'subName', }; } static types(): { [key: string]: any } { return { point: 'number', reference: 'string', referenceFrame: { 'type': 'array', 'itemType': 'string' }, subInfo: 'string', subName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultResponseBodyTasksResultItems extends $tea.Model { /** * @example * 主持人有问好,并得到积极回应 */ info?: string; /** * @example * 是否有问好 */ name?: string; /** * @example * 10 */ point?: number; reference?: string; referenceFrame?: string[]; subs?: BatchGetTaskResultResponseBodyTasksResultItemsSubs[]; static names(): { [key: string]: string } { return { info: 'info', name: 'name', point: 'point', reference: 'reference', referenceFrame: 'referenceFrame', subs: 'subs', }; } static types(): { [key: string]: any } { return { info: 'string', name: 'string', point: 'number', reference: 'string', referenceFrame: { 'type': 'array', 'itemType': 'string' }, subs: { 'type': 'array', 'itemType': BatchGetTaskResultResponseBodyTasksResultItemsSubs }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultResponseBodyTasksResult extends $tea.Model { /** * @example * https://industry-ai-prod.oss-cn-zhangjiakou.aliyuncs.com/4beae5155406457291fcbdd76c4e8da8.txt */ audioText?: string; audioTextFormatted?: string; /** * @example * 2024-05-14 */ date?: string; /** * @example * xxx项目 */ desc?: string; /** * @example * 1001 */ id?: number; items?: BatchGetTaskResultResponseBodyTasksResultItems[]; /** * @example * xxx项目会议 */ name?: string; summary?: string; /** * @example * 100 */ total?: number; static names(): { [key: string]: string } { return { audioText: 'audioText', audioTextFormatted: 'audioTextFormatted', date: 'date', desc: 'desc', id: 'id', items: 'items', name: 'name', summary: 'summary', total: 'total', }; } static types(): { [key: string]: any } { return { audioText: 'string', audioTextFormatted: 'string', date: 'string', desc: 'string', id: 'number', items: { 'type': 'array', 'itemType': BatchGetTaskResultResponseBodyTasksResultItems }, name: 'string', summary: 'string', total: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class BatchGetTaskResultResponseBodyTasks extends $tea.Model { result?: BatchGetTaskResultResponseBodyTasksResult; /** * @example * COMPLETED */ status?: string; statusInfo?: string; /** * @example * 4beae5155406457291fcbdd76c4e8da8 */ taskId?: string; static names(): { [key: string]: string } { return { result: 'result', status: 'status', statusInfo: 'statusInfo', taskId: 'taskId', }; } static types(): { [key: string]: any } { return { result: BatchGetTaskResultResponseBodyTasksResult, status: 'string', statusInfo: 'string', taskId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusResponseBodyResult extends $tea.Model { /** * @example * 杭州市余杭区 */ address?: string; /** * @example * 121212.1 */ area?: number; /** * @example * 1 */ belongProjectGroupId?: number; /** * @example * ding121212 */ campusCorpId?: string; /** * @example * 1 */ campusDeptId?: number; /** * @example * 测试园区 */ campusName?: string; /** * @example * 30450 */ cityId?: number; /** * @example * 中国 */ country?: string; /** * @example * 304501 */ countyId?: number; /** * @example * 测试 */ description?: string; /** * @example * 扩展 */ extend?: string; /** * @example * 120.1321,28.1213 */ location?: string; /** * @example * 1655704317794 */ orderEndTime?: number; /** * @example * 规格1 */ orderInfo?: string; /** * @example * 1655704317794 */ orderStartTime?: number; /** * @example * 304 */ provId?: number; /** * @example * 13914773133 */ telephone?: string; static names(): { [key: string]: string } { return { address: 'address', area: 'area', belongProjectGroupId: 'belongProjectGroupId', campusCorpId: 'campusCorpId', campusDeptId: 'campusDeptId', campusName: 'campusName', cityId: 'cityId', country: 'country', countyId: 'countyId', description: 'description', extend: 'extend', location: 'location', orderEndTime: 'orderEndTime', orderInfo: 'orderInfo', orderStartTime: 'orderStartTime', provId: 'provId', telephone: 'telephone', }; } static types(): { [key: string]: any } { return { address: 'string', area: 'number', belongProjectGroupId: 'number', campusCorpId: 'string', campusDeptId: 'number', campusName: 'string', cityId: 'number', country: 'string', countyId: 'number', description: 'string', extend: 'string', location: 'string', orderEndTime: 'number', orderInfo: 'string', orderStartTime: 'number', provId: 'number', telephone: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListCampusGroupResponseBodyResult extends $tea.Model { /** * @example * 扩展 */ extend?: string; /** * @example * 10101 */ groupDeptId?: number; /** * @example * 测试项目组 */ groupName?: string; static names(): { [key: string]: string } { return { extend: 'extend', groupDeptId: 'groupDeptId', groupName: 'groupName', }; } static types(): { [key: string]: any } { return { extend: 'string', groupDeptId: 'number', groupName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterResponseBodyResult extends $tea.Model { /** * @example * ding3242423 */ bindRenterCorpId?: string; /** * @example * 1655704317794 */ bindTime?: number; /** * @example * 1313131414 */ creditCode?: string; /** * @example * 1655704317794 */ endTime?: number; /** * @example * 扩展信息 */ extend?: string; /** * @example * 测试租客 */ name?: string; /** * @example * 100 */ renterDeptId?: number; /** * @example * 1655704317794 */ startTime?: number; /** * @example * 1 */ state?: number; static names(): { [key: string]: string } { return { bindRenterCorpId: 'bindRenterCorpId', bindTime: 'bindTime', creditCode: 'creditCode', endTime: 'endTime', extend: 'extend', name: 'name', renterDeptId: 'renterDeptId', startTime: 'startTime', state: 'state', }; } static types(): { [key: string]: any } { return { bindRenterCorpId: 'string', bindTime: 'number', creditCode: 'string', endTime: 'number', extend: 'string', name: 'string', renterDeptId: 'number', startTime: 'number', state: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CampusListRenterMembersResponseBodyResult extends $tea.Model { extend?: string; inviteState?: string; name?: string; state?: string; type?: string; unionId?: string; userId?: string; static names(): { [key: string]: string } { return { extend: 'extend', inviteState: 'inviteState', name: 'name', state: 'state', type: 'type', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { extend: 'string', inviteState: 'string', name: 'string', state: 'string', type: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIListDatasetResponseBodyResult extends $tea.Model { datasetDesc?: string; datasetId?: number; datasetName?: string; memoType?: string; resourceType?: string; static names(): { [key: string]: string } { return { datasetDesc: 'datasetDesc', datasetId: 'datasetId', datasetName: 'datasetName', memoType: 'memoType', resourceType: 'resourceType', }; } static types(): { [key: string]: any } { return { datasetDesc: 'string', datasetId: 'number', datasetName: 'string', memoType: 'string', resourceType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAIQueryDatasetPermissionResponseBodyPermissionInfos extends $tea.Model { permissionType?: string; permissionValues?: string[]; static names(): { [key: string]: string } { return { permissionType: 'permissionType', permissionValues: 'permissionValues', }; } static types(): { [key: string]: any } { return { permissionType: 'string', permissionValues: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAITextSentimentAnalysisResponseBodyResult extends $tea.Model { sentiment?: string; static names(): { [key: string]: string } { return { sentiment: 'sentiment', }; } static types(): { [key: string]: any } { return { sentiment: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiQueryLogsResponseBodyData extends $tea.Model { appName?: string; extendInfo?: string; feedbackState?: number; feedbackStateDesc?: string; question?: string; questionTime?: number; response?: string; runtime?: number; scene?: string; sessionType?: string; userId?: string; userName?: string; static names(): { [key: string]: string } { return { appName: 'appName', extendInfo: 'extendInfo', feedbackState: 'feedbackState', feedbackStateDesc: 'feedbackStateDesc', question: 'question', questionTime: 'questionTime', response: 'response', runtime: 'runtime', scene: 'scene', sessionType: 'sessionType', userId: 'userId', userName: 'userName', }; } static types(): { [key: string]: any } { return { appName: 'string', extendInfo: 'string', feedbackState: 'number', feedbackStateDesc: 'string', question: 'string', questionTime: 'number', response: 'string', runtime: 'number', scene: 'string', sessionType: 'string', userId: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatAiTravelListRequestParamList extends $tea.Model { /** * @example * qaz1234567 */ itineraryId?: string; /** * @example * {"lineNumber":1} */ value?: string; static names(): { [key: string]: string } { return { itineraryId: 'itineraryId', value: 'value', }; } static types(): { [key: string]: any } { return { itineraryId: 'string', value: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddGeneralFileRequestTagList extends $tea.Model { /** * @example * 产品名 */ tagName?: string; tagValueList?: string[]; static names(): { [key: string]: string } { return { tagName: 'tagName', tagValueList: 'tagValueList', }; } static types(): { [key: string]: any } { return { tagName: 'string', tagValueList: { 'type': 'array', 'itemType': 'string' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphNodeRequestNodeInfo extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 人物 */ nodeLabel?: string; /** * @remarks * This parameter is required. * * @example * 刘备 */ nodeName?: string; /** * @example * {"年龄":43} */ propertiesString?: string; static names(): { [key: string]: string } { return { nodeLabel: 'nodeLabel', nodeName: 'nodeName', propertiesString: 'propertiesString', }; } static types(): { [key: string]: any } { return { nodeLabel: 'string', nodeName: 'string', propertiesString: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoAddKnowledgeGraphRelationRequestRelationInfo extends $tea.Model { /** * @remarks * This parameter is required. * * @example * xxxx */ endId?: string; /** * @example * {"年龄":43} */ propertiesString?: string; /** * @remarks * This parameter is required. * * @example * 出生于 */ relationName?: string; /** * @remarks * This parameter is required. * * @example * xxxxx */ startId?: string; static names(): { [key: string]: string } { return { endId: 'endId', propertiesString: 'propertiesString', relationName: 'relationName', startId: 'startId', }; } static types(): { [key: string]: any } { return { endId: 'string', propertiesString: 'string', relationName: 'string', startId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoFaqListResponseBodyData extends $tea.Model { /** * @example * 办公室电话是:13223333233 */ answer?: string; /** * @example * xxxx */ bizId?: string; /** * @example * yyyyyy-aaaaaa-bbbbb-cccccccccc.docx */ mediaId?: string; /** * @example * 办公室电话是多少 */ question?: string; /** * @example * http://www.dingtalk.com/ */ redirection?: string; static names(): { [key: string]: string } { return { answer: 'answer', bizId: 'bizId', mediaId: 'mediaId', question: 'question', redirection: 'redirection', }; } static types(): { [key: string]: any } { return { answer: 'string', bizId: 'string', mediaId: 'string', question: 'string', redirection: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoGetFileListResponseBodyData extends $tea.Model { /** * @example * xxxx */ bizId?: string; /** * @example * 财务制度文件 */ fileDesc?: string; /** * @example * aaaaa.doc */ fileName?: string; /** * @example * yyyyyy-aaaaaa-bbbbb-cccccccccc.docx */ mediaId?: string; tagMap?: { [key: string]: string[] }; static names(): { [key: string]: string } { return { bizId: 'bizId', fileDesc: 'fileDesc', fileName: 'fileName', mediaId: 'mediaId', tagMap: 'tagMap', }; } static types(): { [key: string]: any } { return { bizId: 'string', fileDesc: 'string', fileName: 'string', mediaId: 'string', tagMap: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': 'string' } }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphNodeResponseBodyNodeInfo extends $tea.Model { /** * @example * xxxxxx */ mediaId?: string; /** * @remarks * This parameter is required. * * @example * 人物 */ nodeLabel?: string; /** * @remarks * This parameter is required. * * @example * 刘备 */ nodeName?: string; /** * @example * {"年龄":43} */ propertiesString?: string; static names(): { [key: string]: string } { return { mediaId: 'mediaId', nodeLabel: 'nodeLabel', nodeName: 'nodeName', propertiesString: 'propertiesString', }; } static types(): { [key: string]: any } { return { mediaId: 'string', nodeLabel: 'string', nodeName: 'string', propertiesString: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoQueryKnowledgeGraphRelationResponseBodyRelationInfo extends $tea.Model { /** * @example * xxxx */ endId?: string; /** * @example * xxxxxx */ mediaId?: string; /** * @example * {"年龄":43} */ propertiesString?: string; /** * @remarks * This parameter is required. * * @example * 出生于 */ relationName?: string; /** * @remarks * This parameter is required. * * @example * xxxx */ startId?: string; static names(): { [key: string]: string } { return { endId: 'endId', mediaId: 'mediaId', propertiesString: 'propertiesString', relationName: 'relationName', startId: 'startId', }; } static types(): { [key: string]: any } { return { endId: 'string', mediaId: 'string', propertiesString: 'string', relationName: 'string', startId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphNodeRequestNodeInfo extends $tea.Model { /** * @remarks * This parameter is required. * * @example * xxxxxxx */ mediaId?: string; /** * @example * {"年龄":43} */ propertiesString?: string; static names(): { [key: string]: string } { return { mediaId: 'mediaId', propertiesString: 'propertiesString', }; } static types(): { [key: string]: any } { return { mediaId: 'string', propertiesString: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ChatMemoUpdateKnowledgeGraphRelationRequestRelationInfo extends $tea.Model { /** * @remarks * This parameter is required. * * @example * xxxxx */ mediaId?: string; /** * @example * {"年龄":43} */ propertiesString?: string; static names(): { [key: string]: string } { return { mediaId: 'mediaId', propertiesString: 'propertiesString', }; } static types(): { [key: string]: any } { return { mediaId: 'string', propertiesString: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailResponseBodyResultProducts extends $tea.Model { id?: number; price?: number; productCode?: string; productName?: string; static names(): { [key: string]: string } { return { id: 'id', price: 'price', productCode: 'productCode', productName: 'productName', }; } static types(): { [key: string]: any } { return { id: 'number', price: 'number', productCode: 'string', productName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailResponseBodyResultTagList extends $tea.Model { tagColor?: string; tagId?: number; tagName?: string; static names(): { [key: string]: string } { return { tagColor: 'tagColor', tagId: 'tagId', tagName: 'tagName', }; } static types(): { [key: string]: any } { return { tagColor: 'string', tagId: 'number', tagName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostDetailResponseBodyResult extends $tea.Model { content?: string; deptId?: number; deptName?: string; dislikeCount?: number; gmtCreate?: string; likeCount?: number; mediaUrlList?: string[]; postId?: number; postType?: string; products?: CirclePostDetailResponseBodyResultProducts[]; status?: string; tagList?: CirclePostDetailResponseBodyResultTagList[]; title?: string; userId?: string; userName?: string; viewCount?: number; static names(): { [key: string]: string } { return { content: 'content', deptId: 'deptId', deptName: 'deptName', dislikeCount: 'dislikeCount', gmtCreate: 'gmtCreate', likeCount: 'likeCount', mediaUrlList: 'mediaUrlList', postId: 'postId', postType: 'postType', products: 'products', status: 'status', tagList: 'tagList', title: 'title', userId: 'userId', userName: 'userName', viewCount: 'viewCount', }; } static types(): { [key: string]: any } { return { content: 'string', deptId: 'number', deptName: 'string', dislikeCount: 'number', gmtCreate: 'string', likeCount: 'number', mediaUrlList: { 'type': 'array', 'itemType': 'string' }, postId: 'number', postType: 'string', products: { 'type': 'array', 'itemType': CirclePostDetailResponseBodyResultProducts }, status: 'string', tagList: { 'type': 'array', 'itemType': CirclePostDetailResponseBodyResultTagList }, title: 'string', userId: 'string', userName: 'string', viewCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostRecordResponseBodyResultPostsList extends $tea.Model { content?: string; gmtCreate?: string; postId?: number; title?: string; userName?: string; static names(): { [key: string]: string } { return { content: 'content', gmtCreate: 'gmtCreate', postId: 'postId', title: 'title', userName: 'userName', }; } static types(): { [key: string]: any } { return { content: 'string', gmtCreate: 'string', postId: 'number', title: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CirclePostRecordResponseBodyResult extends $tea.Model { direction?: number; hasMore?: boolean; lastPostId?: number; postsList?: CirclePostRecordResponseBodyResultPostsList[]; static names(): { [key: string]: string } { return { direction: 'direction', hasMore: 'hasMore', lastPostId: 'lastPostId', postsList: 'postsList', }; } static types(): { [key: string]: any } { return { direction: 'number', hasMore: 'boolean', lastPostId: 'number', postsList: { 'type': 'array', 'itemType': CirclePostRecordResponseBodyResultPostsList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListCollegeSubDeptResponseBodyCollegeDeptInfoSimpleList extends $tea.Model { /** * @example * 01123 */ deptId?: number; /** * @example * 三年二班 */ deptName?: string; /** * @example * class */ deptType?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', deptName: 'deptName', deptType: 'deptType', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptName: 'string', deptType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListDeptManagerResponseBodyManagerInfoSimpleList extends $tea.Model { isActive?: boolean; /** * @example * 张三 */ name?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { isActive: 'isActive', name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { isActive: 'boolean', name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListStudentInfoResponseBodyStudentInfoSimpleList extends $tea.Model { /** * @example * NORMAL */ dingMemberStatus?: string; isActive?: boolean; /** * @example * 1111111 */ studentId?: number; /** * @example * 张三 */ studentName?: string; /** * @example * 11111111 */ unionId?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { dingMemberStatus: 'dingMemberStatus', isActive: 'isActive', studentId: 'studentId', studentName: 'studentName', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { dingMemberStatus: 'string', isActive: 'boolean', studentId: 'number', studentName: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeListUncheckedStudentResponseBodyStudentInfoSimpleList extends $tea.Model { /** * @example * NORMAL */ dingMemberStatus?: string; isActive?: boolean; /** * @example * 1111111 */ studentId?: number; /** * @example * 张三 */ studentName?: string; /** * @example * 11111111 */ unionId?: string; /** * @example * 0324124 */ userId?: string; static names(): { [key: string]: string } { return { dingMemberStatus: 'dingMemberStatus', isActive: 'isActive', studentId: 'studentId', studentName: 'studentName', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { dingMemberStatus: 'string', isActive: 'boolean', studentId: 'number', studentName: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByMobileResponseBodyDeptStudentInfoList extends $tea.Model { /** * @example * 01123 */ deptId?: number; /** * @example * student */ memberType?: string; /** * @example * mf1922051 */ studentNumber?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', memberType: 'memberType', studentNumber: 'studentNumber', }; } static types(): { [key: string]: any } { return { deptId: 'number', memberType: 'string', studentNumber: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CollegeQueryStudentInfoByStudentIdResponseBodyDeptStudentInfoList extends $tea.Model { /** * @example * 01123 */ deptId?: number; /** * @example * student */ memberType?: string; /** * @example * mf1922051 */ studentNumber?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', memberType: 'memberType', studentNumber: 'studentNumber', }; } static types(): { [key: string]: any } { return { deptId: 'number', memberType: 'string', studentNumber: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactCreateResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * alt:vndk1nd0 */ code?: string; /** * @remarks * This parameter is required. * * @example * A项目通讯录 */ name?: string; /** * @remarks * This parameter is required. * * @example * 1 */ order?: number; /** * @remarks * This parameter is required. * * @example * 78933133 */ rootDeptId?: number; static names(): { [key: string]: string } { return { code: 'code', name: 'name', order: 'order', rootDeptId: 'rootDeptId', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', order: 'number', rootDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ id?: number; /** * @remarks * This parameter is required. */ managerIdList?: string[]; /** * @remarks * This parameter is required. */ name?: string; /** * @remarks * This parameter is required. */ order?: number; /** * @remarks * This parameter is required. */ parentDeptId?: number; /** * @remarks * This parameter is required. */ refId?: number; /** * @remarks * This parameter is required. */ type?: number; static names(): { [key: string]: string } { return { code: 'code', id: 'id', managerIdList: 'managerIdList', name: 'name', order: 'order', parentDeptId: 'parentDeptId', refId: 'refId', type: 'type', }; } static types(): { [key: string]: any } { return { code: 'string', id: 'number', managerIdList: { 'type': 'array', 'itemType': 'string' }, name: 'string', order: 'number', parentDeptId: 'number', refId: 'number', type: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactDeptListResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; /** * @remarks * This parameter is required. */ id?: number; /** * @remarks * This parameter is required. */ managerIdList?: string[]; /** * @remarks * This parameter is required. */ name?: string; /** * @remarks * This parameter is required. */ order?: number; /** * @remarks * This parameter is required. */ parentDeptId?: number; /** * @remarks * This parameter is required. */ refId?: number; /** * @remarks * This parameter is required. */ type?: number; static names(): { [key: string]: string } { return { code: 'code', id: 'id', managerIdList: 'managerIdList', name: 'name', order: 'order', parentDeptId: 'parentDeptId', refId: 'refId', type: 'type', }; } static types(): { [key: string]: any } { return { code: 'string', id: 'number', managerIdList: { 'type': 'array', 'itemType': 'string' }, name: 'string', order: 'number', parentDeptId: 'number', refId: 'number', type: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactEmpListResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ name?: string; /** * @remarks * This parameter is required. */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class CustomizeContactListResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * adsbggaixopxx */ code?: string; /** * @remarks * This parameter is required. * * @example * XX项目通讯录 */ name?: string; /** * @remarks * This parameter is required. * * @example * 1 */ order?: number; /** * @remarks * This parameter is required. * * @example * 97722112 */ rootDeptId?: number; static names(): { [key: string]: string } { return { code: 'code', name: 'name', order: 'order', rootDeptId: 'rootDeptId', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', order: 'number', rootDeptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DIgitalStoreMessagePushRequestMessageDataList extends $tea.Model { /** * @example * xxxxcallback */ callbackKey?: string; /** * @example * {"key":"value"} */ content?: string; /** * @example * true */ newCard?: boolean; /** * @example * ysn138dh1712dsa */ outTraceId?: string; /** * @example * StoreOrder */ sceneCardCode?: string; /** * @example * 54774321 */ sceneScope?: number; /** * @example * true */ sendNow?: boolean; static names(): { [key: string]: string } { return { callbackKey: 'callbackKey', content: 'content', newCard: 'newCard', outTraceId: 'outTraceId', sceneCardCode: 'sceneCardCode', sceneScope: 'sceneScope', sendNow: 'sendNow', }; } static types(): { [key: string]: any } { return { callbackKey: 'string', content: 'string', newCard: 'boolean', outTraceId: 'string', sceneCardCode: 'string', sceneScope: 'number', sendNow: 'boolean', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreCardRecordResponseBodyContentDetailList extends $tea.Model { deptName?: string; readStatusStr?: string; readTime?: number; roleName?: string; userName?: string; static names(): { [key: string]: string } { return { deptName: 'deptName', readStatusStr: 'readStatusStr', readTime: 'readTime', roleName: 'roleName', userName: 'userName', }; } static types(): { [key: string]: any } { return { deptName: 'string', readStatusStr: 'string', readTime: 'number', roleName: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreCardRecordResponseBodyContent extends $tea.Model { conversationTitle?: string; detailList?: DigitalStoreCardRecordResponseBodyContentDetailList[]; id?: number; memberNum?: number; readNum?: number; readPercent?: string; receiveNum?: number; sceneCardName?: string; sendStatus?: string; sendTime?: number; static names(): { [key: string]: string } { return { conversationTitle: 'conversationTitle', detailList: 'detailList', id: 'id', memberNum: 'memberNum', readNum: 'readNum', readPercent: 'readPercent', receiveNum: 'receiveNum', sceneCardName: 'sceneCardName', sendStatus: 'sendStatus', sendTime: 'sendTime', }; } static types(): { [key: string]: any } { return { conversationTitle: 'string', detailList: { 'type': 'array', 'itemType': DigitalStoreCardRecordResponseBodyContentDetailList }, id: 'number', memberNum: 'number', readNum: 'number', readPercent: 'string', receiveNum: 'number', sceneCardName: 'string', sendStatus: 'string', sendTime: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreConversationsResponseBodyContent extends $tea.Model { /** * @example * xxxx店 */ conversationTitle?: string; /** * @example * store */ conversationType?: string; /** * @example * 123 */ id?: number; /** * @example * cid1234984881 */ openConversationId?: string; static names(): { [key: string]: string } { return { conversationTitle: 'conversationTitle', conversationType: 'conversationType', id: 'id', openConversationId: 'openConversationId', }; } static types(): { [key: string]: any } { return { conversationTitle: 'string', conversationType: 'string', id: 'number', openConversationId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreGroupsResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ groupId?: number; /** * @remarks * This parameter is required. * * @example * 待装修门店 */ groupName?: string; static names(): { [key: string]: string } { return { groupId: 'groupId', groupName: 'groupName', }; } static types(): { [key: string]: any } { return { groupId: 'number', groupName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreRolesResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ level?: number; /** * @remarks * This parameter is required. * * @example * DS_XXXXX */ roleCode?: string; /** * @remarks * This parameter is required. * * @example * 1 */ roleId?: number; /** * @remarks * This parameter is required. * * @example * 店长 */ roleName?: string; /** * @example * create */ source?: string; static names(): { [key: string]: string } { return { level: 'level', roleCode: 'roleCode', roleId: 'roleId', roleName: 'roleName', source: 'source', }; } static types(): { [key: string]: any } { return { level: 'number', roleCode: 'string', roleId: 'number', roleName: 'string', source: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreSubNodesResponseBodyContent extends $tea.Model { dingDeptId?: number; /** * @remarks * This parameter is required. * * @example * 6756433 */ id?: number; /** * @remarks * This parameter is required. * * @example * 华夏之心店 */ name?: string; /** * @remarks * This parameter is required. * * @example * 873366531 */ parentId?: number; /** * @remarks * This parameter is required. * * @example * 1 */ type?: number; static names(): { [key: string]: string } { return { dingDeptId: 'dingDeptId', id: 'id', name: 'name', parentId: 'parentId', type: 'type', }; } static types(): { [key: string]: any } { return { dingDeptId: 'number', id: 'number', name: 'string', parentId: 'number', type: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList extends $tea.Model { /** * @example * 区域督导 */ roleName?: string; /** * @example * 255 */ sourceRoleId?: string; static names(): { [key: string]: string } { return { roleName: 'roleName', sourceRoleId: 'sourceRoleId', }; } static types(): { [key: string]: any } { return { roleName: 'string', sourceRoleId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList extends $tea.Model { /** * @example * 8733901123 */ dingDeptId?: string; /** * @example * 998383831 */ sourceDeptId?: string; static names(): { [key: string]: string } { return { dingDeptId: 'dingDeptId', sourceDeptId: 'sourceDeptId', }; } static types(): { [key: string]: any } { return { dingDeptId: 'string', sourceDeptId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUpdateAuthInfoRequestUpdateUserList extends $tea.Model { roleList?: DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList[]; userAuthList?: DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList[]; /** * @example * 0998182231 */ userId?: string; static names(): { [key: string]: string } { return { roleList: 'roleList', userAuthList: 'userAuthList', userId: 'userId', }; } static types(): { [key: string]: any } { return { roleList: { 'type': 'array', 'itemType': DigitalStoreUpdateAuthInfoRequestUpdateUserListRoleList }, userAuthList: { 'type': 'array', 'itemType': DigitalStoreUpdateAuthInfoRequestUpdateUserListUserAuthList }, userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStoreUsersResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 张三 */ name?: string; /** * @remarks * This parameter is required. * * @example * 112121341231 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class DigitalStorelistExportTaskRecordResponseBodyContent extends $tea.Model { fileName?: string; fileType?: string; fileUrl?: string; id?: string; isImport?: string; remark?: string; status?: string; successNum?: string; totalNum?: string; static names(): { [key: string]: string } { return { fileName: 'fileName', fileType: 'fileType', fileUrl: 'fileUrl', id: 'id', isImport: 'isImport', remark: 'remark', status: 'status', successNum: 'successNum', totalNum: 'totalNum', }; } static types(): { [key: string]: any } { return { fileName: 'string', fileType: 'string', fileUrl: 'string', id: 'string', isImport: 'string', remark: 'string', status: 'string', successNum: 'string', totalNum: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalAppOrgsResponseBodyResult extends $tea.Model { /** * @example * ding121212 */ corpId?: string; /** * @example * 组织名 */ corpName?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', corpName: 'corpName', }; } static types(): { [key: string]: any } { return { corpId: 'string', corpName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class ExternalQueryExternalOrgsResponseBodyResult extends $tea.Model { /** * @example * ding121212 */ corpId?: string; /** * @example * 组织名 */ corpName?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', corpName: 'corpName', }; } static types(): { [key: string]: any } { return { corpId: 'string', corpName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetConvertResultResponseBodyResultOutputInfo extends $tea.Model { content?: string; fileName?: string; fileSize?: number; fileType?: string; fileUrl?: string; static names(): { [key: string]: string } { return { content: 'content', fileName: 'fileName', fileSize: 'fileSize', fileType: 'fileType', fileUrl: 'fileUrl', }; } static types(): { [key: string]: any } { return { content: 'string', fileName: 'string', fileSize: 'number', fileType: 'string', fileUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetConvertResultResponseBodyResult extends $tea.Model { corpId?: string; createTime?: number; creatorName?: string; outputInfo?: GetConvertResultResponseBodyResultOutputInfo; status?: string; taskBizId?: string; title?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', createTime: 'createTime', creatorName: 'creatorName', outputInfo: 'outputInfo', status: 'status', taskBizId: 'taskBizId', title: 'title', }; } static types(): { [key: string]: any } { return { corpId: 'string', createTime: 'number', creatorName: 'string', outputInfo: GetConvertResultResponseBodyResultOutputInfo, status: 'string', taskBizId: 'string', title: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultResponseBodyTasksResultItems extends $tea.Model { advantages?: string; fabReference?: string; info?: string; name?: string; point?: number; reference?: string; res?: boolean; suggestion?: string; static names(): { [key: string]: string } { return { advantages: 'advantages', fabReference: 'fabReference', info: 'info', name: 'name', point: 'point', reference: 'reference', res: 'res', suggestion: 'suggestion', }; } static types(): { [key: string]: any } { return { advantages: 'string', fabReference: 'string', info: 'string', name: 'string', point: 'number', reference: 'string', res: 'boolean', suggestion: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultResponseBodyTasksResult extends $tea.Model { audioText?: string; audioTextFormatted?: string; date?: string; desc?: string; formName?: string; id?: number; items?: GetTaskPackageResultResponseBodyTasksResultItems[]; name?: string; parseText?: string; rawData?: string; summary?: string; total?: number; static names(): { [key: string]: string } { return { audioText: 'audioText', audioTextFormatted: 'audioTextFormatted', date: 'date', desc: 'desc', formName: 'formName', id: 'id', items: 'items', name: 'name', parseText: 'parseText', rawData: 'rawData', summary: 'summary', total: 'total', }; } static types(): { [key: string]: any } { return { audioText: 'string', audioTextFormatted: 'string', date: 'string', desc: 'string', formName: 'string', id: 'number', items: { 'type': 'array', 'itemType': GetTaskPackageResultResponseBodyTasksResultItems }, name: 'string', parseText: 'string', rawData: 'string', summary: 'string', total: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskPackageResultResponseBodyTasks extends $tea.Model { reportLink?: string; result?: GetTaskPackageResultResponseBodyTasksResult; status?: string; statusInfo?: string; taskId?: string; static names(): { [key: string]: string } { return { reportLink: 'reportLink', result: 'result', status: 'status', statusInfo: 'statusInfo', taskId: 'taskId', }; } static types(): { [key: string]: any } { return { reportLink: 'string', result: GetTaskPackageResultResponseBodyTasksResult, status: 'string', statusInfo: 'string', taskId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class GetTaskQueueResponseBodyResult extends $tea.Model { pendingCount?: number; processingCount?: number; totalCount?: number; static names(): { [key: string]: string } { return { pendingCount: 'pendingCount', processingCount: 'processingCount', totalCount: 'totalCount', }; } static types(): { [key: string]: any } { return { pendingCount: 'number', processingCount: 'number', totalCount: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCommonEventResponseBodyResult extends $tea.Model { content?: string; httpCode?: string; static names(): { [key: string]: string } { return { content: 'content', httpCode: 'httpCode', }; } static types(): { [key: string]: any } { return { content: 'string', httpCode: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureCostRecordListGetResponseBodyList extends $tea.Model { /** * @remarks * This parameter is required. */ corpId?: string; /** * @remarks * This parameter is required. */ count?: number; /** * @remarks * This parameter is required. */ ext?: string; /** * @remarks * This parameter is required. */ gmtCreate?: number; /** * @remarks * This parameter is required. */ gmtModified?: number; /** * @remarks * This parameter is required. */ instanceId?: string; /** * @remarks * This parameter is required. */ isDeleted?: string; /** * @remarks * This parameter is required. */ materialCostRecordNo?: string; /** * @remarks * This parameter is required. */ materialName?: string; /** * @remarks * This parameter is required. */ materialNo?: string; /** * @remarks * This parameter is required. */ memo?: string; /** * @remarks * This parameter is required. */ orderNo?: string; /** * @remarks * This parameter is required. */ price?: number; /** * @remarks * This parameter is required. */ processCode?: string; /** * @remarks * This parameter is required. */ productionTaskNo?: string; /** * @remarks * This parameter is required. */ realCount?: number; /** * @remarks * This parameter is required. */ realPrice?: number; /** * @remarks * This parameter is required. */ type?: string; /** * @remarks * This parameter is required. */ unit?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', count: 'count', ext: 'ext', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', instanceId: 'instanceId', isDeleted: 'isDeleted', materialCostRecordNo: 'materialCostRecordNo', materialName: 'materialName', materialNo: 'materialNo', memo: 'memo', orderNo: 'orderNo', price: 'price', processCode: 'processCode', productionTaskNo: 'productionTaskNo', realCount: 'realCount', realPrice: 'realPrice', type: 'type', unit: 'unit', }; } static types(): { [key: string]: any } { return { corpId: 'string', count: 'number', ext: 'string', gmtCreate: 'number', gmtModified: 'number', instanceId: 'string', isDeleted: 'string', materialCostRecordNo: 'string', materialName: 'string', materialNo: 'string', memo: 'string', orderNo: 'string', price: 'number', processCode: 'string', productionTaskNo: 'string', realCount: 'number', realPrice: 'number', type: 'string', unit: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureFeeListGetResponseBodyList extends $tea.Model { /** * @remarks * This parameter is required. */ amount?: string; /** * @remarks * This parameter is required. */ corpId?: string; /** * @remarks * This parameter is required. */ count?: number; /** * @remarks * This parameter is required. */ ext?: string; /** * @remarks * This parameter is required. */ gmtCreate?: number; /** * @remarks * This parameter is required. */ gmtModified?: number; /** * @remarks * This parameter is required. */ id?: number; /** * @remarks * This parameter is required. */ instanceId?: string; /** * @remarks * This parameter is required. */ isDeleted?: string; /** * @remarks * This parameter is required. */ materialName?: string; /** * @remarks * This parameter is required. */ materialNo?: string; /** * @remarks * This parameter is required. */ perAmount?: number; /** * @remarks * This parameter is required. */ processCode?: string; /** * @remarks * This parameter is required. */ productionTaskNo?: string; /** * @remarks * This parameter is required. */ title?: string; /** * @remarks * This parameter is required. */ type?: string; /** * @remarks * This parameter is required. */ unit?: string; static names(): { [key: string]: string } { return { amount: 'amount', corpId: 'corpId', count: 'count', ext: 'ext', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', id: 'id', instanceId: 'instanceId', isDeleted: 'isDeleted', materialName: 'materialName', materialNo: 'materialNo', perAmount: 'perAmount', processCode: 'processCode', productionTaskNo: 'productionTaskNo', title: 'title', type: 'type', unit: 'unit', }; } static types(): { [key: string]: any } { return { amount: 'string', corpId: 'string', count: 'number', ext: 'string', gmtCreate: 'number', gmtModified: 'number', id: 'number', instanceId: 'string', isDeleted: 'string', materialName: 'string', materialNo: 'string', perAmount: 'number', processCode: 'string', productionTaskNo: 'string', title: 'string', type: 'string', unit: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureLabourCostResponseBodyList extends $tea.Model { /** * @remarks * This parameter is required. */ corpId?: string; /** * @remarks * This parameter is required. */ ext?: string; /** * @remarks * This parameter is required. */ gmtCreate?: number; /** * @remarks * This parameter is required. */ gmtModified?: number; /** * @remarks * This parameter is required. */ instanceId?: string; /** * @remarks * This parameter is required. */ labourCostName?: string; /** * @remarks * This parameter is required. */ labourCostNo?: string; /** * @remarks * This parameter is required. */ materialName?: string; /** * @remarks * This parameter is required. */ materialNo?: string; /** * @remarks * This parameter is required. */ processCode?: string; /** * @remarks * This parameter is required. */ processName?: string; /** * @remarks * This parameter is required. */ processNo?: string; /** * @remarks * This parameter is required. */ qualifiedPrice?: number; /** * @remarks * This parameter is required. */ unQualifiedInfo?: string; /** * @remarks * This parameter is required. */ unQualifiedPrice1?: number; /** * @remarks * This parameter is required. */ unQualifiedPrice2?: number; /** * @remarks * This parameter is required. */ unQualifiedReason1?: string; /** * @remarks * This parameter is required. */ unQualifiedReason2?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', ext: 'ext', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', instanceId: 'instanceId', labourCostName: 'labourCostName', labourCostNo: 'labourCostNo', materialName: 'materialName', materialNo: 'materialNo', processCode: 'processCode', processName: 'processName', processNo: 'processNo', qualifiedPrice: 'qualifiedPrice', unQualifiedInfo: 'unQualifiedInfo', unQualifiedPrice1: 'unQualifiedPrice1', unQualifiedPrice2: 'unQualifiedPrice2', unQualifiedReason1: 'unQualifiedReason1', unQualifiedReason2: 'unQualifiedReason2', }; } static types(): { [key: string]: any } { return { corpId: 'string', ext: 'string', gmtCreate: 'number', gmtModified: 'number', instanceId: 'string', labourCostName: 'string', labourCostNo: 'string', materialName: 'string', materialNo: 'string', processCode: 'string', processName: 'string', processNo: 'string', qualifiedPrice: 'number', unQualifiedInfo: 'string', unQualifiedPrice1: 'number', unQualifiedPrice2: 'number', unQualifiedReason1: 'string', unQualifiedReason2: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMaterialListResponseBodyList extends $tea.Model { /** * @remarks * This parameter is required. */ category?: string; /** * @remarks * This parameter is required. */ corpId?: string; /** * @remarks * This parameter is required. */ ext?: string; /** * @remarks * This parameter is required. */ instanceId?: string; /** * @remarks * This parameter is required. */ materialName?: string; /** * @remarks * This parameter is required. */ materialNo?: string; /** * @remarks * This parameter is required. */ processCode?: string; /** * @remarks * This parameter is required. */ specification?: string; /** * @remarks * This parameter is required. */ stockMaxWarn?: number; /** * @remarks * This parameter is required. */ stockMinWarn?: number; /** * @remarks * This parameter is required. */ type?: string; /** * @remarks * This parameter is required. */ unit?: string; static names(): { [key: string]: string } { return { category: 'category', corpId: 'corpId', ext: 'ext', instanceId: 'instanceId', materialName: 'materialName', materialNo: 'materialNo', processCode: 'processCode', specification: 'specification', stockMaxWarn: 'stockMaxWarn', stockMinWarn: 'stockMinWarn', type: 'type', unit: 'unit', }; } static types(): { [key: string]: any } { return { category: 'string', corpId: 'string', ext: 'string', instanceId: 'string', materialName: 'string', materialNo: 'string', processCode: 'string', specification: 'string', stockMaxWarn: 'number', stockMinWarn: 'number', type: 'string', unit: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesDispatchTaskResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesMaterialRequestExtendData extends $tea.Model { /** * @example * staffName */ code?: string; /** * @example * 生产人员 */ name?: string; /** * @example * 张三 */ value?: string; /** * @example * string */ valueType?: string; static names(): { [key: string]: string } { return { code: 'code', name: 'name', value: 'value', valueType: 'valueType', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', value: 'string', valueType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesMaterialResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutPlanResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesOutputResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProcessRequestExtendData extends $tea.Model { /** * @example * username */ code?: string; /** * @example * 生产人员 */ name?: string; /** * @example * 李四 */ value?: string; /** * @example * string */ valueType?: string; static names(): { [key: string]: string } { return { code: 'code', name: 'name', value: 'value', valueType: 'valueType', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', value: 'string', valueType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProcessResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProductionPlanRequestExtendData extends $tea.Model { /** * @example * staffName */ code?: string; /** * @example * 生产人员 */ name?: string; /** * @example * 张三 */ value?: string; /** * @example * string */ valueType?: string; static names(): { [key: string]: string } { return { code: 'code', name: 'name', value: 'value', valueType: 'valueType', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', value: 'string', valueType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesProductionPlanResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamRequestExtendData extends $tea.Model { /** * @remarks * This parameter is required. * * @example * school */ code?: string; /** * @example * 学校 */ name?: string; /** * @remarks * This parameter is required. * * @example * 北大 */ value?: string; /** * @remarks * This parameter is required. * * @example * string */ valueType?: string; static names(): { [key: string]: string } { return { code: 'code', name: 'name', value: 'value', valueType: 'valueType', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', value: 'string', valueType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamRequestGroupPlugins extends $tea.Model { /** * @remarks * This parameter is required. */ label?: string; /** * @remarks * This parameter is required. */ value?: string; static names(): { [key: string]: string } { return { label: 'label', value: 'value', }; } static types(): { [key: string]: any } { return { label: 'string', value: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamRequestLeaders extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 张三 */ name?: string; /** * @remarks * This parameter is required. * * @example * 1919442747879777 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamRequestMembers extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 李四 */ name?: string; /** * @remarks * This parameter is required. * * @example * 1919442747879777 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesSubCooperationTeamResponseBodyResult extends $tea.Model { content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtRequestExtendData extends $tea.Model { /** * @remarks * This parameter is required. * * @example * school */ code?: string; /** * @example * 学校 */ name?: string; /** * @remarks * This parameter is required. * * @example * 北大 */ value?: string; /** * @remarks * This parameter is required. * * @example * string */ valueType?: string; static names(): { [key: string]: string } { return { code: 'code', name: 'name', value: 'value', valueType: 'valueType', }; } static types(): { [key: string]: any } { return { code: 'string', name: 'string', value: 'string', valueType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtRequestGroupPlugins extends $tea.Model { /** * @remarks * This parameter is required. */ label?: string; /** * @remarks * This parameter is required. */ value?: string; static names(): { [key: string]: string } { return { label: 'label', value: 'value', }; } static types(): { [key: string]: any } { return { label: 'string', value: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtRequestLeaders extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 张三 */ name?: string; /** * @remarks * This parameter is required. * * @example * 1919442747879777 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtRequestMembers extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 李四 */ name?: string; /** * @remarks * This parameter is required. * * @example * 1919442747879777 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryManufactureMesTeamMgmtResponseBodyResult extends $tea.Model { /** * @remarks * This parameter is required. */ content?: string; static names(): { [key: string]: string } { return { content: 'content', }; } static types(): { [key: string]: any } { return { content: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class IndustryMmanufactureMaterialCostGetResponseBodyList extends $tea.Model { /** * @remarks * This parameter is required. */ actPrice?: number; /** * @remarks * This parameter is required. */ corpId?: string; /** * @remarks * This parameter is required. */ count?: number; /** * @remarks * This parameter is required. */ ext?: string; /** * @remarks * This parameter is required. */ gmtCreate?: number; /** * @remarks * This parameter is required. */ gmtModified?: number; /** * @remarks * This parameter is required. */ instanceId?: string; /** * @remarks * This parameter is required. */ materialCostNo?: string; /** * @remarks * This parameter is required. */ materialName?: string; /** * @remarks * This parameter is required. */ materialNo?: string; /** * @remarks * This parameter is required. */ memo?: string; /** * @remarks * This parameter is required. */ price?: number; /** * @remarks * This parameter is required. */ processCode?: string; /** * @remarks * This parameter is required. */ unit?: string; static names(): { [key: string]: string } { return { actPrice: 'actPrice', corpId: 'corpId', count: 'count', ext: 'ext', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', instanceId: 'instanceId', materialCostNo: 'materialCostNo', materialName: 'materialName', materialNo: 'materialNo', memo: 'memo', price: 'price', processCode: 'processCode', unit: 'unit', }; } static types(): { [key: string]: any } { return { actPrice: 'number', corpId: 'string', count: 'number', ext: 'string', gmtCreate: 'number', gmtModified: 'number', instanceId: 'string', materialCostNo: 'string', materialName: 'string', materialNo: 'string', memo: 'string', price: 'number', processCode: 'string', unit: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class OrderConvertRequestAttachments extends $tea.Model { /** * @remarks * This parameter is required. */ fileName?: string; /** * @remarks * This parameter is required. */ fileUrl?: string; static names(): { [key: string]: string } { return { fileName: 'fileName', fileUrl: 'fileUrl', }; } static types(): { [key: string]: any } { return { fileName: 'string', fileUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentDeptAndExtDepartment extends $tea.Model { /** * @remarks * This parameter is required. * * @example * asd123 */ deptCode?: string; /** * @remarks * This parameter is required. * * @example * 骨科 */ deptName?: string; /** * @remarks * This parameter is required. * * @example * 1 */ deptOrder?: number; /** * @remarks * This parameter is required. * * @example * 0 */ deptStatus?: number; /** * @remarks * This parameter is required. * * @example * 1 */ deptType?: number; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 130000 */ id?: number; /** * @remarks * This parameter is required. * * @example * 骨科 */ name?: string; /** * @remarks * This parameter is required. * * @example * asd123 */ parentDeptCode?: string; /** * @remarks * This parameter is required. * * @example * 备注 */ remark?: string; /** * @remarks * This parameter is required. */ wardIdList?: number[]; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptName: 'deptName', deptOrder: 'deptOrder', deptStatus: 'deptStatus', deptType: 'deptType', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', name: 'name', parentDeptCode: 'parentDeptCode', remark: 'remark', wardIdList: 'wardIdList', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptName: 'string', deptOrder: 'number', deptStatus: 'number', deptType: 'number', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', name: 'string', parentDeptCode: 'string', remark: 'string', wardIdList: { 'type': 'array', 'itemType': 'number' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos extends $tea.Model { /** * @remarks * This parameter is required. * * @example * asd123 */ deptCode?: string; /** * @remarks * This parameter is required. * * @example * 科室、医务科、医生都不一样 */ deptExtendDisplayName?: string; /** * @remarks * This parameter is required. * * @example * 科室、医务科、医生都不一样 */ deptExtendKey?: string; /** * @remarks * This parameter is required. * * @example * 科室、医务科、医生都不一样 */ deptExtendValue?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 20000 */ id?: number; /** * @remarks * This parameter is required. * * @example * 0 */ status?: number; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptExtendDisplayName: 'deptExtendDisplayName', deptExtendKey: 'deptExtendKey', deptExtendValue: 'deptExtendValue', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', status: 'status', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptExtendDisplayName: 'string', deptExtendKey: 'string', deptExtendValue: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', status: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentDeptAndExt extends $tea.Model { /** * @remarks * This parameter is required. */ department?: QueryAllDepartmentResponseBodyContentDeptAndExtDepartment; /** * @remarks * This parameter is required. */ extendInfos?: QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos[]; static names(): { [key: string]: string } { return { department: 'department', extendInfos: 'extendInfos', }; } static types(): { [key: string]: any } { return { department: QueryAllDepartmentResponseBodyContentDeptAndExtDepartment, extendInfos: { 'type': 'array', 'itemType': QueryAllDepartmentResponseBodyContentDeptAndExtExtendInfos }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos extends $tea.Model { /** * @remarks * This parameter is required. * * @example * asd123 */ deptCode?: string; /** * @remarks * This parameter is required. * * @example * 科室、医务科、医生都不一样 */ deptExtendDisplayName?: string; /** * @remarks * This parameter is required. * * @example * 科室、医务科、医生都不一样 */ deptExtendKey?: string; /** * @remarks * This parameter is required. * * @example * 科室、医务科、医生都不一样 */ deptExtendValue?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 20000 */ id?: number; /** * @remarks * This parameter is required. * * @example * 0 */ status?: number; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptExtendDisplayName: 'deptExtendDisplayName', deptExtendKey: 'deptExtendKey', deptExtendValue: 'deptExtendValue', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', status: 'status', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptExtendDisplayName: 'string', deptExtendKey: 'string', deptExtendValue: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', status: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 888asd */ jobNumber?: string; /** * @remarks * This parameter is required. * * @example * 张三 */ name?: string; /** * @remarks * This parameter is required. * * @example * 666abc */ userId?: string; static names(): { [key: string]: string } { return { jobNumber: 'jobNumber', name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { jobNumber: 'string', name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentGroupAndExtListGroup extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 13000 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 1 */ deptStatus?: number; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 13001 */ id?: number; /** * @remarks * This parameter is required. */ leader?: QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader; /** * @remarks * This parameter is required. * * @example * 张三组 */ name?: string; /** * @remarks * This parameter is required. * * @example * 13000 */ parentDeptCode?: string; /** * @remarks * This parameter is required. * * @example * 备注 */ remark?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', deptStatus: 'deptStatus', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', leader: 'leader', name: 'name', parentDeptCode: 'parentDeptCode', remark: 'remark', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptStatus: 'number', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', leader: QueryAllDepartmentResponseBodyContentGroupAndExtListGroupLeader, name: 'string', parentDeptCode: 'string', remark: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContentGroupAndExtList extends $tea.Model { /** * @remarks * This parameter is required. */ extendInfos?: QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos[]; /** * @remarks * This parameter is required. */ group?: QueryAllDepartmentResponseBodyContentGroupAndExtListGroup; static names(): { [key: string]: string } { return { extendInfos: 'extendInfos', group: 'group', }; } static types(): { [key: string]: any } { return { extendInfos: { 'type': 'array', 'itemType': QueryAllDepartmentResponseBodyContentGroupAndExtListExtendInfos }, group: QueryAllDepartmentResponseBodyContentGroupAndExtListGroup, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDepartmentResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ deptAndExt?: QueryAllDepartmentResponseBodyContentDeptAndExt; /** * @remarks * This parameter is required. */ groupAndExtList?: QueryAllDepartmentResponseBodyContentGroupAndExtList[]; /** * @remarks * This parameter is required. * * @example * 130000 */ id?: number; /** * @remarks * This parameter is required. * * @example * 骨科 */ name?: string; static names(): { [key: string]: string } { return { deptAndExt: 'deptAndExt', groupAndExtList: 'groupAndExtList', id: 'id', name: 'name', }; } static types(): { [key: string]: any } { return { deptAndExt: QueryAllDepartmentResponseBodyContentDeptAndExt, groupAndExtList: { 'type': 'array', 'itemType': QueryAllDepartmentResponseBodyContentGroupAndExtList }, id: 'number', name: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllDoctorsResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1758 */ assessGroupId?: string; /** * @remarks * This parameter is required. * * @example * 张三组 */ assessGroupName?: string; /** * @remarks * This parameter is required. * * @example * 1312312321 */ deptCode?: string; /** * @remarks * This parameter is required. * * @example * 3 */ deptType?: string; /** * @remarks * This parameter is required. * * @example * 2021-06-08 21:57:10 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-06-08 21:57:10 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 123345 */ id?: number; /** * @remarks * This parameter is required. * * @example * 0001 */ jobNum?: string; /** * @remarks * This parameter is required. * * @example * 0 */ status?: number; /** * @remarks * This parameter is required. * * @example * u0398812938821 */ uid?: string; /** * @remarks * This parameter is required. * * @example * aaa12312312 */ userCode?: string; /** * @remarks * This parameter is required. * * @example * 用户名称 */ userName?: string; static names(): { [key: string]: string } { return { assessGroupId: 'assessGroupId', assessGroupName: 'assessGroupName', deptCode: 'deptCode', deptType: 'deptType', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', jobNum: 'jobNum', status: 'status', uid: 'uid', userCode: 'userCode', userName: 'userName', }; } static types(): { [key: string]: any } { return { assessGroupId: 'string', assessGroupName: 'string', deptCode: 'string', deptType: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', jobNum: 'string', status: 'number', uid: 'string', userCode: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupResponseBodyContent extends $tea.Model { /** * @example * 12 */ deptId?: number; /** * @example * 1 */ id?: number; /** * @example * 医疗组1 */ name?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', id: 'id', name: 'name', }; } static types(): { [key: string]: any } { return { deptId: 'number', id: 'number', name: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllGroupsInDeptResponseBodyContent extends $tea.Model { /** * @example * 12 */ deptId?: number; /** * @example * 1 */ id?: number; /** * @example * 医疗组1 */ name?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', id: 'id', name: 'name', }; } static types(): { [key: string]: any } { return { deptId: 'number', id: 'number', name: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByDeptResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 0001 */ jobNum?: string; /** * @remarks * This parameter is required. * * @example * u0398812938821 */ uid?: string; /** * @remarks * This parameter is required. * * @example * 用户名称 */ userName?: string; static names(): { [key: string]: string } { return { jobNum: 'jobNum', uid: 'uid', userName: 'userName', }; } static types(): { [key: string]: any } { return { jobNum: 'string', uid: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryAllMemberByGroupResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 0001 */ jobNum?: string; /** * @remarks * This parameter is required. * * @example * u0398812938821 */ uid?: string; /** * @remarks * This parameter is required. * * @example * 用户名称 */ userName?: string; static names(): { [key: string]: string } { return { jobNum: 'jobNum', uid: 'uid', userName: 'userName', }; } static types(): { [key: string]: any } { return { jobNum: 'string', uid: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryBizOptLogResponseBodyContent extends $tea.Model { /** * @example * 固定值 1-医疗组 */ bizType?: number; /** * @example * 1-钉钉数据,2-自建数据 */ dataType?: number; /** * @example * 23821 */ id?: number; optAfterData?: string; optBeforeData?: string; /** * @example * 1-人员,2-部门 */ optBizType?: number; optExtend?: string; optJobNumber?: string; optObjectCode?: string; optObjectName?: string; optObjectUserJobNo?: string; /** * @example * 1-成功,2-失败 */ optSuccess?: number; /** * @example * 1622191102012 */ optTime?: number; /** * @example * 0-删除,1-添加,2-修改,3-作废 */ optType?: number; optUserCode?: string; optUserName?: string; remark?: string; static names(): { [key: string]: string } { return { bizType: 'bizType', dataType: 'dataType', id: 'id', optAfterData: 'optAfterData', optBeforeData: 'optBeforeData', optBizType: 'optBizType', optExtend: 'optExtend', optJobNumber: 'optJobNumber', optObjectCode: 'optObjectCode', optObjectName: 'optObjectName', optObjectUserJobNo: 'optObjectUserJobNo', optSuccess: 'optSuccess', optTime: 'optTime', optType: 'optType', optUserCode: 'optUserCode', optUserName: 'optUserName', remark: 'remark', }; } static types(): { [key: string]: any } { return { bizType: 'number', dataType: 'number', id: 'number', optAfterData: 'string', optBeforeData: 'string', optBizType: 'number', optExtend: 'string', optJobNumber: 'string', optObjectCode: 'string', optObjectName: 'string', optObjectUserJobNo: 'string', optSuccess: 'number', optTime: 'number', optType: 'number', optUserCode: 'string', optUserName: 'string', remark: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesResponseBodyResultItemsSourceFiles extends $tea.Model { fileName?: string; fileSize?: number; fileTag?: string; mediaId?: string; previewUrl?: string; static names(): { [key: string]: string } { return { fileName: 'fileName', fileSize: 'fileSize', fileTag: 'fileTag', mediaId: 'mediaId', previewUrl: 'previewUrl', }; } static types(): { [key: string]: any } { return { fileName: 'string', fileSize: 'number', fileTag: 'string', mediaId: 'string', previewUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesResponseBodyResultItemsTargetFiles extends $tea.Model { fileName?: string; fileSize?: number; fileTag?: string; mediaId?: string; previewUrl?: string; static names(): { [key: string]: string } { return { fileName: 'fileName', fileSize: 'fileSize', fileTag: 'fileTag', mediaId: 'mediaId', previewUrl: 'previewUrl', }; } static types(): { [key: string]: any } { return { fileName: 'string', fileSize: 'number', fileTag: 'string', mediaId: 'string', previewUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesResponseBodyResultItems extends $tea.Model { corpId?: string; description?: string; gmtCreate?: number; gmtModified?: number; name?: string; ruleBizId?: string; sourceFiles?: QueryConvertRulesResponseBodyResultItemsSourceFiles[]; targetFiles?: QueryConvertRulesResponseBodyResultItemsTargetFiles[]; static names(): { [key: string]: string } { return { corpId: 'corpId', description: 'description', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', name: 'name', ruleBizId: 'ruleBizId', sourceFiles: 'sourceFiles', targetFiles: 'targetFiles', }; } static types(): { [key: string]: any } { return { corpId: 'string', description: 'string', gmtCreate: 'number', gmtModified: 'number', name: 'string', ruleBizId: 'string', sourceFiles: { 'type': 'array', 'itemType': QueryConvertRulesResponseBodyResultItemsSourceFiles }, targetFiles: { 'type': 'array', 'itemType': QueryConvertRulesResponseBodyResultItemsTargetFiles }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryConvertRulesResponseBodyResult extends $tea.Model { items?: QueryConvertRulesResponseBodyResultItems[]; pageNo?: number; pageSize?: number; totalCount?: number; totalPages?: number; static names(): { [key: string]: string } { return { items: 'items', pageNo: 'pageNo', pageSize: 'pageSize', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { items: { 'type': 'array', 'itemType': QueryConvertRulesResponseBodyResultItems }, pageNo: 'number', pageSize: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentExtendInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1231 */ deptCode?: string; /** * @remarks * This parameter is required. * * @example * a */ deptExtendDisplayName?: string; /** * @remarks * This parameter is required. * * @example * 2 */ deptExtendKey?: string; /** * @remarks * This parameter is required. * * @example * 1 */ deptExtendValue?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 1000 */ id?: number; /** * @remarks * This parameter is required. * * @example * 0 */ status?: number; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptExtendDisplayName: 'deptExtendDisplayName', deptExtendKey: 'deptExtendKey', deptExtendValue: 'deptExtendValue', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', status: 'status', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptExtendDisplayName: 'string', deptExtendKey: 'string', deptExtendValue: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', status: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentInfoResponseBodyContentDepartment extends $tea.Model { /** * @example * 2341 */ deptCode?: string; /** * @example * 血液科 */ deptName?: string; /** * @example * 2 */ deptOrder?: number; /** * @example * 0 */ deptStatus?: number; /** * @example * 3 */ deptType?: number; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @example * 12321 */ id?: number; /** * @example * 血液科 */ name?: string; /** * @example * 3421 */ parentDeptCode?: string; /** * @example * 科室 */ remark?: string; wardIdList?: number[]; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptName: 'deptName', deptOrder: 'deptOrder', deptStatus: 'deptStatus', deptType: 'deptType', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', name: 'name', parentDeptCode: 'parentDeptCode', remark: 'remark', wardIdList: 'wardIdList', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptName: 'string', deptOrder: 'number', deptStatus: 'number', deptType: 'number', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', name: 'string', parentDeptCode: 'string', remark: 'string', wardIdList: { 'type': 'array', 'itemType': 'number' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentInfoResponseBodyContentExtendInfos extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1234 */ deptCode?: string; /** * @example * 科室主任 */ deptExtendDisplayName?: string; /** * @example * 1 */ deptExtendKey?: string; /** * @example * 1 */ deptExtendValue?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @example * 10000 */ id?: number; /** * @example * 0 */ status?: number; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptExtendDisplayName: 'deptExtendDisplayName', deptExtendKey: 'deptExtendKey', deptExtendValue: 'deptExtendValue', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', status: 'status', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptExtendDisplayName: 'string', deptExtendKey: 'string', deptExtendValue: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', status: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDepartmentInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ department?: QueryDepartmentInfoResponseBodyContentDepartment; extendInfos?: QueryDepartmentInfoResponseBodyContentExtendInfos[]; static names(): { [key: string]: string } { return { department: 'department', extendInfos: 'extendInfos', }; } static types(): { [key: string]: any } { return { department: QueryDepartmentInfoResponseBodyContentDepartment, extendInfos: { 'type': 'array', 'itemType': QueryDepartmentInfoResponseBodyContentExtendInfos }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBodyContentDeptList extends $tea.Model { categoryName?: string; deptId?: number; deptName?: string; gmtCreate?: string; gmtModified?: string; relationId?: number; static names(): { [key: string]: string } { return { categoryName: 'categoryName', deptId: 'deptId', deptName: 'deptName', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', relationId: 'relationId', }; } static types(): { [key: string]: any } { return { categoryName: 'string', deptId: 'number', deptName: 'string', gmtCreate: 'string', gmtModified: 'string', relationId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBodyContentGroupList extends $tea.Model { deptId?: number; deptName?: string; groupId?: number; groupName?: string; isAssessGroup?: string; isLeader?: boolean; relationId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', deptName: 'deptName', groupId: 'groupId', groupName: 'groupName', isAssessGroup: 'isAssessGroup', isLeader: 'isLeader', relationId: 'relationId', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptName: 'string', groupId: 'number', groupName: 'string', isAssessGroup: 'string', isLeader: 'boolean', relationId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus extends $tea.Model { code?: string; statusName?: string; static names(): { [key: string]: string } { return { code: 'code', statusName: 'statusName', }; } static types(): { [key: string]: any } { return { code: 'string', statusName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle extends $tea.Model { code?: string; professionalTitleCategory?: string; professionalTitleDetail?: string; static names(): { [key: string]: string } { return { code: 'code', professionalTitleCategory: 'professionalTitleCategory', professionalTitleDetail: 'professionalTitleDetail', }; } static types(): { [key: string]: any } { return { code: 'string', professionalTitleCategory: 'string', professionalTitleDetail: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList extends $tea.Model { code?: string; userPropertyName?: string; static names(): { [key: string]: string } { return { code: 'code', userPropertyName: 'userPropertyName', }; } static types(): { [key: string]: any } { return { code: 'string', userPropertyName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryDoctorDetailsByJobNumberResponseBodyContent extends $tea.Model { deptList?: QueryDoctorDetailsByJobNumberResponseBodyContentDeptList[]; groupList?: QueryDoctorDetailsByJobNumberResponseBodyContentGroupList[]; jobNumber?: string; jobStatus?: QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus[]; professionalTitle?: QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle; userId?: string; userName?: string; userProbList?: QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList[]; static names(): { [key: string]: string } { return { deptList: 'deptList', groupList: 'groupList', jobNumber: 'jobNumber', jobStatus: 'jobStatus', professionalTitle: 'professionalTitle', userId: 'userId', userName: 'userName', userProbList: 'userProbList', }; } static types(): { [key: string]: any } { return { deptList: { 'type': 'array', 'itemType': QueryDoctorDetailsByJobNumberResponseBodyContentDeptList }, groupList: { 'type': 'array', 'itemType': QueryDoctorDetailsByJobNumberResponseBodyContentGroupList }, jobNumber: 'string', jobStatus: { 'type': 'array', 'itemType': QueryDoctorDetailsByJobNumberResponseBodyContentJobStatus }, professionalTitle: QueryDoctorDetailsByJobNumberResponseBodyContentProfessionalTitle, userId: 'string', userName: 'string', userProbList: { 'type': 'array', 'itemType': QueryDoctorDetailsByJobNumberResponseBodyContentUserProbList }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoResponseBodyContentExtendInfos extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 28765 */ deptCode?: string; /** * @example * 科室、医生都不一样 */ deptExtendDisplayName?: string; /** * @remarks * This parameter is required. * * @example * 科室、医生都不一样 */ deptExtendKey?: string; /** * @remarks * This parameter is required. * * @example * 科室、医生都不一样 */ deptExtendValue?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @remarks * This parameter is required. * * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 10000 */ id?: number; /** * @remarks * This parameter is required. * * @example * 0 */ status?: number; static names(): { [key: string]: string } { return { deptCode: 'deptCode', deptExtendDisplayName: 'deptExtendDisplayName', deptExtendKey: 'deptExtendKey', deptExtendValue: 'deptExtendValue', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', status: 'status', }; } static types(): { [key: string]: any } { return { deptCode: 'string', deptExtendDisplayName: 'string', deptExtendKey: 'string', deptExtendValue: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', status: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoResponseBodyContentGroupLeader extends $tea.Model { /** * @example * 3212 */ jobNumber?: string; /** * @example * 张三 */ name?: string; /** * @example * 1234 */ userId?: string; static names(): { [key: string]: string } { return { jobNumber: 'jobNumber', name: 'name', userId: 'userId', }; } static types(): { [key: string]: any } { return { jobNumber: 'string', name: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoResponseBodyContentGroup extends $tea.Model { /** * @example * 321222 */ deptId?: number; /** * @example * 1 */ deptStatus?: number; /** * @example * 2021-08-24 20:30:31 */ gmtCreateStr?: string; /** * @example * 2021-08-24 20:30:31 */ gmtModifiedStr?: string; /** * @example * 3212 */ id?: number; leader?: QueryGroupInfoResponseBodyContentGroupLeader; /** * @example * 张三组 */ name?: string; /** * @example * 1 */ parentDeptCode?: string; /** * @example * 备注 */ remark?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', deptStatus: 'deptStatus', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', leader: 'leader', name: 'name', parentDeptCode: 'parentDeptCode', remark: 'remark', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptStatus: 'number', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', leader: QueryGroupInfoResponseBodyContentGroupLeader, name: 'string', parentDeptCode: 'string', remark: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryGroupInfoResponseBodyContent extends $tea.Model { extendInfos?: QueryGroupInfoResponseBodyContentExtendInfos[]; group?: QueryGroupInfoResponseBodyContentGroup; static names(): { [key: string]: string } { return { extendInfos: 'extendInfos', group: 'group', }; } static types(): { [key: string]: any } { return { extendInfos: { 'type': 'array', 'itemType': QueryGroupInfoResponseBodyContentExtendInfos }, group: QueryGroupInfoResponseBodyContentGroup, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalDistrictInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 一楼 */ address?: string; /** * @remarks * This parameter is required. * * @example * 0 */ deleted?: number; /** * @remarks * This parameter is required. * * @example * 一病区 */ districtName?: string; /** * @remarks * This parameter is required. * * @example * 1 */ districtType?: number; /** * @remarks * This parameter is required. * * @example * 2021-12-22 15:30:31 */ gmtCreate?: string; /** * @remarks * This parameter is required. * * @example * 2021-12-22 15:30:31 */ gmtModified?: string; /** * @remarks * This parameter is required. * * @example * 123 */ id?: number; /** * @remarks * This parameter is required. * * @example * 123 */ parentDistrictId?: number; static names(): { [key: string]: string } { return { address: 'address', deleted: 'deleted', districtName: 'districtName', districtType: 'districtType', gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', id: 'id', parentDistrictId: 'parentDistrictId', }; } static types(): { [key: string]: any } { return { address: 'string', deleted: 'number', districtName: 'string', districtType: 'number', gmtCreate: 'string', gmtModified: 'string', id: 'number', parentDistrictId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRoleUserInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 2021-12-22 15:30:31 */ gmtCreate?: string; /** * @remarks * This parameter is required. * * @example * 2021-12-22 15:30:31 */ gmtModified?: string; /** * @remarks * This parameter is required. * * @example * 2783939 */ jobNumber?: string; /** * @remarks * This parameter is required. * * @example * sys_admin */ roleCode?: string; /** * @remarks * This parameter is required. * * @example * 管理员 */ roleName?: string; status?: number; /** * @remarks * This parameter is required. * * @example * 7424792 */ userCode?: string; /** * @remarks * This parameter is required. * * @example * 张三 */ userName?: string; static names(): { [key: string]: string } { return { gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', jobNumber: 'jobNumber', roleCode: 'roleCode', roleName: 'roleName', status: 'status', userCode: 'userCode', userName: 'userName', }; } static types(): { [key: string]: any } { return { gmtCreate: 'string', gmtModified: 'string', jobNumber: 'string', roleCode: 'string', roleName: 'string', status: 'number', userCode: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryHospitalRolesResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ gmtCreate?: string; /** * @remarks * This parameter is required. * * @example * 1 */ id?: number; /** * @remarks * This parameter is required. * * @example * 0 */ isDeleted?: number; /** * @remarks * This parameter is required. * * @example * 0 */ readOnly?: number; /** * @remarks * This parameter is required. */ remark?: string; /** * @remarks * This parameter is required. * * @example * sys_admin */ roleCode?: string; /** * @remarks * This parameter is required. * * @example * 系统管理员 */ roleName?: string; /** * @remarks * This parameter is required. * * @example * 0 */ sort?: number; static names(): { [key: string]: string } { return { gmtCreate: 'gmtCreate', id: 'id', isDeleted: 'isDeleted', readOnly: 'readOnly', remark: 'remark', roleCode: 'roleCode', roleName: 'roleName', sort: 'sort', }; } static types(): { [key: string]: any } { return { gmtCreate: 'string', id: 'number', isDeleted: 'number', readOnly: 'number', remark: 'string', roleCode: 'string', roleName: 'string', sort: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobCodeDictionaryResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ category?: string; /** * @remarks * This parameter is required. * * @example * 1 */ code?: string; /** * @remarks * This parameter is required. * * @example * 主任医师 */ displayName?: string; /** * @remarks * This parameter is required. * * @example * 医师 */ doctorType?: string; static names(): { [key: string]: string } { return { category: 'category', code: 'code', displayName: 'displayName', doctorType: 'doctorType', }; } static types(): { [key: string]: any } { return { category: 'string', code: 'string', displayName: 'string', doctorType: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryJobStatusCodeDictionaryResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ category?: string; /** * @remarks * This parameter is required. * * @example * 1 */ code?: string; /** * @remarks * This parameter is required. * * @example * 主任医师 */ displayName?: string; static names(): { [key: string]: string } { return { category: 'category', code: 'code', displayName: 'displayName', }; } static types(): { [key: string]: any } { return { category: 'string', code: 'string', displayName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryMedicalEventsResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ code?: string; content?: string; /** * @remarks * This parameter is required. */ eventId?: number; static names(): { [key: string]: string } { return { code: 'code', content: 'content', eventId: 'eventId', }; } static types(): { [key: string]: any } { return { code: 'string', content: 'string', eventId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultResponseBodyResultItemsOutputInfo extends $tea.Model { content?: string; fileName?: string; fileSize?: string; fileType?: string; fileUrl?: string; static names(): { [key: string]: string } { return { content: 'content', fileName: 'fileName', fileSize: 'fileSize', fileType: 'fileType', fileUrl: 'fileUrl', }; } static types(): { [key: string]: any } { return { content: 'string', fileName: 'string', fileSize: 'string', fileType: 'string', fileUrl: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultResponseBodyResultItems extends $tea.Model { corpId?: string; createTime?: number; creatorName?: string; outputInfo?: QueryOrderConvertResultResponseBodyResultItemsOutputInfo; status?: string; taskBizId?: string; title?: string; static names(): { [key: string]: string } { return { corpId: 'corpId', createTime: 'createTime', creatorName: 'creatorName', outputInfo: 'outputInfo', status: 'status', taskBizId: 'taskBizId', title: 'title', }; } static types(): { [key: string]: any } { return { corpId: 'string', createTime: 'number', creatorName: 'string', outputInfo: QueryOrderConvertResultResponseBodyResultItemsOutputInfo, status: 'string', taskBizId: 'string', title: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryOrderConvertResultResponseBodyResult extends $tea.Model { items?: QueryOrderConvertResultResponseBodyResultItems[]; pageNo?: number; pageSize?: number; totalCount?: number; totalPages?: number; static names(): { [key: string]: string } { return { items: 'items', pageNo: 'pageNo', pageSize: 'pageSize', totalCount: 'totalCount', totalPages: 'totalPages', }; } static types(): { [key: string]: any } { return { items: { 'type': 'array', 'itemType': QueryOrderConvertResultResponseBodyResultItems }, pageNo: 'number', pageSize: 'number', totalCount: 'number', totalPages: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserCredentialsResponseBodyContentCredentialList extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 医生资格证书 */ credentialName?: string; /** * @remarks * This parameter is required. * * @example * 1 */ credentialType?: number; /** * @remarks * This parameter is required. * * @example * 2022-08-01 */ termOfValidity?: string; static names(): { [key: string]: string } { return { credentialName: 'credentialName', credentialType: 'credentialType', termOfValidity: 'termOfValidity', }; } static types(): { [key: string]: any } { return { credentialName: 'string', credentialType: 'number', termOfValidity: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserCredentialsResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ credentialList?: QueryUserCredentialsResponseBodyContentCredentialList[]; /** * @remarks * This parameter is required. * * @example * 1234 */ userId?: string; static names(): { [key: string]: string } { return { credentialList: 'credentialList', userId: 'userId', }; } static types(): { [key: string]: any } { return { credentialList: { 'type': 'array', 'itemType': QueryUserCredentialsResponseBodyContentCredentialList }, userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 2021-12-22 15:30:31 */ gmtCreate?: string; /** * @remarks * This parameter is required. * * @example * 2021-12-22 15:30:31 */ gmtModified?: string; /** * @remarks * This parameter is required. * * @example * 0 */ status?: number; /** * @remarks * This parameter is required. * * @example * 10320266246 */ userCode?: string; /** * @remarks * This parameter is required. * * @example * 扩展属性描述 */ userExtendDisplayName?: string; /** * @remarks * This parameter is required. * * @example * 扩展属性Key */ userExtendKey?: string; /** * @remarks * This parameter is required. * * @example * 扩展属性值 */ userExtendValue?: string; static names(): { [key: string]: string } { return { gmtCreate: 'gmtCreate', gmtModified: 'gmtModified', status: 'status', userCode: 'userCode', userExtendDisplayName: 'userExtendDisplayName', userExtendKey: 'userExtendKey', userExtendValue: 'userExtendValue', }; } static types(): { [key: string]: any } { return { gmtCreate: 'string', gmtModified: 'string', status: 'number', userCode: 'string', userExtendDisplayName: 'string', userExtendKey: 'string', userExtendValue: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserExtendValuesResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. */ userCode?: string; userExtendDisplayName?: string; /** * @remarks * This parameter is required. */ userExtendKey?: string; /** * @remarks * This parameter is required. */ userExtendValue?: string; static names(): { [key: string]: string } { return { userCode: 'userCode', userExtendDisplayName: 'userExtendDisplayName', userExtendKey: 'userExtendKey', userExtendValue: 'userExtendValue', }; } static types(): { [key: string]: any } { return { userCode: 'string', userExtendDisplayName: 'string', userExtendKey: 'string', userExtendValue: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContentDept extends $tea.Model { /** * @example * 2021-06-02 17:44:17 */ gmtCreateStr?: string; /** * @example * 2021-06-02 17:44:17 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 123 */ id?: number; /** * @remarks * This parameter is required. * * @example * 科室名称2 */ name?: string; relId?: number; static names(): { [key: string]: string } { return { gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', name: 'name', relId: 'relId', }; } static types(): { [key: string]: any } { return { gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', name: 'string', relId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContentGroup extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 123 */ deptId?: number; /** * @remarks * This parameter is required. * * @example * 科室名称2 */ deptName?: string; /** * @example * 2021-06-02 17:44:17 */ gmtCreateStr?: string; /** * @example * 2021-06-02 17:44:17 */ gmtModifiedStr?: string; /** * @remarks * This parameter is required. * * @example * 123 */ id?: number; /** * @remarks * This parameter is required. * * @example * 医疗组名称2 */ name?: string; relId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', deptName: 'deptName', gmtCreateStr: 'gmtCreateStr', gmtModifiedStr: 'gmtModifiedStr', id: 'id', name: 'name', relId: 'relId', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptName: 'string', gmtCreateStr: 'string', gmtModifiedStr: 'string', id: 'number', name: 'string', relId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContentJob extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ bizType?: string; /** * @remarks * This parameter is required. * * @example * 分类 */ category?: string; /** * @remarks * This parameter is required. * * @example * code1 */ code?: string; /** * @remarks * This parameter is required. * * @example * 展示名称 */ displayName?: string; static names(): { [key: string]: string } { return { bizType: 'bizType', category: 'category', code: 'code', displayName: 'displayName', }; } static types(): { [key: string]: any } { return { bizType: 'string', category: 'string', code: 'string', displayName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContentJobStatus extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ bizType?: string; /** * @remarks * This parameter is required. * * @example * 分类 */ category?: string; /** * @remarks * This parameter is required. * * @example * 标签Code */ code?: string; /** * @remarks * This parameter is required. * * @example * 展示名称 */ displayName?: string; static names(): { [key: string]: string } { return { bizType: 'bizType', category: 'category', code: 'code', displayName: 'displayName', }; } static types(): { [key: string]: any } { return { bizType: 'string', category: 'string', code: 'string', displayName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContentJobStatusList extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ bizType?: string; /** * @remarks * This parameter is required. * * @example * 分类 */ category?: string; /** * @remarks * This parameter is required. * * @example * 标签Code */ code?: string; /** * @remarks * This parameter is required. * * @example * 展示名称 */ displayName?: string; static names(): { [key: string]: string } { return { bizType: 'bizType', category: 'category', code: 'code', displayName: 'displayName', }; } static types(): { [key: string]: any } { return { bizType: 'string', category: 'string', code: 'string', displayName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContentUserProb extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ bizType?: string; /** * @remarks * This parameter is required. * * @example * 分类 */ category?: string; /** * @remarks * This parameter is required. * * @example * 标签Code */ code?: string; /** * @remarks * This parameter is required. * * @example * 展示名称 */ displayName?: string; static names(): { [key: string]: string } { return { bizType: 'bizType', category: 'category', code: 'code', displayName: 'displayName', }; } static types(): { [key: string]: any } { return { bizType: 'string', category: 'string', code: 'string', displayName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserInfoResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * comments */ comments?: string; /** * @remarks * This parameter is required. */ dept?: QueryUserInfoResponseBodyContentDept[]; /** * @remarks * This parameter is required. */ group?: QueryUserInfoResponseBodyContentGroup[]; /** * @remarks * This parameter is required. */ job?: QueryUserInfoResponseBodyContentJob; /** * @remarks * This parameter is required. * * @example * 0001 */ jobNum?: string; /** * @remarks * This parameter is required. */ jobStatus?: QueryUserInfoResponseBodyContentJobStatus; /** * @remarks * This parameter is required. */ jobStatusList?: QueryUserInfoResponseBodyContentJobStatusList[]; /** * @remarks * This parameter is required. * * @example * u0398812938821 */ uid?: string; /** * @remarks * This parameter is required. * * @example * 用户名称 */ userName?: string; /** * @remarks * This parameter is required. */ userProb?: QueryUserInfoResponseBodyContentUserProb; static names(): { [key: string]: string } { return { comments: 'comments', dept: 'dept', group: 'group', job: 'job', jobNum: 'jobNum', jobStatus: 'jobStatus', jobStatusList: 'jobStatusList', uid: 'uid', userName: 'userName', userProb: 'userProb', }; } static types(): { [key: string]: any } { return { comments: 'string', dept: { 'type': 'array', 'itemType': QueryUserInfoResponseBodyContentDept }, group: { 'type': 'array', 'itemType': QueryUserInfoResponseBodyContentGroup }, job: QueryUserInfoResponseBodyContentJob, jobNum: 'string', jobStatus: QueryUserInfoResponseBodyContentJobStatus, jobStatusList: { 'type': 'array', 'itemType': QueryUserInfoResponseBodyContentJobStatusList }, uid: 'string', userName: 'string', userProb: QueryUserInfoResponseBodyContentUserProb, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserProbCodeDictionaryResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * 1 */ category?: string; /** * @remarks * This parameter is required. * * @example * 1 */ code?: string; /** * @remarks * This parameter is required. * * @example * 主任医师 */ displayName?: string; static names(): { [key: string]: string } { return { category: 'category', code: 'code', displayName: 'displayName', }; } static types(): { [key: string]: any } { return { category: 'string', code: 'string', displayName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryUserRolesResponseBodyContent extends $tea.Model { /** * @remarks * This parameter is required. * * @example * roleCode */ roleCode?: string; /** * @remarks * This parameter is required. * * @example * roleNem */ roleName?: string; static names(): { [key: string]: string } { return { roleCode: 'roleCode', roleName: 'roleName', }; } static types(): { [key: string]: any } { return { roleCode: 'string', roleName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskRequestData extends $tea.Model { /** * @example * 2024-05-14 */ date?: string; /** * @example * xx项目 */ desc?: string; /** * @example * 根据不同业务类型,传业务需求的JSON字符串 */ extension?: string; /** * @example * audio */ fileType?: string; fileUrl?: string[]; /** * @example * 1001 */ id?: number; /** * @example * xx项目会议 */ name?: string; static names(): { [key: string]: string } { return { date: 'date', desc: 'desc', extension: 'extension', fileType: 'fileType', fileUrl: 'fileUrl', id: 'id', name: 'name', }; } static types(): { [key: string]: any } { return { date: 'string', desc: 'string', extension: 'string', fileType: 'string', fileUrl: { 'type': 'array', 'itemType': 'string' }, id: 'number', name: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskResponseBodyTasks extends $tea.Model { /** * @example * 1001 */ id?: number; /** * @example * 8ef16170b6e24d8fb77b832d7603b835 */ taskId?: string; static names(): { [key: string]: string } { return { id: 'id', taskId: 'taskId', }; } static types(): { [key: string]: any } { return { id: 'number', taskId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SubmitTaskPackageRequestData extends $tea.Model { extension?: string; fileUrl?: string; fileUrls?: string[]; taskName?: string; textContent?: string; static names(): { [key: string]: string } { return { extension: 'extension', fileUrl: 'fileUrl', fileUrls: 'fileUrls', taskName: 'taskName', textContent: 'textContent', }; } static types(): { [key: string]: any } { return { extension: 'string', fileUrl: 'string', fileUrls: { 'type': 'array', 'itemType': 'string' }, taskName: 'string', textContent: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddDeptResponseBodyResult extends $tea.Model { /** * @remarks * This parameter is required. */ deptId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', }; } static types(): { [key: string]: any } { return { deptId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyAddMemberResponseBodyResult extends $tea.Model { /** * @remarks * This parameter is required. * * @example * NORMAL */ dingMemberStatus?: string; /** * @remarks * This parameter is required. * * @example * 12345abc */ unionId?: string; /** * @example * 12345abc */ userId?: string; static names(): { [key: string]: string } { return { dingMemberStatus: 'dingMemberStatus', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { dingMemberStatus: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList extends $tea.Model { /** * @example * 111 */ id?: number; /** * @example * 11111 */ name?: string; /** * @example * 1111 */ superId?: number; /** * @example * 1111 */ superName?: string; static names(): { [key: string]: string } { return { id: 'id', name: 'name', superId: 'superId', superName: 'superName', }; } static types(): { [key: string]: any } { return { id: 'number', name: 'string', superId: 'number', superName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyChainQueryDeptInfoResponseBodyResult extends $tea.Model { /** * @example * 1111 */ deptId?: number; /** * @example * ROOT */ deptType?: string; hasSubDept?: boolean; /** * @example * xxxx 有限公司 */ name?: string; /** * @example * 111111 */ partnerNumber?: string; partnerTypeInfoList?: SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList[]; /** * @example * 1111 */ superId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', deptType: 'deptType', hasSubDept: 'hasSubDept', name: 'name', partnerNumber: 'partnerNumber', partnerTypeInfoList: 'partnerTypeInfoList', superId: 'superId', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptType: 'string', hasSubDept: 'boolean', name: 'string', partnerNumber: 'string', partnerTypeInfoList: { 'type': 'array', 'itemType': SupplyChainQueryDeptInfoResponseBodyResultPartnerTypeInfoList }, superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyGetMemberResponseBodyResultRoleInfoList extends $tea.Model { /** * @example * 123 */ roleId?: string; /** * @example * 老板 */ roleName?: string; static names(): { [key: string]: string } { return { roleId: 'roleId', roleName: 'roleName', }; } static types(): { [key: string]: any } { return { roleId: 'string', roleName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyGetMemberResponseBodyResult extends $tea.Model { deptIdList?: number[]; /** * @example * NORMAL */ dingMemberStatus?: string; /** * @example * true */ isActive?: boolean; /** * @example * 李白 */ memberName?: string; /** * @example * 经理 */ memberTitle?: string; /** * @example * 123 */ memberWorkNumber?: string; roleInfoList?: SupplyGetMemberResponseBodyResultRoleInfoList[]; supplyNodeList?: number[]; static names(): { [key: string]: string } { return { deptIdList: 'deptIdList', dingMemberStatus: 'dingMemberStatus', isActive: 'isActive', memberName: 'memberName', memberTitle: 'memberTitle', memberWorkNumber: 'memberWorkNumber', roleInfoList: 'roleInfoList', supplyNodeList: 'supplyNodeList', }; } static types(): { [key: string]: any } { return { deptIdList: { 'type': 'array', 'itemType': 'number' }, dingMemberStatus: 'string', isActive: 'boolean', memberName: 'string', memberTitle: 'string', memberWorkNumber: 'string', roleInfoList: { 'type': 'array', 'itemType': SupplyGetMemberResponseBodyResultRoleInfoList }, supplyNodeList: { 'type': 'array', 'itemType': 'number' }, }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListDeptMembersResponseBodyList extends $tea.Model { /** * @example * NORMAL */ dingMemberStatus?: string; /** * @example * true */ isActive?: boolean; /** * @example * 李白 */ memberName?: string; /** * @example * 经理 */ memberTitle?: string; /** * @example * 123 */ memberWorkNumber?: string; /** * @example * 123abc */ unionId?: string; /** * @example * 123344 */ userId?: string; static names(): { [key: string]: string } { return { dingMemberStatus: 'dingMemberStatus', isActive: 'isActive', memberName: 'memberName', memberTitle: 'memberTitle', memberWorkNumber: 'memberWorkNumber', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { dingMemberStatus: 'string', isActive: 'boolean', memberName: 'string', memberTitle: 'string', memberWorkNumber: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerAdminsResponseBodyResult extends $tea.Model { /** * @example * 负责人名称 */ name?: string; /** * @example * 99292111 */ unionId?: string; /** * @example * 8782166278711 */ userId?: string; static names(): { [key: string]: string } { return { name: 'name', unionId: 'unionId', userId: 'userId', }; } static types(): { [key: string]: any } { return { name: 'string', unionId: 'string', userId: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerManagersResponseBodyResult extends $tea.Model { /** * @example * 56789123 */ deptId?: string; /** * @example * 对接部门名称 */ deptName?: string; /** * @example * user */ interfaceType?: string; /** * @example * 121234567 */ userId?: string; /** * @example * 名称 */ userName?: string; static names(): { [key: string]: string } { return { deptId: 'deptId', deptName: 'deptName', interfaceType: 'interfaceType', userId: 'userId', userName: 'userName', }; } static types(): { [key: string]: any } { return { deptId: 'string', deptName: 'string', interfaceType: 'string', userId: 'string', userName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListPartnerTypeResponseBodyResult extends $tea.Model { /** * @example * 10 */ labelId?: number; /** * @example * 标签1 */ name?: string; /** * @example * 1 */ superId?: number; static names(): { [key: string]: string } { return { labelId: 'labelId', name: 'name', superId: 'superId', }; } static types(): { [key: string]: any } { return { labelId: 'number', name: 'string', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListRoleResponseBodyResult extends $tea.Model { isRoleGroup?: boolean; /** * @example * 123 */ roleId?: string; /** * @example * 老板 */ roleName?: string; static names(): { [key: string]: string } { return { isRoleGroup: 'isRoleGroup', roleId: 'roleId', roleName: 'roleName', }; } static types(): { [key: string]: any } { return { isRoleGroup: 'boolean', roleId: 'string', roleName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListSubDeptResponseBodyResultPartnerTypeInfoList extends $tea.Model { /** * @example * 111 */ id?: number; /** * @example * 11111 */ name?: string; /** * @example * 1111 */ superId?: number; /** * @example * 1111 */ superName?: string; static names(): { [key: string]: string } { return { id: 'id', name: 'name', superId: 'superId', superName: 'superName', }; } static types(): { [key: string]: any } { return { id: 'number', name: 'string', superId: 'number', superName: 'string', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyListSubDeptResponseBodyResult extends $tea.Model { /** * @example * 1111 */ deptId?: number; /** * @example * ROOT */ deptType?: string; hasSubDept?: boolean; /** * @example * xxxx 有限公司 */ name?: string; /** * @example * 111111 */ partnerNumber?: string; partnerTypeInfoList?: SupplyListSubDeptResponseBodyResultPartnerTypeInfoList[]; /** * @example * 1111 */ superId?: number; static names(): { [key: string]: string } { return { deptId: 'deptId', deptType: 'deptType', hasSubDept: 'hasSubDept', name: 'name', partnerNumber: 'partnerNumber', partnerTypeInfoList: 'partnerTypeInfoList', superId: 'superId', }; } static types(): { [key: string]: any } { return { deptId: 'number', deptType: 'string', hasSubDept: 'boolean', name: 'string', partnerNumber: 'string', partnerTypeInfoList: { 'type': 'array', 'itemType': SupplyListSubDeptResponseBodyResultPartnerTypeInfoList }, superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export class SupplyQueryPartnerTypeResponseBodyResult extends $tea.Model { /** * @example * 21 */ labelId?: number; /** * @example * 标签1 */ name?: string; /** * @example * 1 */ superId?: number; static names(): { [key: string]: string } { return { labelId: 'labelId', name: 'name', superId: 'superId', }; } static types(): { [key: string]: any } { return { labelId: 'number', name: 'string', superId: 'number', }; } constructor(map?: { [key: string]: any }) { super(map); } } export default class Client extends OpenApi { constructor(config: $OpenApi.Config) { super(config); let gatewayClient = new GatewayClient(); this._spi = gatewayClient; this._endpointRule = ""; if (Util.empty(this._endpoint)) { this._endpoint = "api.dingtalk.com"; } } /** * 新增商品 * * @param request - AiRetailProductAddRequest * @param headers - AiRetailProductAddHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiRetailProductAddResponse */ async aiRetailProductAddWithOptions(request: AiRetailProductAddRequest, headers: AiRetailProductAddHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.attribute)) { body["attribute"] = request.attribute; } if (!Util.isUnset(request.barcodes)) { body["barcodes"] = request.barcodes; } if (!Util.isUnset(request.brand)) { body["brand"] = request.brand; } if (!Util.isUnset(request.category)) { body["category"] = request.category; } if (!Util.isUnset(request.currecy)) { body["currecy"] = request.currecy; } if (!Util.isUnset(request.enable)) { body["enable"] = request.enable; } if (!Util.isUnset(request.imageFileIds)) { body["imageFileIds"] = request.imageFileIds; } if (!Util.isUnset(request.itemNumbers)) { body["itemNumbers"] = request.itemNumbers; } if (!Util.isUnset(request.price)) { body["price"] = request.price; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productFab)) { body["productFab"] = request.productFab; } if (!Util.isUnset(request.productInfo)) { body["productInfo"] = request.productInfo; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.tag1)) { body["tag1"] = request.tag1; } if (!Util.isUnset(request.tag2)) { body["tag2"] = request.tag2; } if (!Util.isUnset(request.tag3)) { body["tag3"] = request.tag3; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "AiRetailProductAdd", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/retail/product/add`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new AiRetailProductAddResponse({})); } /** * 新增商品 * * @param request - AiRetailProductAddRequest * @returns AiRetailProductAddResponse */ async aiRetailProductAdd(request: AiRetailProductAddRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiRetailProductAddHeaders({ }); return await this.aiRetailProductAddWithOptions(request, headers, runtime); } /** * 删除商品 * * @param request - AiRetailProductDeleteRequest * @param headers - AiRetailProductDeleteHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiRetailProductDeleteResponse */ async aiRetailProductDeleteWithOptions(request: AiRetailProductDeleteRequest, headers: AiRetailProductDeleteHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.productId)) { body["productId"] = request.productId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "AiRetailProductDelete", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/retail/product/delete`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "boolean", }); return $tea.cast(await this.execute(params, req, runtime), new AiRetailProductDeleteResponse({})); } /** * 删除商品 * * @param request - AiRetailProductDeleteRequest * @returns AiRetailProductDeleteResponse */ async aiRetailProductDelete(request: AiRetailProductDeleteRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiRetailProductDeleteHeaders({ }); return await this.aiRetailProductDeleteWithOptions(request, headers, runtime); } /** * 商品图片上传 * * @param request - AiRetailProductImgUploadRequest * @param headers - AiRetailProductImgUploadHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiRetailProductImgUploadResponse */ async aiRetailProductImgUploadWithOptions(request: AiRetailProductImgUploadRequest, headers: AiRetailProductImgUploadHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizCode)) { body["bizCode"] = request.bizCode; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "AiRetailProductImgUpload", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/retail/product/image/upload`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new AiRetailProductImgUploadResponse({})); } /** * 商品图片上传 * * @param request - AiRetailProductImgUploadRequest * @returns AiRetailProductImgUploadResponse */ async aiRetailProductImgUpload(request: AiRetailProductImgUploadRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiRetailProductImgUploadHeaders({ }); return await this.aiRetailProductImgUploadWithOptions(request, headers, runtime); } /** * 查询商品 * * @param request - AiRetailProductQueryRequest * @param headers - AiRetailProductQueryHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiRetailProductQueryResponse */ async aiRetailProductQueryWithOptions(request: AiRetailProductQueryRequest, headers: AiRetailProductQueryHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.productCode)) { query["productCode"] = request.productCode; } if (!Util.isUnset(request.productId)) { query["productId"] = request.productId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "AiRetailProductQuery", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/retail/product/query`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new AiRetailProductQueryResponse({})); } /** * 查询商品 * * @param request - AiRetailProductQueryRequest * @returns AiRetailProductQueryResponse */ async aiRetailProductQuery(request: AiRetailProductQueryRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiRetailProductQueryHeaders({ }); return await this.aiRetailProductQueryWithOptions(request, headers, runtime); } /** * 更新商品 * * @param request - AiRetailProductUpdateRequest * @param headers - AiRetailProductUpdateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiRetailProductUpdateResponse */ async aiRetailProductUpdateWithOptions(request: AiRetailProductUpdateRequest, headers: AiRetailProductUpdateHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.attribute)) { body["attribute"] = request.attribute; } if (!Util.isUnset(request.barcodes)) { body["barcodes"] = request.barcodes; } if (!Util.isUnset(request.brand)) { body["brand"] = request.brand; } if (!Util.isUnset(request.category)) { body["category"] = request.category; } if (!Util.isUnset(request.currency)) { body["currency"] = request.currency; } if (!Util.isUnset(request.enable)) { body["enable"] = request.enable; } if (!Util.isUnset(request.imageFileIds)) { body["imageFileIds"] = request.imageFileIds; } if (!Util.isUnset(request.itemNumbers)) { body["itemNumbers"] = request.itemNumbers; } if (!Util.isUnset(request.price)) { body["price"] = request.price; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productFab)) { body["productFab"] = request.productFab; } if (!Util.isUnset(request.productId)) { body["productId"] = request.productId; } if (!Util.isUnset(request.productInfo)) { body["productInfo"] = request.productInfo; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.tag1)) { body["tag1"] = request.tag1; } if (!Util.isUnset(request.tag2)) { body["tag2"] = request.tag2; } if (!Util.isUnset(request.tag3)) { body["tag3"] = request.tag3; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "AiRetailProductUpdate", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/retail/product/update`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "boolean", }); return $tea.cast(await this.execute(params, req, runtime), new AiRetailProductUpdateResponse({})); } /** * 更新商品 * * @param request - AiRetailProductUpdateRequest * @returns AiRetailProductUpdateResponse */ async aiRetailProductUpdate(request: AiRetailProductUpdateRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiRetailProductUpdateHeaders({ }); return await this.aiRetailProductUpdateWithOptions(request, headers, runtime); } /** * AI练货记录详情 * * @param request - AiTrainingDetailRequest * @param headers - AiTrainingDetailHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiTrainingDetailResponse */ async aiTrainingDetailWithOptions(request: AiTrainingDetailRequest, headers: AiTrainingDetailHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.recordId)) { body["recordId"] = request.recordId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "AiTrainingDetail", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/trainingDetail`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new AiTrainingDetailResponse({})); } /** * AI练货记录详情 * * @param request - AiTrainingDetailRequest * @returns AiTrainingDetailResponse */ async aiTrainingDetail(request: AiTrainingDetailRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiTrainingDetailHeaders({ }); return await this.aiTrainingDetailWithOptions(request, headers, runtime); } /** * AI练货记录 * * @param request - AiTrainingRecordRequest * @param headers - AiTrainingRecordHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AiTrainingRecordResponse */ async aiTrainingRecordWithOptions(request: AiTrainingRecordRequest, headers: AiTrainingRecordHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.direction)) { body["direction"] = request.direction; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.lastId)) { body["lastId"] = request.lastId; } if (!Util.isUnset(request.size)) { body["size"] = request.size; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.taskId)) { body["taskId"] = request.taskId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "AiTrainingRecord", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/retail/trainingRecord`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new AiTrainingRecordResponse({})); } /** * AI练货记录 * * @param request - AiTrainingRecordRequest * @returns AiTrainingRecordResponse */ async aiTrainingRecord(request: AiTrainingRecordRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new AiTrainingRecordHeaders({ }); return await this.aiTrainingRecordWithOptions(request, headers, runtime); } /** * 批量查询任务结果 * * @param request - BatchGetTaskResultRequest * @param headers - BatchGetTaskResultHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns BatchGetTaskResultResponse */ async batchGetTaskResultWithOptions(request: BatchGetTaskResultRequest, headers: BatchGetTaskResultHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.taskIds)) { body["taskIds"] = request.taskIds; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "BatchGetTaskResult", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/taskResults/batchQuery`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new BatchGetTaskResultResponse({})); } /** * 批量查询任务结果 * * @param request - BatchGetTaskResultRequest * @returns BatchGetTaskResultResponse */ async batchGetTaskResult(request: BatchGetTaskResultRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new BatchGetTaskResultHeaders({ }); return await this.batchGetTaskResultWithOptions(request, headers, runtime); } /** * 商机匹配 * * @param request - BusinessMatchRequest * @param headers - BusinessMatchHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns BusinessMatchResponse */ async businessMatchWithOptions(request: BusinessMatchRequest, headers: BusinessMatchHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.businessInfo)) { body["businessInfo"] = request.businessInfo; } if (!Util.isUnset(request.corpName)) { body["corpName"] = request.corpName; } if (!Util.isUnset(request.userId)) { body["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "BusinessMatch", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/me/businesses/matching`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new BusinessMatchResponse({})); } /** * 商机匹配 * * @param request - BusinessMatchRequest * @returns BusinessMatchResponse */ async businessMatch(request: BusinessMatchRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new BusinessMatchHeaders({ }); return await this.businessMatchWithOptions(request, headers, runtime); } /** * 商机匹配结果查询 * * @param request - BusinessMatchResultRequest * @param headers - BusinessMatchResultHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns BusinessMatchResultResponse */ async businessMatchResultWithOptions(request: BusinessMatchResultRequest, headers: BusinessMatchResultHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.taskId)) { query["taskId"] = request.taskId; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "BusinessMatchResult", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/me/businesses/matchingResults`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new BusinessMatchResultResponse({})); } /** * 商机匹配结果查询 * * @param request - BusinessMatchResultRequest * @returns BusinessMatchResultResponse */ async businessMatchResult(request: BusinessMatchResultRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new BusinessMatchResultHeaders({ }); return await this.businessMatchResultWithOptions(request, headers, runtime); } /** * 添加租客下成员 * * @param request - CampusAddRenterMemberRequest * @param headers - CampusAddRenterMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusAddRenterMemberResponse */ async campusAddRenterMemberWithOptions(request: CampusAddRenterMemberRequest, headers: CampusAddRenterMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.mobile)) { body["mobile"] = request.mobile; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.renterId)) { body["renterId"] = request.renterId; } if (!Util.isUnset(request.type)) { body["type"] = request.type; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusAddRenterMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters/members`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusAddRenterMemberResponse({})); } /** * 添加租客下成员 * * @param request - CampusAddRenterMemberRequest * @returns CampusAddRenterMemberResponse */ async campusAddRenterMember(request: CampusAddRenterMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusAddRenterMemberHeaders({ }); return await this.campusAddRenterMemberWithOptions(request, headers, runtime); } /** * 创建园区 * * @param request - CampusCreateCampusRequest * @param headers - CampusCreateCampusHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusCreateCampusResponse */ async campusCreateCampusWithOptions(request: CampusCreateCampusRequest, headers: CampusCreateCampusHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.address)) { body["address"] = request.address; } if (!Util.isUnset(request.area)) { body["area"] = request.area; } if (!Util.isUnset(request.belongProjectGroupId)) { body["belongProjectGroupId"] = request.belongProjectGroupId; } if (!Util.isUnset(request.campusName)) { body["campusName"] = request.campusName; } if (!Util.isUnset(request.capacity)) { body["capacity"] = request.capacity; } if (!Util.isUnset(request.cityId)) { body["cityId"] = request.cityId; } if (!Util.isUnset(request.country)) { body["country"] = request.country; } if (!Util.isUnset(request.countyId)) { body["countyId"] = request.countyId; } if (!Util.isUnset(request.creatorUnionId)) { body["creatorUnionId"] = request.creatorUnionId; } if (!Util.isUnset(request.description)) { body["description"] = request.description; } if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.location)) { body["location"] = request.location; } if (!Util.isUnset(request.orderEndTime)) { body["orderEndTime"] = request.orderEndTime; } if (!Util.isUnset(request.orderInfo)) { body["orderInfo"] = request.orderInfo; } if (!Util.isUnset(request.orderStartTime)) { body["orderStartTime"] = request.orderStartTime; } if (!Util.isUnset(request.provId)) { body["provId"] = request.provId; } if (!Util.isUnset(request.telephone)) { body["telephone"] = request.telephone; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusCreateCampus", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusCreateCampusResponse({})); } /** * 创建园区 * * @param request - CampusCreateCampusRequest * @returns CampusCreateCampusResponse */ async campusCreateCampus(request: CampusCreateCampusRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusCreateCampusHeaders({ }); return await this.campusCreateCampusWithOptions(request, headers, runtime); } /** * 创建园区项目组 * * @param request - CampusCreateCampusGroupRequest * @param headers - CampusCreateCampusGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusCreateCampusGroupResponse */ async campusCreateCampusGroupWithOptions(request: CampusCreateCampusGroupRequest, headers: CampusCreateCampusGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusCreateCampusGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects/groups`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusCreateCampusGroupResponse({})); } /** * 创建园区项目组 * * @param request - CampusCreateCampusGroupRequest * @returns CampusCreateCampusGroupResponse */ async campusCreateCampusGroup(request: CampusCreateCampusGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusCreateCampusGroupHeaders({ }); return await this.campusCreateCampusGroupWithOptions(request, headers, runtime); } /** * 创建租客 * * @param request - CampusCreateRenterRequest * @param headers - CampusCreateRenterHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusCreateRenterResponse */ async campusCreateRenterWithOptions(request: CampusCreateRenterRequest, headers: CampusCreateRenterHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.creditCode)) { body["creditCode"] = request.creditCode; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.state)) { body["state"] = request.state; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusCreateRenter", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusCreateRenterResponse({})); } /** * 创建租客 * * @param request - CampusCreateRenterRequest * @returns CampusCreateRenterResponse */ async campusCreateRenter(request: CampusCreateRenterRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusCreateRenterHeaders({ }); return await this.campusCreateRenterWithOptions(request, headers, runtime); } /** * 移除租客人员 * * @param request - CampusDelRenterMemberRequest * @param headers - CampusDelRenterMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusDelRenterMemberResponse */ async campusDelRenterMemberWithOptions(request: CampusDelRenterMemberRequest, headers: CampusDelRenterMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.renterId)) { query["renterId"] = request.renterId; } if (!Util.isUnset(request.unionId)) { query["unionId"] = request.unionId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusDelRenterMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters/members`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusDelRenterMemberResponse({})); } /** * 移除租客人员 * * @param request - CampusDelRenterMemberRequest * @returns CampusDelRenterMemberResponse */ async campusDelRenterMember(request: CampusDelRenterMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusDelRenterMemberHeaders({ }); return await this.campusDelRenterMemberWithOptions(request, headers, runtime); } /** * 删除园区项目组 * * @param request - CampusDeleteCampusGroupRequest * @param headers - CampusDeleteCampusGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusDeleteCampusGroupResponse */ async campusDeleteCampusGroupWithOptions(request: CampusDeleteCampusGroupRequest, headers: CampusDeleteCampusGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.campusProjectGroupId)) { query["campusProjectGroupId"] = request.campusProjectGroupId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusDeleteCampusGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects/groups`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusDeleteCampusGroupResponse({})); } /** * 删除园区项目组 * * @param request - CampusDeleteCampusGroupRequest * @returns CampusDeleteCampusGroupResponse */ async campusDeleteCampusGroup(request: CampusDeleteCampusGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusDeleteCampusGroupHeaders({ }); return await this.campusDeleteCampusGroupWithOptions(request, headers, runtime); } /** * 删除租客 * * @param request - CampusDeleteRenterRequest * @param headers - CampusDeleteRenterHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusDeleteRenterResponse */ async campusDeleteRenterWithOptions(request: CampusDeleteRenterRequest, headers: CampusDeleteRenterHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.renterId)) { query["renterId"] = request.renterId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusDeleteRenter", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "none", }); return $tea.cast(await this.execute(params, req, runtime), new CampusDeleteRenterResponse({})); } /** * 删除租客 * * @param request - CampusDeleteRenterRequest * @returns CampusDeleteRenterResponse */ async campusDeleteRenter(request: CampusDeleteRenterRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusDeleteRenterHeaders({ }); return await this.campusDeleteRenterWithOptions(request, headers, runtime); } /** * 查询园区详情 * * @param request - CampusGetCampusRequest * @param headers - CampusGetCampusHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusGetCampusResponse */ async campusGetCampusWithOptions(request: CampusGetCampusRequest, headers: CampusGetCampusHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.campusDeptId)) { query["campusDeptId"] = request.campusDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusGetCampus", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projectInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusGetCampusResponse({})); } /** * 查询园区详情 * * @param request - CampusGetCampusRequest * @returns CampusGetCampusResponse */ async campusGetCampus(request: CampusGetCampusRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusGetCampusHeaders({ }); return await this.campusGetCampusWithOptions(request, headers, runtime); } /** * 查询园区项目组详情 * * @param request - CampusGetCampusGroupRequest * @param headers - CampusGetCampusGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusGetCampusGroupResponse */ async campusGetCampusGroupWithOptions(request: CampusGetCampusGroupRequest, headers: CampusGetCampusGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.groupId)) { query["groupId"] = request.groupId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusGetCampusGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects/groupInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusGetCampusGroupResponse({})); } /** * 查询园区项目组详情 * * @param request - CampusGetCampusGroupRequest * @returns CampusGetCampusGroupResponse */ async campusGetCampusGroup(request: CampusGetCampusGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusGetCampusGroupHeaders({ }); return await this.campusGetCampusGroupWithOptions(request, headers, runtime); } /** * 获取租客详情 * * @param request - CampusGetRenterRequest * @param headers - CampusGetRenterHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusGetRenterResponse */ async campusGetRenterWithOptions(request: CampusGetRenterRequest, headers: CampusGetRenterHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.renterId)) { query["renterId"] = request.renterId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusGetRenter", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renterInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusGetRenterResponse({})); } /** * 获取租客详情 * * @param request - CampusGetRenterRequest * @returns CampusGetRenterResponse */ async campusGetRenter(request: CampusGetRenterRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusGetRenterHeaders({ }); return await this.campusGetRenterWithOptions(request, headers, runtime); } /** * 查询租客指定成员信息 * * @param request - CampusGetRenterMemberRequest * @param headers - CampusGetRenterMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusGetRenterMemberResponse */ async campusGetRenterMemberWithOptions(request: CampusGetRenterMemberRequest, headers: CampusGetRenterMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.renterId)) { query["renterId"] = request.renterId; } if (!Util.isUnset(request.unionId)) { query["unionId"] = request.unionId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusGetRenterMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters/memberInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusGetRenterMemberResponse({})); } /** * 查询租客指定成员信息 * * @param request - CampusGetRenterMemberRequest * @returns CampusGetRenterMemberResponse */ async campusGetRenterMember(request: CampusGetRenterMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusGetRenterMemberHeaders({ }); return await this.campusGetRenterMemberWithOptions(request, headers, runtime); } /** * 查询园区列表 * * @param request - CampusListCampusRequest * @param headers - CampusListCampusHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusListCampusResponse */ async campusListCampusWithOptions(request: CampusListCampusRequest, headers: CampusListCampusHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.groupDeptId)) { query["groupDeptId"] = request.groupDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusListCampus", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusListCampusResponse({})); } /** * 查询园区列表 * * @param request - CampusListCampusRequest * @returns CampusListCampusResponse */ async campusListCampus(request: CampusListCampusRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusListCampusHeaders({ }); return await this.campusListCampusWithOptions(request, headers, runtime); } /** * 查询园区项目组列表 * * @param headers - CampusListCampusGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusListCampusGroupResponse */ async campusListCampusGroupWithOptions(headers: CampusListCampusGroupHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "CampusListCampusGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects/groups`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusListCampusGroupResponse({})); } /** * 查询园区项目组列表 * @returns CampusListCampusGroupResponse */ async campusListCampusGroup(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusListCampusGroupHeaders({ }); return await this.campusListCampusGroupWithOptions(headers, runtime); } /** * 获取租客列表 * * @param headers - CampusListRenterHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusListRenterResponse */ async campusListRenterWithOptions(headers: CampusListRenterHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "CampusListRenter", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusListRenterResponse({})); } /** * 获取租客列表 * @returns CampusListRenterResponse */ async campusListRenter(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusListRenterHeaders({ }); return await this.campusListRenterWithOptions(headers, runtime); } /** * 查询租客下所有成员 * * @param request - CampusListRenterMembersRequest * @param headers - CampusListRenterMembersHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusListRenterMembersResponse */ async campusListRenterMembersWithOptions(request: CampusListRenterMembersRequest, headers: CampusListRenterMembersHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.renterId)) { query["renterId"] = request.renterId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CampusListRenterMembers", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters/members`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusListRenterMembersResponse({})); } /** * 查询租客下所有成员 * * @param request - CampusListRenterMembersRequest * @returns CampusListRenterMembersResponse */ async campusListRenterMembers(request: CampusListRenterMembersRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusListRenterMembersHeaders({ }); return await this.campusListRenterMembersWithOptions(request, headers, runtime); } /** * 更新园区项目 * * @param request - CampusUpdateCampusRequest * @param headers - CampusUpdateCampusHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusUpdateCampusResponse */ async campusUpdateCampusWithOptions(request: CampusUpdateCampusRequest, headers: CampusUpdateCampusHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.address)) { body["address"] = request.address; } if (!Util.isUnset(request.area)) { body["area"] = request.area; } if (!Util.isUnset(request.belongProjectGroupId)) { body["belongProjectGroupId"] = request.belongProjectGroupId; } if (!Util.isUnset(request.campusDeptId)) { body["campusDeptId"] = request.campusDeptId; } if (!Util.isUnset(request.campusName)) { body["campusName"] = request.campusName; } if (!Util.isUnset(request.capacity)) { body["capacity"] = request.capacity; } if (!Util.isUnset(request.cityId)) { body["cityId"] = request.cityId; } if (!Util.isUnset(request.country)) { body["country"] = request.country; } if (!Util.isUnset(request.countyId)) { body["countyId"] = request.countyId; } if (!Util.isUnset(request.description)) { body["description"] = request.description; } if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.orderEndTime)) { body["orderEndTime"] = request.orderEndTime; } if (!Util.isUnset(request.orderInfo)) { body["orderInfo"] = request.orderInfo; } if (!Util.isUnset(request.orderStartTime)) { body["orderStartTime"] = request.orderStartTime; } if (!Util.isUnset(request.provId)) { body["provId"] = request.provId; } if (!Util.isUnset(request.telephone)) { body["telephone"] = request.telephone; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusUpdateCampus", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusUpdateCampusResponse({})); } /** * 更新园区项目 * * @param request - CampusUpdateCampusRequest * @returns CampusUpdateCampusResponse */ async campusUpdateCampus(request: CampusUpdateCampusRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusUpdateCampusHeaders({ }); return await this.campusUpdateCampusWithOptions(request, headers, runtime); } /** * 更新园区项目组 * * @param request - CampusUpdateCampusGroupRequest * @param headers - CampusUpdateCampusGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusUpdateCampusGroupResponse */ async campusUpdateCampusGroupWithOptions(request: CampusUpdateCampusGroupRequest, headers: CampusUpdateCampusGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.campusProjectGroupId)) { body["campusProjectGroupId"] = request.campusProjectGroupId; } if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusUpdateCampusGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/projects/groups`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusUpdateCampusGroupResponse({})); } /** * 更新园区项目组 * * @param request - CampusUpdateCampusGroupRequest * @returns CampusUpdateCampusGroupResponse */ async campusUpdateCampusGroup(request: CampusUpdateCampusGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusUpdateCampusGroupHeaders({ }); return await this.campusUpdateCampusGroupWithOptions(request, headers, runtime); } /** * 更新租客 * * @param request - CampusUpdateRenterRequest * @param headers - CampusUpdateRenterHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusUpdateRenterResponse */ async campusUpdateRenterWithOptions(request: CampusUpdateRenterRequest, headers: CampusUpdateRenterHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.creditCode)) { body["creditCode"] = request.creditCode; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.renterId)) { body["renterId"] = request.renterId; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.state)) { body["state"] = request.state; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusUpdateRenter", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusUpdateRenterResponse({})); } /** * 更新租客 * * @param request - CampusUpdateRenterRequest * @returns CampusUpdateRenterResponse */ async campusUpdateRenter(request: CampusUpdateRenterRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusUpdateRenterHeaders({ }); return await this.campusUpdateRenterWithOptions(request, headers, runtime); } /** * 更新租客下成员 * * @param request - CampusUpdateRenterMemberRequest * @param headers - CampusUpdateRenterMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CampusUpdateRenterMemberResponse */ async campusUpdateRenterMemberWithOptions(request: CampusUpdateRenterMemberRequest, headers: CampusUpdateRenterMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.extend)) { body["extend"] = request.extend; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.renterId)) { body["renterId"] = request.renterId; } if (!Util.isUnset(request.type)) { body["type"] = request.type; } if (!Util.isUnset(request.unionId)) { body["unionId"] = request.unionId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CampusUpdateRenterMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/campuses/renters/members`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CampusUpdateRenterMemberResponse({})); } /** * 更新租客下成员 * * @param request - CampusUpdateRenterMemberRequest * @returns CampusUpdateRenterMemberResponse */ async campusUpdateRenterMember(request: CampusUpdateRenterMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CampusUpdateRenterMemberHeaders({ }); return await this.campusUpdateRenterMemberWithOptions(request, headers, runtime); } /** * 添加数据集权限 * * @param request - ChatAIAddDatasetPermissionRequest * @param headers - ChatAIAddDatasetPermissionHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAIAddDatasetPermissionResponse */ async chatAIAddDatasetPermissionWithOptions(request: ChatAIAddDatasetPermissionRequest, headers: ChatAIAddDatasetPermissionHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.authorizationType)) { body["authorizationType"] = request.authorizationType; } if (!Util.isUnset(request.authorizedObjectId)) { body["authorizedObjectId"] = request.authorizedObjectId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.optUser)) { body["optUser"] = request.optUser; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatAIAddDatasetPermission", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/dataset/permissions/add`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAIAddDatasetPermissionResponse({})); } /** * 添加数据集权限 * * @param request - ChatAIAddDatasetPermissionRequest * @returns ChatAIAddDatasetPermissionResponse */ async chatAIAddDatasetPermission(request: ChatAIAddDatasetPermissionRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAIAddDatasetPermissionHeaders({ }); return await this.chatAIAddDatasetPermissionWithOptions(request, headers, runtime); } /** * 获取chatAI应用下的数据集列表 * * @param request - ChatAIListDatasetRequest * @param headers - ChatAIListDatasetHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAIListDatasetResponse */ async chatAIListDatasetWithOptions(request: ChatAIListDatasetRequest, headers: ChatAIListDatasetHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { query["appId"] = request.appId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ChatAIListDataset", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/datasets`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAIListDatasetResponse({})); } /** * 获取chatAI应用下的数据集列表 * * @param request - ChatAIListDatasetRequest * @returns ChatAIListDatasetResponse */ async chatAIListDataset(request: ChatAIListDatasetRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAIListDatasetHeaders({ }); return await this.chatAIListDatasetWithOptions(request, headers, runtime); } /** * 查询数据集权限明细 * * @param request - ChatAIQueryDatasetPermissionRequest * @param headers - ChatAIQueryDatasetPermissionHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAIQueryDatasetPermissionResponse */ async chatAIQueryDatasetPermissionWithOptions(request: ChatAIQueryDatasetPermissionRequest, headers: ChatAIQueryDatasetPermissionHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.datasetId)) { query["datasetId"] = request.datasetId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ChatAIQueryDatasetPermission", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/dataset/permissions`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAIQueryDatasetPermissionResponse({})); } /** * 查询数据集权限明细 * * @param request - ChatAIQueryDatasetPermissionRequest * @returns ChatAIQueryDatasetPermissionResponse */ async chatAIQueryDatasetPermission(request: ChatAIQueryDatasetPermissionRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAIQueryDatasetPermissionHeaders({ }); return await this.chatAIQueryDatasetPermissionWithOptions(request, headers, runtime); } /** * 删除数据集权限 * * @param request - ChatAIRemoveDatasetPermissionRequest * @param headers - ChatAIRemoveDatasetPermissionHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAIRemoveDatasetPermissionResponse */ async chatAIRemoveDatasetPermissionWithOptions(request: ChatAIRemoveDatasetPermissionRequest, headers: ChatAIRemoveDatasetPermissionHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.authorizationType)) { body["authorizationType"] = request.authorizationType; } if (!Util.isUnset(request.authorizedObjectId)) { body["authorizedObjectId"] = request.authorizedObjectId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.optUser)) { body["optUser"] = request.optUser; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatAIRemoveDatasetPermission", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/dataset/permissions/remove`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAIRemoveDatasetPermissionResponse({})); } /** * 删除数据集权限 * * @param request - ChatAIRemoveDatasetPermissionRequest * @returns ChatAIRemoveDatasetPermissionResponse */ async chatAIRemoveDatasetPermission(request: ChatAIRemoveDatasetPermissionRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAIRemoveDatasetPermissionHeaders({ }); return await this.chatAIRemoveDatasetPermissionWithOptions(request, headers, runtime); } /** * Chai文本情感分析 * * @param request - ChatAITextSentimentAnalysisRequest * @param headers - ChatAITextSentimentAnalysisHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAITextSentimentAnalysisResponse */ async chatAITextSentimentAnalysisWithOptions(request: ChatAITextSentimentAnalysisRequest, headers: ChatAITextSentimentAnalysisHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.history)) { body["history"] = request.history; } if (!Util.isUnset(request.text)) { body["text"] = request.text; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatAITextSentimentAnalysis", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/abilities/sentiments/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAITextSentimentAnalysisResponse({})); } /** * Chai文本情感分析 * * @param request - ChatAITextSentimentAnalysisRequest * @returns ChatAITextSentimentAnalysisResponse */ async chatAITextSentimentAnalysis(request: ChatAITextSentimentAnalysisRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAITextSentimentAnalysisHeaders({ }); return await this.chatAITextSentimentAnalysisWithOptions(request, headers, runtime); } /** * 获取ChatAI问答日志 * * @param request - ChatAiQueryLogsRequest * @param headers - ChatAiQueryLogsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAiQueryLogsResponse */ async chatAiQueryLogsWithOptions(request: ChatAiQueryLogsRequest, headers: ChatAiQueryLogsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { query["appId"] = request.appId; } if (!Util.isUnset(request.endTime)) { query["endTime"] = request.endTime; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } if (!Util.isUnset(request.scenceId)) { query["scenceId"] = request.scenceId; } if (!Util.isUnset(request.startTime)) { query["startTime"] = request.startTime; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ChatAiQueryLogs", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/logs/lists`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAiQueryLogsResponse({})); } /** * 获取ChatAI问答日志 * * @param request - ChatAiQueryLogsRequest * @returns ChatAiQueryLogsResponse */ async chatAiQueryLogs(request: ChatAiQueryLogsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAiQueryLogsHeaders({ }); return await this.chatAiQueryLogsWithOptions(request, headers, runtime); } /** * 获取差旅单列表 * * @param request - ChatAiTravelListRequest * @param headers - ChatAiTravelListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatAiTravelListResponse */ async chatAiTravelListWithOptions(request: ChatAiTravelListRequest, headers: ChatAiTravelListHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.paramList)) { body["paramList"] = request.paramList; } if (!Util.isUnset(request.travelId)) { body["travelId"] = request.travelId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatAiTravelList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/travelLists/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatAiTravelListResponse({})); } /** * 获取差旅单列表 * * @param request - ChatAiTravelListRequest * @returns ChatAiTravelListResponse */ async chatAiTravelList(request: ChatAiTravelListRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatAiTravelListHeaders({ }); return await this.chatAiTravelListWithOptions(request, headers, runtime); } /** * ChatForm查询表单识别结果 * * @param request - ChatFormGetDataForApiAccessRequest * @param headers - ChatFormGetDataForApiAccessHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatFormGetDataForApiAccessResponse */ async chatFormGetDataForApiAccessWithOptions(request: ChatFormGetDataForApiAccessRequest, headers: ChatFormGetDataForApiAccessHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.dingTalkTraceId)) { query["dingTalkTraceId"] = request.dingTalkTraceId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ChatFormGetDataForApiAccess", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatform/datas`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatFormGetDataForApiAccessResponse({})); } /** * ChatForm查询表单识别结果 * * @param request - ChatFormGetDataForApiAccessRequest * @returns ChatFormGetDataForApiAccessResponse */ async chatFormGetDataForApiAccess(request: ChatFormGetDataForApiAccessRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatFormGetDataForApiAccessHeaders({ }); return await this.chatFormGetDataForApiAccessWithOptions(request, headers, runtime); } /** * 新增普通文件 * * @param request - ChatMemoAddGeneralFileRequest * @param headers - ChatMemoAddGeneralFileHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoAddGeneralFileResponse */ async chatMemoAddGeneralFileWithOptions(request: ChatMemoAddGeneralFileRequest, headers: ChatMemoAddGeneralFileHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.downloadUrl)) { body["downloadUrl"] = request.downloadUrl; } if (!Util.isUnset(request.fileDesc)) { body["fileDesc"] = request.fileDesc; } if (!Util.isUnset(request.fileName)) { body["fileName"] = request.fileName; } if (!Util.isUnset(request.tagList)) { body["tagList"] = request.tagList; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoAddGeneralFile", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/files`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoAddGeneralFileResponse({})); } /** * 新增普通文件 * * @param request - ChatMemoAddGeneralFileRequest * @returns ChatMemoAddGeneralFileResponse */ async chatMemoAddGeneralFile(request: ChatMemoAddGeneralFileRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoAddGeneralFileHeaders({ }); return await this.chatMemoAddGeneralFileWithOptions(request, headers, runtime); } /** * 新增知识图谱节点 * * @param request - ChatMemoAddKnowledgeGraphNodeRequest * @param headers - ChatMemoAddKnowledgeGraphNodeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoAddKnowledgeGraphNodeResponse */ async chatMemoAddKnowledgeGraphNodeWithOptions(request: ChatMemoAddKnowledgeGraphNodeRequest, headers: ChatMemoAddKnowledgeGraphNodeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.nodeInfo)) { body["nodeInfo"] = request.nodeInfo; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoAddKnowledgeGraphNode", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/nodes`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoAddKnowledgeGraphNodeResponse({})); } /** * 新增知识图谱节点 * * @param request - ChatMemoAddKnowledgeGraphNodeRequest * @returns ChatMemoAddKnowledgeGraphNodeResponse */ async chatMemoAddKnowledgeGraphNode(request: ChatMemoAddKnowledgeGraphNodeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoAddKnowledgeGraphNodeHeaders({ }); return await this.chatMemoAddKnowledgeGraphNodeWithOptions(request, headers, runtime); } /** * 新增知识图谱关系 * * @param request - ChatMemoAddKnowledgeGraphRelationRequest * @param headers - ChatMemoAddKnowledgeGraphRelationHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoAddKnowledgeGraphRelationResponse */ async chatMemoAddKnowledgeGraphRelationWithOptions(request: ChatMemoAddKnowledgeGraphRelationRequest, headers: ChatMemoAddKnowledgeGraphRelationHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.relationInfo)) { body["relationInfo"] = request.relationInfo; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoAddKnowledgeGraphRelation", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/relations`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoAddKnowledgeGraphRelationResponse({})); } /** * 新增知识图谱关系 * * @param request - ChatMemoAddKnowledgeGraphRelationRequest * @returns ChatMemoAddKnowledgeGraphRelationResponse */ async chatMemoAddKnowledgeGraphRelation(request: ChatMemoAddKnowledgeGraphRelationRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoAddKnowledgeGraphRelationHeaders({ }); return await this.chatMemoAddKnowledgeGraphRelationWithOptions(request, headers, runtime); } /** * 删除普通文件 * * @param request - ChatMemoDeleteGeneralFileRequest * @param headers - ChatMemoDeleteGeneralFileHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoDeleteGeneralFileResponse */ async chatMemoDeleteGeneralFileWithOptions(request: ChatMemoDeleteGeneralFileRequest, headers: ChatMemoDeleteGeneralFileHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoDeleteGeneralFile", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/files/remove`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoDeleteGeneralFileResponse({})); } /** * 删除普通文件 * * @param request - ChatMemoDeleteGeneralFileRequest * @returns ChatMemoDeleteGeneralFileResponse */ async chatMemoDeleteGeneralFile(request: ChatMemoDeleteGeneralFileRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoDeleteGeneralFileHeaders({ }); return await this.chatMemoDeleteGeneralFileWithOptions(request, headers, runtime); } /** * 删除知识图谱节点 * * @param request - ChatMemoDeleteKnowledgeGraphNodeRequest * @param headers - ChatMemoDeleteKnowledgeGraphNodeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoDeleteKnowledgeGraphNodeResponse */ async chatMemoDeleteKnowledgeGraphNodeWithOptions(request: ChatMemoDeleteKnowledgeGraphNodeRequest, headers: ChatMemoDeleteKnowledgeGraphNodeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoDeleteKnowledgeGraphNode", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/nodes/remove`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoDeleteKnowledgeGraphNodeResponse({})); } /** * 删除知识图谱节点 * * @param request - ChatMemoDeleteKnowledgeGraphNodeRequest * @returns ChatMemoDeleteKnowledgeGraphNodeResponse */ async chatMemoDeleteKnowledgeGraphNode(request: ChatMemoDeleteKnowledgeGraphNodeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoDeleteKnowledgeGraphNodeHeaders({ }); return await this.chatMemoDeleteKnowledgeGraphNodeWithOptions(request, headers, runtime); } /** * 删除知识图谱关系 * * @param request - ChatMemoDeleteKnowledgeGraphRelationRequest * @param headers - ChatMemoDeleteKnowledgeGraphRelationHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoDeleteKnowledgeGraphRelationResponse */ async chatMemoDeleteKnowledgeGraphRelationWithOptions(request: ChatMemoDeleteKnowledgeGraphRelationRequest, headers: ChatMemoDeleteKnowledgeGraphRelationHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoDeleteKnowledgeGraphRelation", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/relations/remove`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoDeleteKnowledgeGraphRelationResponse({})); } /** * 删除知识图谱关系 * * @param request - ChatMemoDeleteKnowledgeGraphRelationRequest * @returns ChatMemoDeleteKnowledgeGraphRelationResponse */ async chatMemoDeleteKnowledgeGraphRelation(request: ChatMemoDeleteKnowledgeGraphRelationRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoDeleteKnowledgeGraphRelationHeaders({ }); return await this.chatMemoDeleteKnowledgeGraphRelationWithOptions(request, headers, runtime); } /** * 新增 FAQ * * @param request - ChatMemoFaqAddRequest * @param headers - ChatMemoFaqAddHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoFaqAddResponse */ async chatMemoFaqAddWithOptions(request: ChatMemoFaqAddRequest, headers: ChatMemoFaqAddHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.answer)) { body["answer"] = request.answer; } if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.question)) { body["question"] = request.question; } if (!Util.isUnset(request.redirection)) { body["redirection"] = request.redirection; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoFaqAdd", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/faq`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoFaqAddResponse({})); } /** * 新增 FAQ * * @param request - ChatMemoFaqAddRequest * @returns ChatMemoFaqAddResponse */ async chatMemoFaqAdd(request: ChatMemoFaqAddRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoFaqAddHeaders({ }); return await this.chatMemoFaqAddWithOptions(request, headers, runtime); } /** * 删除指定数据集中的FAQ * * @param request - ChatMemoFaqDeleteRequest * @param headers - ChatMemoFaqDeleteHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoFaqDeleteResponse */ async chatMemoFaqDeleteWithOptions(request: ChatMemoFaqDeleteRequest, headers: ChatMemoFaqDeleteHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoFaqDelete", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/faq/remove`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoFaqDeleteResponse({})); } /** * 删除指定数据集中的FAQ * * @param request - ChatMemoFaqDeleteRequest * @returns ChatMemoFaqDeleteResponse */ async chatMemoFaqDelete(request: ChatMemoFaqDeleteRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoFaqDeleteHeaders({ }); return await this.chatMemoFaqDeleteWithOptions(request, headers, runtime); } /** * 查询指定数据集中的FAQ列表 * * @param request - ChatMemoFaqListRequest * @param headers - ChatMemoFaqListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoFaqListResponse */ async chatMemoFaqListWithOptions(request: ChatMemoFaqListRequest, headers: ChatMemoFaqListHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.datasetId)) { query["datasetId"] = request.datasetId; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ChatMemoFaqList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/faq/lists`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoFaqListResponse({})); } /** * 查询指定数据集中的FAQ列表 * * @param request - ChatMemoFaqListRequest * @returns ChatMemoFaqListResponse */ async chatMemoFaqList(request: ChatMemoFaqListRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoFaqListHeaders({ }); return await this.chatMemoFaqListWithOptions(request, headers, runtime); } /** * 查询指定数据集中的文件列表 * * @param request - ChatMemoGetFileListRequest * @param headers - ChatMemoGetFileListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoGetFileListResponse */ async chatMemoGetFileListWithOptions(request: ChatMemoGetFileListRequest, headers: ChatMemoGetFileListHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.datasetId)) { query["datasetId"] = request.datasetId; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ChatMemoGetFileList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/file/lists`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoGetFileListResponse({})); } /** * 查询指定数据集中的文件列表 * * @param request - ChatMemoGetFileListRequest * @returns ChatMemoGetFileListResponse */ async chatMemoGetFileList(request: ChatMemoGetFileListRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoGetFileListHeaders({ }); return await this.chatMemoGetFileListWithOptions(request, headers, runtime); } /** * 获取文件状态 * * @param request - ChatMemoGetFileStatusRequest * @param headers - ChatMemoGetFileStatusHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoGetFileStatusResponse */ async chatMemoGetFileStatusWithOptions(request: ChatMemoGetFileStatusRequest, headers: ChatMemoGetFileStatusHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoGetFileStatus", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/files/statuses/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoGetFileStatusResponse({})); } /** * 获取文件状态 * * @param request - ChatMemoGetFileStatusRequest * @returns ChatMemoGetFileStatusResponse */ async chatMemoGetFileStatus(request: ChatMemoGetFileStatusRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoGetFileStatusHeaders({ }); return await this.chatMemoGetFileStatusWithOptions(request, headers, runtime); } /** * 查询知识图谱节点 * * @param request - ChatMemoQueryKnowledgeGraphNodeRequest * @param headers - ChatMemoQueryKnowledgeGraphNodeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoQueryKnowledgeGraphNodeResponse */ async chatMemoQueryKnowledgeGraphNodeWithOptions(request: ChatMemoQueryKnowledgeGraphNodeRequest, headers: ChatMemoQueryKnowledgeGraphNodeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoQueryKnowledgeGraphNode", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/nodes/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoQueryKnowledgeGraphNodeResponse({})); } /** * 查询知识图谱节点 * * @param request - ChatMemoQueryKnowledgeGraphNodeRequest * @returns ChatMemoQueryKnowledgeGraphNodeResponse */ async chatMemoQueryKnowledgeGraphNode(request: ChatMemoQueryKnowledgeGraphNodeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoQueryKnowledgeGraphNodeHeaders({ }); return await this.chatMemoQueryKnowledgeGraphNodeWithOptions(request, headers, runtime); } /** * 查询知识图谱关系 * * @param request - ChatMemoQueryKnowledgeGraphRelationRequest * @param headers - ChatMemoQueryKnowledgeGraphRelationHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoQueryKnowledgeGraphRelationResponse */ async chatMemoQueryKnowledgeGraphRelationWithOptions(request: ChatMemoQueryKnowledgeGraphRelationRequest, headers: ChatMemoQueryKnowledgeGraphRelationHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.mediaId)) { body["mediaId"] = request.mediaId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoQueryKnowledgeGraphRelation", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/relations/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoQueryKnowledgeGraphRelationResponse({})); } /** * 查询知识图谱关系 * * @param request - ChatMemoQueryKnowledgeGraphRelationRequest * @returns ChatMemoQueryKnowledgeGraphRelationResponse */ async chatMemoQueryKnowledgeGraphRelation(request: ChatMemoQueryKnowledgeGraphRelationRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoQueryKnowledgeGraphRelationHeaders({ }); return await this.chatMemoQueryKnowledgeGraphRelationWithOptions(request, headers, runtime); } /** * 更新知识图谱节点 * * @param request - ChatMemoUpdateKnowledgeGraphNodeRequest * @param headers - ChatMemoUpdateKnowledgeGraphNodeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoUpdateKnowledgeGraphNodeResponse */ async chatMemoUpdateKnowledgeGraphNodeWithOptions(request: ChatMemoUpdateKnowledgeGraphNodeRequest, headers: ChatMemoUpdateKnowledgeGraphNodeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.nodeInfo)) { body["nodeInfo"] = request.nodeInfo; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoUpdateKnowledgeGraphNode", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/nodes`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoUpdateKnowledgeGraphNodeResponse({})); } /** * 更新知识图谱节点 * * @param request - ChatMemoUpdateKnowledgeGraphNodeRequest * @returns ChatMemoUpdateKnowledgeGraphNodeResponse */ async chatMemoUpdateKnowledgeGraphNode(request: ChatMemoUpdateKnowledgeGraphNodeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoUpdateKnowledgeGraphNodeHeaders({ }); return await this.chatMemoUpdateKnowledgeGraphNodeWithOptions(request, headers, runtime); } /** * 更新知识图谱关系 * * @param request - ChatMemoUpdateKnowledgeGraphRelationRequest * @param headers - ChatMemoUpdateKnowledgeGraphRelationHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ChatMemoUpdateKnowledgeGraphRelationResponse */ async chatMemoUpdateKnowledgeGraphRelationWithOptions(request: ChatMemoUpdateKnowledgeGraphRelationRequest, headers: ChatMemoUpdateKnowledgeGraphRelationHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizId)) { body["bizId"] = request.bizId; } if (!Util.isUnset(request.datasetId)) { body["datasetId"] = request.datasetId; } if (!Util.isUnset(request.relationInfo)) { body["relationInfo"] = request.relationInfo; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "ChatMemoUpdateKnowledgeGraphRelation", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatmemo/relations`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ChatMemoUpdateKnowledgeGraphRelationResponse({})); } /** * 更新知识图谱关系 * * @param request - ChatMemoUpdateKnowledgeGraphRelationRequest * @returns ChatMemoUpdateKnowledgeGraphRelationResponse */ async chatMemoUpdateKnowledgeGraphRelation(request: ChatMemoUpdateKnowledgeGraphRelationRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ChatMemoUpdateKnowledgeGraphRelationHeaders({ }); return await this.chatMemoUpdateKnowledgeGraphRelationWithOptions(request, headers, runtime); } /** * 美搭发帖记录详情 * * @param request - CirclePostDetailRequest * @param headers - CirclePostDetailHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CirclePostDetailResponse */ async circlePostDetailWithOptions(request: CirclePostDetailRequest, headers: CirclePostDetailHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.postId)) { body["postId"] = request.postId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CirclePostDetail", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/circle/postsDetail`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CirclePostDetailResponse({})); } /** * 美搭发帖记录详情 * * @param request - CirclePostDetailRequest * @returns CirclePostDetailResponse */ async circlePostDetail(request: CirclePostDetailRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CirclePostDetailHeaders({ }); return await this.circlePostDetailWithOptions(request, headers, runtime); } /** * 美搭发帖记录 * * @param request - CirclePostRecordRequest * @param headers - CirclePostRecordHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CirclePostRecordResponse */ async circlePostRecordWithOptions(request: CirclePostRecordRequest, headers: CirclePostRecordHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.direction)) { body["direction"] = request.direction; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.size)) { body["size"] = request.size; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CirclePostRecord", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/circle/postsRecord`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CirclePostRecordResponse({})); } /** * 美搭发帖记录 * * @param request - CirclePostRecordRequest * @returns CirclePostRecordResponse */ async circlePostRecord(request: CirclePostRecordRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CirclePostRecordHeaders({ }); return await this.circlePostRecordWithOptions(request, headers, runtime); } /** * 开启学段/学院/年级/专业\系/班级群 * * @param request - CollegeActiveCollegeDeptGroupRequest * @param headers - CollegeActiveCollegeDeptGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeActiveCollegeDeptGroupResponse */ async collegeActiveCollegeDeptGroupWithOptions(request: CollegeActiveCollegeDeptGroupRequest, headers: CollegeActiveCollegeDeptGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeActiveCollegeDeptGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/depts/groups`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeActiveCollegeDeptGroupResponse({})); } /** * 开启学段/学院/年级/专业\系/班级群 * * @param request - CollegeActiveCollegeDeptGroupRequest * @returns CollegeActiveCollegeDeptGroupResponse */ async collegeActiveCollegeDeptGroup(request: CollegeActiveCollegeDeptGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeActiveCollegeDeptGroupHeaders({ }); return await this.collegeActiveCollegeDeptGroupWithOptions(request, headers, runtime); } /** * 创建学段/学院/年级/专业\系/班级 * * @param request - CollegeAddCollegeDeptRequest * @param headers - CollegeAddCollegeDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeAddCollegeDeptResponse */ async collegeAddCollegeDeptWithOptions(request: CollegeAddCollegeDeptRequest, headers: CollegeAddCollegeDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptName)) { query["deptName"] = request.deptName; } if (!Util.isUnset(request.deptType)) { query["deptType"] = request.deptType; } if (!Util.isUnset(request.sortFactor)) { query["sortFactor"] = request.sortFactor; } if (!Util.isUnset(request.superId)) { query["superId"] = request.superId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeAddCollegeDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/depts`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeAddCollegeDeptResponse({})); } /** * 创建学段/学院/年级/专业\系/班级 * * @param request - CollegeAddCollegeDeptRequest * @returns CollegeAddCollegeDeptResponse */ async collegeAddCollegeDept(request: CollegeAddCollegeDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeAddCollegeDeptHeaders({ }); return await this.collegeAddCollegeDeptWithOptions(request, headers, runtime); } /** * 往部门中添加负责人 * * @param request - CollegeAddManagerRequest * @param headers - CollegeAddManagerHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeAddManagerResponse */ async collegeAddManagerWithOptions(request: CollegeAddManagerRequest, headers: CollegeAddManagerHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeAddManager", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/managers`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeAddManagerResponse({})); } /** * 往部门中添加负责人 * * @param request - CollegeAddManagerRequest * @returns CollegeAddManagerResponse */ async collegeAddManager(request: CollegeAddManagerRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeAddManagerHeaders({ }); return await this.collegeAddManagerWithOptions(request, headers, runtime); } /** * 在班级中添加人员 * * @param request - CollegeAddStudentRequest * @param headers - CollegeAddStudentHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeAddStudentResponse */ async collegeAddStudentWithOptions(request: CollegeAddStudentRequest, headers: CollegeAddStudentHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { body["deptId"] = request.deptId; } if (!Util.isUnset(request.empExtension)) { body["empExtension"] = request.empExtension; } if (!Util.isUnset(request.gender)) { body["gender"] = request.gender; } if (!Util.isUnset(request.identifyId)) { body["identifyId"] = request.identifyId; } if (!Util.isUnset(request.mobile)) { body["mobile"] = request.mobile; } if (!Util.isUnset(request.startYear)) { body["startYear"] = request.startYear; } if (!Util.isUnset(request.studentName)) { body["studentName"] = request.studentName; } if (!Util.isUnset(request.studentNumber)) { body["studentNumber"] = request.studentNumber; } if (!Util.isUnset(request.userId)) { body["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CollegeAddStudent", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/students`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeAddStudentResponse({})); } /** * 在班级中添加人员 * * @param request - CollegeAddStudentRequest * @returns CollegeAddStudentResponse */ async collegeAddStudent(request: CollegeAddStudentRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeAddStudentHeaders({ }); return await this.collegeAddStudentWithOptions(request, headers, runtime); } /** * 移动学生到其他部门 * * @param request - CollegeChangeStudentDeptRequest * @param headers - CollegeChangeStudentDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeChangeStudentDeptResponse */ async collegeChangeStudentDeptWithOptions(request: CollegeChangeStudentDeptRequest, headers: CollegeChangeStudentDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.newDeptId)) { query["newDeptId"] = request.newDeptId; } if (!Util.isUnset(request.studentId)) { query["studentId"] = request.studentId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeChangeStudentDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/students/move`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeChangeStudentDeptResponse({})); } /** * 移动学生到其他部门 * * @param request - CollegeChangeStudentDeptRequest * @returns CollegeChangeStudentDeptResponse */ async collegeChangeStudentDept(request: CollegeChangeStudentDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeChangeStudentDeptHeaders({ }); return await this.collegeChangeStudentDeptWithOptions(request, headers, runtime); } /** * 删除学段/学院/年级/专业\系/班级 * * @param request - CollegeDeleteCollegeDeptRequest * @param headers - CollegeDeleteCollegeDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeDeleteCollegeDeptResponse */ async collegeDeleteCollegeDeptWithOptions(request: CollegeDeleteCollegeDeptRequest, headers: CollegeDeleteCollegeDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeDeleteCollegeDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/depts`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeDeleteCollegeDeptResponse({})); } /** * 删除学段/学院/年级/专业\系/班级 * * @param request - CollegeDeleteCollegeDeptRequest * @returns CollegeDeleteCollegeDeptResponse */ async collegeDeleteCollegeDept(request: CollegeDeleteCollegeDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeDeleteCollegeDeptHeaders({ }); return await this.collegeDeleteCollegeDeptWithOptions(request, headers, runtime); } /** * 获取下级节点列表 * * @param request - CollegeListCollegeSubDeptRequest * @param headers - CollegeListCollegeSubDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeListCollegeSubDeptResponse */ async collegeListCollegeSubDeptWithOptions(request: CollegeListCollegeSubDeptRequest, headers: CollegeListCollegeSubDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeListCollegeSubDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/subDepts`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeListCollegeSubDeptResponse({})); } /** * 获取下级节点列表 * * @param request - CollegeListCollegeSubDeptRequest * @returns CollegeListCollegeSubDeptResponse */ async collegeListCollegeSubDept(request: CollegeListCollegeSubDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeListCollegeSubDeptHeaders({ }); return await this.collegeListCollegeSubDeptWithOptions(request, headers, runtime); } /** * 获取部门下所有负责人列表 * * @param request - CollegeListDeptManagerRequest * @param headers - CollegeListDeptManagerHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeListDeptManagerResponse */ async collegeListDeptManagerWithOptions(request: CollegeListDeptManagerRequest, headers: CollegeListDeptManagerHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeListDeptManager", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/managers`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeListDeptManagerResponse({})); } /** * 获取部门下所有负责人列表 * * @param request - CollegeListDeptManagerRequest * @returns CollegeListDeptManagerResponse */ async collegeListDeptManager(request: CollegeListDeptManagerRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeListDeptManagerHeaders({ }); return await this.collegeListDeptManagerWithOptions(request, headers, runtime); } /** * 分页获取班级下所有学生列表 * * @param request - CollegeListStudentInfoRequest * @param headers - CollegeListStudentInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeListStudentInfoResponse */ async collegeListStudentInfoWithOptions(request: CollegeListStudentInfoRequest, headers: CollegeListStudentInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.dingStudentStatus)) { query["dingStudentStatus"] = request.dingStudentStatus; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeListStudentInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/students`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeListStudentInfoResponse({})); } /** * 分页获取班级下所有学生列表 * * @param request - CollegeListStudentInfoRequest * @returns CollegeListStudentInfoResponse */ async collegeListStudentInfo(request: CollegeListStudentInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeListStudentInfoHeaders({ }); return await this.collegeListStudentInfoWithOptions(request, headers, runtime); } /** * 分页查询未加入组织的学生列表 * * @param request - CollegeListUncheckedStudentRequest * @param headers - CollegeListUncheckedStudentHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeListUncheckedStudentResponse */ async collegeListUncheckedStudentWithOptions(request: CollegeListUncheckedStudentRequest, headers: CollegeListUncheckedStudentHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeListUncheckedStudent", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/organizations/unjoinedStudents`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeListUncheckedStudentResponse({})); } /** * 分页查询未加入组织的学生列表 * * @param request - CollegeListUncheckedStudentRequest * @returns CollegeListUncheckedStudentResponse */ async collegeListUncheckedStudent(request: CollegeListUncheckedStudentRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeListUncheckedStudentHeaders({ }); return await this.collegeListUncheckedStudentWithOptions(request, headers, runtime); } /** * 获取学段/学院/年级/专业\系/班级群群信息 * * @param request - CollegeQueryCollegeDeptGroupInfoRequest * @param headers - CollegeQueryCollegeDeptGroupInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeQueryCollegeDeptGroupInfoResponse */ async collegeQueryCollegeDeptGroupInfoWithOptions(request: CollegeQueryCollegeDeptGroupInfoRequest, headers: CollegeQueryCollegeDeptGroupInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeQueryCollegeDeptGroupInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/depts/groupInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeQueryCollegeDeptGroupInfoResponse({})); } /** * 获取学段/学院/年级/专业\系/班级群群信息 * * @param request - CollegeQueryCollegeDeptGroupInfoRequest * @returns CollegeQueryCollegeDeptGroupInfoResponse */ async collegeQueryCollegeDeptGroupInfo(request: CollegeQueryCollegeDeptGroupInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeQueryCollegeDeptGroupInfoHeaders({ }); return await this.collegeQueryCollegeDeptGroupInfoWithOptions(request, headers, runtime); } /** * 获取学段/学院/年级/专业\系/班级信息 * * @param request - CollegeQueryCollegeDeptInfoRequest * @param headers - CollegeQueryCollegeDeptInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeQueryCollegeDeptInfoResponse */ async collegeQueryCollegeDeptInfoWithOptions(request: CollegeQueryCollegeDeptInfoRequest, headers: CollegeQueryCollegeDeptInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeQueryCollegeDeptInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/deptInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeQueryCollegeDeptInfoResponse({})); } /** * 获取学段/学院/年级/专业\系/班级信息 * * @param request - CollegeQueryCollegeDeptInfoRequest * @returns CollegeQueryCollegeDeptInfoResponse */ async collegeQueryCollegeDeptInfo(request: CollegeQueryCollegeDeptInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeQueryCollegeDeptInfoHeaders({ }); return await this.collegeQueryCollegeDeptInfoWithOptions(request, headers, runtime); } /** * 获取指定部门下指定学生的信息 * * @param request - CollegeQueryStudentInfoByDeptRequest * @param headers - CollegeQueryStudentInfoByDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeQueryStudentInfoByDeptResponse */ async collegeQueryStudentInfoByDeptWithOptions(request: CollegeQueryStudentInfoByDeptRequest, headers: CollegeQueryStudentInfoByDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.studentId)) { query["studentId"] = request.studentId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeQueryStudentInfoByDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/studentinfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeQueryStudentInfoByDeptResponse({})); } /** * 获取指定部门下指定学生的信息 * * @param request - CollegeQueryStudentInfoByDeptRequest * @returns CollegeQueryStudentInfoByDeptResponse */ async collegeQueryStudentInfoByDept(request: CollegeQueryStudentInfoByDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeQueryStudentInfoByDeptHeaders({ }); return await this.collegeQueryStudentInfoByDeptWithOptions(request, headers, runtime); } /** * 根据手机号查询学生信息 * * @param request - CollegeQueryStudentInfoByMobileRequest * @param headers - CollegeQueryStudentInfoByMobileHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeQueryStudentInfoByMobileResponse */ async collegeQueryStudentInfoByMobileWithOptions(request: CollegeQueryStudentInfoByMobileRequest, headers: CollegeQueryStudentInfoByMobileHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.mobile)) { query["mobile"] = request.mobile; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeQueryStudentInfoByMobile", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/students/mobiles`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeQueryStudentInfoByMobileResponse({})); } /** * 根据手机号查询学生信息 * * @param request - CollegeQueryStudentInfoByMobileRequest * @returns CollegeQueryStudentInfoByMobileResponse */ async collegeQueryStudentInfoByMobile(request: CollegeQueryStudentInfoByMobileRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeQueryStudentInfoByMobileHeaders({ }); return await this.collegeQueryStudentInfoByMobileWithOptions(request, headers, runtime); } /** * 根据studentId查询学生信息 * * @param request - CollegeQueryStudentInfoByStudentIdRequest * @param headers - CollegeQueryStudentInfoByStudentIdHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeQueryStudentInfoByStudentIdResponse */ async collegeQueryStudentInfoByStudentIdWithOptions(request: CollegeQueryStudentInfoByStudentIdRequest, headers: CollegeQueryStudentInfoByStudentIdHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.studentId)) { query["studentId"] = request.studentId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeQueryStudentInfoByStudentId", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/students`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeQueryStudentInfoByStudentIdResponse({})); } /** * 根据studentId查询学生信息 * * @param request - CollegeQueryStudentInfoByStudentIdRequest * @returns CollegeQueryStudentInfoByStudentIdResponse */ async collegeQueryStudentInfoByStudentId(request: CollegeQueryStudentInfoByStudentIdRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeQueryStudentInfoByStudentIdHeaders({ }); return await this.collegeQueryStudentInfoByStudentIdWithOptions(request, headers, runtime); } /** * 从部门中移除负责人 * * @param request - CollegeRemoveManagerRequest * @param headers - CollegeRemoveManagerHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeRemoveManagerResponse */ async collegeRemoveManagerWithOptions(request: CollegeRemoveManagerRequest, headers: CollegeRemoveManagerHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.isForce)) { query["isForce"] = request.isForce; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeRemoveManager", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/managers`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeRemoveManagerResponse({})); } /** * 从部门中移除负责人 * * @param request - CollegeRemoveManagerRequest * @returns CollegeRemoveManagerResponse */ async collegeRemoveManager(request: CollegeRemoveManagerRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeRemoveManagerHeaders({ }); return await this.collegeRemoveManagerWithOptions(request, headers, runtime); } /** * 从部门中移除学生 * * @param request - CollegeRemoveStudentRequest * @param headers - CollegeRemoveStudentHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeRemoveStudentResponse */ async collegeRemoveStudentWithOptions(request: CollegeRemoveStudentRequest, headers: CollegeRemoveStudentHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.studentId)) { query["studentId"] = request.studentId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeRemoveStudent", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/students`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeRemoveStudentResponse({})); } /** * 从部门中移除学生 * * @param request - CollegeRemoveStudentRequest * @returns CollegeRemoveStudentResponse */ async collegeRemoveStudent(request: CollegeRemoveStudentRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeRemoveStudentHeaders({ }); return await this.collegeRemoveStudentWithOptions(request, headers, runtime); } /** * 编辑学段/学院/年级/专业\系/班级 * * @param request - CollegeUpdateCollegeDeptRequest * @param headers - CollegeUpdateCollegeDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeUpdateCollegeDeptResponse */ async collegeUpdateCollegeDeptWithOptions(request: CollegeUpdateCollegeDeptRequest, headers: CollegeUpdateCollegeDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.deptName)) { query["deptName"] = request.deptName; } if (!Util.isUnset(request.sortFactor)) { query["sortFactor"] = request.sortFactor; } if (!Util.isUnset(request.superId)) { query["superId"] = request.superId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeUpdateCollegeDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/depts`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeUpdateCollegeDeptResponse({})); } /** * 编辑学段/学院/年级/专业\系/班级 * * @param request - CollegeUpdateCollegeDeptRequest * @returns CollegeUpdateCollegeDeptResponse */ async collegeUpdateCollegeDept(request: CollegeUpdateCollegeDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeUpdateCollegeDeptHeaders({ }); return await this.collegeUpdateCollegeDeptWithOptions(request, headers, runtime); } /** * 更新学生的部门相关信息 * * @param request - CollegeUpdateStudentDeptInfoRequest * @param headers - CollegeUpdateStudentDeptInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeUpdateStudentDeptInfoResponse */ async collegeUpdateStudentDeptInfoWithOptions(request: CollegeUpdateStudentDeptInfoRequest, headers: CollegeUpdateStudentDeptInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.studentId)) { query["studentId"] = request.studentId; } if (!Util.isUnset(request.studentNumber)) { query["studentNumber"] = request.studentNumber; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeUpdateStudentDeptInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/deptInfos`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeUpdateStudentDeptInfoResponse({})); } /** * 更新学生的部门相关信息 * * @param request - CollegeUpdateStudentDeptInfoRequest * @returns CollegeUpdateStudentDeptInfoResponse */ async collegeUpdateStudentDeptInfo(request: CollegeUpdateStudentDeptInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeUpdateStudentDeptInfoHeaders({ }); return await this.collegeUpdateStudentDeptInfoWithOptions(request, headers, runtime); } /** * 更新班级下学生信息 * * @param request - CollegeUpdateStudentInfoRequest * @param headers - CollegeUpdateStudentInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeUpdateStudentInfoResponse */ async collegeUpdateStudentInfoWithOptions(request: CollegeUpdateStudentInfoRequest, headers: CollegeUpdateStudentInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.empExtension)) { body["empExtension"] = request.empExtension; } if (!Util.isUnset(request.gender)) { body["gender"] = request.gender; } if (!Util.isUnset(request.identifyId)) { body["identifyId"] = request.identifyId; } if (!Util.isUnset(request.startYear)) { body["startYear"] = request.startYear; } if (!Util.isUnset(request.studentId)) { body["studentId"] = request.studentId; } if (!Util.isUnset(request.studentName)) { body["studentName"] = request.studentName; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CollegeUpdateStudentInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/depts/students`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeUpdateStudentInfoResponse({})); } /** * 更新班级下学生信息 * * @param request - CollegeUpdateStudentInfoRequest * @returns CollegeUpdateStudentInfoResponse */ async collegeUpdateStudentInfo(request: CollegeUpdateStudentInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeUpdateStudentInfoHeaders({ }); return await this.collegeUpdateStudentInfoWithOptions(request, headers, runtime); } /** * 修改学生手机号 * * @param request - CollegeUpdateStudentMoblieRequest * @param headers - CollegeUpdateStudentMoblieHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CollegeUpdateStudentMoblieResponse */ async collegeUpdateStudentMoblieWithOptions(request: CollegeUpdateStudentMoblieRequest, headers: CollegeUpdateStudentMoblieHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.isForce)) { query["isForce"] = request.isForce; } if (!Util.isUnset(request.newMobile)) { query["newMobile"] = request.newMobile; } if (!Util.isUnset(request.studentId)) { query["studentId"] = request.studentId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CollegeUpdateStudentMoblie", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/colleges/members/students/mobiles`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CollegeUpdateStudentMoblieResponse({})); } /** * 修改学生手机号 * * @param request - CollegeUpdateStudentMoblieRequest * @returns CollegeUpdateStudentMoblieResponse */ async collegeUpdateStudentMoblie(request: CollegeUpdateStudentMoblieRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CollegeUpdateStudentMoblieHeaders({ }); return await this.collegeUpdateStudentMoblieWithOptions(request, headers, runtime); } /** * 创建自定义通讯录 * * @param request - CustomizeContactCreateRequest * @param headers - CustomizeContactCreateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactCreateResponse */ async customizeContactCreateWithOptions(request: CustomizeContactCreateRequest, headers: CustomizeContactCreateHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.managerIdList)) { body["managerIdList"] = request.managerIdList; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.order)) { body["order"] = request.order; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactCreate", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/contacts`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactCreateResponse({})); } /** * 创建自定义通讯录 * * @param request - CustomizeContactCreateRequest * @returns CustomizeContactCreateResponse */ async customizeContactCreate(request: CustomizeContactCreateRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactCreateHeaders({ }); return await this.customizeContactCreateWithOptions(request, headers, runtime); } /** * 删除自定义通讯录 * * @param request - CustomizeContactDeleteRequest * @param headers - CustomizeContactDeleteHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeleteResponse */ async customizeContactDeleteWithOptions(request: CustomizeContactDeleteRequest, headers: CustomizeContactDeleteHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CustomizeContactDelete", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/contacts`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeleteResponse({})); } /** * 删除自定义通讯录 * * @param request - CustomizeContactDeleteRequest * @returns CustomizeContactDeleteResponse */ async customizeContactDelete(request: CustomizeContactDeleteRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeleteHeaders({ }); return await this.customizeContactDeleteWithOptions(request, headers, runtime); } /** * 创建部门 * * @param request - CustomizeContactDeptCreateRequest * @param headers - CustomizeContactDeptCreateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeptCreateResponse */ async customizeContactDeptCreateWithOptions(request: CustomizeContactDeptCreateRequest, headers: CustomizeContactDeptCreateHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } if (!Util.isUnset(request.managerIdList)) { body["managerIdList"] = request.managerIdList; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.order)) { body["order"] = request.order; } if (!Util.isUnset(request.parentDeptId)) { body["parentDeptId"] = request.parentDeptId; } if (!Util.isUnset(request.refId)) { body["refId"] = request.refId; } if (!Util.isUnset(request.type)) { body["type"] = request.type; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactDeptCreate", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/departments`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeptCreateResponse({})); } /** * 创建部门 * * @param request - CustomizeContactDeptCreateRequest * @returns CustomizeContactDeptCreateResponse */ async customizeContactDeptCreate(request: CustomizeContactDeptCreateRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeptCreateHeaders({ }); return await this.customizeContactDeptCreateWithOptions(request, headers, runtime); } /** * 删除部门 * * @param request - CustomizeContactDeptDeleteRequest * @param headers - CustomizeContactDeptDeleteHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeptDeleteResponse */ async customizeContactDeptDeleteWithOptions(request: CustomizeContactDeptDeleteRequest, headers: CustomizeContactDeptDeleteHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CustomizeContactDeptDelete", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/departments`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeptDeleteResponse({})); } /** * 删除部门 * * @param request - CustomizeContactDeptDeleteRequest * @returns CustomizeContactDeptDeleteResponse */ async customizeContactDeptDelete(request: CustomizeContactDeptDeleteRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeptDeleteHeaders({ }); return await this.customizeContactDeptDeleteWithOptions(request, headers, runtime); } /** * 创建自定义通讯录某个部门的部门群 * * @param request - CustomizeContactDeptGroupCreateRequest * @param headers - CustomizeContactDeptGroupCreateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeptGroupCreateResponse */ async customizeContactDeptGroupCreateWithOptions(request: CustomizeContactDeptGroupCreateRequest, headers: CustomizeContactDeptGroupCreateHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } if (!Util.isUnset(request.deptId)) { body["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactDeptGroupCreate", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/departmentGroups`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeptGroupCreateResponse({})); } /** * 创建自定义通讯录某个部门的部门群 * * @param request - CustomizeContactDeptGroupCreateRequest * @returns CustomizeContactDeptGroupCreateResponse */ async customizeContactDeptGroupCreate(request: CustomizeContactDeptGroupCreateRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeptGroupCreateHeaders({ }); return await this.customizeContactDeptGroupCreateWithOptions(request, headers, runtime); } /** * 获取部门详情 * * @param request - CustomizeContactDeptInfoRequest * @param headers - CustomizeContactDeptInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeptInfoResponse */ async customizeContactDeptInfoWithOptions(request: CustomizeContactDeptInfoRequest, headers: CustomizeContactDeptInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CustomizeContactDeptInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/departments`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeptInfoResponse({})); } /** * 获取部门详情 * * @param request - CustomizeContactDeptInfoRequest * @returns CustomizeContactDeptInfoResponse */ async customizeContactDeptInfo(request: CustomizeContactDeptInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeptInfoHeaders({ }); return await this.customizeContactDeptInfoWithOptions(request, headers, runtime); } /** * 获取子部门列表 * * @param request - CustomizeContactDeptListRequest * @param headers - CustomizeContactDeptListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeptListResponse */ async customizeContactDeptListWithOptions(request: CustomizeContactDeptListRequest, headers: CustomizeContactDeptListHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CustomizeContactDeptList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/subsidiaryDepartments`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeptListResponse({})); } /** * 获取子部门列表 * * @param request - CustomizeContactDeptListRequest * @returns CustomizeContactDeptListResponse */ async customizeContactDeptList(request: CustomizeContactDeptListRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeptListHeaders({ }); return await this.customizeContactDeptListWithOptions(request, headers, runtime); } /** * 更新部门 * * @param request - CustomizeContactDeptUpdateRequest * @param headers - CustomizeContactDeptUpdateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactDeptUpdateResponse */ async customizeContactDeptUpdateWithOptions(request: CustomizeContactDeptUpdateRequest, headers: CustomizeContactDeptUpdateHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } if (!Util.isUnset(request.deptId)) { body["deptId"] = request.deptId; } if (!Util.isUnset(request.managerIdList)) { body["managerIdList"] = request.managerIdList; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.order)) { body["order"] = request.order; } if (!Util.isUnset(request.parentDeptId)) { body["parentDeptId"] = request.parentDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactDeptUpdate", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/departments`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactDeptUpdateResponse({})); } /** * 更新部门 * * @param request - CustomizeContactDeptUpdateRequest * @returns CustomizeContactDeptUpdateResponse */ async customizeContactDeptUpdate(request: CustomizeContactDeptUpdateRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactDeptUpdateHeaders({ }); return await this.customizeContactDeptUpdateWithOptions(request, headers, runtime); } /** * 普通部门下添加人员 * * @param request - CustomizeContactEmpAddRequest * @param headers - CustomizeContactEmpAddHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactEmpAddResponse */ async customizeContactEmpAddWithOptions(request: CustomizeContactEmpAddRequest, headers: CustomizeContactEmpAddHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } if (!Util.isUnset(request.deptId)) { body["deptId"] = request.deptId; } if (!Util.isUnset(request.userIdList)) { body["userIdList"] = request.userIdList; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactEmpAdd", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/users`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactEmpAddResponse({})); } /** * 普通部门下添加人员 * * @param request - CustomizeContactEmpAddRequest * @returns CustomizeContactEmpAddResponse */ async customizeContactEmpAdd(request: CustomizeContactEmpAddRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactEmpAddHeaders({ }); return await this.customizeContactEmpAddWithOptions(request, headers, runtime); } /** * 普通部门下移除人员 * * @param request - CustomizeContactEmpDeleteRequest * @param headers - CustomizeContactEmpDeleteHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactEmpDeleteResponse */ async customizeContactEmpDeleteWithOptions(request: CustomizeContactEmpDeleteRequest, headers: CustomizeContactEmpDeleteHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } if (!Util.isUnset(request.deptId)) { body["deptId"] = request.deptId; } if (!Util.isUnset(request.userIdList)) { body["userIdList"] = request.userIdList; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactEmpDelete", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/users/remove`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactEmpDeleteResponse({})); } /** * 普通部门下移除人员 * * @param request - CustomizeContactEmpDeleteRequest * @returns CustomizeContactEmpDeleteResponse */ async customizeContactEmpDelete(request: CustomizeContactEmpDeleteRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactEmpDeleteHeaders({ }); return await this.customizeContactEmpDeleteWithOptions(request, headers, runtime); } /** * 查询部门下人员 * * @param request - CustomizeContactEmpListRequest * @param headers - CustomizeContactEmpListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactEmpListResponse */ async customizeContactEmpListWithOptions(request: CustomizeContactEmpListRequest, headers: CustomizeContactEmpListHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "CustomizeContactEmpList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/users`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactEmpListResponse({})); } /** * 查询部门下人员 * * @param request - CustomizeContactEmpListRequest * @returns CustomizeContactEmpListResponse */ async customizeContactEmpList(request: CustomizeContactEmpListRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactEmpListHeaders({ }); return await this.customizeContactEmpListWithOptions(request, headers, runtime); } /** * 获取自定义通讯录列表 * * @param headers - CustomizeContactListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactListResponse */ async customizeContactListWithOptions(headers: CustomizeContactListHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "CustomizeContactList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/contacts`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactListResponse({})); } /** * 获取自定义通讯录列表 * @returns CustomizeContactListResponse */ async customizeContactList(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactListHeaders({ }); return await this.customizeContactListWithOptions(headers, runtime); } /** * 更新自定义通讯录 * * @param request - CustomizeContactUpdateRequest * @param headers - CustomizeContactUpdateHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns CustomizeContactUpdateResponse */ async customizeContactUpdateWithOptions(request: CustomizeContactUpdateRequest, headers: CustomizeContactUpdateHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } if (!Util.isUnset(request.managerIdList)) { body["managerIdList"] = request.managerIdList; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.order)) { body["order"] = request.order; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "CustomizeContactUpdate", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/customizations/contacts`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new CustomizeContactUpdateResponse({})); } /** * 更新自定义通讯录 * * @param request - CustomizeContactUpdateRequest * @returns CustomizeContactUpdateResponse */ async customizeContactUpdate(request: CustomizeContactUpdateRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new CustomizeContactUpdateHeaders({ }); return await this.customizeContactUpdateWithOptions(request, headers, runtime); } /** * 门店通业务消息推送 * * @param tmpReq - DIgitalStoreMessagePushRequest * @param headers - DIgitalStoreMessagePushHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DIgitalStoreMessagePushResponse */ async dIgitalStoreMessagePushWithOptions(tmpReq: DIgitalStoreMessagePushRequest, headers: DIgitalStoreMessagePushHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(tmpReq); let request = new DIgitalStoreMessagePushShrinkRequest({ }); OpenApiUtil.convert(tmpReq, request); if (!Util.isUnset(tmpReq.messageDataList)) { request.messageDataListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.messageDataList, "messageDataList", "json"); } let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.messageDataListShrink)) { query["messageDataList"] = request.messageDataListShrink; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DIgitalStoreMessagePush", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/messages/push`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DIgitalStoreMessagePushResponse({})); } /** * 门店通业务消息推送 * * @param request - DIgitalStoreMessagePushRequest * @returns DIgitalStoreMessagePushResponse */ async dIgitalStoreMessagePush(request: DIgitalStoreMessagePushRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DIgitalStoreMessagePushHeaders({ }); return await this.dIgitalStoreMessagePushWithOptions(request, headers, runtime); } /** * 群运营-场景卡片发送记录列表 * * @param request - DigitalStoreCardRecordRequest * @param headers - DigitalStoreCardRecordHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreCardRecordResponse */ async digitalStoreCardRecordWithOptions(request: DigitalStoreCardRecordRequest, headers: DigitalStoreCardRecordHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.beginTime)) { body["beginTime"] = request.beginTime; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.ids)) { body["ids"] = request.ids; } if (!Util.isUnset(request.pageNumber)) { body["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.sceneCardName)) { body["sceneCardName"] = request.sceneCardName; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "DigitalStoreCardRecord", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/cardSendRecords/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreCardRecordResponse({})); } /** * 群运营-场景卡片发送记录列表 * * @param request - DigitalStoreCardRecordRequest * @returns DigitalStoreCardRecordResponse */ async digitalStoreCardRecord(request: DigitalStoreCardRecordRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreCardRecordHeaders({ }); return await this.digitalStoreCardRecordWithOptions(request, headers, runtime); } /** * 查询组织中门店通通讯录基础信息 * * @param headers - DigitalStoreContactInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreContactInfoResponse */ async digitalStoreContactInfoWithOptions(headers: DigitalStoreContactInfoHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "DigitalStoreContactInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/contactInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreContactInfoResponse({})); } /** * 查询组织中门店通通讯录基础信息 * @returns DigitalStoreContactInfoResponse */ async digitalStoreContactInfo(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreContactInfoHeaders({ }); return await this.digitalStoreContactInfoWithOptions(headers, runtime); } /** * 获取门店通相关会话列表(区域群、门店群) * * @param request - DigitalStoreConversationsRequest * @param headers - DigitalStoreConversationsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreConversationsResponse */ async digitalStoreConversationsWithOptions(request: DigitalStoreConversationsRequest, headers: DigitalStoreConversationsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.conversationTitle)) { query["conversationTitle"] = request.conversationTitle; } if (!Util.isUnset(request.conversationType)) { query["conversationType"] = request.conversationType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreConversations", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/conversations`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreConversationsResponse({})); } /** * 获取门店通相关会话列表(区域群、门店群) * * @param request - DigitalStoreConversationsRequest * @returns DigitalStoreConversationsResponse */ async digitalStoreConversations(request: DigitalStoreConversationsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreConversationsHeaders({ }); return await this.digitalStoreConversationsWithOptions(request, headers, runtime); } /** * 群运营-数据监控-导出列表 * * @param request - DigitalStoreExportCardRecordRequest * @param headers - DigitalStoreExportCardRecordHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreExportCardRecordResponse */ async digitalStoreExportCardRecordWithOptions(request: DigitalStoreExportCardRecordRequest, headers: DigitalStoreExportCardRecordHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.beginTime)) { body["beginTime"] = request.beginTime; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.ids)) { body["ids"] = request.ids; } if (!Util.isUnset(request.sceneCardName)) { body["sceneCardName"] = request.sceneCardName; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "DigitalStoreExportCardRecord", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/cardRecords/export`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreExportCardRecordResponse({})); } /** * 群运营-数据监控-导出列表 * * @param request - DigitalStoreExportCardRecordRequest * @returns DigitalStoreExportCardRecordResponse */ async digitalStoreExportCardRecord(request: DigitalStoreExportCardRecordRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreExportCardRecordHeaders({ }); return await this.digitalStoreExportCardRecordWithOptions(request, headers, runtime); } /** * 群运营-数据监控-导出明细 * * @param request - DigitalStoreExportCardRecordDetailRequest * @param headers - DigitalStoreExportCardRecordDetailHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreExportCardRecordDetailResponse */ async digitalStoreExportCardRecordDetailWithOptions(request: DigitalStoreExportCardRecordDetailRequest, headers: DigitalStoreExportCardRecordDetailHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.beginTime)) { body["beginTime"] = request.beginTime; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.ids)) { body["ids"] = request.ids; } if (!Util.isUnset(request.sceneCardName)) { body["sceneCardName"] = request.sceneCardName; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "DigitalStoreExportCardRecordDetail", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/cardRecordDetails/export`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreExportCardRecordDetailResponse({})); } /** * 群运营-数据监控-导出明细 * * @param request - DigitalStoreExportCardRecordDetailRequest * @returns DigitalStoreExportCardRecordDetailResponse */ async digitalStoreExportCardRecordDetail(request: DigitalStoreExportCardRecordDetailRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreExportCardRecordDetailHeaders({ }); return await this.digitalStoreExportCardRecordDetailWithOptions(request, headers, runtime); } /** * 查询门店通中的门店分组详情 * * @param request - DigitalStoreGroupInfoRequest * @param headers - DigitalStoreGroupInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreGroupInfoResponse */ async digitalStoreGroupInfoWithOptions(request: DigitalStoreGroupInfoRequest, headers: DigitalStoreGroupInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.groupId)) { query["groupId"] = request.groupId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreGroupInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/groupInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreGroupInfoResponse({})); } /** * 查询门店通中的门店分组详情 * * @param request - DigitalStoreGroupInfoRequest * @returns DigitalStoreGroupInfoResponse */ async digitalStoreGroupInfo(request: DigitalStoreGroupInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreGroupInfoHeaders({ }); return await this.digitalStoreGroupInfoWithOptions(request, headers, runtime); } /** * 查询门店通中的分组列表 * * @param headers - DigitalStoreGroupsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreGroupsResponse */ async digitalStoreGroupsWithOptions(headers: DigitalStoreGroupsHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "DigitalStoreGroups", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/groups`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreGroupsResponse({})); } /** * 查询门店通中的分组列表 * @returns DigitalStoreGroupsResponse */ async digitalStoreGroups(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreGroupsHeaders({ }); return await this.digitalStoreGroupsWithOptions(headers, runtime); } /** * 查询门店通讯录某个节点信息 * * @param request - DigitalStoreNodeInfoRequest * @param headers - DigitalStoreNodeInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreNodeInfoResponse */ async digitalStoreNodeInfoWithOptions(request: DigitalStoreNodeInfoRequest, headers: DigitalStoreNodeInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.nodeId)) { query["nodeId"] = request.nodeId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreNodeInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/nodeInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreNodeInfoResponse({})); } /** * 查询门店通讯录某个节点信息 * * @param request - DigitalStoreNodeInfoRequest * @returns DigitalStoreNodeInfoResponse */ async digitalStoreNodeInfo(request: DigitalStoreNodeInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreNodeInfoHeaders({ }); return await this.digitalStoreNodeInfoWithOptions(request, headers, runtime); } /** * 通过门店Code获取门店群信息 * * @param request - DigitalStoreQueryConversationRequest * @param headers - DigitalStoreQueryConversationHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreQueryConversationResponse */ async digitalStoreQueryConversationWithOptions(request: DigitalStoreQueryConversationRequest, headers: DigitalStoreQueryConversationHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.storeCode)) { query["storeCode"] = request.storeCode; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreQueryConversation", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/conversation/queryByStoreCode`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreQueryConversationResponse({})); } /** * 通过门店Code获取门店群信息 * * @param request - DigitalStoreQueryConversationRequest * @returns DigitalStoreQueryConversationResponse */ async digitalStoreQueryConversation(request: DigitalStoreQueryConversationRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreQueryConversationHeaders({ }); return await this.digitalStoreQueryConversationWithOptions(request, headers, runtime); } /** * 门店通权益信息查询 * * @param headers - DigitalStoreRightsInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreRightsInfoResponse */ async digitalStoreRightsInfoWithOptions(headers: DigitalStoreRightsInfoHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "DigitalStoreRightsInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/rightsInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreRightsInfoResponse({})); } /** * 门店通权益信息查询 * @returns DigitalStoreRightsInfoResponse */ async digitalStoreRightsInfo(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreRightsInfoHeaders({ }); return await this.digitalStoreRightsInfoWithOptions(headers, runtime); } /** * 查询门店通中的角色列表 * * @param headers - DigitalStoreRolesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreRolesResponse */ async digitalStoreRolesWithOptions(headers: DigitalStoreRolesHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "DigitalStoreRoles", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/roles`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreRolesResponse({})); } /** * 查询门店通中的角色列表 * @returns DigitalStoreRolesResponse */ async digitalStoreRoles(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreRolesHeaders({ }); return await this.digitalStoreRolesWithOptions(headers, runtime); } /** * 获取门店通场景群的业务范围 * * @param request - DigitalStoreSceneScopeRequest * @param headers - DigitalStoreSceneScopeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreSceneScopeResponse */ async digitalStoreSceneScopeWithOptions(request: DigitalStoreSceneScopeRequest, headers: DigitalStoreSceneScopeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.openConversationId)) { query["openConversationId"] = request.openConversationId; } if (!Util.isUnset(request.sceneCode)) { query["sceneCode"] = request.sceneCode; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreSceneScope", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/sceneScopes`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreSceneScopeResponse({})); } /** * 获取门店通场景群的业务范围 * * @param request - DigitalStoreSceneScopeRequest * @returns DigitalStoreSceneScopeResponse */ async digitalStoreSceneScope(request: DigitalStoreSceneScopeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreSceneScopeHeaders({ }); return await this.digitalStoreSceneScopeWithOptions(request, headers, runtime); } /** * 查询门店通中的门店详情 * * @param request - DigitalStoreStoreInfoRequest * @param headers - DigitalStoreStoreInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreStoreInfoResponse */ async digitalStoreStoreInfoWithOptions(request: DigitalStoreStoreInfoRequest, headers: DigitalStoreStoreInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.storeId)) { query["storeId"] = request.storeId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreStoreInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/storeInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreStoreInfoResponse({})); } /** * 查询门店通中的门店详情 * * @param request - DigitalStoreStoreInfoRequest * @returns DigitalStoreStoreInfoResponse */ async digitalStoreStoreInfo(request: DigitalStoreStoreInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreStoreInfoHeaders({ }); return await this.digitalStoreStoreInfoWithOptions(request, headers, runtime); } /** * 查询门店通讯录某个节点下的子节点 * * @param request - DigitalStoreSubNodesRequest * @param headers - DigitalStoreSubNodesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreSubNodesResponse */ async digitalStoreSubNodesWithOptions(request: DigitalStoreSubNodesRequest, headers: DigitalStoreSubNodesHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.nodeId)) { query["nodeId"] = request.nodeId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreSubNodes", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/subsidiaryNodes`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreSubNodesResponse({})); } /** * 查询门店通讯录某个节点下的子节点 * * @param request - DigitalStoreSubNodesRequest * @returns DigitalStoreSubNodesResponse */ async digitalStoreSubNodes(request: DigitalStoreSubNodesRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreSubNodesHeaders({ }); return await this.digitalStoreSubNodesWithOptions(request, headers, runtime); } /** * 修改人员管辖范围以及所属角色 * * @param request - DigitalStoreUpdateAuthInfoRequest * @param headers - DigitalStoreUpdateAuthInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreUpdateAuthInfoResponse */ async digitalStoreUpdateAuthInfoWithOptions(request: DigitalStoreUpdateAuthInfoRequest, headers: DigitalStoreUpdateAuthInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.updateUserList)) { body["updateUserList"] = request.updateUserList; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "DigitalStoreUpdateAuthInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/authInfos`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreUpdateAuthInfoResponse({})); } /** * 修改人员管辖范围以及所属角色 * * @param request - DigitalStoreUpdateAuthInfoRequest * @returns DigitalStoreUpdateAuthInfoResponse */ async digitalStoreUpdateAuthInfo(request: DigitalStoreUpdateAuthInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreUpdateAuthInfoHeaders({ }); return await this.digitalStoreUpdateAuthInfoWithOptions(request, headers, runtime); } /** * 查询门店通讯录人员信息 * * @param request - DigitalStoreUserInfoRequest * @param headers - DigitalStoreUserInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreUserInfoResponse */ async digitalStoreUserInfoWithOptions(request: DigitalStoreUserInfoRequest, headers: DigitalStoreUserInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreUserInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/userInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreUserInfoResponse({})); } /** * 查询门店通讯录人员信息 * * @param request - DigitalStoreUserInfoRequest * @returns DigitalStoreUserInfoResponse */ async digitalStoreUserInfo(request: DigitalStoreUserInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreUserInfoHeaders({ }); return await this.digitalStoreUserInfoWithOptions(request, headers, runtime); } /** * 查询门店通讯录某个节点下的所有人员 * * @param request - DigitalStoreUsersRequest * @param headers - DigitalStoreUsersHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStoreUsersResponse */ async digitalStoreUsersWithOptions(request: DigitalStoreUsersRequest, headers: DigitalStoreUsersHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { query["code"] = request.code; } if (!Util.isUnset(request.nodeId)) { query["nodeId"] = request.nodeId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStoreUsers", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/nodes/users`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStoreUsersResponse({})); } /** * 查询门店通讯录某个节点下的所有人员 * * @param request - DigitalStoreUsersRequest * @returns DigitalStoreUsersResponse */ async digitalStoreUsers(request: DigitalStoreUsersRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStoreUsersHeaders({ }); return await this.digitalStoreUsersWithOptions(request, headers, runtime); } /** * 群运营-数据监控-查询导出任务的记录列表 * * @param request - DigitalStorelistExportTaskRecordRequest * @param headers - DigitalStorelistExportTaskRecordHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DigitalStorelistExportTaskRecordResponse */ async digitalStorelistExportTaskRecordWithOptions(request: DigitalStorelistExportTaskRecordRequest, headers: DigitalStorelistExportTaskRecordHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "DigitalStorelistExportTaskRecord", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/digitalStores/exportTaskRecords`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new DigitalStorelistExportTaskRecordResponse({})); } /** * 群运营-数据监控-查询导出任务的记录列表 * * @param request - DigitalStorelistExportTaskRecordRequest * @returns DigitalStorelistExportTaskRecordResponse */ async digitalStorelistExportTaskRecord(request: DigitalStorelistExportTaskRecordRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new DigitalStorelistExportTaskRecordHeaders({ }); return await this.digitalStorelistExportTaskRecordWithOptions(request, headers, runtime); } /** * 查询启用了当前应用的外部协作组织 * * @param request - ExternalQueryExternalAppOrgsRequest * @param headers - ExternalQueryExternalAppOrgsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ExternalQueryExternalAppOrgsResponse */ async externalQueryExternalAppOrgsWithOptions(request: ExternalQueryExternalAppOrgsRequest, headers: ExternalQueryExternalAppOrgsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.externalType)) { query["externalType"] = request.externalType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ExternalQueryExternalAppOrgs", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/externals/apps/organizations`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ExternalQueryExternalAppOrgsResponse({})); } /** * 查询启用了当前应用的外部协作组织 * * @param request - ExternalQueryExternalAppOrgsRequest * @returns ExternalQueryExternalAppOrgsResponse */ async externalQueryExternalAppOrgs(request: ExternalQueryExternalAppOrgsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ExternalQueryExternalAppOrgsHeaders({ }); return await this.externalQueryExternalAppOrgsWithOptions(request, headers, runtime); } /** * 查询归属的主组织 * * @param request - ExternalQueryExternalBelongMainOrgRequest * @param headers - ExternalQueryExternalBelongMainOrgHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ExternalQueryExternalBelongMainOrgResponse */ async externalQueryExternalBelongMainOrgWithOptions(request: ExternalQueryExternalBelongMainOrgRequest, headers: ExternalQueryExternalBelongMainOrgHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.externalType)) { query["externalType"] = request.externalType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ExternalQueryExternalBelongMainOrg", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/externals/attributions/masterOrganizations`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ExternalQueryExternalBelongMainOrgResponse({})); } /** * 查询归属的主组织 * * @param request - ExternalQueryExternalBelongMainOrgRequest * @returns ExternalQueryExternalBelongMainOrgResponse */ async externalQueryExternalBelongMainOrg(request: ExternalQueryExternalBelongMainOrgRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ExternalQueryExternalBelongMainOrgHeaders({ }); return await this.externalQueryExternalBelongMainOrgWithOptions(request, headers, runtime); } /** * 查询外部协作组织 * * @param request - ExternalQueryExternalOrgsRequest * @param headers - ExternalQueryExternalOrgsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ExternalQueryExternalOrgsResponse */ async externalQueryExternalOrgsWithOptions(request: ExternalQueryExternalOrgsRequest, headers: ExternalQueryExternalOrgsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.externalType)) { query["externalType"] = request.externalType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "ExternalQueryExternalOrgs", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/externals/organizations`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new ExternalQueryExternalOrgsResponse({})); } /** * 查询外部协作组织 * * @param request - ExternalQueryExternalOrgsRequest * @returns ExternalQueryExternalOrgsResponse */ async externalQueryExternalOrgs(request: ExternalQueryExternalOrgsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new ExternalQueryExternalOrgsHeaders({ }); return await this.externalQueryExternalOrgsWithOptions(request, headers, runtime); } /** * 获取转换结果 * * @param request - GetConvertResultRequest * @param headers - GetConvertResultHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetConvertResultResponse */ async getConvertResultWithOptions(request: GetConvertResultRequest, headers: GetConvertResultHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.taskBizId)) { body["taskBizId"] = request.taskBizId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "GetConvertResult", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/order/convert/get`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new GetConvertResultResponse({})); } /** * 获取转换结果 * * @param request - GetConvertResultRequest * @returns GetConvertResultResponse */ async getConvertResult(request: GetConvertResultRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new GetConvertResultHeaders({ }); return await this.getConvertResultWithOptions(request, headers, runtime); } /** * getTaskPackageResult * * @param request - GetTaskPackageResultRequest * @param headers - GetTaskPackageResultHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetTaskPackageResultResponse */ async getTaskPackageResultWithOptions(request: GetTaskPackageResultRequest, headers: GetTaskPackageResultHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizCode)) { body["bizCode"] = request.bizCode; } if (!Util.isUnset(request.taskPackageId)) { body["taskPackageId"] = request.taskPackageId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "GetTaskPackageResult", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/taskPackages/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new GetTaskPackageResultResponse({})); } /** * getTaskPackageResult * * @param request - GetTaskPackageResultRequest * @returns GetTaskPackageResultResponse */ async getTaskPackageResult(request: GetTaskPackageResultRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new GetTaskPackageResultHeaders({ }); return await this.getTaskPackageResultWithOptions(request, headers, runtime); } /** * 查询任务队列情况 * * @param request - GetTaskQueueRequest * @param headers - GetTaskQueueHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetTaskQueueResponse */ async getTaskQueueWithOptions(request: GetTaskQueueRequest, headers: GetTaskQueueHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.bizCode)) { query["bizCode"] = request.bizCode; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "GetTaskQueue", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/taskQueue/query`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new GetTaskQueueResponse({})); } /** * 查询任务队列情况 * * @param request - GetTaskQueueRequest * @returns GetTaskQueueResponse */ async getTaskQueue(request: GetTaskQueueRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new GetTaskQueueHeaders({ }); return await this.getTaskQueueWithOptions(request, headers, runtime); } /** * 医疗数据对账 * * @param request - HospitalDataCheckRequest * @param headers - HospitalDataCheckHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns HospitalDataCheckResponse */ async hospitalDataCheckWithOptions(request: HospitalDataCheckRequest, headers: HospitalDataCheckHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.allDeptCount)) { body["allDeptCount"] = request.allDeptCount; } if (!Util.isUnset(request.allDeptUserCount)) { body["allDeptUserCount"] = request.allDeptUserCount; } if (!Util.isUnset(request.allGroupCount)) { body["allGroupCount"] = request.allGroupCount; } if (!Util.isUnset(request.allGroupUserCount)) { body["allGroupUserCount"] = request.allGroupUserCount; } if (!Util.isUnset(request.deptCount)) { body["deptCount"] = request.deptCount; } if (!Util.isUnset(request.deptUserCount)) { body["deptUserCount"] = request.deptUserCount; } if (!Util.isUnset(request.groupCount)) { body["groupCount"] = request.groupCount; } if (!Util.isUnset(request.groupUserCount)) { body["groupUserCount"] = request.groupUserCount; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "HospitalDataCheck", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/datas/check`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new HospitalDataCheckResponse({})); } /** * 医疗数据对账 * * @param request - HospitalDataCheckRequest * @returns HospitalDataCheckResponse */ async hospitalDataCheck(request: HospitalDataCheckRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new HospitalDataCheckHeaders({ }); return await this.hospitalDataCheckWithOptions(request, headers, runtime); } /** * 行业化制造业事件中心 * * @param request - IndustryManufactureCommonEventRequest * @param headers - IndustryManufactureCommonEventHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureCommonEventResponse */ async industryManufactureCommonEventWithOptions(request: IndustryManufactureCommonEventRequest, headers: IndustryManufactureCommonEventHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.bizData)) { body["bizData"] = request.bizData; } if (!Util.isUnset(request.eventType)) { body["eventType"] = request.eventType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureCommonEvent", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturing/bases/commons/events`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureCommonEventResponse({})); } /** * 行业化制造业事件中心 * * @param request - IndustryManufactureCommonEventRequest * @returns IndustryManufactureCommonEventResponse */ async industryManufactureCommonEvent(request: IndustryManufactureCommonEventRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureCommonEventHeaders({ }); return await this.industryManufactureCommonEventWithOptions(request, headers, runtime); } /** * 物料成本开放服务 * * @param request - IndustryManufactureCostRecordListGetRequest * @param headers - IndustryManufactureCostRecordListGetHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureCostRecordListGetResponse */ async industryManufactureCostRecordListGetWithOptions(request: IndustryManufactureCostRecordListGetRequest, headers: IndustryManufactureCostRecordListGetHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.appIds)) { body["appIds"] = request.appIds; } if (!Util.isUnset(request.appName)) { body["appName"] = request.appName; } if (!Util.isUnset(request.corpId)) { body["corpId"] = request.corpId; } if (!Util.isUnset(request.cursor)) { body["cursor"] = request.cursor; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.instanceId)) { body["instanceId"] = request.instanceId; } if (!Util.isUnset(request.isvOrgId)) { body["isvOrgId"] = request.isvOrgId; } if (!Util.isUnset(request.materialNo)) { body["materialNo"] = request.materialNo; } if (!Util.isUnset(request.microappAgentId)) { body["microappAgentId"] = request.microappAgentId; } if (!Util.isUnset(request.orderNo)) { body["orderNo"] = request.orderNo; } if (!Util.isUnset(request.orgId)) { body["orgId"] = request.orgId; } if (!Util.isUnset(request.pageNumber)) { body["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.productionTaskNo)) { body["productionTaskNo"] = request.productionTaskNo; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.suiteKey)) { body["suiteKey"] = request.suiteKey; } if (!Util.isUnset(request.tokenGrantType)) { body["tokenGrantType"] = request.tokenGrantType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureCostRecordListGet", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufactures/materialCostRecords/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureCostRecordListGetResponse({})); } /** * 物料成本开放服务 * * @param request - IndustryManufactureCostRecordListGetRequest * @returns IndustryManufactureCostRecordListGetResponse */ async industryManufactureCostRecordListGet(request: IndustryManufactureCostRecordListGetRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureCostRecordListGetHeaders({ }); return await this.industryManufactureCostRecordListGetWithOptions(request, headers, runtime); } /** * 费用服务 * * @param request - IndustryManufactureFeeListGetRequest * @param headers - IndustryManufactureFeeListGetHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureFeeListGetResponse */ async industryManufactureFeeListGetWithOptions(request: IndustryManufactureFeeListGetRequest, headers: IndustryManufactureFeeListGetHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.appIds)) { body["appIds"] = request.appIds; } if (!Util.isUnset(request.appName)) { body["appName"] = request.appName; } if (!Util.isUnset(request.corpId)) { body["corpId"] = request.corpId; } if (!Util.isUnset(request.cursor)) { body["cursor"] = request.cursor; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.isvOrgId)) { body["isvOrgId"] = request.isvOrgId; } if (!Util.isUnset(request.materialNo)) { body["materialNo"] = request.materialNo; } if (!Util.isUnset(request.microappAgentId)) { body["microappAgentId"] = request.microappAgentId; } if (!Util.isUnset(request.orgId)) { body["orgId"] = request.orgId; } if (!Util.isUnset(request.pageNumber)) { body["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.productionTaskNo)) { body["productionTaskNo"] = request.productionTaskNo; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.suiteKey)) { body["suiteKey"] = request.suiteKey; } if (!Util.isUnset(request.tokenGrantType)) { body["tokenGrantType"] = request.tokenGrantType; } if (!Util.isUnset(request.type)) { body["type"] = request.type; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureFeeListGet", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufactures/fees/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureFeeListGetResponse({})); } /** * 费用服务 * * @param request - IndustryManufactureFeeListGetRequest * @returns IndustryManufactureFeeListGetResponse */ async industryManufactureFeeListGet(request: IndustryManufactureFeeListGetRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureFeeListGetHeaders({ }); return await this.industryManufactureFeeListGetWithOptions(request, headers, runtime); } /** * 行业化-制造业工价接口 * * @param request - IndustryManufactureLabourCostRequest * @param headers - IndustryManufactureLabourCostHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureLabourCostResponse */ async industryManufactureLabourCostWithOptions(request: IndustryManufactureLabourCostRequest, headers: IndustryManufactureLabourCostHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.appIds)) { body["appIds"] = request.appIds; } if (!Util.isUnset(request.appName)) { body["appName"] = request.appName; } if (!Util.isUnset(request.corpId)) { body["corpId"] = request.corpId; } if (!Util.isUnset(request.cursor)) { body["cursor"] = request.cursor; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.isvOrgId)) { body["isvOrgId"] = request.isvOrgId; } if (!Util.isUnset(request.materialNo)) { body["materialNo"] = request.materialNo; } if (!Util.isUnset(request.microappAgentId)) { body["microappAgentId"] = request.microappAgentId; } if (!Util.isUnset(request.orgId)) { body["orgId"] = request.orgId; } if (!Util.isUnset(request.pageNumber)) { body["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.processNo)) { body["processNo"] = request.processNo; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.suiteKey)) { body["suiteKey"] = request.suiteKey; } if (!Util.isUnset(request.tokenGrantType)) { body["tokenGrantType"] = request.tokenGrantType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureLabourCost", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufactures/labourCosts/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureLabourCostResponse({})); } /** * 行业化-制造业工价接口 * * @param request - IndustryManufactureLabourCostRequest * @returns IndustryManufactureLabourCostResponse */ async industryManufactureLabourCost(request: IndustryManufactureLabourCostRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureLabourCostHeaders({ }); return await this.industryManufactureLabourCostWithOptions(request, headers, runtime); } /** * 查询行业物料列表 * * @param request - IndustryManufactureMaterialListRequest * @param headers - IndustryManufactureMaterialListHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMaterialListResponse */ async industryManufactureMaterialListWithOptions(request: IndustryManufactureMaterialListRequest, headers: IndustryManufactureMaterialListHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.appIds)) { body["appIds"] = request.appIds; } if (!Util.isUnset(request.appName)) { body["appName"] = request.appName; } if (!Util.isUnset(request.corpId)) { body["corpId"] = request.corpId; } if (!Util.isUnset(request.currentPage)) { body["currentPage"] = request.currentPage; } if (!Util.isUnset(request.cursor)) { body["cursor"] = request.cursor; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.instanceId)) { body["instanceId"] = request.instanceId; } if (!Util.isUnset(request.isvOrgId)) { body["isvOrgId"] = request.isvOrgId; } if (!Util.isUnset(request.materialNo)) { body["materialNo"] = request.materialNo; } if (!Util.isUnset(request.microappAgentId)) { body["microappAgentId"] = request.microappAgentId; } if (!Util.isUnset(request.orgId)) { body["orgId"] = request.orgId; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.suiteKey)) { body["suiteKey"] = request.suiteKey; } if (!Util.isUnset(request.tokenGrantType)) { body["tokenGrantType"] = request.tokenGrantType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMaterialList", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufactures/materials/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMaterialListResponse({})); } /** * 查询行业物料列表 * * @param request - IndustryManufactureMaterialListRequest * @returns IndustryManufactureMaterialListResponse */ async industryManufactureMaterialList(request: IndustryManufactureMaterialListRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMaterialListHeaders({ }); return await this.industryManufactureMaterialListWithOptions(request, headers, runtime); } /** * 派工任务管理 * * @param request - IndustryManufactureMesDispatchTaskRequest * @param headers - IndustryManufactureMesDispatchTaskHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesDispatchTaskResponse */ async industryManufactureMesDispatchTaskWithOptions(request: IndustryManufactureMesDispatchTaskRequest, headers: IndustryManufactureMesDispatchTaskHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.defectsAmount)) { body["defectsAmount"] = request.defectsAmount; } if (!Util.isUnset(request.dispatchStaffName)) { body["dispatchStaffName"] = request.dispatchStaffName; } if (!Util.isUnset(request.dispatchStaffNo)) { body["dispatchStaffNo"] = request.dispatchStaffNo; } if (!Util.isUnset(request.fineAmount)) { body["fineAmount"] = request.fineAmount; } if (!Util.isUnset(request.overdue)) { body["overdue"] = request.overdue; } if (!Util.isUnset(request.planQuantity)) { body["planQuantity"] = request.planQuantity; } if (!Util.isUnset(request.priority)) { body["priority"] = request.priority; } if (!Util.isUnset(request.processName)) { body["processName"] = request.processName; } if (!Util.isUnset(request.processUuid)) { body["processUuid"] = request.processUuid; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.productSpecification)) { body["productSpecification"] = request.productSpecification; } if (!Util.isUnset(request.projectCode)) { body["projectCode"] = request.projectCode; } if (!Util.isUnset(request.projectId)) { body["projectId"] = request.projectId; } if (!Util.isUnset(request.projectStatus)) { body["projectStatus"] = request.projectStatus; } if (!Util.isUnset(request.taskOperators)) { body["taskOperators"] = request.taskOperators; } if (!Util.isUnset(request.taskPlanEndTime)) { body["taskPlanEndTime"] = request.taskPlanEndTime; } if (!Util.isUnset(request.taskPlanStartTime)) { body["taskPlanStartTime"] = request.taskPlanStartTime; } if (!Util.isUnset(request.taskStatus)) { body["taskStatus"] = request.taskStatus; } if (!Util.isUnset(request.taskType)) { body["taskType"] = request.taskType; } if (!Util.isUnset(request.teamId)) { body["teamId"] = request.teamId; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesDispatchTask", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/dispatchTasks/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesDispatchTaskResponse({})); } /** * 派工任务管理 * * @param request - IndustryManufactureMesDispatchTaskRequest * @returns IndustryManufactureMesDispatchTaskResponse */ async industryManufactureMesDispatchTask(request: IndustryManufactureMesDispatchTaskRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesDispatchTaskHeaders({ }); return await this.industryManufactureMesDispatchTaskWithOptions(request, headers, runtime); } /** * MES系统物料管理 * * @param request - IndustryManufactureMesMaterialRequest * @param headers - IndustryManufactureMesMaterialHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesMaterialResponse */ async industryManufactureMesMaterialWithOptions(request: IndustryManufactureMesMaterialRequest, headers: IndustryManufactureMesMaterialHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.category)) { body["category"] = request.category; } if (!Util.isUnset(request.extendData)) { body["extendData"] = request.extendData; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.productSpecification)) { body["productSpecification"] = request.productSpecification; } if (!Util.isUnset(request.prop)) { body["prop"] = request.prop; } if (!Util.isUnset(request.unit)) { body["unit"] = request.unit; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesMaterial", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/materials/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesMaterialResponse({})); } /** * MES系统物料管理 * * @param request - IndustryManufactureMesMaterialRequest * @returns IndustryManufactureMesMaterialResponse */ async industryManufactureMesMaterial(request: IndustryManufactureMesMaterialRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesMaterialHeaders({ }); return await this.industryManufactureMesMaterialWithOptions(request, headers, runtime); } /** * 生产委外工单管理 * * @param request - IndustryManufactureMesOutPlanRequest * @param headers - IndustryManufactureMesOutPlanHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesOutPlanResponse */ async industryManufactureMesOutPlanWithOptions(request: IndustryManufactureMesOutPlanRequest, headers: IndustryManufactureMesOutPlanHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.approvalStatus)) { body["approvalStatus"] = request.approvalStatus; } if (!Util.isUnset(request.approver)) { body["approver"] = request.approver; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.outSourceProjectCode)) { body["outSourceProjectCode"] = request.outSourceProjectCode; } if (!Util.isUnset(request.outSourceTeamId)) { body["outSourceTeamId"] = request.outSourceTeamId; } if (!Util.isUnset(request.price)) { body["price"] = request.price; } if (!Util.isUnset(request.processIdentificationCode)) { body["processIdentificationCode"] = request.processIdentificationCode; } if (!Util.isUnset(request.processUuids)) { body["processUuids"] = request.processUuids; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.productSpecification)) { body["productSpecification"] = request.productSpecification; } if (!Util.isUnset(request.projectCode)) { body["projectCode"] = request.projectCode; } if (!Util.isUnset(request.projectId)) { body["projectId"] = request.projectId; } if (!Util.isUnset(request.sendPlanQuantity)) { body["sendPlanQuantity"] = request.sendPlanQuantity; } if (!Util.isUnset(request.supplierCode)) { body["supplierCode"] = request.supplierCode; } if (!Util.isUnset(request.supplierName)) { body["supplierName"] = request.supplierName; } if (!Util.isUnset(request.totalWage)) { body["totalWage"] = request.totalWage; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesOutPlan", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/outPlans/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesOutPlanResponse({})); } /** * 生产委外工单管理 * * @param request - IndustryManufactureMesOutPlanRequest * @returns IndustryManufactureMesOutPlanResponse */ async industryManufactureMesOutPlan(request: IndustryManufactureMesOutPlanRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesOutPlanHeaders({ }); return await this.industryManufactureMesOutPlanWithOptions(request, headers, runtime); } /** * 生产报工管理 * * @param request - IndustryManufactureMesOutputRequest * @param headers - IndustryManufactureMesOutputHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesOutputResponse */ async industryManufactureMesOutputWithOptions(request: IndustryManufactureMesOutputRequest, headers: IndustryManufactureMesOutputHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.approveStatus)) { body["approveStatus"] = request.approveStatus; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.defectsAmount)) { body["defectsAmount"] = request.defectsAmount; } if (!Util.isUnset(request.defectsReason)) { body["defectsReason"] = request.defectsReason; } if (!Util.isUnset(request.fineAmount)) { body["fineAmount"] = request.fineAmount; } if (!Util.isUnset(request.hasQualityTest)) { body["hasQualityTest"] = request.hasQualityTest; } if (!Util.isUnset(request.overdue)) { body["overdue"] = request.overdue; } if (!Util.isUnset(request.planQuantity)) { body["planQuantity"] = request.planQuantity; } if (!Util.isUnset(request.priority)) { body["priority"] = request.priority; } if (!Util.isUnset(request.processName)) { body["processName"] = request.processName; } if (!Util.isUnset(request.processUuid)) { body["processUuid"] = request.processUuid; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.productSpecification)) { body["productSpecification"] = request.productSpecification; } if (!Util.isUnset(request.projectCode)) { body["projectCode"] = request.projectCode; } if (!Util.isUnset(request.projectId)) { body["projectId"] = request.projectId; } if (!Util.isUnset(request.projectStatus)) { body["projectStatus"] = request.projectStatus; } if (!Util.isUnset(request.qualityTestStatus)) { body["qualityTestStatus"] = request.qualityTestStatus; } if (!Util.isUnset(request.taskPlanEndTime)) { body["taskPlanEndTime"] = request.taskPlanEndTime; } if (!Util.isUnset(request.taskPlanStartTime)) { body["taskPlanStartTime"] = request.taskPlanStartTime; } if (!Util.isUnset(request.taskStatus)) { body["taskStatus"] = request.taskStatus; } if (!Util.isUnset(request.taskType)) { body["taskType"] = request.taskType; } if (!Util.isUnset(request.taskUuid)) { body["taskUuid"] = request.taskUuid; } if (!Util.isUnset(request.teamId)) { body["teamId"] = request.teamId; } if (!Util.isUnset(request.userId)) { body["userId"] = request.userId; } if (!Util.isUnset(request.userName)) { body["userName"] = request.userName; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesOutput", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/outputs/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesOutputResponse({})); } /** * 生产报工管理 * * @param request - IndustryManufactureMesOutputRequest * @returns IndustryManufactureMesOutputResponse */ async industryManufactureMesOutput(request: IndustryManufactureMesOutputRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesOutputHeaders({ }); return await this.industryManufactureMesOutputWithOptions(request, headers, runtime); } /** * MES系统工序管理 * * @param request - IndustryManufactureMesProcessRequest * @param headers - IndustryManufactureMesProcessHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesProcessResponse */ async industryManufactureMesProcessWithOptions(request: IndustryManufactureMesProcessRequest, headers: IndustryManufactureMesProcessHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.extendData)) { body["extendData"] = request.extendData; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.needDispatch)) { body["needDispatch"] = request.needDispatch; } if (!Util.isUnset(request.needQualityTest)) { body["needQualityTest"] = request.needQualityTest; } if (!Util.isUnset(request.no)) { body["no"] = request.no; } if (!Util.isUnset(request.price)) { body["price"] = request.price; } if (!Util.isUnset(request.prop)) { body["prop"] = request.prop; } if (!Util.isUnset(request.remark)) { body["remark"] = request.remark; } if (!Util.isUnset(request.sop)) { body["sop"] = request.sop; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesProcess", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/processes/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesProcessResponse({})); } /** * MES系统工序管理 * * @param request - IndustryManufactureMesProcessRequest * @returns IndustryManufactureMesProcessResponse */ async industryManufactureMesProcess(request: IndustryManufactureMesProcessRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesProcessHeaders({ }); return await this.industryManufactureMesProcessWithOptions(request, headers, runtime); } /** * 生产工单管理 * * @param request - IndustryManufactureMesProductionPlanRequest * @param headers - IndustryManufactureMesProductionPlanHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesProductionPlanResponse */ async industryManufactureMesProductionPlanWithOptions(request: IndustryManufactureMesProductionPlanRequest, headers: IndustryManufactureMesProductionPlanHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.actualEndTime)) { body["actualEndTime"] = request.actualEndTime; } if (!Util.isUnset(request.actualStartTime)) { body["actualStartTime"] = request.actualStartTime; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.bomUuid)) { body["bomUuid"] = request.bomUuid; } if (!Util.isUnset(request.events)) { body["events"] = request.events; } if (!Util.isUnset(request.extendData)) { body["extendData"] = request.extendData; } if (!Util.isUnset(request.no)) { body["no"] = request.no; } if (!Util.isUnset(request.overdue)) { body["overdue"] = request.overdue; } if (!Util.isUnset(request.planEndTime)) { body["planEndTime"] = request.planEndTime; } if (!Util.isUnset(request.planQuantity)) { body["planQuantity"] = request.planQuantity; } if (!Util.isUnset(request.planStartTime)) { body["planStartTime"] = request.planStartTime; } if (!Util.isUnset(request.processUuids)) { body["processUuids"] = request.processUuids; } if (!Util.isUnset(request.productCode)) { body["productCode"] = request.productCode; } if (!Util.isUnset(request.productName)) { body["productName"] = request.productName; } if (!Util.isUnset(request.productSpecification)) { body["productSpecification"] = request.productSpecification; } if (!Util.isUnset(request.qualifiedQuantity)) { body["qualifiedQuantity"] = request.qualifiedQuantity; } if (!Util.isUnset(request.sellOrderNo)) { body["sellOrderNo"] = request.sellOrderNo; } if (!Util.isUnset(request.status)) { body["status"] = request.status; } if (!Util.isUnset(request.teamList)) { body["teamList"] = request.teamList; } if (!Util.isUnset(request.title)) { body["title"] = request.title; } if (!Util.isUnset(request.type)) { body["type"] = request.type; } if (!Util.isUnset(request.unit)) { body["unit"] = request.unit; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesProductionPlan", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/productionPlans/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesProductionPlanResponse({})); } /** * 生产工单管理 * * @param request - IndustryManufactureMesProductionPlanRequest * @returns IndustryManufactureMesProductionPlanResponse */ async industryManufactureMesProductionPlan(request: IndustryManufactureMesProductionPlanRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesProductionPlanHeaders({ }); return await this.industryManufactureMesProductionPlanWithOptions(request, headers, runtime); } /** * 生产委外合作班组管理 * * @param request - IndustryManufactureMesSubCooperationTeamRequest * @param headers - IndustryManufactureMesSubCooperationTeamHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesSubCooperationTeamResponse */ async industryManufactureMesSubCooperationTeamWithOptions(request: IndustryManufactureMesSubCooperationTeamRequest, headers: IndustryManufactureMesSubCooperationTeamHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.events)) { body["events"] = request.events; } if (!Util.isUnset(request.extendData)) { body["extendData"] = request.extendData; } if (!Util.isUnset(request.groupPlugins)) { body["groupPlugins"] = request.groupPlugins; } if (!Util.isUnset(request.groupType)) { body["groupType"] = request.groupType; } if (!Util.isUnset(request.leaders)) { body["leaders"] = request.leaders; } if (!Util.isUnset(request.members)) { body["members"] = request.members; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.outCorpId)) { body["outCorpId"] = request.outCorpId; } if (!Util.isUnset(request.processIds)) { body["processIds"] = request.processIds; } if (!Util.isUnset(request.uuid)) { body["uuid"] = request.uuid; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesSubCooperationTeam", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturings/outTeams/manage`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesSubCooperationTeamResponse({})); } /** * 生产委外合作班组管理 * * @param request - IndustryManufactureMesSubCooperationTeamRequest * @returns IndustryManufactureMesSubCooperationTeamResponse */ async industryManufactureMesSubCooperationTeam(request: IndustryManufactureMesSubCooperationTeamRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesSubCooperationTeamHeaders({ }); return await this.industryManufactureMesSubCooperationTeamWithOptions(request, headers, runtime); } /** * MES系统班组管理 * * @param request - IndustryManufactureMesTeamMgmtRequest * @param headers - IndustryManufactureMesTeamMgmtHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryManufactureMesTeamMgmtResponse */ async industryManufactureMesTeamMgmtWithOptions(request: IndustryManufactureMesTeamMgmtRequest, headers: IndustryManufactureMesTeamMgmtHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.action)) { body["action"] = request.action; } if (!Util.isUnset(request.appKey)) { body["appKey"] = request.appKey; } if (!Util.isUnset(request.baseDataName)) { body["baseDataName"] = request.baseDataName; } if (!Util.isUnset(request.events)) { body["events"] = request.events; } if (!Util.isUnset(request.extendData)) { body["extendData"] = request.extendData; } if (!Util.isUnset(request.groupConfig)) { body["groupConfig"] = request.groupConfig; } if (!Util.isUnset(request.groupPlugins)) { body["groupPlugins"] = request.groupPlugins; } if (!Util.isUnset(request.groupType)) { body["groupType"] = request.groupType; } if (!Util.isUnset(request.id)) { body["id"] = request.id; } if (!Util.isUnset(request.leaders)) { body["leaders"] = request.leaders; } if (!Util.isUnset(request.members)) { body["members"] = request.members; } if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.processIds)) { body["processIds"] = request.processIds; } if (!Util.isUnset(request.tagKey)) { body["tagKey"] = request.tagKey; } if (!Util.isUnset(request.tagValues)) { body["tagValues"] = request.tagValues; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryManufactureMesTeamMgmt", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufacturing/base/data/team`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryManufactureMesTeamMgmtResponse({})); } /** * MES系统班组管理 * * @param request - IndustryManufactureMesTeamMgmtRequest * @returns IndustryManufactureMesTeamMgmtResponse */ async industryManufactureMesTeamMgmt(request: IndustryManufactureMesTeamMgmtRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryManufactureMesTeamMgmtHeaders({ }); return await this.industryManufactureMesTeamMgmtWithOptions(request, headers, runtime); } /** * 物料成本查询服务 * * @param request - IndustryMmanufactureMaterialCostGetRequest * @param headers - IndustryMmanufactureMaterialCostGetHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns IndustryMmanufactureMaterialCostGetResponse */ async industryMmanufactureMaterialCostGetWithOptions(request: IndustryMmanufactureMaterialCostGetRequest, headers: IndustryMmanufactureMaterialCostGetHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.appIds)) { body["appIds"] = request.appIds; } if (!Util.isUnset(request.appName)) { body["appName"] = request.appName; } if (!Util.isUnset(request.corpId)) { body["corpId"] = request.corpId; } if (!Util.isUnset(request.cursor)) { body["cursor"] = request.cursor; } if (!Util.isUnset(request.endTime)) { body["endTime"] = request.endTime; } if (!Util.isUnset(request.instanceId)) { body["instanceId"] = request.instanceId; } if (!Util.isUnset(request.isvOrgId)) { body["isvOrgId"] = request.isvOrgId; } if (!Util.isUnset(request.materialNo)) { body["materialNo"] = request.materialNo; } if (!Util.isUnset(request.microappAgentId)) { body["microappAgentId"] = request.microappAgentId; } if (!Util.isUnset(request.orgId)) { body["orgId"] = request.orgId; } if (!Util.isUnset(request.pageNumber)) { body["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.startTime)) { body["startTime"] = request.startTime; } if (!Util.isUnset(request.suiteKey)) { body["suiteKey"] = request.suiteKey; } if (!Util.isUnset(request.tokenGrantType)) { body["tokenGrantType"] = request.tokenGrantType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "IndustryMmanufactureMaterialCostGet", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/manufactures/base/materialCosts/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new IndustryMmanufactureMaterialCostGetResponse({})); } /** * 物料成本查询服务 * * @param request - IndustryMmanufactureMaterialCostGetRequest * @returns IndustryMmanufactureMaterialCostGetResponse */ async industryMmanufactureMaterialCostGet(request: IndustryMmanufactureMaterialCostGetRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new IndustryMmanufactureMaterialCostGetHeaders({ }); return await this.industryMmanufactureMaterialCostGetWithOptions(request, headers, runtime); } /** * 订单转换 * * @param request - OrderConvertRequest * @param headers - OrderConvertHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns OrderConvertResponse */ async orderConvertWithOptions(request: OrderConvertRequest, headers: OrderConvertHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.attachments)) { body["attachments"] = request.attachments; } if (!Util.isUnset(request.operateUserId)) { body["operateUserId"] = request.operateUserId; } if (!Util.isUnset(request.ruleBizId)) { body["ruleBizId"] = request.ruleBizId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "OrderConvert", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/order/convert/execute`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new OrderConvertResponse({})); } /** * 订单转换 * * @param request - OrderConvertRequest * @returns OrderConvertResponse */ async orderConvert(request: OrderConvertRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new OrderConvertHeaders({ }); return await this.orderConvertWithOptions(request, headers, runtime); } /** * 提供text和card两种形式工作通知消息 * * @param request - PushDingMessageRequest * @param headers - PushDingMessageHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns PushDingMessageResponse */ async pushDingMessageWithOptions(request: PushDingMessageRequest, headers: PushDingMessageHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.content)) { body["content"] = request.content; } if (!Util.isUnset(request.messageType)) { body["messageType"] = request.messageType; } if (!Util.isUnset(request.messageUrl)) { body["messageUrl"] = request.messageUrl; } if (!Util.isUnset(request.pictureUrl)) { body["pictureUrl"] = request.pictureUrl; } if (!Util.isUnset(request.singleTitle)) { body["singleTitle"] = request.singleTitle; } if (!Util.isUnset(request.singleUrl)) { body["singleUrl"] = request.singleUrl; } if (!Util.isUnset(request.title)) { body["title"] = request.title; } if (!Util.isUnset(request.userIdList)) { body["userIdList"] = request.userIdList; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "PushDingMessage", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/works/notice`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new PushDingMessageResponse({})); } /** * 提供text和card两种形式工作通知消息 * * @param request - PushDingMessageRequest * @returns PushDingMessageResponse */ async pushDingMessage(request: PushDingMessageRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new PushDingMessageHeaders({ }); return await this.pushDingMessageWithOptions(request, headers, runtime); } /** * 获取当前组织下的所有科室 * * @param request - QueryAllDepartmentRequest * @param headers - QueryAllDepartmentHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAllDepartmentResponse */ async queryAllDepartmentWithOptions(request: QueryAllDepartmentRequest, headers: QueryAllDepartmentHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryAllDepartment", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/departments`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryAllDepartmentResponse({})); } /** * 获取当前组织下的所有科室 * * @param request - QueryAllDepartmentRequest * @returns QueryAllDepartmentResponse */ async queryAllDepartment(request: QueryAllDepartmentRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryAllDepartmentHeaders({ }); return await this.queryAllDepartmentWithOptions(request, headers, runtime); } /** * 查询医院下的所有医生 * * @param request - QueryAllDoctorsRequest * @param headers - QueryAllDoctorsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAllDoctorsResponse */ async queryAllDoctorsWithOptions(request: QueryAllDoctorsRequest, headers: QueryAllDoctorsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.monthMark)) { query["monthMark"] = request.monthMark; } if (!Util.isUnset(request.pageNum)) { query["pageNum"] = request.pageNum; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryAllDoctors", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/doctors`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryAllDoctorsResponse({})); } /** * 查询医院下的所有医生 * * @param request - QueryAllDoctorsRequest * @returns QueryAllDoctorsResponse */ async queryAllDoctors(request: QueryAllDoctorsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryAllDoctorsHeaders({ }); return await this.queryAllDoctorsWithOptions(request, headers, runtime); } /** * 查询所有医疗组 * * @param request - QueryAllGroupRequest * @param headers - QueryAllGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAllGroupResponse */ async queryAllGroupWithOptions(request: QueryAllGroupRequest, headers: QueryAllGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryAllGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/groups`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryAllGroupResponse({})); } /** * 查询所有医疗组 * * @param request - QueryAllGroupRequest * @returns QueryAllGroupResponse */ async queryAllGroup(request: QueryAllGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryAllGroupHeaders({ }); return await this.queryAllGroupWithOptions(request, headers, runtime); } /** * 查询科室下的所有医疗组 * * @param request - QueryAllGroupsInDeptRequest * @param headers - QueryAllGroupsInDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAllGroupsInDeptResponse */ async queryAllGroupsInDeptWithOptions(deptId: string, request: QueryAllGroupsInDeptRequest, headers: QueryAllGroupsInDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryAllGroupsInDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/departments/${deptId}/groups`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryAllGroupsInDeptResponse({})); } /** * 查询科室下的所有医疗组 * * @param request - QueryAllGroupsInDeptRequest * @returns QueryAllGroupsInDeptResponse */ async queryAllGroupsInDept(deptId: string, request: QueryAllGroupsInDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryAllGroupsInDeptHeaders({ }); return await this.queryAllGroupsInDeptWithOptions(deptId, request, headers, runtime); } /** * 查询科室下的所有人员 * * @param request - QueryAllMemberByDeptRequest * @param headers - QueryAllMemberByDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAllMemberByDeptResponse */ async queryAllMemberByDeptWithOptions(deptId: string, request: QueryAllMemberByDeptRequest, headers: QueryAllMemberByDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.monthMark)) { query["monthMark"] = request.monthMark; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryAllMemberByDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/departments/${deptId}/members`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryAllMemberByDeptResponse({})); } /** * 查询科室下的所有人员 * * @param request - QueryAllMemberByDeptRequest * @returns QueryAllMemberByDeptResponse */ async queryAllMemberByDept(deptId: string, request: QueryAllMemberByDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryAllMemberByDeptHeaders({ }); return await this.queryAllMemberByDeptWithOptions(deptId, request, headers, runtime); } /** * 获取医疗组下面的所有成员 * * @param request - QueryAllMemberByGroupRequest * @param headers - QueryAllMemberByGroupHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryAllMemberByGroupResponse */ async queryAllMemberByGroupWithOptions(groupId: string, request: QueryAllMemberByGroupRequest, headers: QueryAllMemberByGroupHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.monthMark)) { query["monthMark"] = request.monthMark; } if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryAllMemberByGroup", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/groups/${groupId}/members`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryAllMemberByGroupResponse({})); } /** * 获取医疗组下面的所有成员 * * @param request - QueryAllMemberByGroupRequest * @returns QueryAllMemberByGroupResponse */ async queryAllMemberByGroup(groupId: string, request: QueryAllMemberByGroupRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryAllMemberByGroupHeaders({ }); return await this.queryAllMemberByGroupWithOptions(groupId, request, headers, runtime); } /** * 获取当前企业医疗通讯录的业务操作日志 * * @param request - QueryBizOptLogRequest * @param headers - QueryBizOptLogHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryBizOptLogResponse */ async queryBizOptLogWithOptions(request: QueryBizOptLogRequest, headers: QueryBizOptLogHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.maxResults)) { query["maxResults"] = request.maxResults; } if (!Util.isUnset(request.nextToken)) { query["nextToken"] = request.nextToken; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryBizOptLog", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/bizOptLogs`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "json", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryBizOptLogResponse({})); } /** * 获取当前企业医疗通讯录的业务操作日志 * * @param request - QueryBizOptLogRequest * @returns QueryBizOptLogResponse */ async queryBizOptLog(request: QueryBizOptLogRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryBizOptLogHeaders({ }); return await this.queryBizOptLogWithOptions(request, headers, runtime); } /** * 获取专属AI平台信息 * * @param request - QueryChatAIOXMInfoRequest * @param headers - QueryChatAIOXMInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryChatAIOXMInfoResponse */ async queryChatAIOXMInfoWithOptions(request: QueryChatAIOXMInfoRequest, headers: QueryChatAIOXMInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.code)) { body["code"] = request.code; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "QueryChatAIOXMInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/chatai/oxm/infos/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryChatAIOXMInfoResponse({})); } /** * 获取专属AI平台信息 * * @param request - QueryChatAIOXMInfoRequest * @returns QueryChatAIOXMInfoResponse */ async queryChatAIOXMInfo(request: QueryChatAIOXMInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryChatAIOXMInfoHeaders({ }); return await this.queryChatAIOXMInfoWithOptions(request, headers, runtime); } /** * 查询订单转换规则 * * @param request - QueryConvertRulesRequest * @param headers - QueryConvertRulesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryConvertRulesResponse */ async queryConvertRulesWithOptions(request: QueryConvertRulesRequest, headers: QueryConvertRulesHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.keyword)) { body["keyword"] = request.keyword; } if (!Util.isUnset(request.pageNo)) { body["pageNo"] = request.pageNo; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "QueryConvertRules", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/order/rule/page`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryConvertRulesResponse({})); } /** * 查询订单转换规则 * * @param request - QueryConvertRulesRequest * @returns QueryConvertRulesResponse */ async queryConvertRules(request: QueryConvertRulesRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryConvertRulesHeaders({ }); return await this.queryConvertRulesWithOptions(request, headers, runtime); } /** * 查询科室和医疗组的扩展信息 * * @param request - QueryDepartmentExtendInfoRequest * @param headers - QueryDepartmentExtendInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryDepartmentExtendInfoResponse */ async queryDepartmentExtendInfoWithOptions(request: QueryDepartmentExtendInfoRequest, headers: QueryDepartmentExtendInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptCode)) { query["deptCode"] = request.deptCode; } if (!Util.isUnset(request.propCode)) { query["propCode"] = request.propCode; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryDepartmentExtendInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/departments/extensions/infos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryDepartmentExtendInfoResponse({})); } /** * 查询科室和医疗组的扩展信息 * * @param request - QueryDepartmentExtendInfoRequest * @returns QueryDepartmentExtendInfoResponse */ async queryDepartmentExtendInfo(request: QueryDepartmentExtendInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryDepartmentExtendInfoHeaders({ }); return await this.queryDepartmentExtendInfoWithOptions(request, headers, runtime); } /** * 查询部门详情 * * @param headers - QueryDepartmentInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryDepartmentInfoResponse */ async queryDepartmentInfoWithOptions(deptId: string, headers: QueryDepartmentInfoHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryDepartmentInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/departments/${deptId}`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryDepartmentInfoResponse({})); } /** * 查询部门详情 * @returns QueryDepartmentInfoResponse */ async queryDepartmentInfo(deptId: string): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryDepartmentInfoHeaders({ }); return await this.queryDepartmentInfoWithOptions(deptId, headers, runtime); } /** * 通过工号查询人员信息 * * @param request - QueryDoctorDetailsByJobNumberRequest * @param headers - QueryDoctorDetailsByJobNumberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryDoctorDetailsByJobNumberResponse */ async queryDoctorDetailsByJobNumberWithOptions(jobNumber: string, request: QueryDoctorDetailsByJobNumberRequest, headers: QueryDoctorDetailsByJobNumberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.monthMark)) { query["monthMark"] = request.monthMark; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryDoctorDetailsByJobNumber", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/doctors/${jobNumber}`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryDoctorDetailsByJobNumberResponse({})); } /** * 通过工号查询人员信息 * * @param request - QueryDoctorDetailsByJobNumberRequest * @returns QueryDoctorDetailsByJobNumberResponse */ async queryDoctorDetailsByJobNumber(jobNumber: string, request: QueryDoctorDetailsByJobNumberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryDoctorDetailsByJobNumberHeaders({ }); return await this.queryDoctorDetailsByJobNumberWithOptions(jobNumber, request, headers, runtime); } /** * 获取医疗组详情 * * @param headers - QueryGroupInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryGroupInfoResponse */ async queryGroupInfoWithOptions(groupId: string, headers: QueryGroupInfoHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryGroupInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/groups/${groupId}`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryGroupInfoResponse({})); } /** * 获取医疗组详情 * @returns QueryGroupInfoResponse */ async queryGroupInfo(groupId: string): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryGroupInfoHeaders({ }); return await this.queryGroupInfoWithOptions(groupId, headers, runtime); } /** * 查询医院的院区和病区信息 * * @param request - QueryHospitalDistrictInfoRequest * @param headers - QueryHospitalDistrictInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryHospitalDistrictInfoResponse */ async queryHospitalDistrictInfoWithOptions(request: QueryHospitalDistrictInfoRequest, headers: QueryHospitalDistrictInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryHospitalDistrictInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/districts`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryHospitalDistrictInfoResponse({})); } /** * 查询医院的院区和病区信息 * * @param request - QueryHospitalDistrictInfoRequest * @returns QueryHospitalDistrictInfoResponse */ async queryHospitalDistrictInfo(request: QueryHospitalDistrictInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryHospitalDistrictInfoHeaders({ }); return await this.queryHospitalDistrictInfoWithOptions(request, headers, runtime); } /** * 查询医院所有角色的人员 * * @param request - QueryHospitalRoleUserInfoRequest * @param headers - QueryHospitalRoleUserInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryHospitalRoleUserInfoResponse */ async queryHospitalRoleUserInfoWithOptions(request: QueryHospitalRoleUserInfoRequest, headers: QueryHospitalRoleUserInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryHospitalRoleUserInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/roles/userInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryHospitalRoleUserInfoResponse({})); } /** * 查询医院所有角色的人员 * * @param request - QueryHospitalRoleUserInfoRequest * @returns QueryHospitalRoleUserInfoResponse */ async queryHospitalRoleUserInfo(request: QueryHospitalRoleUserInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryHospitalRoleUserInfoHeaders({ }); return await this.queryHospitalRoleUserInfoWithOptions(request, headers, runtime); } /** * 查询医院的角色 * * @param headers - QueryHospitalRolesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryHospitalRolesResponse */ async queryHospitalRolesWithOptions(headers: QueryHospitalRolesHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryHospitalRoles", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/roles`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryHospitalRolesResponse({})); } /** * 查询医院的角色 * @returns QueryHospitalRolesResponse */ async queryHospitalRoles(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryHospitalRolesHeaders({ }); return await this.queryHospitalRolesWithOptions(headers, runtime); } /** * 查询职称字典表 * * @param headers - QueryJobCodeDictionaryHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryJobCodeDictionaryResponse */ async queryJobCodeDictionaryWithOptions(headers: QueryJobCodeDictionaryHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryJobCodeDictionary", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/jobCodes`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "json", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryJobCodeDictionaryResponse({})); } /** * 查询职称字典表 * @returns QueryJobCodeDictionaryResponse */ async queryJobCodeDictionary(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryJobCodeDictionaryHeaders({ }); return await this.queryJobCodeDictionaryWithOptions(headers, runtime); } /** * 查询工作状态字典表 * * @param headers - QueryJobStatusCodeDictionaryHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryJobStatusCodeDictionaryResponse */ async queryJobStatusCodeDictionaryWithOptions(headers: QueryJobStatusCodeDictionaryHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryJobStatusCodeDictionary", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/jobStatusCodes`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "json", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryJobStatusCodeDictionaryResponse({})); } /** * 查询工作状态字典表 * @returns QueryJobStatusCodeDictionaryResponse */ async queryJobStatusCodeDictionary(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryJobStatusCodeDictionaryHeaders({ }); return await this.queryJobStatusCodeDictionaryWithOptions(headers, runtime); } /** * 查询医疗行业事件 * * @param headers - QueryMedicalEventsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryMedicalEventsResponse */ async queryMedicalEventsWithOptions(headers: QueryMedicalEventsHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryMedicalEvents", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/events`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryMedicalEventsResponse({})); } /** * 查询医疗行业事件 * @returns QueryMedicalEventsResponse */ async queryMedicalEvents(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryMedicalEventsHeaders({ }); return await this.queryMedicalEventsWithOptions(headers, runtime); } /** * 查询订单转换结果 * * @param request - QueryOrderConvertResultRequest * @param headers - QueryOrderConvertResultHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryOrderConvertResultResponse */ async queryOrderConvertResultWithOptions(request: QueryOrderConvertResultRequest, headers: QueryOrderConvertResultHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.contentSearch)) { body["contentSearch"] = request.contentSearch; } if (!Util.isUnset(request.createTimeEnd)) { body["createTimeEnd"] = request.createTimeEnd; } if (!Util.isUnset(request.createTimeStart)) { body["createTimeStart"] = request.createTimeStart; } if (!Util.isUnset(request.pageNo)) { body["pageNo"] = request.pageNo; } if (!Util.isUnset(request.pageSize)) { body["pageSize"] = request.pageSize; } if (!Util.isUnset(request.status)) { body["status"] = request.status; } if (!Util.isUnset(request.title)) { body["title"] = request.title; } if (!Util.isUnset(request.userId)) { body["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "QueryOrderConvertResult", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/order/convert/list`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryOrderConvertResultResponse({})); } /** * 查询订单转换结果 * * @param request - QueryOrderConvertResultRequest * @returns QueryOrderConvertResultResponse */ async queryOrderConvertResult(request: QueryOrderConvertResultRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryOrderConvertResultHeaders({ }); return await this.queryOrderConvertResultWithOptions(request, headers, runtime); } /** * 查询用户的证书 * * @param request - QueryUserCredentialsRequest * @param headers - QueryUserCredentialsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserCredentialsResponse */ async queryUserCredentialsWithOptions(request: QueryUserCredentialsRequest, headers: QueryUserCredentialsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.userIds)) { body["userIds"] = request.userIds; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "QueryUserCredentials", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/credentials/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryUserCredentialsResponse({})); } /** * 查询用户的证书 * * @param request - QueryUserCredentialsRequest * @returns QueryUserCredentialsResponse */ async queryUserCredentials(request: QueryUserCredentialsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryUserCredentialsHeaders({ }); return await this.queryUserCredentialsWithOptions(request, headers, runtime); } /** * 查询人员的扩展信息 * * @param headers - QueryUserExtInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserExtInfoResponse */ async queryUserExtInfoWithOptions(userId: string, headers: QueryUserExtInfoHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryUserExtInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/${userId}/extInfos`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryUserExtInfoResponse({})); } /** * 查询人员的扩展信息 * @returns QueryUserExtInfoResponse */ async queryUserExtInfo(userId: string): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryUserExtInfoHeaders({ }); return await this.queryUserExtInfoWithOptions(userId, headers, runtime); } /** * 获取用户拓展字段 * * @param request - QueryUserExtendValuesRequest * @param headers - QueryUserExtendValuesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserExtendValuesResponse */ async queryUserExtendValuesWithOptions(request: QueryUserExtendValuesRequest, headers: QueryUserExtendValuesHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.userExtendKey)) { body["userExtendKey"] = request.userExtendKey; } if (!Util.isUnset(request.userIds)) { body["userIds"] = request.userIds; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "QueryUserExtendValues", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/extends/query`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryUserExtendValuesResponse({})); } /** * 获取用户拓展字段 * * @param request - QueryUserExtendValuesRequest * @returns QueryUserExtendValuesResponse */ async queryUserExtendValues(request: QueryUserExtendValuesRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryUserExtendValuesHeaders({ }); return await this.queryUserExtendValuesWithOptions(request, headers, runtime); } /** * 查询人员详情 * * @param request - QueryUserInfoRequest * @param headers - QueryUserInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserInfoResponse */ async queryUserInfoWithOptions(userId: string, request: QueryUserInfoRequest, headers: QueryUserInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.monthMark)) { query["monthMark"] = request.monthMark; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "QueryUserInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/${userId}`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryUserInfoResponse({})); } /** * 查询人员详情 * * @param request - QueryUserInfoRequest * @returns QueryUserInfoResponse */ async queryUserInfo(userId: string, request: QueryUserInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryUserInfoHeaders({ }); return await this.queryUserInfoWithOptions(userId, request, headers, runtime); } /** * 查询人员属性字典表 * * @param headers - QueryUserProbCodeDictionaryHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserProbCodeDictionaryResponse */ async queryUserProbCodeDictionaryWithOptions(headers: QueryUserProbCodeDictionaryHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryUserProbCodeDictionary", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/userProbCodes`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "json", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryUserProbCodeDictionaryResponse({})); } /** * 查询人员属性字典表 * @returns QueryUserProbCodeDictionaryResponse */ async queryUserProbCodeDictionary(): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryUserProbCodeDictionaryHeaders({ }); return await this.queryUserProbCodeDictionaryWithOptions(headers, runtime); } /** * 查询人员权限 * * @param headers - QueryUserRolesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns QueryUserRolesResponse */ async queryUserRolesWithOptions(userId: string, headers: QueryUserRolesHeaders, runtime: $Util.RuntimeOptions): Promise { let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, }); let params = new $OpenApi.Params({ action: "QueryUserRoles", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/${userId}/roles`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "json", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new QueryUserRolesResponse({})); } /** * 查询人员权限 * @returns QueryUserRolesResponse */ async queryUserRoles(userId: string): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new QueryUserRolesHeaders({ }); return await this.queryUserRolesWithOptions(userId, headers, runtime); } /** * 保存用户拓展字段 * * @param request - SaveUserExtendValuesRequest * @param headers - SaveUserExtendValuesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SaveUserExtendValuesResponse */ async saveUserExtendValuesWithOptions(userId: string, request: SaveUserExtendValuesRequest, headers: SaveUserExtendValuesHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.userDisplayName)) { query["userDisplayName"] = request.userDisplayName; } if (!Util.isUnset(request.userExtendKey)) { query["userExtendKey"] = request.userExtendKey; } if (!Util.isUnset(request.userExtendValue)) { query["userExtendValue"] = request.userExtendValue; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SaveUserExtendValues", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/${userId}/extends`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SaveUserExtendValuesResponse({})); } /** * 保存用户拓展字段 * * @param request - SaveUserExtendValuesRequest * @returns SaveUserExtendValuesResponse */ async saveUserExtendValues(userId: string, request: SaveUserExtendValuesRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SaveUserExtendValuesHeaders({ }); return await this.saveUserExtendValuesWithOptions(userId, request, headers, runtime); } /** * 提交ai解析任务 * * @param request - SubmitTaskRequest * @param headers - SubmitTaskHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTaskResponse */ async submitTaskWithOptions(request: SubmitTaskRequest, headers: SubmitTaskHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.bizCode)) { body["bizCode"] = request.bizCode; } if (!Util.isUnset(request.data)) { body["data"] = request.data; } if (!Util.isUnset(request.unionId)) { body["unionId"] = request.unionId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "SubmitTask", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/tasks/submit`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SubmitTaskResponse({})); } /** * 提交ai解析任务 * * @param request - SubmitTaskRequest * @returns SubmitTaskResponse */ async submitTask(request: SubmitTaskRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SubmitTaskHeaders({ }); return await this.submitTaskWithOptions(request, headers, runtime); } /** * submitTaskPackage * * @param request - SubmitTaskPackageRequest * @param headers - SubmitTaskPackageHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTaskPackageResponse */ async submitTaskPackageWithOptions(request: SubmitTaskPackageRequest, headers: SubmitTaskPackageHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.appId)) { body["appId"] = request.appId; } if (!Util.isUnset(request.appSecret)) { body["appSecret"] = request.appSecret; } if (!Util.isUnset(request.bizCode)) { body["bizCode"] = request.bizCode; } if (!Util.isUnset(request.data)) { body["data"] = request.data; } if (!Util.isUnset(request.desc)) { body["desc"] = request.desc; } if (!Util.isUnset(request.fileType)) { body["fileType"] = request.fileType; } if (!Util.isUnset(request.taskPackageName)) { body["taskPackageName"] = request.taskPackageName; } if (!Util.isUnset(request.unionId)) { body["unionId"] = request.unionId; } if (!Util.isUnset(request.version)) { body["version"] = request.version; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "SubmitTaskPackage", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/ai/taskPackages/submit`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SubmitTaskPackageResponse({})); } /** * submitTaskPackage * * @param request - SubmitTaskPackageRequest * @returns SubmitTaskPackageResponse */ async submitTaskPackage(request: SubmitTaskPackageRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SubmitTaskPackageHeaders({ }); return await this.submitTaskPackageWithOptions(request, headers, runtime); } /** * 增加角色或角色组 * * @param request - SupplAddRoleRequest * @param headers - SupplAddRoleHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplAddRoleResponse */ async supplAddRoleWithOptions(request: SupplAddRoleRequest, headers: SupplAddRoleHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.parentRoleGroupId)) { query["parentRoleGroupId"] = request.parentRoleGroupId; } if (!Util.isUnset(request.roleName)) { query["roleName"] = request.roleName; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplAddRole", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/roles`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplAddRoleResponse({})); } /** * 增加角色或角色组 * * @param request - SupplAddRoleRequest * @returns SupplAddRoleResponse */ async supplAddRole(request: SupplAddRoleRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplAddRoleHeaders({ }); return await this.supplAddRoleWithOptions(request, headers, runtime); } /** * 新增供应链节点 * * @param request - SupplyAddDeptRequest * @param headers - SupplyAddDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyAddDeptResponse */ async supplyAddDeptWithOptions(request: SupplyAddDeptRequest, headers: SupplyAddDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptName)) { query["deptName"] = request.deptName; } if (!Util.isUnset(request.partnerNumber)) { query["partnerNumber"] = request.partnerNumber; } if (!Util.isUnset(request.superDeptId)) { query["superDeptId"] = request.superDeptId; } if (!Util.isUnset(request.supplyDeptType)) { query["supplyDeptType"] = request.supplyDeptType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyAddDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/departments`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyAddDeptResponse({})); } /** * 新增供应链节点 * * @param request - SupplyAddDeptRequest * @returns SupplyAddDeptResponse */ async supplyAddDept(request: SupplyAddDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyAddDeptHeaders({ }); return await this.supplyAddDeptWithOptions(request, headers, runtime); } /** * 添加供应商人员 * * @param request - SupplyAddMemberRequest * @param headers - SupplyAddMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyAddMemberResponse */ async supplyAddMemberWithOptions(request: SupplyAddMemberRequest, headers: SupplyAddMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.isPartnerManager)) { query["isPartnerManager"] = request.isPartnerManager; } if (!Util.isUnset(request.memberMobile)) { query["memberMobile"] = request.memberMobile; } if (!Util.isUnset(request.memberName)) { query["memberName"] = request.memberName; } if (!Util.isUnset(request.memberTitle)) { query["memberTitle"] = request.memberTitle; } if (!Util.isUnset(request.memberWorkNumber)) { query["memberWorkNumber"] = request.memberWorkNumber; } if (!Util.isUnset(request.supplyDeptId)) { query["supplyDeptId"] = request.supplyDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyAddMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/members`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyAddMemberResponse({})); } /** * 添加供应商人员 * * @param request - SupplyAddMemberRequest * @returns SupplyAddMemberResponse */ async supplyAddMember(request: SupplyAddMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyAddMemberHeaders({ }); return await this.supplyAddMemberWithOptions(request, headers, runtime); } /** * 添加伙伴负责人 * * @param request - SupplyAddPartnerAdminsRequest * @param headers - SupplyAddPartnerAdminsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyAddPartnerAdminsResponse */ async supplyAddPartnerAdminsWithOptions(request: SupplyAddPartnerAdminsRequest, headers: SupplyAddPartnerAdminsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyAddPartnerAdmins", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerAdministrators`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyAddPartnerAdminsResponse({})); } /** * 添加伙伴负责人 * * @param request - SupplyAddPartnerAdminsRequest * @returns SupplyAddPartnerAdminsResponse */ async supplyAddPartnerAdmins(request: SupplyAddPartnerAdminsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyAddPartnerAdminsHeaders({ }); return await this.supplyAddPartnerAdminsWithOptions(request, headers, runtime); } /** * 添加伙伴的对接人或对接部门 * * @param request - SupplyAddPartnerManagersRequest * @param headers - SupplyAddPartnerManagersHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyAddPartnerManagersResponse */ async supplyAddPartnerManagersWithOptions(request: SupplyAddPartnerManagersRequest, headers: SupplyAddPartnerManagersHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.interfaceId)) { query["interfaceId"] = request.interfaceId; } if (!Util.isUnset(request.interfaceType)) { query["interfaceType"] = request.interfaceType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyAddPartnerManagers", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerInterfaces`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyAddPartnerManagersResponse({})); } /** * 添加伙伴的对接人或对接部门 * * @param request - SupplyAddPartnerManagersRequest * @returns SupplyAddPartnerManagersResponse */ async supplyAddPartnerManagers(request: SupplyAddPartnerManagersRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyAddPartnerManagersHeaders({ }); return await this.supplyAddPartnerManagersWithOptions(request, headers, runtime); } /** * 添加伙伴标签 * * @param request - SupplyAddPartnerTypeRequest * @param headers - SupplyAddPartnerTypeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyAddPartnerTypeResponse */ async supplyAddPartnerTypeWithOptions(request: SupplyAddPartnerTypeRequest, headers: SupplyAddPartnerTypeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.name)) { query["name"] = request.name; } if (!Util.isUnset(request.superId)) { query["superId"] = request.superId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyAddPartnerType", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerLabels`, method: "POST", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyAddPartnerTypeResponse({})); } /** * 添加伙伴标签 * * @param request - SupplyAddPartnerTypeRequest * @returns SupplyAddPartnerTypeResponse */ async supplyAddPartnerType(request: SupplyAddPartnerTypeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyAddPartnerTypeHeaders({ }); return await this.supplyAddPartnerTypeWithOptions(request, headers, runtime); } /** * 删除上下游节点 * * @param request - SupplyChainDeleteDeptRequest * @param headers - SupplyChainDeleteDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyChainDeleteDeptResponse */ async supplyChainDeleteDeptWithOptions(request: SupplyChainDeleteDeptRequest, headers: SupplyChainDeleteDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.supplyDeptId)) { query["supplyDeptId"] = request.supplyDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyChainDeleteDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/departments`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyChainDeleteDeptResponse({})); } /** * 删除上下游节点 * * @param request - SupplyChainDeleteDeptRequest * @returns SupplyChainDeleteDeptResponse */ async supplyChainDeleteDept(request: SupplyChainDeleteDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyChainDeleteDeptHeaders({ }); return await this.supplyChainDeleteDeptWithOptions(request, headers, runtime); } /** * 查询上下游节点信息 * * @param request - SupplyChainQueryDeptInfoRequest * @param headers - SupplyChainQueryDeptInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyChainQueryDeptInfoResponse */ async supplyChainQueryDeptInfoWithOptions(request: SupplyChainQueryDeptInfoRequest, headers: SupplyChainQueryDeptInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.supplyDeptId)) { query["supplyDeptId"] = request.supplyDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyChainQueryDeptInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/departments`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyChainQueryDeptInfoResponse({})); } /** * 查询上下游节点信息 * * @param request - SupplyChainQueryDeptInfoRequest * @returns SupplyChainQueryDeptInfoResponse */ async supplyChainQueryDeptInfo(request: SupplyChainQueryDeptInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyChainQueryDeptInfoHeaders({ }); return await this.supplyChainQueryDeptInfoWithOptions(request, headers, runtime); } /** * 更新上下游节点信息 * * @param request - SupplyChainUpdateDeptInfoRequest * @param headers - SupplyChainUpdateDeptInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyChainUpdateDeptInfoResponse */ async supplyChainUpdateDeptInfoWithOptions(request: SupplyChainUpdateDeptInfoRequest, headers: SupplyChainUpdateDeptInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.name)) { body["name"] = request.name; } if (!Util.isUnset(request.partnerNumber)) { body["partnerNumber"] = request.partnerNumber; } if (!Util.isUnset(request.partnerTypeList)) { body["partnerTypeList"] = request.partnerTypeList; } if (!Util.isUnset(request.superId)) { body["superId"] = request.superId; } if (!Util.isUnset(request.supplyDeptId)) { body["supplyDeptId"] = request.supplyDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "SupplyChainUpdateDeptInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/departments`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyChainUpdateDeptInfoResponse({})); } /** * 更新上下游节点信息 * * @param request - SupplyChainUpdateDeptInfoRequest * @returns SupplyChainUpdateDeptInfoResponse */ async supplyChainUpdateDeptInfo(request: SupplyChainUpdateDeptInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyChainUpdateDeptInfoHeaders({ }); return await this.supplyChainUpdateDeptInfoWithOptions(request, headers, runtime); } /** * 删除伙伴成员 * * @param request - SupplyDeleteMemberRequest * @param headers - SupplyDeleteMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyDeleteMemberResponse */ async supplyDeleteMemberWithOptions(request: SupplyDeleteMemberRequest, headers: SupplyDeleteMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.mobile)) { query["mobile"] = request.mobile; } if (!Util.isUnset(request.unionId)) { query["unionId"] = request.unionId; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyDeleteMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/members`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyDeleteMemberResponse({})); } /** * 删除伙伴成员 * * @param request - SupplyDeleteMemberRequest * @returns SupplyDeleteMemberResponse */ async supplyDeleteMember(request: SupplyDeleteMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyDeleteMemberHeaders({ }); return await this.supplyDeleteMemberWithOptions(request, headers, runtime); } /** * 删除伙伴负责人 * * @param request - SupplyDeletePartnerAdminsRequest * @param headers - SupplyDeletePartnerAdminsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyDeletePartnerAdminsResponse */ async supplyDeletePartnerAdminsWithOptions(request: SupplyDeletePartnerAdminsRequest, headers: SupplyDeletePartnerAdminsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyDeletePartnerAdmins", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerAdministrators`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyDeletePartnerAdminsResponse({})); } /** * 删除伙伴负责人 * * @param request - SupplyDeletePartnerAdminsRequest * @returns SupplyDeletePartnerAdminsResponse */ async supplyDeletePartnerAdmins(request: SupplyDeletePartnerAdminsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyDeletePartnerAdminsHeaders({ }); return await this.supplyDeletePartnerAdminsWithOptions(request, headers, runtime); } /** * 移除伙伴的对接人或对接部门 * * @param request - SupplyDeletePartnerManagersRequest * @param headers - SupplyDeletePartnerManagersHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyDeletePartnerManagersResponse */ async supplyDeletePartnerManagersWithOptions(request: SupplyDeletePartnerManagersRequest, headers: SupplyDeletePartnerManagersHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } if (!Util.isUnset(request.interfaceId)) { query["interfaceId"] = request.interfaceId; } if (!Util.isUnset(request.interfaceType)) { query["interfaceType"] = request.interfaceType; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyDeletePartnerManagers", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerInterfaces`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyDeletePartnerManagersResponse({})); } /** * 移除伙伴的对接人或对接部门 * * @param request - SupplyDeletePartnerManagersRequest * @returns SupplyDeletePartnerManagersResponse */ async supplyDeletePartnerManagers(request: SupplyDeletePartnerManagersRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyDeletePartnerManagersHeaders({ }); return await this.supplyDeletePartnerManagersWithOptions(request, headers, runtime); } /** * 删除伙伴标签 * * @param request - SupplyDeletePartnerTypeRequest * @param headers - SupplyDeletePartnerTypeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyDeletePartnerTypeResponse */ async supplyDeletePartnerTypeWithOptions(request: SupplyDeletePartnerTypeRequest, headers: SupplyDeletePartnerTypeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.labelId)) { query["labelId"] = request.labelId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyDeletePartnerType", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerLabels`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyDeletePartnerTypeResponse({})); } /** * 删除伙伴标签 * * @param request - SupplyDeletePartnerTypeRequest * @returns SupplyDeletePartnerTypeResponse */ async supplyDeletePartnerType(request: SupplyDeletePartnerTypeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyDeletePartnerTypeHeaders({ }); return await this.supplyDeletePartnerTypeWithOptions(request, headers, runtime); } /** * 删除角色或角色组 * * @param request - SupplyDeleteRoleRequest * @param headers - SupplyDeleteRoleHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyDeleteRoleResponse */ async supplyDeleteRoleWithOptions(request: SupplyDeleteRoleRequest, headers: SupplyDeleteRoleHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.isRoleGroup)) { query["isRoleGroup"] = request.isRoleGroup; } if (!Util.isUnset(request.roleId)) { query["roleId"] = request.roleId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyDeleteRole", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/roles`, method: "DELETE", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyDeleteRoleResponse({})); } /** * 删除角色或角色组 * * @param request - SupplyDeleteRoleRequest * @returns SupplyDeleteRoleResponse */ async supplyDeleteRole(request: SupplyDeleteRoleRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyDeleteRoleHeaders({ }); return await this.supplyDeleteRoleWithOptions(request, headers, runtime); } /** * 获取供应链成员信息 * * @param request - SupplyGetMemberRequest * @param headers - SupplyGetMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyGetMemberResponse */ async supplyGetMemberWithOptions(request: SupplyGetMemberRequest, headers: SupplyGetMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.mobile)) { query["mobile"] = request.mobile; } if (!Util.isUnset(request.unionId)) { query["unionId"] = request.unionId; } if (!Util.isUnset(request.userId)) { query["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyGetMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/members`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyGetMemberResponse({})); } /** * 获取供应链成员信息 * * @param request - SupplyGetMemberRequest * @returns SupplyGetMemberResponse */ async supplyGetMember(request: SupplyGetMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyGetMemberHeaders({ }); return await this.supplyGetMemberWithOptions(request, headers, runtime); } /** * 获取供应链部门下成员 * * @param request - SupplyListDeptMembersRequest * @param headers - SupplyListDeptMembersHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyListDeptMembersResponse */ async supplyListDeptMembersWithOptions(request: SupplyListDeptMembersRequest, headers: SupplyListDeptMembersHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.pageNumber)) { query["pageNumber"] = request.pageNumber; } if (!Util.isUnset(request.pageSize)) { query["pageSize"] = request.pageSize; } if (!Util.isUnset(request.supplyDeptId)) { query["supplyDeptId"] = request.supplyDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyListDeptMembers", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/departments/members`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyListDeptMembersResponse({})); } /** * 获取供应链部门下成员 * * @param request - SupplyListDeptMembersRequest * @returns SupplyListDeptMembersResponse */ async supplyListDeptMembers(request: SupplyListDeptMembersRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyListDeptMembersHeaders({ }); return await this.supplyListDeptMembersWithOptions(request, headers, runtime); } /** * 获取伙伴负责人列表 * * @param request - SupplyListPartnerAdminsRequest * @param headers - SupplyListPartnerAdminsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyListPartnerAdminsResponse */ async supplyListPartnerAdminsWithOptions(request: SupplyListPartnerAdminsRequest, headers: SupplyListPartnerAdminsHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyListPartnerAdmins", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerAdministrators`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyListPartnerAdminsResponse({})); } /** * 获取伙伴负责人列表 * * @param request - SupplyListPartnerAdminsRequest * @returns SupplyListPartnerAdminsResponse */ async supplyListPartnerAdmins(request: SupplyListPartnerAdminsRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyListPartnerAdminsHeaders({ }); return await this.supplyListPartnerAdminsWithOptions(request, headers, runtime); } /** * 获取伙伴的对接人/对接部门 * * @param request - SupplyListPartnerManagersRequest * @param headers - SupplyListPartnerManagersHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyListPartnerManagersResponse */ async supplyListPartnerManagersWithOptions(request: SupplyListPartnerManagersRequest, headers: SupplyListPartnerManagersHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.deptId)) { query["deptId"] = request.deptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyListPartnerManagers", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerInterfaces`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyListPartnerManagersResponse({})); } /** * 获取伙伴的对接人/对接部门 * * @param request - SupplyListPartnerManagersRequest * @returns SupplyListPartnerManagersResponse */ async supplyListPartnerManagers(request: SupplyListPartnerManagersRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyListPartnerManagersHeaders({ }); return await this.supplyListPartnerManagersWithOptions(request, headers, runtime); } /** * 查询下级伙伴标签 * * @param request - SupplyListPartnerTypeRequest * @param headers - SupplyListPartnerTypeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyListPartnerTypeResponse */ async supplyListPartnerTypeWithOptions(request: SupplyListPartnerTypeRequest, headers: SupplyListPartnerTypeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.labelId)) { query["labelId"] = request.labelId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyListPartnerType", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerLabels/subLabels`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyListPartnerTypeResponse({})); } /** * 查询下级伙伴标签 * * @param request - SupplyListPartnerTypeRequest * @returns SupplyListPartnerTypeResponse */ async supplyListPartnerType(request: SupplyListPartnerTypeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyListPartnerTypeHeaders({ }); return await this.supplyListPartnerTypeWithOptions(request, headers, runtime); } /** * 查询角色组或角色 * * @param request - SupplyListRoleRequest * @param headers - SupplyListRoleHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyListRoleResponse */ async supplyListRoleWithOptions(request: SupplyListRoleRequest, headers: SupplyListRoleHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.parentRoleId)) { query["parentRoleId"] = request.parentRoleId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyListRole", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/roles`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyListRoleResponse({})); } /** * 查询角色组或角色 * * @param request - SupplyListRoleRequest * @returns SupplyListRoleResponse */ async supplyListRole(request: SupplyListRoleRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyListRoleHeaders({ }); return await this.supplyListRoleWithOptions(request, headers, runtime); } /** * 查询下级节点列表 * * @param request - SupplyListSubDeptRequest * @param headers - SupplyListSubDeptHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyListSubDeptResponse */ async supplyListSubDeptWithOptions(request: SupplyListSubDeptRequest, headers: SupplyListSubDeptHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.supplyDeptId)) { query["supplyDeptId"] = request.supplyDeptId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyListSubDept", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/subDepartments`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyListSubDeptResponse({})); } /** * 查询下级节点列表 * * @param request - SupplyListSubDeptRequest * @returns SupplyListSubDeptResponse */ async supplyListSubDept(request: SupplyListSubDeptRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyListSubDeptHeaders({ }); return await this.supplyListSubDeptWithOptions(request, headers, runtime); } /** * 查询伙伴标签 * * @param request - SupplyQueryPartnerTypeRequest * @param headers - SupplyQueryPartnerTypeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyQueryPartnerTypeResponse */ async supplyQueryPartnerTypeWithOptions(request: SupplyQueryPartnerTypeRequest, headers: SupplyQueryPartnerTypeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.labelId)) { query["labelId"] = request.labelId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyQueryPartnerType", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerLabels`, method: "GET", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyQueryPartnerTypeResponse({})); } /** * 查询伙伴标签 * * @param request - SupplyQueryPartnerTypeRequest * @returns SupplyQueryPartnerTypeResponse */ async supplyQueryPartnerType(request: SupplyQueryPartnerTypeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyQueryPartnerTypeHeaders({ }); return await this.supplyQueryPartnerTypeWithOptions(request, headers, runtime); } /** * 更新供应商人员信息 * * @param request - SupplyUpdateMemberRequest * @param headers - SupplyUpdateMemberHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyUpdateMemberResponse */ async supplyUpdateMemberWithOptions(request: SupplyUpdateMemberRequest, headers: SupplyUpdateMemberHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.isCopyDept)) { body["isCopyDept"] = request.isCopyDept; } if (!Util.isUnset(request.memberTitle)) { body["memberTitle"] = request.memberTitle; } if (!Util.isUnset(request.memberWorkNumber)) { body["memberWorkNumber"] = request.memberWorkNumber; } if (!Util.isUnset(request.mobile)) { body["mobile"] = request.mobile; } if (!Util.isUnset(request.newDeptId)) { body["newDeptId"] = request.newDeptId; } if (!Util.isUnset(request.oldDeptId)) { body["oldDeptId"] = request.oldDeptId; } if (!Util.isUnset(request.roleIdList)) { body["roleIdList"] = request.roleIdList; } if (!Util.isUnset(request.unionId)) { body["unionId"] = request.unionId; } if (!Util.isUnset(request.userId)) { body["userId"] = request.userId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "SupplyUpdateMember", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/members`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyUpdateMemberResponse({})); } /** * 更新供应商人员信息 * * @param request - SupplyUpdateMemberRequest * @returns SupplyUpdateMemberResponse */ async supplyUpdateMember(request: SupplyUpdateMemberRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyUpdateMemberHeaders({ }); return await this.supplyUpdateMemberWithOptions(request, headers, runtime); } /** * 更新伙伴标签 * * @param request - SupplyUpdatePartnerTypeRequest * @param headers - SupplyUpdatePartnerTypeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyUpdatePartnerTypeResponse */ async supplyUpdatePartnerTypeWithOptions(request: SupplyUpdatePartnerTypeRequest, headers: SupplyUpdatePartnerTypeHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.labelId)) { query["labelId"] = request.labelId; } if (!Util.isUnset(request.name)) { query["name"] = request.name; } if (!Util.isUnset(request.superId)) { query["superId"] = request.superId; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyUpdatePartnerType", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/partnerLabels`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyUpdatePartnerTypeResponse({})); } /** * 更新伙伴标签 * * @param request - SupplyUpdatePartnerTypeRequest * @returns SupplyUpdatePartnerTypeResponse */ async supplyUpdatePartnerType(request: SupplyUpdatePartnerTypeRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyUpdatePartnerTypeHeaders({ }); return await this.supplyUpdatePartnerTypeWithOptions(request, headers, runtime); } /** * 更新角色或角色组 * * @param request - SupplyUpdateRoleRequest * @param headers - SupplyUpdateRoleHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SupplyUpdateRoleResponse */ async supplyUpdateRoleWithOptions(request: SupplyUpdateRoleRequest, headers: SupplyUpdateRoleHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let query : {[key: string ]: any} = { }; if (!Util.isUnset(request.isRoleGroup)) { query["isRoleGroup"] = request.isRoleGroup; } if (!Util.isUnset(request.roleId)) { query["roleId"] = request.roleId; } if (!Util.isUnset(request.roleName)) { query["roleName"] = request.roleName; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, query: OpenApiUtil.query(query), }); let params = new $OpenApi.Params({ action: "SupplyUpdateRole", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/supplyChains/roles`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "none", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new SupplyUpdateRoleResponse({})); } /** * 更新角色或角色组 * * @param request - SupplyUpdateRoleRequest * @returns SupplyUpdateRoleResponse */ async supplyUpdateRole(request: SupplyUpdateRoleRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new SupplyUpdateRoleHeaders({ }); return await this.supplyUpdateRoleWithOptions(request, headers, runtime); } /** * 更新医疗用户扩展信息 * * @param request - UpdateUserExtendInfoRequest * @param headers - UpdateUserExtendInfoHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateUserExtendInfoResponse */ async updateUserExtendInfoWithOptions(userId: string, request: UpdateUserExtendInfoRequest, headers: UpdateUserExtendInfoHeaders, runtime: $Util.RuntimeOptions): Promise { Util.validateModel(request); let body : {[key: string ]: any} = { }; if (!Util.isUnset(request.comments)) { body["comments"] = request.comments; } if (!Util.isUnset(request.jobCode)) { body["jobCode"] = request.jobCode; } if (!Util.isUnset(request.jobStatusCode)) { body["jobStatusCode"] = request.jobStatusCode; } if (!Util.isUnset(request.userProbCode)) { body["userProbCode"] = request.userProbCode; } let realHeaders : {[key: string ]: string} = { }; if (!Util.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) { realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken); } let req = new $OpenApi.OpenApiRequest({ headers: realHeaders, body: OpenApiUtil.parseToMap(body), }); let params = new $OpenApi.Params({ action: "UpdateUserExtendInfo", version: "industry_1.0", protocol: "HTTP", pathname: `/v1.0/industry/medicals/users/${userId}/extInfos`, method: "PUT", authType: "AK", style: "ROA", reqBodyType: "json", bodyType: "json", }); return $tea.cast(await this.execute(params, req, runtime), new UpdateUserExtendInfoResponse({})); } /** * 更新医疗用户扩展信息 * * @param request - UpdateUserExtendInfoRequest * @returns UpdateUserExtendInfoResponse */ async updateUserExtendInfo(userId: string, request: UpdateUserExtendInfoRequest): Promise { let runtime = new $Util.RuntimeOptions({ }); let headers = new UpdateUserExtendInfoHeaders({ }); return await this.updateUserExtendInfoWithOptions(userId, request, headers, runtime); } }