1 | import './commands';
|
2 | import { logout } from './auth';
|
3 | import { listEnvs, createEnv, getEnvAuthDomains, createEnvDomain, deleteEnvDomain, getLoginConfigList, createLoginConfig, updateLoginConfig } from './env';
|
4 | import { deleteThirdPartAttach } from './third';
|
5 | import { createFunction, listFunction, deleteFunction, getFunctionDetail, getFunctionLog, updateFunctionConfig, createFunctionTriggers, deleteFunctionTrigger, invokeFunction, downloadFunctionCode, copyFunction, updateFunctionCode } from './function';
|
6 | import * as storage from './storage';
|
7 | import { ILoginOptions } from './types';
|
8 | declare const _default: {
|
9 | new (secretId: any, secretKey: any): {
|
10 | login: (options: ILoginOptions) => Promise<{
|
11 | code: string;
|
12 | msg: string;
|
13 | }>;
|
14 | logout: typeof logout;
|
15 | env: {
|
16 | list: typeof listEnvs;
|
17 | create: typeof createEnv;
|
18 | domain: {
|
19 | list: typeof getEnvAuthDomains;
|
20 | create: typeof createEnvDomain;
|
21 | delete: typeof deleteEnvDomain;
|
22 | };
|
23 | login: {
|
24 | list: typeof getLoginConfigList;
|
25 | create: typeof createLoginConfig;
|
26 | update: typeof updateLoginConfig;
|
27 | };
|
28 | };
|
29 | third: {
|
30 | deleteThirdPartAttach: typeof deleteThirdPartAttach;
|
31 | };
|
32 | functions: {
|
33 | invoke: typeof invokeFunction;
|
34 | deploy: typeof createFunction;
|
35 | list: typeof listFunction;
|
36 | delete: typeof deleteFunction;
|
37 | detail: typeof getFunctionDetail;
|
38 | log: typeof getFunctionLog;
|
39 | code: {
|
40 | update: typeof updateFunctionCode;
|
41 | };
|
42 | config: {
|
43 | update: typeof updateFunctionConfig;
|
44 | };
|
45 | trigger: {
|
46 | create: typeof createFunctionTriggers;
|
47 | delete: typeof deleteFunctionTrigger;
|
48 | };
|
49 | download: typeof downloadFunctionCode;
|
50 | copy: typeof copyFunction;
|
51 | };
|
52 | storage: typeof storage;
|
53 | };
|
54 | };
|
55 | export = _default;
|