11import './commands' ;
22import { listEnvs , createEnv , getEnvAuthDomains , createEnvDomain , deleteEnvDomain , getLoginConfigList , createLoginConfig , updateLoginConfig } from './env' ;
3- import { createFunction , listFunction , deleteFunction , getFunctionDetail , getFunctionLog , updateFunctionConfig , createFunctionTriggers , deleteFunctionTrigger , invokeFunction , downloadFunctionCode } from './function' ;
3+ import { createFunction , listFunction , deleteFunction , getFunctionDetail , getFunctionLog , updateFunctionConfig , createFunctionTriggers , deleteFunctionTrigger , invokeFunction , downloadFunctionCode , copyFunction } from './function' ;
44import * as storage from './storage' ;
55import { ILoginOptions } from './types' ;
6+ import { codeUpdate } from './commands/functions/code-update' ;
67declare const _default : {
78 new ( secretId : any , secretKey : any ) : {
89 login : ( options : ILoginOptions ) => Promise < {
@@ -30,6 +31,9 @@ declare const _default: {
3031 delete : typeof deleteFunction ;
3132 detail : typeof getFunctionDetail ;
3233 log : typeof getFunctionLog ;
34+ code : {
35+ update : typeof codeUpdate ;
36+ } ;
3337 config : {
3438 update : typeof updateFunctionConfig ;
3539 } ;
@@ -38,6 +42,7 @@ declare const _default: {
3842 delete : typeof deleteFunctionTrigger ;
3943 } ;
4044 download : typeof downloadFunctionCode ;
45+ copy : typeof copyFunction ;
4146 } ;
4247 storage : typeof storage ;
4348 } ;
0 commit comments