/** */ import * as $Util from '@alicloud/tea-util'; import OpenApi, * as $OpenApi from '@alicloud/openapi-client'; import * as $tea from '@alicloud/tea-typescript'; export declare class AddTeamHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * team_name */ name?: string; option?: AddTeamRequestOption; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamResponseBody extends $tea.Model { team?: AddTeamResponseBodyTeam; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: AddTeamResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * workspace_name */ name?: string; option?: AddWorkspaceRequestOption; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceResponseBody extends $tea.Model { workspace?: AddWorkspaceResponseBodyWorkspace; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: AddWorkspaceResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspacesManagerHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspacesManagerRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * [1] */ userIds?: string[]; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; /** * @remarks * This parameter is required. * * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspacesManagerResponseBody extends $tea.Model { /** * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspacesManagerResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: AddWorkspacesManagerResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class DeleteTeamHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class DeleteTeamRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class DeleteTeamResponseBody extends $tea.Model { /** * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class DeleteTeamResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: DeleteTeamResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetDefaultHandOverUserHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetDefaultHandOverUserRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetDefaultHandOverUserResponseBody extends $tea.Model { /** * @example * staff_id */ defaultHandoverUserId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetDefaultHandOverUserResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetDefaultHandOverUserResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetMineWorkspaceHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetMineWorkspaceRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetMineWorkspaceResponseBody extends $tea.Model { workspace?: GetMineWorkspaceResponseBodyWorkspace; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetMineWorkspaceResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetMineWorkspaceResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; /** * @example * false */ withPermissionRole?: boolean; /** * @example * false */ withStatisticalInfo?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeResponseBody extends $tea.Model { node?: GetNodeResponseBodyNode; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetNodeResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlRequest extends $tea.Model { option?: GetNodeByUrlRequestOption; /** * @remarks * This parameter is required. * * @example * node_url */ url?: string; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlResponseBody extends $tea.Model { node?: GetNodeByUrlResponseBodyNode; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetNodeByUrlResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesRequest extends $tea.Model { /** * @remarks * This parameter is required. */ nodeIds?: string[]; option?: GetNodesRequestOption; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesResponseBody extends $tea.Model { nodes?: GetNodesResponseBodyNodes[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetNodesResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetTeamHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetTeamRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetTeamResponseBody extends $tea.Model { team?: GetTeamResponseBodyTeam; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetTeamResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetTeamResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspaceHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspaceRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; /** * @example * false */ withPermissionRole?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspaceResponseBody extends $tea.Model { workspace?: GetWorkspaceResponseBodyWorkspace; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspaceResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetWorkspaceResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesRequest extends $tea.Model { option?: GetWorkspacesRequestOption; /** * @remarks * This parameter is required. */ workspaceIds?: string[]; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesResponseBody extends $tea.Model { workspaces?: GetWorkspacesResponseBodyWorkspaces[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: GetWorkspacesResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class HandOverWorkspaceHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class HandOverWorkspaceRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * source_owner_id */ sourceOwnerId?: string; /** * @remarks * This parameter is required. * * @example * source_owner_id */ targetOwnerId?: string; /** * @remarks * This parameter is required. * * @example * workspace_id */ workspaceId?: string; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class HandOverWorkspaceResponseBody extends $tea.Model { /** * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class HandOverWorkspaceResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: HandOverWorkspaceResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListNodesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListNodesRequest extends $tea.Model { /** * @example * 30 */ maxResults?: number; /** * @example * next_token */ nextToken?: string; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; /** * @remarks * This parameter is required. * * @example * parent_node_id */ parentNodeId?: string; /** * @example * false */ withPermissionRole?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListNodesResponseBody extends $tea.Model { /** * @example * next_token */ nextToken?: string; nodes?: ListNodesResponseBodyNodes[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListNodesResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: ListNodesResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListOrgWorkspacesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListOrgWorkspacesRequest extends $tea.Model { /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; /** * @example * 1 */ pageNumber?: number; /** * @example * 10 */ pageSize?: number; /** * @example * 0 */ status?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListOrgWorkspacesResponseBody extends $tea.Model { pageNumber?: number; pageSize?: number; workspaces?: ListOrgWorkspacesResponseBodyWorkspaces[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListOrgWorkspacesResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: ListOrgWorkspacesResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListTeamsHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListTeamsRequest extends $tea.Model { /** * @example * 30 */ maxResults?: number; /** * @example * next_token */ nextToken?: string; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListTeamsResponseBody extends $tea.Model { /** * @example * next_token */ nextToken?: string; teams?: ListTeamsResponseBodyTeams[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListTeamsResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: ListTeamsResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListWorkspacesHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListWorkspacesRequest extends $tea.Model { /** * @example * 30 */ maxResults?: number; /** * @example * next_token */ nextToken?: string; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; /** * @example * VIEW_TIME_DESC */ orderBy?: string; /** * @example * team_id */ teamId?: string; /** * @example * false */ withPermissionRole?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListWorkspacesResponseBody extends $tea.Model { /** * @example * next_token */ nextToken?: string; workspaces?: ListWorkspacesResponseBodyWorkspaces[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListWorkspacesResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: ListWorkspacesResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SetDefaultHandOverUserHeaders extends $tea.Model { commonHeaders?: { [key: string]: string; }; xAcsDingtalkAccessToken?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SetDefaultHandOverUserRequest extends $tea.Model { /** * @example * staff_id */ defaultHandoverUserId?: string; /** * @remarks * This parameter is required. * * @example * union_id */ operatorId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SetDefaultHandOverUserResponseBody extends $tea.Model { /** * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class SetDefaultHandOverUserResponse extends $tea.Model { headers?: { [key: string]: string; }; statusCode?: number; body?: SetDefaultHandOverUserResponseBody; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamRequestOptionIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamRequestOption extends $tea.Model { /** * @example * team_cover */ cover?: string; /** * @example * team_description */ description?: string; icon?: AddTeamRequestOptionIcon; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamResponseBodyTeamIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddTeamResponseBodyTeam extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * team_cover */ cover?: string; /** * @example * team_create_time */ createTime?: string; /** * @example * team_creator_id */ creatorId?: string; /** * @example * team_description */ description?: string; icon?: AddTeamResponseBodyTeamIcon; /** * @example * team_modified_time */ modifiedTime?: string; /** * @example * team_modifier_id */ modifierId?: string; /** * @example * team_name */ name?: string; /** * @example * team_id */ teamId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceRequestOption extends $tea.Model { /** * @example * workspace_description */ description?: string; /** * @example * team_id */ teamId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceResponseBodyWorkspaceIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class AddWorkspaceResponseBodyWorkspace extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * workspace_cover */ cover?: string; /** * @example * workspace_create_time */ createTime?: string; /** * @example * workspace_creator_id */ creatorId?: string; /** * @example * workspace_description */ description?: string; icon?: AddWorkspaceResponseBodyWorkspaceIcon; /** * @example * workspace_modified_time */ modifiedTime?: string; /** * @example * workspace_modifier_id */ modifierId?: string; /** * @example * workspace_name */ name?: string; /** * @example * READER */ permissionRole?: string; /** * @example * root_node_uuid */ rootNodeId?: string; /** * @example * team_id */ teamId?: string; /** * @example * TEAM */ type?: string; /** * @example * workspace_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetMineWorkspaceResponseBodyWorkspaceIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetMineWorkspaceResponseBodyWorkspace extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * workspace_cover */ cover?: string; /** * @example * workspace_create_time */ createTime?: string; /** * @example * workspace_creator_id */ creatorId?: string; /** * @example * workspace_description */ description?: string; icon?: GetMineWorkspaceResponseBodyWorkspaceIcon; /** * @example * workspace_modified_time */ modifiedTime?: string; /** * @example * workspace_modifier_id */ modifierId?: string; /** * @example * workspace_name */ name?: string; /** * @example * READER */ permissionRole?: string; /** * @example * root_node_uuid */ rootNodeId?: string; /** * @example * team_id */ teamId?: string; /** * @example * TEAM */ type?: string; /** * @example * workspace_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeResponseBodyNodeStatisticalInfo extends $tea.Model { /** * @example * 123 */ wordCount?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeResponseBodyNode extends $tea.Model { /** * @example * ALIDOC */ category?: string; /** * @example * node_create_time */ createTime?: string; /** * @example * node_creator_id */ creatorId?: string; /** * @example * adoc */ extension?: string; /** * @example * false */ hasChildren?: boolean; /** * @example * node_modified_time */ modifiedTime?: string; /** * @example * node_modifier_id */ modifierId?: string; /** * @example * node_name */ name?: string; /** * @example * node_id */ nodeId?: string; /** * @example * READER */ permissionRole?: string; /** * @example * 512 */ size?: number; statisticalInfo?: GetNodeResponseBodyNodeStatisticalInfo; /** * @example * FILE */ type?: string; /** * @example * node_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlRequestOption extends $tea.Model { /** * @example * false */ withPermissionRole?: boolean; /** * @example * false */ withStatisticalInfo?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlResponseBodyNodeStatisticalInfo extends $tea.Model { /** * @example * 123 */ wordCount?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodeByUrlResponseBodyNode extends $tea.Model { /** * @example * ALIDOC */ category?: string; /** * @example * node_create_time */ createTime?: string; /** * @example * node_creator_id */ creatorId?: string; /** * @example * adoc */ extension?: string; /** * @example * false */ hasChildren?: boolean; /** * @example * node_modified_time */ modifiedTime?: string; /** * @example * node_modifier_id */ modifierId?: string; /** * @example * node_name */ name?: string; /** * @example * node_id */ nodeId?: string; /** * @example * READER */ permissionRole?: string; /** * @example * 512 */ size?: number; statisticalInfo?: GetNodeByUrlResponseBodyNodeStatisticalInfo; /** * @example * FILE */ type?: string; /** * @example * node_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesRequestOption extends $tea.Model { /** * @example * false */ withPermissionRole?: boolean; /** * @example * false */ withStatisticalInfo?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesResponseBodyNodesStatisticalInfo extends $tea.Model { /** * @example * 123 */ wordCount?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetNodesResponseBodyNodes extends $tea.Model { /** * @example * ALIDOC */ category?: string; /** * @example * node_create_time */ createTime?: string; /** * @example * node_creator_id */ creatorId?: string; /** * @example * adoc */ extension?: string; /** * @example * false */ hasChildren?: boolean; /** * @example * node_modified_time */ modifiedTime?: string; /** * @example * node_modifier_id */ modifierId?: string; /** * @example * node_name */ name?: string; /** * @example * node_id */ nodeId?: string; /** * @example * READER */ permissionRole?: string; /** * @example * 512 */ size?: number; statisticalInfo?: GetNodesResponseBodyNodesStatisticalInfo; /** * @example * FILE */ type?: string; /** * @example * node_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetTeamResponseBodyTeamIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetTeamResponseBodyTeam extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * team_cover */ cover?: string; /** * @example * team_create_time */ createTime?: string; /** * @example * team_creator_id */ creatorId?: string; /** * @example * team_description */ description?: string; icon?: GetTeamResponseBodyTeamIcon; /** * @example * team_modified_time */ modifiedTime?: string; /** * @example * team_modifier_id */ modifierId?: string; /** * @example * team_name */ name?: string; /** * @example * team_id */ teamId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspaceResponseBodyWorkspaceIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspaceResponseBodyWorkspace extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * workspace_cover */ cover?: string; /** * @example * workspace_create_time */ createTime?: string; /** * @example * workspace_creator_id */ creatorId?: string; /** * @example * workspace_description */ description?: string; icon?: GetWorkspaceResponseBodyWorkspaceIcon; /** * @example * workspace_modified_time */ modifiedTime?: string; /** * @example * workspace_modifier_id */ modifierId?: string; /** * @example * workspace_name */ name?: string; /** * @example * READER */ permissionRole?: string; /** * @example * root_node_uuid */ rootNodeId?: string; /** * @example * team_id */ teamId?: string; /** * @example * TEAM */ type?: string; /** * @example * workspace_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesRequestOption extends $tea.Model { /** * @example * false */ withPermissionRole?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesResponseBodyWorkspacesIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class GetWorkspacesResponseBodyWorkspaces extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * workspace_cover */ cover?: string; /** * @example * workspace_create_time */ createTime?: string; /** * @example * workspace_creator_id */ creatorId?: string; /** * @example * workspace_description */ description?: string; icon?: GetWorkspacesResponseBodyWorkspacesIcon; /** * @example * workspace_modified_time */ modifiedTime?: string; /** * @example * workspace_modifier_id */ modifierId?: string; /** * @example * workspace_name */ name?: string; /** * @example * READER */ permissionRole?: string; /** * @example * root_node_uuid */ rootNodeId?: string; /** * @example * team_id */ teamId?: string; /** * @example * TEAM */ type?: string; /** * @example * workspace_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListNodesResponseBodyNodesStatisticalInfo extends $tea.Model { /** * @example * 123 */ wordCount?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListNodesResponseBodyNodes extends $tea.Model { /** * @example * ALIDOC */ category?: string; /** * @example * node_create_time */ createTime?: string; /** * @example * node_creator_id */ creatorId?: string; /** * @example * adoc */ extension?: string; /** * @example * false */ hasChildren?: boolean; /** * @example * node_modified_time */ modifiedTime?: string; /** * @example * node_modifier_id */ modifierId?: string; /** * @example * node_name */ name?: string; /** * @example * node_id */ nodeId?: string; /** * @example * READER */ permissionRole?: string; /** * @example * 512 */ size?: number; statisticalInfo?: ListNodesResponseBodyNodesStatisticalInfo; /** * @example * FILE */ type?: string; /** * @example * node_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListOrgWorkspacesResponseBodyWorkspaces extends $tea.Model { /** * @example * 0 */ createTime?: string; /** * @example * workspace_id */ rootDentryUuid?: string; /** * @example * 0 */ status?: number; /** * @example * url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; /** * @example * workspace_name */ workspaceName?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListTeamsResponseBodyTeamsIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListTeamsResponseBodyTeams extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * team_cover */ cover?: string; /** * @example * team_create_time */ createTime?: string; /** * @example * team_creator_id */ creatorId?: string; /** * @example * team_description */ description?: string; icon?: ListTeamsResponseBodyTeamsIcon; /** * @example * team_modified_time */ modifiedTime?: string; /** * @example * team_modifier_id */ modifierId?: string; /** * @example * team_name */ name?: string; /** * @example * team_id */ teamId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListWorkspacesResponseBodyWorkspacesIcon extends $tea.Model { /** * @example * URL */ type?: string; /** * @example * icon_url */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model { /** * @example * corp_id */ corpId?: string; /** * @example * workspace_cover */ cover?: string; /** * @example * workspace_create_time */ createTime?: string; /** * @example * workspace_creator_id */ creatorId?: string; /** * @example * workspace_description */ description?: string; icon?: ListWorkspacesResponseBodyWorkspacesIcon; /** * @example * workspace_modified_time */ modifiedTime?: string; /** * @example * workspace_modifier_id */ modifierId?: string; /** * @example * workspace_name */ name?: string; /** * @example * READER */ permissionRole?: string; /** * @example * root_node_uuid */ rootNodeId?: string; /** * @example * team_id */ teamId?: string; /** * @example * TEAM */ type?: string; /** * @example * workspace_url */ url?: string; /** * @example * workspace_id */ workspaceId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; constructor(map?: { [key: string]: any; }); } export default class Client extends OpenApi { constructor(config: $OpenApi.Config); /** * 新建知识小组 * * @param request - AddTeamRequest * @param headers - AddTeamHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AddTeamResponse */ addTeamWithOptions(request: AddTeamRequest, headers: AddTeamHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 新建知识小组 * * @param request - AddTeamRequest * @returns AddTeamResponse */ addTeam(request: AddTeamRequest): Promise; /** * 新建知识库 * * @param request - AddWorkspaceRequest * @param headers - AddWorkspaceHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AddWorkspaceResponse */ addWorkspaceWithOptions(request: AddWorkspaceRequest, headers: AddWorkspaceHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 新建知识库 * * @param request - AddWorkspaceRequest * @returns AddWorkspaceResponse */ addWorkspace(request: AddWorkspaceRequest): Promise; /** * 添加知识库管理员 * * @param request - AddWorkspacesManagerRequest * @param headers - AddWorkspacesManagerHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns AddWorkspacesManagerResponse */ addWorkspacesManagerWithOptions(request: AddWorkspacesManagerRequest, headers: AddWorkspacesManagerHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 添加知识库管理员 * * @param request - AddWorkspacesManagerRequest * @returns AddWorkspacesManagerResponse */ addWorkspacesManager(request: AddWorkspacesManagerRequest): Promise; /** * 删除知识小组 * * @param request - DeleteTeamRequest * @param headers - DeleteTeamHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteTeamResponse */ deleteTeamWithOptions(teamId: string, request: DeleteTeamRequest, headers: DeleteTeamHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 删除知识小组 * * @param request - DeleteTeamRequest * @returns DeleteTeamResponse */ deleteTeam(teamId: string, request: DeleteTeamRequest): Promise; /** * 查询员工离职时知识库默认转交人 * * @param request - GetDefaultHandOverUserRequest * @param headers - GetDefaultHandOverUserHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetDefaultHandOverUserResponse */ getDefaultHandOverUserWithOptions(request: GetDefaultHandOverUserRequest, headers: GetDefaultHandOverUserHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 查询员工离职时知识库默认转交人 * * @param request - GetDefaultHandOverUserRequest * @returns GetDefaultHandOverUserResponse */ getDefaultHandOverUser(request: GetDefaultHandOverUserRequest): Promise; /** * 获取我的文档 * * @param request - GetMineWorkspaceRequest * @param headers - GetMineWorkspaceHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetMineWorkspaceResponse */ getMineWorkspaceWithOptions(request: GetMineWorkspaceRequest, headers: GetMineWorkspaceHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取我的文档 * * @param request - GetMineWorkspaceRequest * @returns GetMineWorkspaceResponse */ getMineWorkspace(request: GetMineWorkspaceRequest): Promise; /** * 获取节点 * * @param request - GetNodeRequest * @param headers - GetNodeHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetNodeResponse */ getNodeWithOptions(nodeId: string, request: GetNodeRequest, headers: GetNodeHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取节点 * * @param request - GetNodeRequest * @returns GetNodeResponse */ getNode(nodeId: string, request: GetNodeRequest): Promise; /** * 通过链接获取节点 * * @param request - GetNodeByUrlRequest * @param headers - GetNodeByUrlHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetNodeByUrlResponse */ getNodeByUrlWithOptions(request: GetNodeByUrlRequest, headers: GetNodeByUrlHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 通过链接获取节点 * * @param request - GetNodeByUrlRequest * @returns GetNodeByUrlResponse */ getNodeByUrl(request: GetNodeByUrlRequest): Promise; /** * 批量获取节点 * * @param request - GetNodesRequest * @param headers - GetNodesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetNodesResponse */ getNodesWithOptions(request: GetNodesRequest, headers: GetNodesHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 批量获取节点 * * @param request - GetNodesRequest * @returns GetNodesResponse */ getNodes(request: GetNodesRequest): Promise; /** * 获取知识小组 * * @param request - GetTeamRequest * @param headers - GetTeamHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetTeamResponse */ getTeamWithOptions(teamId: string, request: GetTeamRequest, headers: GetTeamHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取知识小组 * * @param request - GetTeamRequest * @returns GetTeamResponse */ getTeam(teamId: string, request: GetTeamRequest): Promise; /** * 获取知识库 * * @param request - GetWorkspaceRequest * @param headers - GetWorkspaceHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetWorkspaceResponse */ getWorkspaceWithOptions(workspaceId: string, request: GetWorkspaceRequest, headers: GetWorkspaceHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取知识库 * * @param request - GetWorkspaceRequest * @returns GetWorkspaceResponse */ getWorkspace(workspaceId: string, request: GetWorkspaceRequest): Promise; /** * 批量获取知识库 * * @param request - GetWorkspacesRequest * @param headers - GetWorkspacesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns GetWorkspacesResponse */ getWorkspacesWithOptions(request: GetWorkspacesRequest, headers: GetWorkspacesHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 批量获取知识库 * * @param request - GetWorkspacesRequest * @returns GetWorkspacesResponse */ getWorkspaces(request: GetWorkspacesRequest): Promise; /** * 转交知识库 * * @param request - HandOverWorkspaceRequest * @param headers - HandOverWorkspaceHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns HandOverWorkspaceResponse */ handOverWorkspaceWithOptions(request: HandOverWorkspaceRequest, headers: HandOverWorkspaceHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 转交知识库 * * @param request - HandOverWorkspaceRequest * @returns HandOverWorkspaceResponse */ handOverWorkspace(request: HandOverWorkspaceRequest): Promise; /** * 获取节点列表 * * @param request - ListNodesRequest * @param headers - ListNodesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ListNodesResponse */ listNodesWithOptions(request: ListNodesRequest, headers: ListNodesHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取节点列表 * * @param request - ListNodesRequest * @returns ListNodesResponse */ listNodes(request: ListNodesRequest): Promise; /** * 获取组织所有知识库列表 * * @param request - ListOrgWorkspacesRequest * @param headers - ListOrgWorkspacesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ListOrgWorkspacesResponse */ listOrgWorkspacesWithOptions(request: ListOrgWorkspacesRequest, headers: ListOrgWorkspacesHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取组织所有知识库列表 * * @param request - ListOrgWorkspacesRequest * @returns ListOrgWorkspacesResponse */ listOrgWorkspaces(request: ListOrgWorkspacesRequest): Promise; /** * 获取知识小组列表 * * @param request - ListTeamsRequest * @param headers - ListTeamsHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ListTeamsResponse */ listTeamsWithOptions(request: ListTeamsRequest, headers: ListTeamsHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取知识小组列表 * * @param request - ListTeamsRequest * @returns ListTeamsResponse */ listTeams(request: ListTeamsRequest): Promise; /** * 获取知识库列表 * * @param request - ListWorkspacesRequest * @param headers - ListWorkspacesHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns ListWorkspacesResponse */ listWorkspacesWithOptions(request: ListWorkspacesRequest, headers: ListWorkspacesHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 获取知识库列表 * * @param request - ListWorkspacesRequest * @returns ListWorkspacesResponse */ listWorkspaces(request: ListWorkspacesRequest): Promise; /** * 设置员工离职时知识库默认转交人 * * @param request - SetDefaultHandOverUserRequest * @param headers - SetDefaultHandOverUserHeaders * @param runtime - runtime options for this request RuntimeOptions * @returns SetDefaultHandOverUserResponse */ setDefaultHandOverUserWithOptions(request: SetDefaultHandOverUserRequest, headers: SetDefaultHandOverUserHeaders, runtime: $Util.RuntimeOptions): Promise; /** * 设置员工离职时知识库默认转交人 * * @param request - SetDefaultHandOverUserRequest * @returns SetDefaultHandOverUserResponse */ setDefaultHandOverUser(request: SetDefaultHandOverUserRequest): Promise; }