mtmsdk 0.0.36 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api_hatchet/client/client.gen.d.ts.map +1 -1
- package/dist/api_hatchet/client/client.gen.js +8 -1
- package/dist/api_hatchet/client/client.gen.js.map +1 -1
- package/dist/api_hatchet/index.d.ts +2 -2
- package/dist/api_hatchet/index.d.ts.map +1 -1
- package/dist/api_hatchet/index.js +2 -2
- package/dist/api_hatchet/index.js.map +1 -1
- package/dist/api_hatchet/zod.gen.d.ts +3 -3
- package/dist/api_hatchet/zod.gen.js +53 -53
- package/dist/api_hatchet/zod.gen.js.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +73 -979
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +208 -1000
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.js +8 -1
- package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/index.d.ts +2 -2
- package/dist/gomtmapi_v2/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/index.js +1 -1
- package/dist/gomtmapi_v2/index.js.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts +305 -1415
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.js +282 -1407
- package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +63 -513
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +94 -537
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/gomtmapi_v2/types.gen.d.ts +443 -1531
- package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts +293 -1292
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.js +187 -793
- package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -158
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +17 -212
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/client.gen.js +8 -1
- package/dist/mtgate_api/client/client.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +0 -396
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +0 -439
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -26
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -67
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +0 -310
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -771
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -249
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/client.gen.js +8 -1
- package/dist/mtmai_api/client/client.gen.js.map +1 -1
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.d.ts.map +1 -1
- package/dist/mtmai_api/index.js +2 -2
- package/dist/mtmai_api/index.js.map +1 -1
- package/dist/opencode/@tanstack/react-query.gen.d.ts +1903 -0
- package/dist/opencode/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/opencode/@tanstack/react-query.gen.js +1696 -0
- package/dist/opencode/@tanstack/react-query.gen.js.map +1 -0
- package/dist/opencode/client/client.gen.d.ts +3 -0
- package/dist/opencode/client/client.gen.d.ts.map +1 -0
- package/dist/opencode/client/client.gen.js +236 -0
- package/dist/opencode/client/client.gen.js.map +1 -0
- package/dist/opencode/client/index.d.ts +9 -0
- package/dist/opencode/client/index.d.ts.map +1 -0
- package/dist/opencode/client/index.js +7 -0
- package/dist/opencode/client/index.js.map +1 -0
- package/dist/opencode/client/types.gen.d.ts +118 -0
- package/dist/opencode/client/types.gen.d.ts.map +1 -0
- package/dist/opencode/client/types.gen.js +3 -0
- package/dist/opencode/client/types.gen.js.map +1 -0
- package/dist/opencode/client/utils.gen.d.ts +34 -0
- package/dist/opencode/client/utils.gen.d.ts.map +1 -0
- package/dist/opencode/client/utils.gen.js +232 -0
- package/dist/opencode/client/utils.gen.js.map +1 -0
- package/dist/opencode/client.gen.d.ts +13 -0
- package/dist/opencode/client.gen.d.ts.map +1 -0
- package/dist/opencode/client.gen.js +4 -0
- package/dist/opencode/client.gen.js.map +1 -0
- package/dist/opencode/core/auth.gen.d.ts +19 -0
- package/dist/opencode/core/auth.gen.d.ts.map +1 -0
- package/dist/opencode/core/auth.gen.js +15 -0
- package/dist/opencode/core/auth.gen.js.map +1 -0
- package/dist/opencode/core/bodySerializer.gen.d.ts +26 -0
- package/dist/opencode/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/opencode/core/bodySerializer.gen.js +58 -0
- package/dist/opencode/core/bodySerializer.gen.js.map +1 -0
- package/dist/opencode/core/params.gen.d.ts +44 -0
- package/dist/opencode/core/params.gen.d.ts.map +1 -0
- package/dist/opencode/core/params.gen.js +101 -0
- package/dist/opencode/core/params.gen.js.map +1 -0
- package/dist/opencode/core/pathSerializer.gen.d.ts +34 -0
- package/dist/opencode/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/opencode/core/pathSerializer.gen.js +115 -0
- package/dist/opencode/core/pathSerializer.gen.js.map +1 -0
- package/dist/opencode/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/opencode/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/opencode/core/queryKeySerializer.gen.js +100 -0
- package/dist/opencode/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/opencode/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/opencode/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/opencode/core/serverSentEvents.gen.js +138 -0
- package/dist/opencode/core/serverSentEvents.gen.js.map +1 -0
- package/dist/opencode/core/types.gen.d.ts +79 -0
- package/dist/opencode/core/types.gen.d.ts.map +1 -0
- package/dist/opencode/core/types.gen.js +3 -0
- package/dist/opencode/core/types.gen.js.map +1 -0
- package/dist/opencode/core/utils.gen.d.ts +20 -0
- package/dist/opencode/core/utils.gen.d.ts.map +1 -0
- package/dist/opencode/core/utils.gen.js +88 -0
- package/dist/opencode/core/utils.gen.js.map +1 -0
- package/dist/opencode/index.d.ts +3 -0
- package/dist/opencode/index.d.ts.map +1 -0
- package/dist/opencode/index.js +4 -0
- package/dist/opencode/index.js.map +1 -0
- package/dist/opencode/schemas.gen.d.ts +4823 -0
- package/dist/opencode/schemas.gen.d.ts.map +1 -0
- package/dist/opencode/schemas.gen.js +5816 -0
- package/dist/opencode/schemas.gen.js.map +1 -0
- package/dist/opencode/sdk.gen.d.ts +562 -0
- package/dist/opencode/sdk.gen.d.ts.map +1 -0
- package/dist/opencode/sdk.gen.js +766 -0
- package/dist/opencode/sdk.gen.js.map +1 -0
- package/dist/opencode/types.gen.d.ts +4213 -0
- package/dist/opencode/types.gen.d.ts.map +1 -0
- package/dist/opencode/types.gen.js +25 -0
- package/dist/opencode/types.gen.js.map +1 -0
- package/dist/opencode/zod.gen.d.ts +17243 -0
- package/dist/opencode/zod.gen.d.ts.map +1 -0
- package/dist/opencode/zod.gen.js +2876 -0
- package/dist/opencode/zod.gen.js.map +1 -0
- package/dist/sbapi/client/client.gen.d.ts.map +1 -1
- package/dist/sbapi/client/client.gen.js +8 -1
- package/dist/sbapi/client/client.gen.js.map +1 -1
- package/dist/sbapi/index.d.ts +2 -2
- package/dist/sbapi/index.d.ts.map +1 -1
- package/dist/sbapi/index.js +1 -1
- package/dist/sbapi/index.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +2418 -0
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/sbmng/@tanstack/react-query.gen.js +2657 -0
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -0
- package/dist/sbmng/client/client.gen.d.ts +3 -0
- package/dist/sbmng/client/client.gen.d.ts.map +1 -0
- package/dist/sbmng/client/client.gen.js +236 -0
- package/dist/sbmng/client/client.gen.js.map +1 -0
- package/dist/sbmng/client/index.d.ts +9 -0
- package/dist/sbmng/client/index.d.ts.map +1 -0
- package/dist/sbmng/client/index.js +7 -0
- package/dist/sbmng/client/index.js.map +1 -0
- package/dist/sbmng/client/types.gen.d.ts +118 -0
- package/dist/sbmng/client/types.gen.d.ts.map +1 -0
- package/dist/sbmng/client/types.gen.js +3 -0
- package/dist/sbmng/client/types.gen.js.map +1 -0
- package/dist/sbmng/client/utils.gen.d.ts +34 -0
- package/dist/sbmng/client/utils.gen.d.ts.map +1 -0
- package/dist/sbmng/client/utils.gen.js +232 -0
- package/dist/sbmng/client/utils.gen.js.map +1 -0
- package/dist/sbmng/client.gen.d.ts +13 -0
- package/dist/sbmng/client.gen.d.ts.map +1 -0
- package/dist/sbmng/client.gen.js +4 -0
- package/dist/sbmng/client.gen.js.map +1 -0
- package/dist/sbmng/core/auth.gen.d.ts +19 -0
- package/dist/sbmng/core/auth.gen.d.ts.map +1 -0
- package/dist/sbmng/core/auth.gen.js +15 -0
- package/dist/sbmng/core/auth.gen.js.map +1 -0
- package/dist/sbmng/core/bodySerializer.gen.d.ts +26 -0
- package/dist/sbmng/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/sbmng/core/bodySerializer.gen.js +58 -0
- package/dist/sbmng/core/bodySerializer.gen.js.map +1 -0
- package/dist/sbmng/core/params.gen.d.ts +44 -0
- package/dist/sbmng/core/params.gen.d.ts.map +1 -0
- package/dist/sbmng/core/params.gen.js +101 -0
- package/dist/sbmng/core/params.gen.js.map +1 -0
- package/dist/sbmng/core/pathSerializer.gen.d.ts +34 -0
- package/dist/sbmng/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/sbmng/core/pathSerializer.gen.js +115 -0
- package/dist/sbmng/core/pathSerializer.gen.js.map +1 -0
- package/dist/sbmng/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/sbmng/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/sbmng/core/queryKeySerializer.gen.js +100 -0
- package/dist/sbmng/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/sbmng/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/sbmng/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/sbmng/core/serverSentEvents.gen.js +138 -0
- package/dist/sbmng/core/serverSentEvents.gen.js.map +1 -0
- package/dist/sbmng/core/types.gen.d.ts +79 -0
- package/dist/sbmng/core/types.gen.d.ts.map +1 -0
- package/dist/sbmng/core/types.gen.js +3 -0
- package/dist/sbmng/core/types.gen.js.map +1 -0
- package/dist/sbmng/core/utils.gen.d.ts +20 -0
- package/dist/sbmng/core/utils.gen.d.ts.map +1 -0
- package/dist/sbmng/core/utils.gen.js +88 -0
- package/dist/sbmng/core/utils.gen.js.map +1 -0
- package/dist/sbmng/index.d.ts +3 -0
- package/dist/sbmng/index.d.ts.map +1 -0
- package/dist/sbmng/index.js +3 -0
- package/dist/sbmng/index.js.map +1 -0
- package/dist/sbmng/schemas.gen.d.ts +7220 -0
- package/dist/sbmng/schemas.gen.d.ts.map +1 -0
- package/dist/sbmng/schemas.gen.js +9392 -0
- package/dist/sbmng/schemas.gen.js.map +1 -0
- package/dist/sbmng/sdk.gen.d.ts +743 -0
- package/dist/sbmng/sdk.gen.d.ts.map +1 -0
- package/dist/sbmng/sdk.gen.js +1543 -0
- package/dist/sbmng/sdk.gen.js.map +1 -0
- package/dist/sbmng/types.gen.d.ts +7003 -0
- package/dist/sbmng/types.gen.d.ts.map +1 -0
- package/dist/sbmng/types.gen.js +3 -0
- package/dist/sbmng/types.gen.js.map +1 -0
- package/dist/supabase/context.d.ts +14 -0
- package/dist/supabase/context.d.ts.map +1 -0
- package/dist/supabase/context.js +33 -0
- package/dist/supabase/context.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1625 -304
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +3551 -909
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/supabase.js +1 -34
- package/dist/supabase/supabase.js.map +1 -1
- package/dist/types/database.types.d.ts +1656 -314
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +3 -1
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +30 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +45 -42
- package/dist/supabase/supabase-browser.d.ts +0 -4
- package/dist/supabase/supabase-browser.d.ts.map +0 -1
- package/dist/supabase/supabase-browser.js +0 -20
- package/dist/supabase/supabase-browser.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AgentRunData, AgentRunErrors, AgentRunResponses, BrowserActionData, BrowserActionErrors, BrowserActionResponses, BrowserOpenData, BrowserOpenErrors, BrowserOpenResponses, CoddingToolEditFileData, CoddingToolEditFileErrors, CoddingToolEditFileResponses, CoddingToolListDirData, CoddingToolListDirErrors, CoddingToolListDirResponses, CoddingToolReadFilesData, CoddingToolReadFilesErrors, CoddingToolReadFilesResponses, CoddingToolSearchFilesData, CoddingToolSearchFilesErrors, CoddingToolSearchFilesResponses, CodeRunData, CodeRunErrors, CodeRunResponses, ComputeAddNodeData, ComputeAddNodeErrors, ComputeAddNodeResponses, ComputeListNodesData, ComputeListNodesErrors, ComputeListNodesResponses, ComputeRemoveNodeData, ComputeRemoveNodeErrors, ComputeRemoveNodeResponses, DbQueryExecuteQueryData, DbQueryExecuteQueryErrors, DbQueryExecuteQueryResponses, HumanRequestActionData, HumanRequestActionErrors, HumanRequestActionResponses, NapcatGetStatusData, NapcatGetStatusErrors, NapcatGetStatusResponses, NapcatProxyOneBot11GetData, NapcatProxyOneBot11GetErrors, NapcatProxyOneBot11GetResponses, NapcatProxyOneBot11PostData, NapcatProxyOneBot11PostErrors, NapcatProxyOneBot11PostResponses, NapcatProxyWebUigetData, NapcatProxyWebUigetErrors, NapcatProxyWebUigetResponses, NapcatProxyWebUipostData, NapcatProxyWebUipostErrors, NapcatProxyWebUipostResponses, NapcatStartData, NapcatStartErrors, NapcatStartResponses, SandboxEnsureData, SandboxEnsureErrors, SandboxEnsureResponses, SandboxListTasksData, SandboxListTasksErrors, SandboxListTasksResponses, TaskRunData, TaskRunErrors, TaskRunResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -14,11 +14,11 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
14
14
|
meta?: Record<string, unknown>;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
|
-
* run
|
|
17
|
+
* agent run
|
|
18
18
|
*
|
|
19
19
|
* #### Controller:
|
|
20
20
|
*
|
|
21
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
21
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/agent.(*AgentService).AgentRun`
|
|
22
22
|
*
|
|
23
23
|
* #### Middlewares:
|
|
24
24
|
*
|
|
@@ -26,111 +26,51 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
26
26
|
*
|
|
27
27
|
* ---
|
|
28
28
|
*
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
*/
|
|
31
|
-
export declare const
|
|
31
|
+
export declare const agentRun: <ThrowOnError extends boolean = false>(options: Options<AgentRunData, ThrowOnError>) => import("./client").RequestResult<AgentRunResponses, AgentRunErrors, ThrowOnError, "fields">;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* #### Controller:
|
|
36
|
-
*
|
|
37
|
-
* `github.com/codeh007/gomtm/pkg/handlers/langchat.(*LangchatService).listChatbots`
|
|
38
|
-
*
|
|
39
|
-
* #### Middlewares:
|
|
40
|
-
*
|
|
41
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
42
|
-
*
|
|
43
|
-
* ---
|
|
33
|
+
* handle action submit
|
|
44
34
|
*
|
|
45
|
-
*
|
|
35
|
+
* Submit a browser interaction task.
|
|
46
36
|
*/
|
|
47
|
-
export declare const
|
|
37
|
+
export declare const browserAction: <ThrowOnError extends boolean = false>(options: Options<BrowserActionData, ThrowOnError>) => import("./client").RequestResult<BrowserActionResponses, BrowserActionErrors, ThrowOnError, "fields">;
|
|
48
38
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* #### Controller:
|
|
52
|
-
*
|
|
53
|
-
* `github.com/codeh007/gomtm/pkg/handlers/langchat.(*LangchatService).upsertChatbot`
|
|
54
|
-
*
|
|
55
|
-
* #### Middlewares:
|
|
39
|
+
* handle open submit
|
|
56
40
|
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* ---
|
|
60
|
-
*
|
|
61
|
-
* Create a new chatbot or update an existing one
|
|
41
|
+
* Submit a task to open a browser.
|
|
62
42
|
*/
|
|
63
|
-
export declare const
|
|
43
|
+
export declare const browserOpen: <ThrowOnError extends boolean = false>(options: Options<BrowserOpenData, ThrowOnError>) => import("./client").RequestResult<BrowserOpenResponses, BrowserOpenErrors, ThrowOnError, "fields">;
|
|
64
44
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* #### Controller:
|
|
45
|
+
* edit file
|
|
68
46
|
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* #### Middlewares:
|
|
72
|
-
*
|
|
73
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
74
|
-
*
|
|
75
|
-
* ---
|
|
76
|
-
*
|
|
77
|
-
* Trigger the chatbot login workflow
|
|
47
|
+
* Replace text in a file. Matches exact 'old_string'. Use 'replace_all=true' for multiple occurrences.
|
|
78
48
|
*/
|
|
79
|
-
export declare const
|
|
49
|
+
export declare const coddingToolEditFile: <ThrowOnError extends boolean = false>(options: Options<CoddingToolEditFileData, ThrowOnError>) => import("./client").RequestResult<CoddingToolEditFileResponses, CoddingToolEditFileErrors, ThrowOnError, "fields">;
|
|
80
50
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* #### Controller:
|
|
84
|
-
*
|
|
85
|
-
* `github.com/codeh007/gomtm/pkg/handlers/langchat.(*LangchatService).runChatbot`
|
|
86
|
-
*
|
|
87
|
-
* #### Middlewares:
|
|
51
|
+
* list dir
|
|
88
52
|
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* ---
|
|
92
|
-
*
|
|
93
|
-
* Trigger the chatbot startup workflow
|
|
53
|
+
* List files and directories in a given path.
|
|
94
54
|
*/
|
|
95
|
-
export declare const
|
|
55
|
+
export declare const coddingToolListDir: <ThrowOnError extends boolean = false>(options: Options<CoddingToolListDirData, ThrowOnError>) => import("./client").RequestResult<CoddingToolListDirResponses, CoddingToolListDirErrors, ThrowOnError, "fields">;
|
|
96
56
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* #### Controller:
|
|
57
|
+
* read files
|
|
100
58
|
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* #### Middlewares:
|
|
104
|
-
*
|
|
105
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
106
|
-
*
|
|
107
|
-
* ---
|
|
108
|
-
*
|
|
109
|
-
* Delete a chatbot
|
|
59
|
+
* Read content of multiple files. Supports simple glob patterns.
|
|
110
60
|
*/
|
|
111
|
-
export declare const
|
|
61
|
+
export declare const coddingToolReadFiles: <ThrowOnError extends boolean = false>(options: Options<CoddingToolReadFilesData, ThrowOnError>) => import("./client").RequestResult<CoddingToolReadFilesResponses, CoddingToolReadFilesErrors, ThrowOnError, "fields">;
|
|
112
62
|
/**
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
* #### Controller:
|
|
116
|
-
*
|
|
117
|
-
* `github.com/codeh007/gomtm/pkg/handlers/langchat.(*LangchatService).getChatbot`
|
|
118
|
-
*
|
|
119
|
-
* #### Middlewares:
|
|
63
|
+
* search files
|
|
120
64
|
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* ---
|
|
124
|
-
*
|
|
125
|
-
* Get a specific chatbot by ID
|
|
65
|
+
* Search for a pattern in files using grep.
|
|
126
66
|
*/
|
|
127
|
-
export declare const
|
|
67
|
+
export declare const coddingToolSearchFiles: <ThrowOnError extends boolean = false>(options: Options<CoddingToolSearchFilesData, ThrowOnError>) => import("./client").RequestResult<CoddingToolSearchFilesResponses, CoddingToolSearchFilesErrors, ThrowOnError, "fields">;
|
|
128
68
|
/**
|
|
129
|
-
*
|
|
69
|
+
* run code
|
|
130
70
|
*
|
|
131
71
|
* #### Controller:
|
|
132
72
|
*
|
|
133
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
73
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/code.(*CodeService).RunCode`
|
|
134
74
|
*
|
|
135
75
|
* #### Middlewares:
|
|
136
76
|
*
|
|
@@ -138,31 +78,45 @@ export declare const langchatChatbotsGet: <ThrowOnError extends boolean = false>
|
|
|
138
78
|
*
|
|
139
79
|
* ---
|
|
140
80
|
*
|
|
141
|
-
*
|
|
81
|
+
* run code
|
|
142
82
|
*/
|
|
143
|
-
export declare const
|
|
83
|
+
export declare const codeRun: <ThrowOnError extends boolean = false>(options: Options<CodeRunData, ThrowOnError>) => import("./client").RequestResult<CodeRunResponses, CodeRunErrors, ThrowOnError, "fields">;
|
|
144
84
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* #### Controller:
|
|
85
|
+
* add node
|
|
148
86
|
*
|
|
149
|
-
*
|
|
87
|
+
* Add or update a compute node.
|
|
88
|
+
*/
|
|
89
|
+
export declare const computeAddNode: <ThrowOnError extends boolean = false>(options: Options<ComputeAddNodeData, ThrowOnError>) => import("./client").RequestResult<ComputeAddNodeResponses, ComputeAddNodeErrors, ThrowOnError, "fields">;
|
|
90
|
+
/**
|
|
91
|
+
* list nodes
|
|
150
92
|
*
|
|
151
|
-
*
|
|
93
|
+
* List compute nodes (VPS/Host).
|
|
94
|
+
*/
|
|
95
|
+
export declare const computeListNodes: <ThrowOnError extends boolean = false>(options: Options<ComputeListNodesData, ThrowOnError>) => import("./client").RequestResult<ComputeListNodesResponses, ComputeListNodesErrors, ThrowOnError, "fields">;
|
|
96
|
+
/**
|
|
97
|
+
* remove node
|
|
152
98
|
*
|
|
153
|
-
*
|
|
99
|
+
* Remove a compute node.
|
|
100
|
+
*/
|
|
101
|
+
export declare const computeRemoveNode: <ThrowOnError extends boolean = false>(options: Options<ComputeRemoveNodeData, ThrowOnError>) => import("./client").RequestResult<ComputeRemoveNodeResponses, ComputeRemoveNodeErrors, ThrowOnError, "fields">;
|
|
102
|
+
/**
|
|
103
|
+
* execute query
|
|
154
104
|
*
|
|
155
|
-
*
|
|
105
|
+
* Execute SQL query(s) on the public schema. Supports multiple statements separated by semicolons. Max execution time is 60 seconds.
|
|
106
|
+
*/
|
|
107
|
+
export declare const dbQueryExecuteQuery: <ThrowOnError extends boolean = false>(options: Options<DbQueryExecuteQueryData, ThrowOnError>) => import("./client").RequestResult<DbQueryExecuteQueryResponses, DbQueryExecuteQueryErrors, ThrowOnError, "fields">;
|
|
108
|
+
/**
|
|
109
|
+
* request action
|
|
156
110
|
*
|
|
157
|
-
*
|
|
111
|
+
* Request specific manual actions from the user when automated attempts fail.
|
|
158
112
|
*/
|
|
159
|
-
export declare const
|
|
113
|
+
export declare const humanRequestAction: <ThrowOnError extends boolean = false>(options: Options<HumanRequestActionData, ThrowOnError>) => import("./client").RequestResult<HumanRequestActionResponses, HumanRequestActionErrors, ThrowOnError, "fields">;
|
|
160
114
|
/**
|
|
161
115
|
* Start napcat service
|
|
162
116
|
*
|
|
163
117
|
* #### Controller:
|
|
164
118
|
*
|
|
165
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
119
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/napcat.(*NapcatService).StartNapcat`
|
|
166
120
|
*
|
|
167
121
|
* #### Middlewares:
|
|
168
122
|
*
|
|
@@ -178,7 +132,7 @@ export declare const napcatStart: <ThrowOnError extends boolean = false>(options
|
|
|
178
132
|
*
|
|
179
133
|
* #### Controller:
|
|
180
134
|
*
|
|
181
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
135
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/napcat.(*NapcatService).GetStatus`
|
|
182
136
|
*
|
|
183
137
|
* #### Middlewares:
|
|
184
138
|
*
|
|
@@ -194,7 +148,7 @@ export declare const napcatGetStatus: <ThrowOnError extends boolean = false>(opt
|
|
|
194
148
|
*
|
|
195
149
|
* #### Controller:
|
|
196
150
|
*
|
|
197
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
151
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/napcat.(*NapcatService).ProxyToNapcat`
|
|
198
152
|
*
|
|
199
153
|
* #### Middlewares:
|
|
200
154
|
*
|
|
@@ -210,7 +164,7 @@ export declare const napcatProxyOneBot11Get: <ThrowOnError extends boolean = fal
|
|
|
210
164
|
*
|
|
211
165
|
* #### Controller:
|
|
212
166
|
*
|
|
213
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
167
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/napcat.(*NapcatService).ProxyToNapcat`
|
|
214
168
|
*
|
|
215
169
|
* #### Middlewares:
|
|
216
170
|
*
|
|
@@ -222,411 +176,23 @@ export declare const napcatProxyOneBot11Get: <ThrowOnError extends boolean = fal
|
|
|
222
176
|
*/
|
|
223
177
|
export declare const napcatProxyOneBot11Post: <ThrowOnError extends boolean = false>(options?: Options<NapcatProxyOneBot11PostData, ThrowOnError>) => import("./client").RequestResult<NapcatProxyOneBot11PostResponses, NapcatProxyOneBot11PostErrors, ThrowOnError, "fields">;
|
|
224
178
|
/**
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
* #### Controller:
|
|
228
|
-
*
|
|
229
|
-
* `github.com/codeh007/gomtm/pkg/handlers/onebot11.(*OneBot11Service).ListMessages`
|
|
230
|
-
*
|
|
231
|
-
* #### Middlewares:
|
|
232
|
-
*
|
|
233
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
234
|
-
*
|
|
235
|
-
* ---
|
|
236
|
-
*
|
|
237
|
-
* Get a list of OneBot11 messages with optional filtering
|
|
238
|
-
*/
|
|
239
|
-
export declare const langchatChatbotsMessagesList: <ThrowOnError extends boolean = false>(options?: Options<LangchatChatbotsMessagesListData, ThrowOnError>) => import("./client").RequestResult<LangchatChatbotsMessagesListResponses, LangchatChatbotsMessagesListErrors, ThrowOnError, "fields">;
|
|
240
|
-
/**
|
|
241
|
-
* Get OneBot11 message
|
|
242
|
-
*
|
|
243
|
-
* #### Controller:
|
|
244
|
-
*
|
|
245
|
-
* `github.com/codeh007/gomtm/pkg/handlers/onebot11.(*OneBot11Service).GetMessage`
|
|
246
|
-
*
|
|
247
|
-
* #### Middlewares:
|
|
248
|
-
*
|
|
249
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
250
|
-
*
|
|
251
|
-
* ---
|
|
252
|
-
*
|
|
253
|
-
* Get a specific OneBot11 message by ID
|
|
254
|
-
*/
|
|
255
|
-
export declare const langchatChatbotsMessagesGet: <ThrowOnError extends boolean = false>(options: Options<LangchatChatbotsMessagesGetData, ThrowOnError>) => import("./client").RequestResult<LangchatChatbotsMessagesGetResponses, LangchatChatbotsMessagesGetErrors, ThrowOnError, "fields">;
|
|
256
|
-
/**
|
|
257
|
-
* List OneBot11 sessions
|
|
258
|
-
*
|
|
259
|
-
* #### Controller:
|
|
260
|
-
*
|
|
261
|
-
* `github.com/codeh007/gomtm/pkg/handlers/onebot11.(*OneBot11Service).ListSessions`
|
|
262
|
-
*
|
|
263
|
-
* #### Middlewares:
|
|
264
|
-
*
|
|
265
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
266
|
-
*
|
|
267
|
-
* ---
|
|
268
|
-
*
|
|
269
|
-
* Get a list of OneBot11 sessions with optional filtering
|
|
270
|
-
*/
|
|
271
|
-
export declare const langchatChatbotsSessionsList: <ThrowOnError extends boolean = false>(options?: Options<LangchatChatbotsSessionsListData, ThrowOnError>) => import("./client").RequestResult<LangchatChatbotsSessionsListResponses, LangchatChatbotsSessionsListErrors, ThrowOnError, "fields">;
|
|
272
|
-
/**
|
|
273
|
-
* List platform accounts
|
|
274
|
-
*
|
|
275
|
-
* #### Controller:
|
|
276
|
-
*
|
|
277
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).listPAccounts`
|
|
278
|
-
*
|
|
279
|
-
* #### Middlewares:
|
|
280
|
-
*
|
|
281
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
282
|
-
*
|
|
283
|
-
* ---
|
|
284
|
-
*
|
|
285
|
-
* Get list of platform accounts with pagination
|
|
286
|
-
*/
|
|
287
|
-
export declare const pAccountList: <ThrowOnError extends boolean = false>(options?: Options<PAccountListData2, ThrowOnError>) => import("./client").RequestResult<PAccountListResponses, PAccountListErrors, ThrowOnError, "fields">;
|
|
288
|
-
/**
|
|
289
|
-
* Create platform account
|
|
290
|
-
*
|
|
291
|
-
* #### Controller:
|
|
292
|
-
*
|
|
293
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).createPAccount`
|
|
294
|
-
*
|
|
295
|
-
* #### Middlewares:
|
|
296
|
-
*
|
|
297
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
298
|
-
*
|
|
299
|
-
* ---
|
|
300
|
-
*
|
|
301
|
-
* Create a new platform account
|
|
302
|
-
*/
|
|
303
|
-
export declare const pAccountCreate: <ThrowOnError extends boolean = false>(options: Options<PAccountCreateData, ThrowOnError>) => import("./client").RequestResult<PAccountCreateResponses, PAccountCreateErrors, ThrowOnError, "fields">;
|
|
304
|
-
/**
|
|
305
|
-
* Export platform accounts
|
|
306
|
-
*
|
|
307
|
-
* #### Controller:
|
|
308
|
-
*
|
|
309
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).exportPAccounts`
|
|
310
|
-
*
|
|
311
|
-
* #### Middlewares:
|
|
312
|
-
*
|
|
313
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
314
|
-
*
|
|
315
|
-
* ---
|
|
316
|
-
*
|
|
317
|
-
* Export all platform accounts data
|
|
318
|
-
*/
|
|
319
|
-
export declare const pAccountExport: <ThrowOnError extends boolean = false>(options?: Options<PAccountExportData, ThrowOnError>) => import("./client").RequestResult<PAccountExportResponses, PAccountExportErrors, ThrowOnError, "fields">;
|
|
320
|
-
/**
|
|
321
|
-
* Import platform accounts
|
|
322
|
-
*
|
|
323
|
-
* #### Controller:
|
|
324
|
-
*
|
|
325
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).importPAccounts`
|
|
326
|
-
*
|
|
327
|
-
* #### Middlewares:
|
|
328
|
-
*
|
|
329
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
330
|
-
*
|
|
331
|
-
* ---
|
|
332
|
-
*
|
|
333
|
-
* Import platform accounts data
|
|
334
|
-
*/
|
|
335
|
-
export declare const pAccountImport: <ThrowOnError extends boolean = false>(options: Options<PAccountImportData, ThrowOnError>) => import("./client").RequestResult<PAccountImportResponses, PAccountImportErrors, ThrowOnError, "fields">;
|
|
336
|
-
/**
|
|
337
|
-
* Delete platform account
|
|
338
|
-
*
|
|
339
|
-
* #### Controller:
|
|
340
|
-
*
|
|
341
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).deletePAccount`
|
|
342
|
-
*
|
|
343
|
-
* #### Middlewares:
|
|
344
|
-
*
|
|
345
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
346
|
-
*
|
|
347
|
-
* ---
|
|
348
|
-
*
|
|
349
|
-
* Delete platform account by ID
|
|
350
|
-
*/
|
|
351
|
-
export declare const pAccountDelete: <ThrowOnError extends boolean = false>(options: Options<PAccountDeleteData, ThrowOnError>) => import("./client").RequestResult<PAccountDeleteResponses, PAccountDeleteErrors, ThrowOnError, "fields">;
|
|
352
|
-
/**
|
|
353
|
-
* Get platform account
|
|
354
|
-
*
|
|
355
|
-
* #### Controller:
|
|
356
|
-
*
|
|
357
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).getPAccount`
|
|
358
|
-
*
|
|
359
|
-
* #### Middlewares:
|
|
360
|
-
*
|
|
361
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
362
|
-
*
|
|
363
|
-
* ---
|
|
364
|
-
*
|
|
365
|
-
* Get platform account by ID
|
|
366
|
-
*/
|
|
367
|
-
export declare const pAccountGet: <ThrowOnError extends boolean = false>(options: Options<PAccountGetData, ThrowOnError>) => import("./client").RequestResult<PAccountGetResponses, PAccountGetErrors, ThrowOnError, "fields">;
|
|
368
|
-
/**
|
|
369
|
-
* Update platform account
|
|
370
|
-
*
|
|
371
|
-
* #### Controller:
|
|
372
|
-
*
|
|
373
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).updatePAccount`
|
|
374
|
-
*
|
|
375
|
-
* #### Middlewares:
|
|
376
|
-
*
|
|
377
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
378
|
-
*
|
|
379
|
-
* ---
|
|
380
|
-
*
|
|
381
|
-
* Update platform account by ID
|
|
382
|
-
*/
|
|
383
|
-
export declare const pAccountUpdate: <ThrowOnError extends boolean = false>(options: Options<PAccountUpdateData, ThrowOnError>) => import("./client").RequestResult<PAccountUpdateResponses, PAccountUpdateErrors, ThrowOnError, "fields">;
|
|
384
|
-
/**
|
|
385
|
-
* List browser configs
|
|
386
|
-
*
|
|
387
|
-
* #### Controller:
|
|
388
|
-
*
|
|
389
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).listBrowserConfigs`
|
|
390
|
-
*
|
|
391
|
-
* #### Middlewares:
|
|
392
|
-
*
|
|
393
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
394
|
-
*
|
|
395
|
-
* ---
|
|
396
|
-
*
|
|
397
|
-
* List browser configurations for platform account
|
|
398
|
-
*/
|
|
399
|
-
export declare const pAccountListBrowserConfigs: <ThrowOnError extends boolean = false>(options: Options<PAccountListBrowserConfigsData, ThrowOnError>) => import("./client").RequestResult<PAccountListBrowserConfigsResponses, PAccountListBrowserConfigsErrors, ThrowOnError, "fields">;
|
|
400
|
-
/**
|
|
401
|
-
* Create browser config
|
|
402
|
-
*
|
|
403
|
-
* #### Controller:
|
|
404
|
-
*
|
|
405
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).createBrowserConfig`
|
|
406
|
-
*
|
|
407
|
-
* #### Middlewares:
|
|
408
|
-
*
|
|
409
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
410
|
-
*
|
|
411
|
-
* ---
|
|
412
|
-
*
|
|
413
|
-
* Create browser configuration for platform account
|
|
414
|
-
*/
|
|
415
|
-
export declare const pAccountCreateBrowserConfig: <ThrowOnError extends boolean = false>(options: Options<PAccountCreateBrowserConfigData, ThrowOnError>) => import("./client").RequestResult<PAccountCreateBrowserConfigResponses, PAccountCreateBrowserConfigErrors, ThrowOnError, "fields">;
|
|
416
|
-
/**
|
|
417
|
-
* Launch browser for account
|
|
418
|
-
*
|
|
419
|
-
* #### Controller:
|
|
420
|
-
*
|
|
421
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).launchBrowser`
|
|
422
|
-
*
|
|
423
|
-
* #### Middlewares:
|
|
424
|
-
*
|
|
425
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
426
|
-
*
|
|
427
|
-
* ---
|
|
428
|
-
*
|
|
429
|
-
* Launch browser session for platform account
|
|
430
|
-
*/
|
|
431
|
-
export declare const pAccountLaunchBrowser: <ThrowOnError extends boolean = false>(options: Options<PAccountLaunchBrowserData, ThrowOnError>) => import("./client").RequestResult<PAccountLaunchBrowserResponses, PAccountLaunchBrowserErrors, ThrowOnError, "fields">;
|
|
432
|
-
/**
|
|
433
|
-
* List sessions
|
|
434
|
-
*
|
|
435
|
-
* #### Controller:
|
|
436
|
-
*
|
|
437
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).listSessions`
|
|
438
|
-
*
|
|
439
|
-
* #### Middlewares:
|
|
440
|
-
*
|
|
441
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
442
|
-
*
|
|
443
|
-
* ---
|
|
444
|
-
*
|
|
445
|
-
* List sessions for platform account
|
|
446
|
-
*/
|
|
447
|
-
export declare const pAccountListSessions: <ThrowOnError extends boolean = false>(options: Options<PAccountListSessionsData, ThrowOnError>) => import("./client").RequestResult<PAccountListSessionsResponses, PAccountListSessionsErrors, ThrowOnError, "fields">;
|
|
448
|
-
/**
|
|
449
|
-
* Create session
|
|
450
|
-
*
|
|
451
|
-
* #### Controller:
|
|
452
|
-
*
|
|
453
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).createSession`
|
|
454
|
-
*
|
|
455
|
-
* #### Middlewares:
|
|
456
|
-
*
|
|
457
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
458
|
-
*
|
|
459
|
-
* ---
|
|
460
|
-
*
|
|
461
|
-
* Create session for platform account
|
|
462
|
-
*/
|
|
463
|
-
export declare const pAccountCreateSession: <ThrowOnError extends boolean = false>(options: Options<PAccountCreateSessionData, ThrowOnError>) => import("./client").RequestResult<PAccountCreateSessionResponses, PAccountCreateSessionErrors, ThrowOnError, "fields">;
|
|
464
|
-
/**
|
|
465
|
-
* Delete session
|
|
466
|
-
*
|
|
467
|
-
* #### Controller:
|
|
468
|
-
*
|
|
469
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).deleteSession`
|
|
470
|
-
*
|
|
471
|
-
* #### Middlewares:
|
|
472
|
-
*
|
|
473
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
474
|
-
*
|
|
475
|
-
* ---
|
|
476
|
-
*
|
|
477
|
-
* Delete session by ID
|
|
478
|
-
*/
|
|
479
|
-
export declare const pAccountDeleteSession: <ThrowOnError extends boolean = false>(options: Options<PAccountDeleteSessionData, ThrowOnError>) => import("./client").RequestResult<PAccountDeleteSessionResponses, PAccountDeleteSessionErrors, ThrowOnError, "fields">;
|
|
480
|
-
/**
|
|
481
|
-
* Get session
|
|
482
|
-
*
|
|
483
|
-
* #### Controller:
|
|
484
|
-
*
|
|
485
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).getSession`
|
|
486
|
-
*
|
|
487
|
-
* #### Middlewares:
|
|
488
|
-
*
|
|
489
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
490
|
-
*
|
|
491
|
-
* ---
|
|
492
|
-
*
|
|
493
|
-
* Get session by ID
|
|
494
|
-
*/
|
|
495
|
-
export declare const pAccountGetSession: <ThrowOnError extends boolean = false>(options: Options<PAccountGetSessionData, ThrowOnError>) => import("./client").RequestResult<PAccountGetSessionResponses, PAccountGetSessionErrors, ThrowOnError, "fields">;
|
|
496
|
-
/**
|
|
497
|
-
* Update session
|
|
498
|
-
*
|
|
499
|
-
* #### Controller:
|
|
500
|
-
*
|
|
501
|
-
* `github.com/codeh007/gomtm/pkg/handlers/paccount.(*PAccountService).updateSession`
|
|
502
|
-
*
|
|
503
|
-
* #### Middlewares:
|
|
504
|
-
*
|
|
505
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
506
|
-
*
|
|
507
|
-
* ---
|
|
508
|
-
*
|
|
509
|
-
* Update session by ID
|
|
510
|
-
*/
|
|
511
|
-
export declare const pAccountUpdateSession: <ThrowOnError extends boolean = false>(options: Options<PAccountUpdateSessionData, ThrowOnError>) => import("./client").RequestResult<PAccountUpdateSessionResponses, PAccountUpdateSessionErrors, ThrowOnError, "fields">;
|
|
512
|
-
/**
|
|
513
|
-
* List platforms
|
|
514
|
-
*
|
|
515
|
-
* #### Controller:
|
|
516
|
-
*
|
|
517
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).listPlatforms`
|
|
518
|
-
*
|
|
519
|
-
* #### Middlewares:
|
|
520
|
-
*
|
|
521
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
522
|
-
*
|
|
523
|
-
* ---
|
|
524
|
-
*
|
|
525
|
-
* Get list of platforms with pagination
|
|
526
|
-
*/
|
|
527
|
-
export declare const platformList: <ThrowOnError extends boolean = false>(options?: Options<PlatformListData2, ThrowOnError>) => import("./client").RequestResult<PlatformListResponses, PlatformListErrors, ThrowOnError, "fields">;
|
|
528
|
-
/**
|
|
529
|
-
* Create platform
|
|
530
|
-
*
|
|
531
|
-
* #### Controller:
|
|
532
|
-
*
|
|
533
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).createPlatform`
|
|
534
|
-
*
|
|
535
|
-
* #### Middlewares:
|
|
536
|
-
*
|
|
537
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
538
|
-
*
|
|
539
|
-
* ---
|
|
540
|
-
*
|
|
541
|
-
* Create a new platform
|
|
542
|
-
*/
|
|
543
|
-
export declare const platformCreate: <ThrowOnError extends boolean = false>(options: Options<PlatformCreateData, ThrowOnError>) => import("./client").RequestResult<PlatformCreateResponses, PlatformCreateErrors, ThrowOnError, "fields">;
|
|
544
|
-
/**
|
|
545
|
-
* Export platforms
|
|
546
|
-
*
|
|
547
|
-
* #### Controller:
|
|
548
|
-
*
|
|
549
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).exportPlatforms`
|
|
550
|
-
*
|
|
551
|
-
* #### Middlewares:
|
|
552
|
-
*
|
|
553
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
179
|
+
* ensure sandbox
|
|
554
180
|
*
|
|
555
|
-
*
|
|
556
|
-
*
|
|
557
|
-
* Export all platforms data
|
|
181
|
+
* Ensure a sandbox execution environment exists. Checks for active sandboxes. If not ready, starts an async task.
|
|
558
182
|
*/
|
|
559
|
-
export declare const
|
|
183
|
+
export declare const sandboxEnsure: <ThrowOnError extends boolean = false>(options: Options<SandboxEnsureData, ThrowOnError>) => import("./client").RequestResult<SandboxEnsureResponses, SandboxEnsureErrors, ThrowOnError, "fields">;
|
|
560
184
|
/**
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* #### Controller:
|
|
564
|
-
*
|
|
565
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).importPlatforms`
|
|
566
|
-
*
|
|
567
|
-
* #### Middlewares:
|
|
568
|
-
*
|
|
569
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
185
|
+
* list tasks
|
|
570
186
|
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
* Import platforms data
|
|
187
|
+
* List background tasks.
|
|
574
188
|
*/
|
|
575
|
-
export declare const
|
|
576
|
-
/**
|
|
577
|
-
* Delete platform
|
|
578
|
-
*
|
|
579
|
-
* #### Controller:
|
|
580
|
-
*
|
|
581
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).deletePlatform`
|
|
582
|
-
*
|
|
583
|
-
* #### Middlewares:
|
|
584
|
-
*
|
|
585
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
586
|
-
*
|
|
587
|
-
* ---
|
|
588
|
-
*
|
|
589
|
-
* Delete platform by ID
|
|
590
|
-
*/
|
|
591
|
-
export declare const platformDelete: <ThrowOnError extends boolean = false>(options: Options<PlatformDeleteData, ThrowOnError>) => import("./client").RequestResult<PlatformDeleteResponses, PlatformDeleteErrors, ThrowOnError, "fields">;
|
|
592
|
-
/**
|
|
593
|
-
* Get platform
|
|
594
|
-
*
|
|
595
|
-
* #### Controller:
|
|
596
|
-
*
|
|
597
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).getPlatform`
|
|
598
|
-
*
|
|
599
|
-
* #### Middlewares:
|
|
600
|
-
*
|
|
601
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
602
|
-
*
|
|
603
|
-
* ---
|
|
604
|
-
*
|
|
605
|
-
* Get platform by ID
|
|
606
|
-
*/
|
|
607
|
-
export declare const platformGet: <ThrowOnError extends boolean = false>(options: Options<PlatformGetData, ThrowOnError>) => import("./client").RequestResult<PlatformGetResponses, PlatformGetErrors, ThrowOnError, "fields">;
|
|
608
|
-
/**
|
|
609
|
-
* Update platform
|
|
610
|
-
*
|
|
611
|
-
* #### Controller:
|
|
612
|
-
*
|
|
613
|
-
* `github.com/codeh007/gomtm/pkg/handlers/platform.(*PlatformService).updatePlatform`
|
|
614
|
-
*
|
|
615
|
-
* #### Middlewares:
|
|
616
|
-
*
|
|
617
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
618
|
-
*
|
|
619
|
-
* ---
|
|
620
|
-
*
|
|
621
|
-
* Update platform by ID
|
|
622
|
-
*/
|
|
623
|
-
export declare const platformUpdate: <ThrowOnError extends boolean = false>(options: Options<PlatformUpdateData, ThrowOnError>) => import("./client").RequestResult<PlatformUpdateResponses, PlatformUpdateErrors, ThrowOnError, "fields">;
|
|
189
|
+
export declare const sandboxListTasks: <ThrowOnError extends boolean = false>(options: Options<SandboxListTasksData, ThrowOnError>) => import("./client").RequestResult<SandboxListTasksResponses, SandboxListTasksErrors, ThrowOnError, "fields">;
|
|
624
190
|
/**
|
|
625
191
|
* 运行通用任务
|
|
626
192
|
*
|
|
627
193
|
* #### Controller:
|
|
628
194
|
*
|
|
629
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
195
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/task.(*TaskService).handleTaskRun`
|
|
630
196
|
*
|
|
631
197
|
* #### Middlewares:
|
|
632
198
|
*
|
|
@@ -637,28 +203,12 @@ export declare const platformUpdate: <ThrowOnError extends boolean = false>(opti
|
|
|
637
203
|
* 接收来自数据库的任务推送,异步执行并回调结果
|
|
638
204
|
*/
|
|
639
205
|
export declare const taskRun: <ThrowOnError extends boolean = false>(options: Options<TaskRunData, ThrowOnError>) => import("./client").RequestResult<TaskRunResponses, TaskRunErrors, ThrowOnError, "fields">;
|
|
640
|
-
/**
|
|
641
|
-
* Get current user
|
|
642
|
-
*
|
|
643
|
-
* #### Controller:
|
|
644
|
-
*
|
|
645
|
-
* `github.com/codeh007/gomtm/pkg/handlers/users.(*UserService).getCurrentUser`
|
|
646
|
-
*
|
|
647
|
-
* #### Middlewares:
|
|
648
|
-
*
|
|
649
|
-
* - `github.com/go-fuego/fuego.defaultLogger.middleware`
|
|
650
|
-
*
|
|
651
|
-
* ---
|
|
652
|
-
*
|
|
653
|
-
* Get current user information
|
|
654
|
-
*/
|
|
655
|
-
export declare const userGetCurrent: <ThrowOnError extends boolean = false>(options?: Options<UserGetCurrentData, ThrowOnError>) => import("./client").RequestResult<UserGetCurrentResponses, UserGetCurrentErrors, ThrowOnError, "fields">;
|
|
656
206
|
/**
|
|
657
207
|
* Proxy WebUI GET requests
|
|
658
208
|
*
|
|
659
209
|
* #### Controller:
|
|
660
210
|
*
|
|
661
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
211
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/napcat.(*NapcatService).ProxyToWebUI`
|
|
662
212
|
*
|
|
663
213
|
* #### Middlewares:
|
|
664
214
|
*
|
|
@@ -674,7 +224,7 @@ export declare const napcatProxyWebUiget: <ThrowOnError extends boolean = false>
|
|
|
674
224
|
*
|
|
675
225
|
* #### Controller:
|
|
676
226
|
*
|
|
677
|
-
* `github.com/codeh007/gomtm/pkg/
|
|
227
|
+
* `github.com/codeh007/gomtm/pkg/routes/api/napcat.(*NapcatService).ProxyToWebUI`
|
|
678
228
|
*
|
|
679
229
|
* #### Middlewares:
|
|
680
230
|
*
|