export interface SetRowsVisibilityParams { /** 可见性。 */ visibility: string; /** 要显示或者隐藏的第一行的游标,从0开始。 */ row: number; /** 要显示或隐藏的行的数量。 */ rowCount: number; } export interface SetRowsVisibilityQuery { /** 操作人unionId。 */ operatorId: string; } export interface SetRowsVisibilityResponse { id?: string; } export interface SetColumnsVisibilityParams { /** 要显示或隐藏的第一列的游标,从0开始。 */ column: number; /** 要显示或隐藏的列的数量。 */ columnCount: number; /** 可见性。 */ visibility: string; } export interface SetColumnsVisibilityQuery { /** 操作人unionId。 */ operatorId: string; } export interface SetColumnsVisibilityResponse { id?: string; } export interface DeleteRowsParams { /** 要删除的第一行的游标,从0开始。 */ row: number; /** 要删除的行的数量。 */ rowCount: number; } export interface DeleteRowsQuery { /** 操作人unionId。 */ operatorId: string; } export interface DeleteRowsResponse { id?: string; } export interface DeleteColumnsParams { /** 要删除的第一列的游标,从0开始。 */ column: number; /** 要删除的列的数量。 */ columnCount: number; } export interface DeleteColumnsQuery { /** 操作人unionId。 */ operatorId: string; } export interface DeleteColumnsResponse { id?: string; } export interface InsertRowsBeforeParams { /** 指定行的游标,从0开始。 */ row: number; /** 插入行的数量。 */ rowCount: number; } export interface InsertRowsBeforeQuery { /** 操作人unionId。 */ operatorId: string; } export interface InsertRowsBeforeResponse { id?: string; } export interface InsertColumnsBeforeParams { /** 指定列的游标,从0开始。 */ column: number; /** 插入列的数量。 */ columnCount: number; } export interface InsertColumnsBeforeQuery { /** 操作人unionId。 */ operatorId: string; } export interface InsertColumnsBeforeResponse { id?: string; } export interface ClearQuery { /** 操作人unionId。 */ operatorId: string; } export interface ClearResponse { a1Notation?: string; } export interface ClearDataQuery { /** 操作人unionId。 */ operatorId: string; } export interface ClearDataResponse { a1Notation?: string; } declare module '../internal' { interface Internal { /** * 设置行隐藏或显示 * @see https://open.dingtalk.com/document/app/set-row-visibility */ setRowsVisibility(workbookId: string, sheetId: string, query: SetRowsVisibilityQuery, params: SetRowsVisibilityParams): Promise; /** * 设置列隐藏或显示 * @see https://open.dingtalk.com/document/app/set-column-visibility */ setColumnsVisibility(workbookId: string, sheetId: string, query: SetColumnsVisibilityQuery, params: SetColumnsVisibilityParams): Promise; /** * 删除行 * @see https://open.dingtalk.com/document/app/delete-row */ deleteRows(workbookId: string, sheetId: string, query: DeleteRowsQuery, params: DeleteRowsParams): Promise; /** * 删除列 * @see https://open.dingtalk.com/document/app/delete-column */ deleteColumns(workbookId: string, sheetId: string, query: DeleteColumnsQuery, params: DeleteColumnsParams): Promise; /** * 指定行上方插入若干行 * @see https://open.dingtalk.com/document/app/insert-rows-before-rows */ insertRowsBefore(workbookId: string, sheetId: string, query: InsertRowsBeforeQuery, params: InsertRowsBeforeParams): Promise; /** * 指定列左侧插入若干列 * @see https://open.dingtalk.com/document/app/insert-column-before-column */ insertColumnsBefore(workbookId: string, sheetId: string, query: InsertColumnsBeforeQuery, params: InsertColumnsBeforeParams): Promise; /** * 清除单元格区域内所有内容 * @see https://open.dingtalk.com/document/app/clear-all */ clear(workbookId: string, sheetId: string, rangeAddress: string, query: ClearQuery): Promise; /** * 清除单元格区域内数据 * @see https://open.dingtalk.com/document/app/clear-cell-data */ clearData(workbookId: string, sheetId: string, rangeAddress: string, query: ClearDataQuery): Promise; } }