mtmsdk 0.0.14 → 0.0.16
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/adk/api/client.d.ts +9 -0
- package/dist/adk/api/client.d.ts.map +1 -0
- package/dist/adk/api/client.js +39 -0
- package/dist/adk/api/client.js.map +1 -0
- package/dist/adk/core/constants/tool-icons.d.ts +21 -0
- package/dist/adk/core/constants/tool-icons.d.ts.map +1 -0
- package/dist/adk/core/constants/tool-icons.js +47 -0
- package/dist/adk/core/constants/tool-icons.js.map +1 -0
- package/dist/adk/core/models/AgentBuilder.d.ts +77 -0
- package/dist/adk/core/models/AgentBuilder.d.ts.map +1 -0
- package/dist/adk/core/models/AgentBuilder.js +18 -0
- package/dist/adk/core/models/AgentBuilder.js.map +1 -0
- package/dist/adk/core/models/AgentRunRequest.d.ts +37 -0
- package/dist/adk/core/models/AgentRunRequest.d.ts.map +1 -0
- package/dist/adk/core/models/AgentRunRequest.js +18 -0
- package/dist/adk/core/models/AgentRunRequest.js.map +1 -0
- package/dist/adk/core/models/Eval.d.ts +55 -0
- package/dist/adk/core/models/Eval.d.ts.map +1 -0
- package/dist/adk/core/models/Eval.js +27 -0
- package/dist/adk/core/models/Eval.js.map +1 -0
- package/dist/adk/core/models/LiveRequest.d.ts +23 -0
- package/dist/adk/core/models/LiveRequest.d.ts.map +1 -0
- package/dist/adk/core/models/LiveRequest.js +18 -0
- package/dist/adk/core/models/LiveRequest.js.map +1 -0
- package/dist/adk/core/models/RuntimeConfig.d.ts +32 -0
- package/dist/adk/core/models/RuntimeConfig.d.ts.map +1 -0
- package/dist/adk/core/models/RuntimeConfig.js +18 -0
- package/dist/adk/core/models/RuntimeConfig.js.map +1 -0
- package/dist/adk/core/models/Session.d.ts +117 -0
- package/dist/adk/core/models/Session.d.ts.map +1 -0
- package/dist/adk/core/models/Session.js +31 -0
- package/dist/adk/core/models/Session.js.map +1 -0
- package/dist/adk/core/models/Trace.d.ts +40 -0
- package/dist/adk/core/models/Trace.d.ts.map +1 -0
- package/dist/adk/core/models/Trace.js +2 -0
- package/dist/adk/core/models/Trace.js.map +1 -0
- package/dist/adk/core/models/types.d.ts +338 -0
- package/dist/adk/core/models/types.d.ts.map +1 -0
- package/dist/adk/core/models/types.js +189 -0
- package/dist/adk/core/models/types.js.map +1 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +3017 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.js +2776 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.js.map +1 -0
- package/dist/api_hatchet/client/client.gen.d.ts +3 -0
- package/dist/api_hatchet/client/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/client.gen.js +70 -46
- package/dist/api_hatchet/client/client.gen.js.map +1 -0
- package/dist/api_hatchet/client/index.d.ts +9 -0
- package/dist/api_hatchet/client/index.d.ts.map +1 -0
- package/dist/api_hatchet/client/index.js +7 -0
- package/dist/api_hatchet/client/index.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/types.gen.d.ts +19 -26
- package/dist/api_hatchet/client/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/client/types.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/utils.gen.d.ts +4 -4
- package/dist/api_hatchet/client/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/utils.gen.js +41 -40
- package/dist/api_hatchet/client/utils.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client.gen.d.ts +2 -2
- package/dist/api_hatchet/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client.gen.js +1 -1
- package/dist/api_hatchet/client.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/auth.gen.d.ts +3 -3
- package/dist/api_hatchet/core/auth.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/auth.gen.js +3 -3
- package/dist/api_hatchet/core/auth.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/bodySerializer.gen.d.ts +13 -5
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/bodySerializer.gen.js +3 -3
- package/dist/api_hatchet/core/bodySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/params.gen.d.ts +13 -3
- package/dist/api_hatchet/core/params.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/params.gen.js +24 -12
- package/dist/api_hatchet/core/params.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/pathSerializer.gen.d.ts +3 -3
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/pathSerializer.gen.js +36 -36
- package/dist/api_hatchet/core/pathSerializer.gen.js.map +1 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.js +100 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/serverSentEvents.gen.js +20 -18
- package/dist/api_hatchet/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/types.gen.d.ts +4 -4
- package/dist/api_hatchet/core/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/core/types.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/utils.gen.d.ts +1 -1
- package/dist/api_hatchet/core/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/utils.gen.js +17 -17
- package/dist/api_hatchet/core/utils.gen.js.map +1 -0
- package/dist/api_hatchet/index.d.ts +3 -0
- package/dist/api_hatchet/index.d.ts.map +1 -0
- package/dist/api_hatchet/index.js +4 -0
- package/dist/api_hatchet/index.js.map +1 -0
- package/dist/api_hatchet/schemas.gen.d.ts +4068 -0
- package/dist/api_hatchet/schemas.gen.d.ts.map +1 -0
- package/dist/api_hatchet/schemas.gen.js +4743 -0
- package/dist/api_hatchet/schemas.gen.js.map +1 -0
- package/dist/api_hatchet/sdk.gen.d.ts +784 -0
- package/dist/api_hatchet/sdk.gen.d.ts.map +1 -0
- package/dist/api_hatchet/sdk.gen.js +1849 -0
- package/dist/api_hatchet/sdk.gen.js.map +1 -0
- package/dist/api_hatchet/types.gen.d.ts +6861 -0
- package/dist/api_hatchet/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/types.gen.js +209 -0
- package/dist/api_hatchet/types.gen.js.map +1 -0
- package/dist/api_hatchet/zod.gen.d.ts +10429 -0
- package/dist/api_hatchet/zod.gen.d.ts.map +1 -0
- package/dist/api_hatchet/zod.gen.js +2766 -0
- package/dist/api_hatchet/zod.gen.js.map +1 -0
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +156 -668
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +460 -1007
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.js +70 -46
- package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/index.d.ts +8 -7
- package/dist/gomtmapi_v2/client/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/index.js +5 -4
- package/dist/gomtmapi_v2/client/index.js.map +1 -1
- package/dist/gomtmapi_v2/client/types.gen.d.ts +19 -26
- package/dist/gomtmapi_v2/client/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.d.ts +4 -4
- package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.js +41 -40
- package/dist/gomtmapi_v2/client/utils.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client.gen.d.ts +2 -2
- package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client.gen.js +1 -1
- package/dist/gomtmapi_v2/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/auth.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/auth.gen.js +3 -3
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts +13 -5
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js +3 -3
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/params.gen.d.ts +13 -3
- package/dist/gomtmapi_v2/core/params.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/params.gen.js +24 -12
- package/dist/gomtmapi_v2/core/params.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/pathSerializer.gen.js +36 -36
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js +100 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js +20 -18
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/types.gen.d.ts +4 -4
- package/dist/gomtmapi_v2/core/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/utils.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/core/utils.gen.js +17 -17
- package/dist/gomtmapi_v2/index.d.ts +2 -2
- package/dist/gomtmapi_v2/index.js +1 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts +51 -727
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.js +752 -1392
- package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +90 -362
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +241 -776
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/gomtmapi_v2/types.gen.d.ts +132 -917
- package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts +40 -734
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.js +191 -651
- package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
- package/dist/lib/aisdk/types.d.ts +3 -0
- package/dist/lib/aisdk/types.d.ts.map +1 -0
- package/dist/lib/aisdk/types.js +5 -0
- package/dist/lib/aisdk/types.js.map +1 -0
- package/dist/lib/logger/index.d.ts +19 -0
- package/dist/lib/logger/index.d.ts.map +1 -0
- package/dist/lib/logger/index.js +7 -0
- package/dist/lib/logger/index.js.map +1 -0
- package/dist/lib/schema.d.ts +41 -0
- package/dist/lib/schema.d.ts.map +1 -0
- package/dist/lib/schema.js +37 -0
- package/dist/lib/schema.js.map +1 -0
- package/dist/lib/utils.d.ts +14 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +45 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +194 -1693
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +234 -1405
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/client.gen.js +70 -46
- package/dist/mtgate_api/client/client.gen.js.map +1 -1
- package/dist/mtgate_api/client/index.d.ts +8 -7
- package/dist/mtgate_api/client/index.d.ts.map +1 -1
- package/dist/mtgate_api/client/index.js +5 -4
- package/dist/mtgate_api/client/index.js.map +1 -1
- package/dist/mtgate_api/client/types.gen.d.ts +19 -26
- package/dist/mtgate_api/client/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.d.ts +4 -4
- package/dist/mtgate_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.js +41 -40
- package/dist/mtgate_api/client/utils.gen.js.map +1 -1
- package/dist/mtgate_api/client.gen.d.ts +2 -2
- package/dist/mtgate_api/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client.gen.js +2 -4
- package/dist/mtgate_api/client.gen.js.map +1 -1
- package/dist/mtgate_api/core/auth.gen.d.ts +3 -3
- package/dist/mtgate_api/core/auth.gen.js +3 -3
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts +13 -5
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/bodySerializer.gen.js +3 -3
- package/dist/mtgate_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtgate_api/core/params.gen.d.ts +13 -3
- package/dist/mtgate_api/core/params.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/params.gen.js +24 -12
- package/dist/mtgate_api/core/params.gen.js.map +1 -1
- package/dist/mtgate_api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/mtgate_api/core/pathSerializer.gen.js +36 -36
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/serverSentEvents.gen.js +20 -18
- package/dist/mtgate_api/core/serverSentEvents.gen.js.map +1 -1
- package/dist/mtgate_api/core/types.gen.d.ts +4 -4
- package/dist/mtgate_api/core/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/utils.gen.d.ts +1 -1
- package/dist/mtgate_api/core/utils.gen.js +17 -17
- 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 -2
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +384 -1302
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +595 -1485
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +25 -137
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +97 -643
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +432 -2300
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/types.gen.js +1 -7
- package/dist/mtgate_api/types.gen.js.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +985 -2672
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +322 -1472
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +105 -82
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.js +439 -475
- package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/client.gen.js +70 -46
- package/dist/mtmai_api/client/client.gen.js.map +1 -1
- package/dist/mtmai_api/client/index.d.ts +8 -7
- package/dist/mtmai_api/client/index.d.ts.map +1 -1
- package/dist/mtmai_api/client/index.js +5 -4
- package/dist/mtmai_api/client/index.js.map +1 -1
- package/dist/mtmai_api/client/types.gen.d.ts +19 -26
- package/dist/mtmai_api/client/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.d.ts +4 -4
- package/dist/mtmai_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.js +41 -40
- package/dist/mtmai_api/client/utils.gen.js.map +1 -1
- package/dist/mtmai_api/client.gen.d.ts +2 -2
- package/dist/mtmai_api/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client.gen.js +1 -1
- package/dist/mtmai_api/client.gen.js.map +1 -1
- package/dist/mtmai_api/core/auth.gen.d.ts +3 -3
- package/dist/mtmai_api/core/auth.gen.js +3 -3
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts +13 -5
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/bodySerializer.gen.js +3 -3
- package/dist/mtmai_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtmai_api/core/params.gen.d.ts +13 -3
- package/dist/mtmai_api/core/params.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/params.gen.js +24 -12
- package/dist/mtmai_api/core/params.gen.js.map +1 -1
- package/dist/mtmai_api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/mtmai_api/core/pathSerializer.gen.js +36 -36
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/serverSentEvents.gen.js +20 -18
- package/dist/mtmai_api/core/serverSentEvents.gen.js.map +1 -1
- package/dist/mtmai_api/core/types.gen.d.ts +4 -4
- package/dist/mtmai_api/core/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/utils.gen.d.ts +1 -1
- package/dist/mtmai_api/core/utils.gen.js +17 -17
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.js +2 -2
- package/dist/mtmai_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtmai_api/schemas.gen.js +4363 -4616
- package/dist/mtmai_api/schemas.gen.js.map +1 -1
- package/dist/mtmai_api/sdk.gen.d.ts +25 -2
- package/dist/mtmai_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtmai_api/sdk.gen.js +211 -391
- package/dist/mtmai_api/sdk.gen.js.map +1 -1
- package/dist/mtmai_api/types.gen.d.ts +645 -81
- package/dist/mtmai_api/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/types.gen.js +116 -103
- package/dist/mtmai_api/types.gen.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +17408 -17216
- package/dist/mtmai_api/zod.gen.d.ts.map +1 -1
- package/dist/mtmai_api/zod.gen.js +3741 -1895
- package/dist/mtmai_api/zod.gen.js.map +1 -1
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +35 -0
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/sbapi/@tanstack/react-query.gen.js +40 -0
- package/dist/sbapi/@tanstack/react-query.gen.js.map +1 -0
- package/dist/sbapi/client/client.gen.d.ts +3 -0
- package/dist/sbapi/client/client.gen.d.ts.map +1 -0
- package/dist/sbapi/client/client.gen.js +229 -0
- package/dist/sbapi/client/client.gen.js.map +1 -0
- package/dist/sbapi/client/index.d.ts +9 -0
- package/dist/sbapi/client/index.d.ts.map +1 -0
- package/dist/sbapi/client/index.js +7 -0
- package/dist/sbapi/client/index.js.map +1 -0
- package/dist/sbapi/client/types.gen.d.ts +118 -0
- package/dist/sbapi/client/types.gen.d.ts.map +1 -0
- package/dist/sbapi/client/types.gen.js +3 -0
- package/dist/sbapi/client/types.gen.js.map +1 -0
- package/dist/sbapi/client/utils.gen.d.ts +34 -0
- package/dist/sbapi/client/utils.gen.d.ts.map +1 -0
- package/dist/sbapi/client/utils.gen.js +232 -0
- package/dist/sbapi/client/utils.gen.js.map +1 -0
- package/dist/sbapi/client.gen.d.ts +13 -0
- package/dist/sbapi/client.gen.d.ts.map +1 -0
- package/dist/sbapi/client.gen.js +4 -0
- package/dist/sbapi/client.gen.js.map +1 -0
- package/dist/sbapi/core/auth.gen.d.ts +19 -0
- package/dist/sbapi/core/auth.gen.d.ts.map +1 -0
- package/dist/sbapi/core/auth.gen.js +15 -0
- package/dist/sbapi/core/auth.gen.js.map +1 -0
- package/dist/sbapi/core/bodySerializer.gen.d.ts +26 -0
- package/dist/sbapi/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/bodySerializer.gen.js +58 -0
- package/dist/sbapi/core/bodySerializer.gen.js.map +1 -0
- package/dist/sbapi/core/params.gen.d.ts +44 -0
- package/dist/sbapi/core/params.gen.d.ts.map +1 -0
- package/dist/sbapi/core/params.gen.js +101 -0
- package/dist/sbapi/core/params.gen.js.map +1 -0
- package/dist/sbapi/core/pathSerializer.gen.d.ts +34 -0
- package/dist/sbapi/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/pathSerializer.gen.js +115 -0
- package/dist/sbapi/core/pathSerializer.gen.js.map +1 -0
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/queryKeySerializer.gen.js +100 -0
- package/dist/sbapi/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/sbapi/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/sbapi/core/serverSentEvents.gen.js +138 -0
- package/dist/sbapi/core/serverSentEvents.gen.js.map +1 -0
- package/dist/sbapi/core/types.gen.d.ts +79 -0
- package/dist/sbapi/core/types.gen.d.ts.map +1 -0
- package/dist/sbapi/core/types.gen.js +3 -0
- package/dist/sbapi/core/types.gen.js.map +1 -0
- package/dist/sbapi/core/utils.gen.d.ts +20 -0
- package/dist/sbapi/core/utils.gen.d.ts.map +1 -0
- package/dist/sbapi/core/utils.gen.js +88 -0
- package/dist/sbapi/core/utils.gen.js.map +1 -0
- package/dist/sbapi/index.d.ts +3 -0
- package/dist/sbapi/index.d.ts.map +1 -0
- package/dist/sbapi/index.js +3 -0
- package/dist/sbapi/index.js.map +1 -0
- package/dist/sbapi/schemas.gen.d.ts +38 -0
- package/dist/sbapi/schemas.gen.d.ts.map +1 -0
- package/dist/sbapi/schemas.gen.js +48 -0
- package/dist/sbapi/schemas.gen.js.map +1 -0
- package/dist/sbapi/sdk.gen.d.ts +17 -0
- package/dist/sbapi/sdk.gen.d.ts.map +1 -0
- package/dist/sbapi/sdk.gen.js +4 -0
- package/dist/sbapi/sdk.gen.js.map +1 -0
- package/dist/sbapi/types.gen.d.ts +54 -0
- package/dist/sbapi/types.gen.d.ts.map +1 -0
- package/dist/sbapi/types.gen.js +3 -0
- package/dist/sbapi/types.gen.js.map +1 -0
- package/dist/sbapi/zod.gen.d.ts +39 -0
- package/dist/sbapi/zod.gen.d.ts.map +1 -0
- package/dist/sbapi/zod.gen.js +31 -0
- package/dist/sbapi/zod.gen.js.map +1 -0
- package/dist/schema/browser.d.ts +29 -0
- package/dist/schema/browser.d.ts.map +1 -0
- package/dist/schema/browser.js +41 -0
- package/dist/schema/browser.js.map +1 -0
- package/dist/supabase/supabase-browser.d.ts +4 -0
- package/dist/supabase/supabase-browser.d.ts.map +1 -0
- package/dist/supabase/supabase-browser.js +20 -0
- package/dist/supabase/supabase-browser.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1941 -0
- package/dist/supabase/supabase-client.d.ts.map +1 -0
- package/dist/supabase/supabase-client.js +23 -0
- package/dist/supabase/supabase-client.js.map +1 -0
- package/dist/supabase/supabase.d.ts +3881 -0
- package/dist/supabase/supabase.d.ts.map +1 -0
- package/dist/supabase/supabase.js +89 -0
- package/dist/supabase/supabase.js.map +1 -0
- package/dist/supabase/use-sb-query/build-query-opts.d.ts +6 -0
- package/dist/supabase/use-sb-query/build-query-opts.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/build-query-opts.js +33 -0
- package/dist/supabase/use-sb-query/build-query-opts.js.map +1 -0
- package/dist/supabase/use-sb-query/key.d.ts +10 -0
- package/dist/supabase/use-sb-query/key.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/key.js +46 -0
- package/dist/supabase/use-sb-query/key.js.map +1 -0
- package/dist/supabase/use-sb-query/prefetch.d.ts +10 -0
- package/dist/supabase/use-sb-query/prefetch.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/prefetch.js +14 -0
- package/dist/supabase/use-sb-query/prefetch.js.map +1 -0
- package/dist/supabase/use-sb-query/use-query.d.ts +133 -0
- package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/use-query.js +117 -0
- package/dist/supabase/use-sb-query/use-query.js.map +1 -0
- package/dist/supabase/utils.d.ts +21 -0
- package/dist/supabase/utils.d.ts.map +1 -0
- package/dist/supabase/utils.js +46 -0
- package/dist/supabase/utils.js.map +1 -0
- package/dist/types/database.types.d.ts +2018 -0
- package/dist/types/database.types.d.ts.map +1 -0
- package/dist/types/database.types.js +6 -0
- package/dist/types/database.types.js.map +1 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +61 -70
- package/dist/components/MustAdmin.d.ts +0 -14
- package/dist/components/MustAdmin.d.ts.map +0 -1
- package/dist/components/MustAdmin.js +0 -37
- package/dist/components/MustAdmin.js.map +0 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +0 -947
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +0 -1023
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +0 -1
- package/dist/gomtmapi/client/client.gen.d.ts +0 -3
- package/dist/gomtmapi/client/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/client.gen.js.map +0 -1
- package/dist/gomtmapi/client/index.d.ts +0 -8
- package/dist/gomtmapi/client/index.d.ts.map +0 -1
- package/dist/gomtmapi/client/index.js +0 -6
- package/dist/gomtmapi/client/index.js.map +0 -1
- package/dist/gomtmapi/client/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/types.gen.js.map +0 -1
- package/dist/gomtmapi/client/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/utils.gen.js.map +0 -1
- package/dist/gomtmapi/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client.gen.js.map +0 -1
- package/dist/gomtmapi/core/auth.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/auth.gen.js.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.gen.js.map +0 -1
- package/dist/gomtmapi/core/params.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/params.gen.js.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.gen.js.map +0 -1
- package/dist/gomtmapi/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/serverSentEvents.gen.js.map +0 -1
- package/dist/gomtmapi/core/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/types.gen.js.map +0 -1
- package/dist/gomtmapi/core/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/utils.gen.js.map +0 -1
- package/dist/gomtmapi/index.d.ts +0 -3
- package/dist/gomtmapi/index.d.ts.map +0 -1
- package/dist/gomtmapi/index.js +0 -4
- package/dist/gomtmapi/index.js.map +0 -1
- package/dist/gomtmapi/schemas.gen.d.ts +0 -1445
- package/dist/gomtmapi/schemas.gen.d.ts.map +0 -1
- package/dist/gomtmapi/schemas.gen.js +0 -1474
- package/dist/gomtmapi/schemas.gen.js.map +0 -1
- package/dist/gomtmapi/sdk.gen.d.ts +0 -271
- package/dist/gomtmapi/sdk.gen.d.ts.map +0 -1
- package/dist/gomtmapi/sdk.gen.js +0 -974
- package/dist/gomtmapi/sdk.gen.js.map +0 -1
- package/dist/gomtmapi/types.gen.d.ts +0 -2302
- package/dist/gomtmapi/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/types.gen.js +0 -33
- package/dist/gomtmapi/types.gen.js.map +0 -1
- package/dist/gomtmapi/zod.gen.d.ts +0 -2067
- package/dist/gomtmapi/zod.gen.d.ts.map +0 -1
- package/dist/gomtmapi/zod.gen.js +0 -875
- package/dist/gomtmapi/zod.gen.js.map +0 -1
- package/dist/lib/adk-utils.d.ts +0 -19
- package/dist/lib/adk-utils.d.ts.map +0 -1
- package/dist/lib/adk-utils.js +0 -50
- package/dist/lib/adk-utils.js.map +0 -1
- package/dist/lib/auth-client.d.ts +0 -5965
- package/dist/lib/auth-client.d.ts.map +0 -1
- package/dist/lib/auth-client.js +0 -29
- package/dist/lib/auth-client.js.map +0 -1
- package/dist/lib/get-query-client.d.ts +0 -3
- package/dist/lib/get-query-client.d.ts.map +0 -1
- package/dist/lib/get-query-client.js +0 -23
- package/dist/lib/get-query-client.js.map +0 -1
- package/dist/lib/mtgate_client_ss.d.ts +0 -10
- package/dist/lib/mtgate_client_ss.d.ts.map +0 -1
- package/dist/lib/mtgate_client_ss.js +0 -24
- package/dist/lib/mtgate_client_ss.js.map +0 -1
- package/dist/store/AuthProviders.d.ts +0 -8
- package/dist/store/AuthProviders.d.ts.map +0 -1
- package/dist/store/AuthProviders.js +0 -34
- package/dist/store/AuthProviders.js.map +0 -1
- package/dist/store/GomtmProvider.d.ts +0 -10
- package/dist/store/GomtmProvider.d.ts.map +0 -1
- package/dist/store/GomtmProvider.js +0 -24
- package/dist/store/GomtmProvider.js.map +0 -1
- package/dist/store/GomtmV1Provider.d.ts +0 -10
- package/dist/store/GomtmV1Provider.d.ts.map +0 -1
- package/dist/store/GomtmV1Provider.js +0 -24
- package/dist/store/GomtmV1Provider.js.map +0 -1
- package/dist/store/MtgateProvider.d.ts +0 -6015
- package/dist/store/MtgateProvider.d.ts.map +0 -1
- package/dist/store/MtgateProvider.js +0 -76
- package/dist/store/MtgateProvider.js.map +0 -1
- package/dist/store/MtmsdkProvider.d.ts +0 -16
- package/dist/store/MtmsdkProvider.d.ts.map +0 -1
- package/dist/store/MtmsdkProvider.js +0 -47
- package/dist/store/MtmsdkProvider.js.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts +0 -10
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.js +0 -23
- package/dist/store/ReactQueryMtmaiApiProvider.js.map +0 -1
- /package/dist/{gomtmapi → api_hatchet}/client/types.gen.js +0 -0
- /package/dist/{gomtmapi → api_hatchet}/core/types.gen.js +0 -0
|
@@ -1,2453 +1,585 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl:
|
|
2
|
+
baseUrl: 'https://mtgateapi.yuepa8.com' | (string & {});
|
|
3
3
|
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export type AgentListResponse = {
|
|
21
|
-
agents: Array<Agent>;
|
|
22
|
-
total: number;
|
|
23
|
-
};
|
|
24
|
-
export type AgentGetResponse = {
|
|
25
|
-
agent?: Agent;
|
|
26
|
-
};
|
|
27
|
-
export type AgentCreateRequest = {
|
|
28
|
-
name: string;
|
|
29
|
-
description?: string;
|
|
30
|
-
status?: "active" | "inactive" | "error";
|
|
31
|
-
config?: {
|
|
32
|
-
[key: string]: unknown;
|
|
33
|
-
};
|
|
34
|
-
state?: {
|
|
35
|
-
[key: string]: unknown;
|
|
36
|
-
};
|
|
37
|
-
organizationId: string;
|
|
38
|
-
};
|
|
39
|
-
export type AgentChatbotUpdateBodyConfig = {
|
|
40
|
-
name?: string;
|
|
41
|
-
description?: string;
|
|
42
|
-
status?: "active" | "inactive" | "error";
|
|
43
|
-
config?: {
|
|
44
|
-
[key: string]: unknown;
|
|
45
|
-
};
|
|
46
|
-
state?: {
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export type AgentHandlerInfo = {
|
|
51
|
-
/**
|
|
52
|
-
* Agent name
|
|
53
|
-
*/
|
|
54
|
-
agentName: string;
|
|
55
|
-
/**
|
|
56
|
-
* Agent ID
|
|
57
|
-
*/
|
|
58
|
-
agentId: string;
|
|
59
|
-
/**
|
|
60
|
-
* Agent state
|
|
61
|
-
*/
|
|
62
|
-
state: string;
|
|
63
|
-
};
|
|
64
|
-
export type ApiError = {
|
|
65
|
-
error: {
|
|
66
|
-
code?: "VALIDATION_ERROR" | "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "INTERNAL_ERROR" | "CONFLICT" | "BAD_REQUEST" | "UNPROCESSABLE_ENTITY";
|
|
67
|
-
message: string;
|
|
68
|
-
details?: string;
|
|
69
|
-
field?: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export type AgentHandlerGetInfoBody = {
|
|
73
|
-
/**
|
|
74
|
-
* Agent ID
|
|
75
|
-
*/
|
|
76
|
-
agentId: string;
|
|
77
|
-
};
|
|
78
|
-
export type BrowserGetResponse = {
|
|
79
|
-
id: string;
|
|
80
|
-
organizationId: string;
|
|
81
|
-
name: string;
|
|
82
|
-
description?: string;
|
|
83
|
-
url: string;
|
|
84
|
-
properties?: {
|
|
85
|
-
[key: string]: unknown;
|
|
86
|
-
};
|
|
87
|
-
tags?: Array<string>;
|
|
88
|
-
lastUsedAt?: string;
|
|
89
|
-
createdAt: string;
|
|
90
|
-
updatedAt: string;
|
|
91
|
-
platformId?: string;
|
|
92
|
-
autoLoginScript?: string;
|
|
93
|
-
sessionData?: {
|
|
94
|
-
[key: string]: unknown;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
export type BrowserListResponse = {
|
|
98
|
-
browsers: Array<BrowserGetResponse>;
|
|
99
|
-
total: number;
|
|
100
|
-
pagination?: {
|
|
101
|
-
limit: number;
|
|
102
|
-
offset: number;
|
|
103
|
-
total_count: number;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
export type BrowserUpsertRequest = {
|
|
107
|
-
name: string;
|
|
108
|
-
description?: string;
|
|
109
|
-
url: string;
|
|
110
|
-
properties?: {
|
|
111
|
-
[key: string]: unknown;
|
|
112
|
-
};
|
|
113
|
-
tags?: Array<string>;
|
|
114
|
-
platformId?: string;
|
|
115
|
-
autoLoginScript?: string;
|
|
116
|
-
sessionData?: {
|
|
117
|
-
[key: string]: unknown;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
export type ApiCommonDelete = {
|
|
121
|
-
id?: string;
|
|
122
|
-
message?: string;
|
|
123
|
-
};
|
|
124
|
-
export type ProxyGetResponse = {
|
|
125
|
-
id: string;
|
|
126
|
-
name: string;
|
|
127
|
-
description?: string;
|
|
128
|
-
url: string;
|
|
129
|
-
type?: string;
|
|
130
|
-
provider?: string;
|
|
131
|
-
country_code?: string;
|
|
132
|
-
port?: number;
|
|
133
|
-
enabled: boolean;
|
|
134
|
-
created_at: string;
|
|
135
|
-
updated_at?: string;
|
|
136
|
-
};
|
|
137
|
-
export type ProxyListResponse = {
|
|
138
|
-
proxies: Array<ProxyGetResponse>;
|
|
139
|
-
pagination: {
|
|
140
|
-
page: number;
|
|
141
|
-
limit: number;
|
|
142
|
-
total_count: number;
|
|
143
|
-
total_pages: number;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
export type ProxyUpsertRequest = {
|
|
147
|
-
id?: string;
|
|
148
|
-
name?: string;
|
|
149
|
-
description?: string;
|
|
150
|
-
url: string;
|
|
151
|
-
};
|
|
152
|
-
export type Sandbox = {
|
|
153
|
-
id: string;
|
|
154
|
-
createdAt: string;
|
|
155
|
-
updatedAt: string;
|
|
156
|
-
deletedAt?: string | null;
|
|
157
|
-
organizationId: string;
|
|
158
|
-
name: string;
|
|
159
|
-
description: string;
|
|
160
|
-
deployType: string;
|
|
161
|
-
serverUrl: string;
|
|
162
|
-
status: string;
|
|
163
|
-
state: {
|
|
164
|
-
[key: string]: unknown;
|
|
165
|
-
};
|
|
166
|
-
config: {
|
|
167
|
-
[key: string]: unknown;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
export type SandboxList = {
|
|
171
|
-
services: Array<Sandbox>;
|
|
172
|
-
total: number;
|
|
173
|
-
};
|
|
174
|
-
export type SandboxGet = {
|
|
175
|
-
service?: Sandbox;
|
|
176
|
-
};
|
|
177
|
-
export type SandboxStart = {
|
|
178
|
-
message: string;
|
|
179
|
-
serviceId: string;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* 导航菜单项
|
|
183
|
-
*/
|
|
184
|
-
export type NavItem = {
|
|
185
|
-
/**
|
|
186
|
-
* 菜单标题
|
|
187
|
-
*/
|
|
188
|
-
title: string;
|
|
189
|
-
/**
|
|
190
|
-
* 菜单链接
|
|
191
|
-
*/
|
|
192
|
-
url?: string;
|
|
193
|
-
/**
|
|
194
|
-
* 图标名称
|
|
195
|
-
*/
|
|
196
|
-
icon?: string;
|
|
197
|
-
/**
|
|
198
|
-
* 徽章文本
|
|
199
|
-
*/
|
|
200
|
-
badge?: string;
|
|
201
|
-
/**
|
|
202
|
-
* 是否仅在调试模式下显示
|
|
203
|
-
*/
|
|
204
|
-
debugOnly?: boolean;
|
|
205
|
-
/**
|
|
206
|
-
* 允许访问此菜单项的角色列表
|
|
207
|
-
*/
|
|
208
|
-
roles?: Array<string>;
|
|
209
|
-
/**
|
|
210
|
-
* 子菜单项
|
|
211
|
-
*/
|
|
212
|
-
children?: Array<NavItem>;
|
|
213
|
-
};
|
|
214
|
-
export type SingboxConfig = {
|
|
215
|
-
configUrl?: string;
|
|
216
|
-
containerOnly?: boolean;
|
|
217
|
-
};
|
|
218
|
-
export type TunnelConfig = {
|
|
219
|
-
cloudflareToken: string;
|
|
220
|
-
tunnelName?: string;
|
|
221
|
-
localPort: number;
|
|
222
|
-
singbox: SingboxConfig;
|
|
223
|
-
};
|
|
224
|
-
export type OnionConfig = {
|
|
225
|
-
privateKey?: string;
|
|
226
|
-
};
|
|
227
|
-
export type VncService = {
|
|
228
|
-
enabled?: boolean;
|
|
229
|
-
port?: number;
|
|
230
|
-
display?: string;
|
|
231
|
-
password?: string;
|
|
232
|
-
resolution?: string;
|
|
233
|
-
colorDepth?: number;
|
|
234
|
-
onionConfig?: OnionConfig;
|
|
235
|
-
};
|
|
236
|
-
export type HelloOnionWebService = {
|
|
237
|
-
enabled?: boolean;
|
|
238
|
-
port?: number;
|
|
239
|
-
onionConfig?: OnionConfig;
|
|
240
|
-
};
|
|
241
|
-
export type MainApiService = {
|
|
242
|
-
enabled?: boolean;
|
|
243
|
-
port?: number;
|
|
244
|
-
onionConfig?: OnionConfig;
|
|
245
|
-
};
|
|
246
|
-
export type GomtmConfig = {
|
|
247
|
-
tunnel?: TunnelConfig;
|
|
248
|
-
vnc?: VncService;
|
|
249
|
-
helloOnionWeb?: HelloOnionWebService;
|
|
250
|
-
mainApi?: MainApiService;
|
|
251
|
-
};
|
|
252
|
-
export type Site = {
|
|
253
|
-
id: string;
|
|
254
|
-
title: string;
|
|
255
|
-
description?: string;
|
|
256
|
-
organizationId: string;
|
|
257
|
-
enabled: boolean;
|
|
258
|
-
createdAt: string;
|
|
259
|
-
updatedAt: string;
|
|
260
|
-
state?: {
|
|
261
|
-
[key: string]: unknown;
|
|
262
|
-
};
|
|
263
|
-
automationEnabled: boolean;
|
|
264
|
-
};
|
|
265
|
-
export type SiteList = {
|
|
266
|
-
sites: Array<Site>;
|
|
267
|
-
total: number;
|
|
268
|
-
limit: number;
|
|
269
|
-
offset: number;
|
|
270
|
-
};
|
|
271
|
-
export type SiteCreateRequest = {
|
|
272
|
-
title: string;
|
|
273
|
-
description?: string;
|
|
274
|
-
enabled?: boolean;
|
|
275
|
-
automationEnabled?: boolean;
|
|
276
|
-
state?: {
|
|
277
|
-
[key: string]: unknown;
|
|
278
|
-
};
|
|
279
|
-
organizationId: string;
|
|
280
|
-
};
|
|
281
|
-
export type SiteUpdateRequest = {
|
|
282
|
-
id: string;
|
|
283
|
-
title?: string;
|
|
284
|
-
description?: string;
|
|
285
|
-
enabled?: boolean;
|
|
286
|
-
automationEnabled?: boolean;
|
|
287
|
-
state?: {
|
|
288
|
-
[key: string]: unknown;
|
|
289
|
-
};
|
|
290
|
-
tenantId: string;
|
|
291
|
-
};
|
|
292
|
-
export type BlogPost = {
|
|
293
|
-
id: string;
|
|
294
|
-
createdAt: string;
|
|
295
|
-
updatedAt: string;
|
|
296
|
-
title?: string;
|
|
297
|
-
content: string;
|
|
298
|
-
description?: string;
|
|
299
|
-
slug: string;
|
|
300
|
-
status: string;
|
|
301
|
-
state: string;
|
|
302
|
-
publishDate?: string;
|
|
303
|
-
siteId: string;
|
|
304
|
-
tenantId: string;
|
|
305
|
-
authorId: string;
|
|
306
|
-
image?: string;
|
|
307
|
-
settings?: string;
|
|
308
|
-
deletedAt?: string;
|
|
309
|
-
parentPostId?: string;
|
|
310
|
-
releaseId?: string;
|
|
311
|
-
releaseURL?: string;
|
|
312
|
-
lastMessageId?: string;
|
|
313
|
-
error?: string;
|
|
314
|
-
};
|
|
315
|
-
export type BlogPostList = {
|
|
316
|
-
posts: Array<BlogPost>;
|
|
317
|
-
total: number;
|
|
318
|
-
limit: number;
|
|
319
|
-
offset: number;
|
|
320
|
-
};
|
|
321
|
-
export type BlogPostCreate = {
|
|
322
|
-
title?: string;
|
|
323
|
-
content: string;
|
|
324
|
-
description?: string;
|
|
325
|
-
slug?: string;
|
|
326
|
-
status?: string;
|
|
327
|
-
state?: string;
|
|
328
|
-
publishDate?: string;
|
|
329
|
-
siteId: string;
|
|
330
|
-
image?: string;
|
|
331
|
-
settings?: string;
|
|
332
|
-
};
|
|
333
|
-
export type BlogPostUpdate = {
|
|
334
|
-
title?: string;
|
|
335
|
-
content?: string;
|
|
336
|
-
description?: string;
|
|
337
|
-
slug?: string;
|
|
338
|
-
status?: string;
|
|
339
|
-
state?: string;
|
|
340
|
-
publishDate?: string;
|
|
341
|
-
image?: string;
|
|
342
|
-
settings?: string;
|
|
343
|
-
};
|
|
344
|
-
export type SiteHostCreateRequest = {
|
|
345
|
-
host: string;
|
|
346
|
-
};
|
|
347
|
-
export type AdkSessionState = {
|
|
348
|
-
[key: string]: unknown;
|
|
349
|
-
};
|
|
350
|
-
export type AdkSession = {
|
|
351
|
-
id: string;
|
|
352
|
-
app_name: string;
|
|
353
|
-
user_id: string;
|
|
354
|
-
state?: AdkSessionState;
|
|
355
|
-
events?: Array<unknown>;
|
|
356
|
-
last_update_time?: number;
|
|
357
|
-
};
|
|
358
|
-
export type AdkSessionCreateReq = {
|
|
359
|
-
app_name: string;
|
|
360
|
-
user_id: string;
|
|
361
|
-
state?: AdkSessionState;
|
|
362
|
-
session_id?: string;
|
|
363
|
-
};
|
|
364
|
-
export type AdkSessionGet = {
|
|
365
|
-
id: string;
|
|
366
|
-
app_name: string;
|
|
367
|
-
user_id: string;
|
|
368
|
-
state?: AdkSessionState;
|
|
369
|
-
events?: Array<unknown>;
|
|
370
|
-
last_update_time?: number;
|
|
371
|
-
};
|
|
372
|
-
export type AdkSessionGetReq = {
|
|
373
|
-
app_name: string;
|
|
374
|
-
user_id: string;
|
|
375
|
-
session_id: string;
|
|
376
|
-
num_recent_events?: string;
|
|
377
|
-
after_timestamp?: string;
|
|
378
|
-
};
|
|
379
|
-
export type AdkSessionList = {
|
|
380
|
-
sessions: Array<AdkSession>;
|
|
381
|
-
};
|
|
382
|
-
export type AdkSessionDelete = {
|
|
383
|
-
success: boolean;
|
|
384
|
-
};
|
|
385
|
-
export type AdkSessionDeleteReq = {
|
|
386
|
-
app_name: string;
|
|
387
|
-
user_id: string;
|
|
388
|
-
session_id: string;
|
|
389
|
-
};
|
|
390
|
-
export type AdkSessionAppendEventResult = {
|
|
391
|
-
timestamp: number;
|
|
392
|
-
};
|
|
393
|
-
export type AdkEvent = {
|
|
394
|
-
invocation_id: string;
|
|
395
|
-
author: string;
|
|
396
|
-
actions?: unknown;
|
|
397
|
-
long_running_tool_ids?: Array<string>;
|
|
398
|
-
branch?: string;
|
|
399
|
-
id: string;
|
|
400
|
-
timestamp: number;
|
|
401
|
-
content?: unknown;
|
|
402
|
-
partial?: boolean;
|
|
403
|
-
turn_complete?: boolean;
|
|
404
|
-
error_code?: string;
|
|
405
|
-
error_message?: string;
|
|
406
|
-
interrupted?: boolean;
|
|
407
|
-
grounding_metadata?: unknown;
|
|
408
|
-
custom_metadata?: unknown;
|
|
409
|
-
};
|
|
410
|
-
export type AdkSessionAppendEventBody = {
|
|
411
|
-
session: AdkSession;
|
|
412
|
-
event: AdkEvent;
|
|
413
|
-
};
|
|
414
|
-
export type AdkArtifactSave = {
|
|
415
|
-
version: number;
|
|
416
|
-
};
|
|
417
|
-
export type AdkArtifactSaveRequest = {
|
|
418
|
-
app_name: string;
|
|
419
|
-
user_id: string;
|
|
420
|
-
session_id: string;
|
|
421
|
-
filename: string;
|
|
422
|
-
content_type?: string;
|
|
423
|
-
content_data?: unknown;
|
|
424
|
-
};
|
|
425
|
-
export type AdkArtifactResponse = {
|
|
426
|
-
app_name: string;
|
|
427
|
-
user_id: string;
|
|
428
|
-
session_id: string;
|
|
429
|
-
filename: string;
|
|
430
|
-
version: number;
|
|
431
|
-
content_type?: string;
|
|
432
|
-
content_data?: unknown;
|
|
433
|
-
created_at: string;
|
|
434
|
-
updated_at: string;
|
|
435
|
-
};
|
|
436
|
-
export type AdkArtifactLoadRequest = {
|
|
437
|
-
app_name: string;
|
|
438
|
-
user_id: string;
|
|
439
|
-
session_id: string;
|
|
440
|
-
filename: string;
|
|
441
|
-
version?: number;
|
|
442
|
-
};
|
|
443
|
-
export type AdkArtifactSummary = {
|
|
444
|
-
app_name: string;
|
|
445
|
-
user_id: string;
|
|
446
|
-
session_id: string;
|
|
447
|
-
filename: string;
|
|
448
|
-
version: number;
|
|
449
|
-
content_type?: string;
|
|
450
|
-
size?: number;
|
|
451
|
-
created_at: string;
|
|
452
|
-
updated_at: string;
|
|
453
|
-
};
|
|
454
|
-
export type AdkArtifactList = {
|
|
455
|
-
artifacts: Array<AdkArtifactSummary>;
|
|
456
|
-
total: number;
|
|
457
|
-
};
|
|
458
|
-
export type AdkArtifactListKeys = {
|
|
459
|
-
filenames: Array<string>;
|
|
460
|
-
};
|
|
461
|
-
export type AdkArtifactDeleteRequest = {
|
|
462
|
-
app_name: string;
|
|
463
|
-
user_id: string;
|
|
464
|
-
session_id: string;
|
|
465
|
-
filename: string;
|
|
466
|
-
};
|
|
467
|
-
export type AdkArtifactListVersions = {
|
|
468
|
-
versions: Array<number>;
|
|
469
|
-
};
|
|
470
|
-
export type AdkTaskSave = {
|
|
471
|
-
success: boolean;
|
|
472
|
-
};
|
|
473
|
-
export type Message = {
|
|
474
|
-
kind: "message";
|
|
475
|
-
messageId: string;
|
|
476
|
-
role: "agent" | "user";
|
|
477
|
-
parts: Array<unknown>;
|
|
478
|
-
contextId?: string;
|
|
479
|
-
taskId?: string;
|
|
480
|
-
extensions?: Array<string>;
|
|
481
|
-
referenceTaskIds?: Array<string>;
|
|
482
|
-
metadata?: {
|
|
483
|
-
[key: string]: unknown;
|
|
484
|
-
};
|
|
485
|
-
};
|
|
486
|
-
export declare const TaskState: {
|
|
487
|
-
readonly SUBMITTED: "submitted";
|
|
488
|
-
readonly RUNNING: "running";
|
|
489
|
-
readonly COMPLETED: "completed";
|
|
490
|
-
readonly FAILED: "failed";
|
|
491
|
-
readonly CANCELLED: "cancelled";
|
|
492
|
-
};
|
|
493
|
-
export type TaskState = (typeof TaskState)[keyof typeof TaskState];
|
|
494
|
-
export type TaskStatus = {
|
|
495
|
-
message?: Message;
|
|
496
|
-
state: TaskState;
|
|
497
|
-
timestamp?: string;
|
|
498
|
-
};
|
|
499
|
-
export type Artifact = {
|
|
500
|
-
artifactId: string;
|
|
501
|
-
name?: string;
|
|
502
|
-
description?: string;
|
|
503
|
-
parts: Array<unknown>;
|
|
504
|
-
extensions?: Array<string>;
|
|
505
|
-
metadata?: {
|
|
506
|
-
[key: string]: unknown;
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
export type AdkTaskSaveRequest = {
|
|
510
|
-
id: string;
|
|
511
|
-
context_id: string;
|
|
512
|
-
kind?: string;
|
|
513
|
-
status: TaskStatus;
|
|
514
|
-
artifacts?: Array<Artifact>;
|
|
515
|
-
history?: Array<Message>;
|
|
516
|
-
metadata?: {
|
|
517
|
-
[key: string]: unknown;
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
export type Task = {
|
|
521
|
-
id: string;
|
|
522
|
-
context_id: string;
|
|
523
|
-
kind?: string;
|
|
524
|
-
status: TaskStatus;
|
|
525
|
-
artifacts?: Array<Artifact>;
|
|
526
|
-
history?: Array<Message>;
|
|
527
|
-
metadata?: {
|
|
528
|
-
[key: string]: unknown;
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
export type AdkTaskGet = Task | unknown;
|
|
532
|
-
export type AdkTaskGetRequest = {
|
|
533
|
-
task_id: string;
|
|
534
|
-
};
|
|
535
|
-
export type AdkTaskList = {
|
|
536
|
-
tasks: Array<Task>;
|
|
537
|
-
};
|
|
538
|
-
export type AdkTaskDelete = {
|
|
539
|
-
success: boolean;
|
|
540
|
-
};
|
|
541
|
-
export type AdkTaskDeleteRequest = {
|
|
542
|
-
task_id: string;
|
|
543
|
-
};
|
|
544
|
-
export type AgentChatbotListData = {
|
|
545
|
-
body?: never;
|
|
546
|
-
path?: never;
|
|
547
|
-
query?: {
|
|
548
|
-
organizationId?: string;
|
|
549
|
-
limit?: number;
|
|
550
|
-
offset?: number | null;
|
|
551
|
-
};
|
|
552
|
-
url: "/api/cf/agents/chatbot/chatbot";
|
|
553
|
-
};
|
|
554
|
-
export type AgentChatbotListResponses = {
|
|
555
|
-
/**
|
|
556
|
-
* Retrieve the agents list
|
|
557
|
-
*/
|
|
558
|
-
200: AgentListResponse;
|
|
559
|
-
};
|
|
560
|
-
export type AgentChatbotListResponse = AgentChatbotListResponses[keyof AgentChatbotListResponses];
|
|
561
|
-
export type AgentChatbotCreateData = {
|
|
562
|
-
body?: AgentCreateRequest;
|
|
563
|
-
path?: never;
|
|
564
|
-
query?: never;
|
|
565
|
-
url: "/api/cf/agents/chatbot/chatbot";
|
|
566
|
-
};
|
|
567
|
-
export type AgentChatbotCreateResponses = {
|
|
568
|
-
/**
|
|
569
|
-
* Create new agent
|
|
570
|
-
*/
|
|
571
|
-
200: Agent;
|
|
572
|
-
};
|
|
573
|
-
export type AgentChatbotCreateResponse = AgentChatbotCreateResponses[keyof AgentChatbotCreateResponses];
|
|
574
|
-
export type AgentChatbotDeleteData = {
|
|
575
|
-
body?: never;
|
|
576
|
-
path: {
|
|
577
|
-
id: string;
|
|
578
|
-
};
|
|
579
|
-
query?: never;
|
|
580
|
-
url: "/api/cf/agents/chatbot/chatbot/{id}";
|
|
581
|
-
};
|
|
582
|
-
export type AgentChatbotDeleteResponses = {
|
|
583
|
-
/**
|
|
584
|
-
* Delete the agent
|
|
585
|
-
*/
|
|
586
|
-
200: AgentGetResponse;
|
|
587
|
-
};
|
|
588
|
-
export type AgentChatbotDeleteResponse = AgentChatbotDeleteResponses[keyof AgentChatbotDeleteResponses];
|
|
589
|
-
export type AgentChatbotGetData = {
|
|
590
|
-
body?: never;
|
|
591
|
-
path: {
|
|
592
|
-
id: string;
|
|
593
|
-
};
|
|
594
|
-
query?: never;
|
|
595
|
-
url: "/api/cf/agents/chatbot/chatbot/{id}";
|
|
596
|
-
};
|
|
597
|
-
export type AgentChatbotGetResponses = {
|
|
598
|
-
/**
|
|
599
|
-
* Retrieve the agent
|
|
600
|
-
*/
|
|
601
|
-
200: AgentGetResponse;
|
|
602
|
-
};
|
|
603
|
-
export type AgentChatbotGetResponse = AgentChatbotGetResponses[keyof AgentChatbotGetResponses];
|
|
604
|
-
export type AgentChatbotUpdateData = {
|
|
605
|
-
body?: AgentChatbotUpdateBodyConfig;
|
|
606
|
-
path: {
|
|
607
|
-
id: string;
|
|
608
|
-
};
|
|
609
|
-
query?: never;
|
|
610
|
-
url: "/api/cf/agents/chatbot/chatbot/{id}";
|
|
611
|
-
};
|
|
612
|
-
export type AgentChatbotUpdateResponses = {
|
|
613
|
-
/**
|
|
614
|
-
* Update agent
|
|
615
|
-
*/
|
|
616
|
-
200: Agent;
|
|
617
|
-
};
|
|
618
|
-
export type AgentChatbotUpdateResponse = AgentChatbotUpdateResponses[keyof AgentChatbotUpdateResponses];
|
|
619
|
-
export type WorkerAgentStartNapcatData = {
|
|
620
|
-
body?: never;
|
|
621
|
-
path?: never;
|
|
622
|
-
query?: {
|
|
623
|
-
organizationId?: string;
|
|
624
|
-
limit?: number;
|
|
625
|
-
offset?: number | null;
|
|
626
|
-
};
|
|
627
|
-
url: "/api/cf/agents/worker-agent/agents/worker-agent/start-napcat";
|
|
628
|
-
};
|
|
629
|
-
export type WorkerAgentStartNapcatResponses = {
|
|
630
|
-
/**
|
|
631
|
-
* Retrieve the agents list
|
|
632
|
-
*/
|
|
633
|
-
200: AgentListResponse;
|
|
634
|
-
};
|
|
635
|
-
export type WorkerAgentStartNapcatResponse = WorkerAgentStartNapcatResponses[keyof WorkerAgentStartNapcatResponses];
|
|
636
|
-
export type AgentHandlerGetInfoData = {
|
|
637
|
-
body?: AgentHandlerGetInfoBody;
|
|
638
|
-
path?: never;
|
|
639
|
-
query?: never;
|
|
640
|
-
url: "/api/cf/agents/agents-handlers/agent_info";
|
|
641
|
-
};
|
|
642
|
-
export type AgentHandlerGetInfoErrors = {
|
|
643
|
-
/**
|
|
644
|
-
* Not Found - 资源不存在
|
|
645
|
-
*/
|
|
646
|
-
404: ApiError;
|
|
647
|
-
/**
|
|
648
|
-
* Internal Server Error - 内部服务器错误
|
|
649
|
-
*/
|
|
650
|
-
500: ApiError;
|
|
651
|
-
};
|
|
652
|
-
export type AgentHandlerGetInfoError = AgentHandlerGetInfoErrors[keyof AgentHandlerGetInfoErrors];
|
|
653
|
-
export type AgentHandlerGetInfoResponses = {
|
|
654
|
-
/**
|
|
655
|
-
* Agent information retrieved successfully
|
|
656
|
-
*/
|
|
657
|
-
200: AgentHandlerInfo;
|
|
658
|
-
};
|
|
659
|
-
export type AgentHandlerGetInfoResponse = AgentHandlerGetInfoResponses[keyof AgentHandlerGetInfoResponses];
|
|
660
|
-
export type A2aGetAgentCardData = {
|
|
661
|
-
body?: never;
|
|
662
|
-
path: {
|
|
663
|
-
/**
|
|
664
|
-
* Agent name
|
|
665
|
-
*/
|
|
666
|
-
agent: string;
|
|
667
|
-
};
|
|
668
|
-
query?: never;
|
|
669
|
-
url: "/api/cf/agents/a2a/{agent}/.well-known/agent-card.json";
|
|
670
|
-
};
|
|
671
|
-
export type A2aGetAgentCardErrors = {
|
|
672
|
-
/**
|
|
673
|
-
* Agent not found
|
|
674
|
-
*/
|
|
675
|
-
404: {
|
|
676
|
-
error: string;
|
|
677
|
-
};
|
|
678
|
-
};
|
|
679
|
-
export type A2aGetAgentCardError = A2aGetAgentCardErrors[keyof A2aGetAgentCardErrors];
|
|
680
|
-
export type A2aGetAgentCardResponses = {
|
|
681
|
-
/**
|
|
682
|
-
* Agent card retrieved successfully
|
|
683
|
-
*/
|
|
684
|
-
200: unknown;
|
|
685
|
-
};
|
|
686
|
-
export type A2aRpcData = {
|
|
687
|
-
/**
|
|
688
|
-
* JSON-RPC 2.0 request
|
|
689
|
-
*/
|
|
690
|
-
body?: unknown;
|
|
691
|
-
path: {
|
|
692
|
-
/**
|
|
693
|
-
* Agent name
|
|
694
|
-
*/
|
|
695
|
-
agent: string;
|
|
696
|
-
};
|
|
697
|
-
query?: never;
|
|
698
|
-
url: "/api/cf/agents/a2a/{agent}";
|
|
699
|
-
};
|
|
700
|
-
export type A2aRpcErrors = {
|
|
701
|
-
/**
|
|
702
|
-
* Internal Server Error - 内部服务器错误
|
|
703
|
-
*/
|
|
704
|
-
500: ApiError;
|
|
705
|
-
};
|
|
706
|
-
export type A2aRpcError = A2aRpcErrors[keyof A2aRpcErrors];
|
|
707
|
-
export type A2aRpcResponses = {
|
|
708
|
-
/**
|
|
709
|
-
* JSON-RPC 2.0 response or SSE stream
|
|
710
|
-
*/
|
|
711
|
-
200: unknown;
|
|
712
|
-
};
|
|
713
|
-
export type BrowsersListData = {
|
|
714
|
-
body?: never;
|
|
715
|
-
path?: never;
|
|
716
|
-
query?: {
|
|
717
|
-
search?: string;
|
|
718
|
-
limit?: number;
|
|
719
|
-
offset?: number | null;
|
|
720
|
-
platformId?: string;
|
|
721
|
-
};
|
|
722
|
-
url: "/api/cf/browsers";
|
|
723
|
-
};
|
|
724
|
-
export type BrowsersListErrors = {
|
|
725
|
-
/**
|
|
726
|
-
* Bad Request - 请求参数错误
|
|
727
|
-
*/
|
|
728
|
-
400: ApiError;
|
|
729
|
-
};
|
|
730
|
-
export type BrowsersListError = BrowsersListErrors[keyof BrowsersListErrors];
|
|
731
|
-
export type BrowsersListResponses = {
|
|
732
|
-
/**
|
|
733
|
-
* Retrieve the browsers list
|
|
734
|
-
*/
|
|
735
|
-
200: BrowserListResponse;
|
|
736
|
-
};
|
|
737
|
-
export type BrowsersListResponse = BrowsersListResponses[keyof BrowsersListResponses];
|
|
738
|
-
export type BrowsersCreateData = {
|
|
739
|
-
body?: BrowserUpsertRequest;
|
|
740
|
-
path?: never;
|
|
741
|
-
query?: never;
|
|
742
|
-
url: "/api/cf/browsers";
|
|
743
|
-
};
|
|
744
|
-
export type BrowsersCreateErrors = {
|
|
745
|
-
/**
|
|
746
|
-
* Bad Request - 请求参数错误
|
|
747
|
-
*/
|
|
748
|
-
400: ApiError;
|
|
749
|
-
};
|
|
750
|
-
export type BrowsersCreateError = BrowsersCreateErrors[keyof BrowsersCreateErrors];
|
|
751
|
-
export type BrowsersCreateResponses = {
|
|
752
|
-
/**
|
|
753
|
-
* Browser created successfully
|
|
754
|
-
*/
|
|
755
|
-
201: BrowserGetResponse;
|
|
756
|
-
};
|
|
757
|
-
export type BrowsersCreateResponse = BrowsersCreateResponses[keyof BrowsersCreateResponses];
|
|
758
|
-
export type BrowsersDeleteData = {
|
|
759
|
-
body?: never;
|
|
760
|
-
path: {
|
|
761
|
-
browserId: string;
|
|
762
|
-
};
|
|
763
|
-
query?: never;
|
|
764
|
-
url: "/api/cf/browsers/{browserId}";
|
|
765
|
-
};
|
|
766
|
-
export type BrowsersDeleteErrors = {
|
|
767
|
-
/**
|
|
768
|
-
* Bad Request - 请求参数错误
|
|
769
|
-
*/
|
|
770
|
-
400: ApiError;
|
|
771
|
-
};
|
|
772
|
-
export type BrowsersDeleteError = BrowsersDeleteErrors[keyof BrowsersDeleteErrors];
|
|
773
|
-
export type BrowsersDeleteResponses = {
|
|
774
|
-
/**
|
|
775
|
-
* Delete the browser
|
|
776
|
-
*/
|
|
777
|
-
200: BrowserGetResponse;
|
|
778
|
-
};
|
|
779
|
-
export type BrowsersDeleteResponse = BrowsersDeleteResponses[keyof BrowsersDeleteResponses];
|
|
780
|
-
export type BrowsersGetData = {
|
|
781
|
-
body?: never;
|
|
782
|
-
path: {
|
|
783
|
-
browserId: string;
|
|
784
|
-
};
|
|
785
|
-
query?: never;
|
|
786
|
-
url: "/api/cf/browsers/{browserId}";
|
|
787
|
-
};
|
|
788
|
-
export type BrowsersGetErrors = {
|
|
789
|
-
/**
|
|
790
|
-
* Bad Request - 请求参数错误
|
|
791
|
-
*/
|
|
792
|
-
400: ApiError;
|
|
793
|
-
};
|
|
794
|
-
export type BrowsersGetError = BrowsersGetErrors[keyof BrowsersGetErrors];
|
|
795
|
-
export type BrowsersGetResponses = {
|
|
796
|
-
/**
|
|
797
|
-
* Retrieve browser details
|
|
798
|
-
*/
|
|
799
|
-
200: BrowserGetResponse;
|
|
800
|
-
};
|
|
801
|
-
export type BrowsersGetResponse = BrowsersGetResponses[keyof BrowsersGetResponses];
|
|
802
|
-
export type BrowsersUpdateData = {
|
|
803
|
-
body?: BrowserUpsertRequest;
|
|
804
|
-
path: {
|
|
805
|
-
browserId: string;
|
|
806
|
-
};
|
|
807
|
-
query?: never;
|
|
808
|
-
url: "/api/cf/browsers/{browserId}";
|
|
809
|
-
};
|
|
810
|
-
export type BrowsersUpdateErrors = {
|
|
811
|
-
/**
|
|
812
|
-
* Bad Request - 请求参数错误
|
|
813
|
-
*/
|
|
814
|
-
400: ApiError;
|
|
815
|
-
};
|
|
816
|
-
export type BrowsersUpdateError = BrowsersUpdateErrors[keyof BrowsersUpdateErrors];
|
|
817
|
-
export type BrowsersUpdateResponses = {
|
|
818
|
-
/**
|
|
819
|
-
* Browser updated successfully
|
|
820
|
-
*/
|
|
821
|
-
200: BrowserGetResponse;
|
|
822
|
-
};
|
|
823
|
-
export type BrowsersUpdateResponse = BrowsersUpdateResponses[keyof BrowsersUpdateResponses];
|
|
824
|
-
export type PAccountsListData = {
|
|
825
|
-
body?: never;
|
|
826
|
-
path?: never;
|
|
827
|
-
query: {
|
|
828
|
-
tenantId: string;
|
|
829
|
-
limit?: number;
|
|
830
|
-
offset?: number | null;
|
|
831
|
-
search?: string;
|
|
832
|
-
};
|
|
833
|
-
url: "/api/cf/p-accounts";
|
|
834
|
-
};
|
|
835
|
-
export type PAccountsListResponses = {
|
|
836
|
-
/**
|
|
837
|
-
* 获取平台账号列表
|
|
838
|
-
*/
|
|
839
|
-
200: {
|
|
840
|
-
pAccounts: Array<{
|
|
841
|
-
id: string;
|
|
842
|
-
tenantId: string;
|
|
843
|
-
createdAt: string;
|
|
844
|
-
updatedAt: string;
|
|
845
|
-
deletedAt?: string;
|
|
846
|
-
name?: string;
|
|
847
|
-
description?: string;
|
|
848
|
-
platformId: string;
|
|
849
|
-
tags?: Array<string>;
|
|
850
|
-
enabled: boolean;
|
|
851
|
-
state?: {
|
|
852
|
-
[key: string]: unknown;
|
|
853
|
-
};
|
|
854
|
-
config?: {
|
|
855
|
-
[key: string]: unknown;
|
|
856
|
-
};
|
|
857
|
-
error?: string;
|
|
858
|
-
icon?: string;
|
|
859
|
-
platform?: {
|
|
860
|
-
id: string;
|
|
861
|
-
name: string;
|
|
862
|
-
description?: string;
|
|
863
|
-
url?: string;
|
|
864
|
-
loginUrl?: string;
|
|
865
|
-
};
|
|
866
|
-
}>;
|
|
867
|
-
total: number;
|
|
868
|
-
};
|
|
869
|
-
};
|
|
870
|
-
export type PAccountsListResponse = PAccountsListResponses[keyof PAccountsListResponses];
|
|
871
|
-
export type PAccountsCreateData = {
|
|
872
|
-
body?: {
|
|
873
|
-
name: string;
|
|
874
|
-
description?: string;
|
|
875
|
-
platformId: string;
|
|
876
|
-
enabled?: boolean;
|
|
877
|
-
tags?: Array<string>;
|
|
878
|
-
config?: {
|
|
879
|
-
[key: string]: unknown;
|
|
880
|
-
};
|
|
881
|
-
icon?: string;
|
|
882
|
-
};
|
|
883
|
-
path?: never;
|
|
884
|
-
query?: never;
|
|
885
|
-
url: "/api/cf/p-accounts";
|
|
886
|
-
};
|
|
887
|
-
export type PAccountsCreateErrors = {
|
|
888
|
-
/**
|
|
889
|
-
* Not Found - 资源不存在
|
|
890
|
-
*/
|
|
891
|
-
404: ApiError;
|
|
892
|
-
};
|
|
893
|
-
export type PAccountsCreateError = PAccountsCreateErrors[keyof PAccountsCreateErrors];
|
|
894
|
-
export type PAccountsCreateResponses = {
|
|
895
|
-
/**
|
|
896
|
-
* 平台账号创建成功
|
|
897
|
-
*/
|
|
898
|
-
201: {
|
|
899
|
-
pAccount?: {
|
|
900
|
-
id: string;
|
|
901
|
-
tenantId: string;
|
|
902
|
-
createdAt: string;
|
|
903
|
-
updatedAt: string;
|
|
904
|
-
deletedAt?: string;
|
|
905
|
-
name?: string;
|
|
906
|
-
description?: string;
|
|
907
|
-
platformId: string;
|
|
908
|
-
tags?: Array<string>;
|
|
909
|
-
enabled: boolean;
|
|
910
|
-
state?: {
|
|
911
|
-
[key: string]: unknown;
|
|
912
|
-
};
|
|
913
|
-
config?: {
|
|
914
|
-
[key: string]: unknown;
|
|
915
|
-
};
|
|
916
|
-
error?: string;
|
|
917
|
-
icon?: string;
|
|
918
|
-
platform?: {
|
|
919
|
-
id: string;
|
|
920
|
-
name: string;
|
|
921
|
-
description?: string;
|
|
922
|
-
url?: string;
|
|
923
|
-
loginUrl?: string;
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
};
|
|
927
|
-
};
|
|
928
|
-
export type PAccountsCreateResponse = PAccountsCreateResponses[keyof PAccountsCreateResponses];
|
|
929
|
-
export type PAccountsDeleteData = {
|
|
930
|
-
body?: never;
|
|
931
|
-
path: {
|
|
932
|
-
id: string;
|
|
933
|
-
};
|
|
934
|
-
query?: never;
|
|
935
|
-
url: "/api/cf/p-accounts/{id}";
|
|
936
|
-
};
|
|
937
|
-
export type PAccountsDeleteErrors = {
|
|
938
|
-
/**
|
|
939
|
-
* Not Found - 资源不存在
|
|
940
|
-
*/
|
|
941
|
-
404: ApiError;
|
|
942
|
-
};
|
|
943
|
-
export type PAccountsDeleteError = PAccountsDeleteErrors[keyof PAccountsDeleteErrors];
|
|
944
|
-
export type PAccountsDeleteResponses = {
|
|
945
|
-
/**
|
|
946
|
-
* 平台账号删除成功
|
|
947
|
-
*/
|
|
948
|
-
200: ApiCommonDelete;
|
|
949
|
-
};
|
|
950
|
-
export type PAccountsDeleteResponse = PAccountsDeleteResponses[keyof PAccountsDeleteResponses];
|
|
951
|
-
export type PAccountsGetData = {
|
|
952
|
-
body?: never;
|
|
953
|
-
path: {
|
|
954
|
-
id: string;
|
|
955
|
-
};
|
|
956
|
-
query?: never;
|
|
957
|
-
url: "/api/cf/p-accounts/{id}";
|
|
958
|
-
};
|
|
959
|
-
export type PAccountsGetErrors = {
|
|
960
|
-
/**
|
|
961
|
-
* Not Found - 资源不存在
|
|
962
|
-
*/
|
|
963
|
-
404: ApiError;
|
|
964
|
-
};
|
|
965
|
-
export type PAccountsGetError = PAccountsGetErrors[keyof PAccountsGetErrors];
|
|
966
|
-
export type PAccountsGetResponses = {
|
|
967
|
-
/**
|
|
968
|
-
* 获取平台账号详情
|
|
969
|
-
*/
|
|
970
|
-
200: {
|
|
971
|
-
pAccount?: {
|
|
972
|
-
id: string;
|
|
973
|
-
tenantId: string;
|
|
974
|
-
createdAt: string;
|
|
975
|
-
updatedAt: string;
|
|
976
|
-
deletedAt?: string;
|
|
977
|
-
name?: string;
|
|
978
|
-
description?: string;
|
|
979
|
-
platformId: string;
|
|
980
|
-
tags?: Array<string>;
|
|
981
|
-
enabled: boolean;
|
|
982
|
-
state?: {
|
|
983
|
-
[key: string]: unknown;
|
|
984
|
-
};
|
|
985
|
-
config?: {
|
|
986
|
-
[key: string]: unknown;
|
|
987
|
-
};
|
|
988
|
-
error?: string;
|
|
989
|
-
icon?: string;
|
|
990
|
-
platform?: {
|
|
991
|
-
id: string;
|
|
992
|
-
name: string;
|
|
993
|
-
description?: string;
|
|
994
|
-
url?: string;
|
|
995
|
-
loginUrl?: string;
|
|
996
|
-
};
|
|
997
|
-
};
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
export type PAccountsGetResponse = PAccountsGetResponses[keyof PAccountsGetResponses];
|
|
1001
|
-
export type PAccountsUpdateData = {
|
|
1002
|
-
body?: {
|
|
1003
|
-
name?: string;
|
|
1004
|
-
description?: string;
|
|
1005
|
-
platformId?: string;
|
|
1006
|
-
enabled?: boolean;
|
|
1007
|
-
tags?: Array<string>;
|
|
1008
|
-
config?: {
|
|
1009
|
-
[key: string]: unknown;
|
|
1010
|
-
};
|
|
1011
|
-
icon?: string;
|
|
1012
|
-
};
|
|
1013
|
-
path: {
|
|
1014
|
-
id: string;
|
|
1015
|
-
};
|
|
1016
|
-
query?: never;
|
|
1017
|
-
url: "/api/cf/p-accounts/{id}";
|
|
1018
|
-
};
|
|
1019
|
-
export type PAccountsUpdateErrors = {
|
|
1020
|
-
/**
|
|
1021
|
-
* 请求参数错误
|
|
1022
|
-
*/
|
|
1023
|
-
400: ApiError;
|
|
1024
|
-
/**
|
|
1025
|
-
* Not Found - 资源不存在
|
|
1026
|
-
*/
|
|
1027
|
-
404: ApiError;
|
|
1028
|
-
};
|
|
1029
|
-
export type PAccountsUpdateError = PAccountsUpdateErrors[keyof PAccountsUpdateErrors];
|
|
1030
|
-
export type PAccountsUpdateResponses = {
|
|
1031
|
-
/**
|
|
1032
|
-
* 平台账号更新成功
|
|
1033
|
-
*/
|
|
1034
|
-
200: {
|
|
1035
|
-
pAccount?: {
|
|
1036
|
-
id: string;
|
|
1037
|
-
tenantId: string;
|
|
1038
|
-
createdAt: string;
|
|
1039
|
-
updatedAt: string;
|
|
1040
|
-
deletedAt?: string;
|
|
1041
|
-
name?: string;
|
|
1042
|
-
description?: string;
|
|
1043
|
-
platformId: string;
|
|
1044
|
-
tags?: Array<string>;
|
|
1045
|
-
enabled: boolean;
|
|
1046
|
-
state?: {
|
|
1047
|
-
[key: string]: unknown;
|
|
1048
|
-
};
|
|
1049
|
-
config?: {
|
|
1050
|
-
[key: string]: unknown;
|
|
1051
|
-
};
|
|
1052
|
-
error?: string;
|
|
1053
|
-
icon?: string;
|
|
1054
|
-
platform?: {
|
|
1055
|
-
id: string;
|
|
1056
|
-
name: string;
|
|
1057
|
-
description?: string;
|
|
1058
|
-
url?: string;
|
|
1059
|
-
loginUrl?: string;
|
|
1060
|
-
};
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
};
|
|
1064
|
-
export type PAccountsUpdateResponse = PAccountsUpdateResponses[keyof PAccountsUpdateResponses];
|
|
1065
|
-
export type PlatformsListData = {
|
|
1066
|
-
body?: never;
|
|
1067
|
-
path?: never;
|
|
1068
|
-
query?: {
|
|
1069
|
-
search?: string;
|
|
1070
|
-
limit?: number;
|
|
1071
|
-
offset?: number | null;
|
|
1072
|
-
};
|
|
1073
|
-
url: "/api/cf/platforms";
|
|
1074
|
-
};
|
|
1075
|
-
export type PlatformsListResponses = {
|
|
1076
|
-
/**
|
|
1077
|
-
* Retrieve the platforms list
|
|
1078
|
-
*/
|
|
1079
|
-
200: {
|
|
1080
|
-
platforms: Array<{
|
|
1081
|
-
id: string;
|
|
1082
|
-
name: string;
|
|
1083
|
-
description?: string;
|
|
1084
|
-
url?: string;
|
|
1085
|
-
loginUrl?: string;
|
|
1086
|
-
type?: string;
|
|
1087
|
-
status?: string;
|
|
1088
|
-
config?: {
|
|
1089
|
-
[key: string]: unknown;
|
|
1090
|
-
};
|
|
1091
|
-
tags?: Array<string>;
|
|
1092
|
-
createdAt: string;
|
|
1093
|
-
updatedAt: string;
|
|
1094
|
-
}>;
|
|
1095
|
-
total: number;
|
|
1096
|
-
limit: number;
|
|
1097
|
-
offset: number;
|
|
1098
|
-
};
|
|
1099
|
-
};
|
|
1100
|
-
export type PlatformsListResponse = PlatformsListResponses[keyof PlatformsListResponses];
|
|
1101
|
-
export type PlatformsCreateData = {
|
|
1102
|
-
body?: {
|
|
1103
|
-
id?: string;
|
|
1104
|
-
name: string;
|
|
1105
|
-
description?: string;
|
|
1106
|
-
url?: string;
|
|
1107
|
-
loginUrl?: string;
|
|
1108
|
-
type?: string;
|
|
1109
|
-
status?: string;
|
|
1110
|
-
config?: {
|
|
1111
|
-
[key: string]: unknown;
|
|
1112
|
-
};
|
|
1113
|
-
tags?: Array<string>;
|
|
1114
|
-
};
|
|
1115
|
-
path?: never;
|
|
1116
|
-
query?: never;
|
|
1117
|
-
url: "/api/cf/platforms";
|
|
1118
|
-
};
|
|
1119
|
-
export type PlatformsCreateErrors = {
|
|
1120
|
-
/**
|
|
1121
|
-
* Bad Request - 请求参数错误
|
|
1122
|
-
*/
|
|
1123
|
-
400: ApiError;
|
|
1124
|
-
};
|
|
1125
|
-
export type PlatformsCreateError = PlatformsCreateErrors[keyof PlatformsCreateErrors];
|
|
1126
|
-
export type PlatformsCreateResponses = {
|
|
1127
|
-
/**
|
|
1128
|
-
* Create new platform
|
|
1129
|
-
*/
|
|
1130
|
-
200: {
|
|
1131
|
-
id: string;
|
|
1132
|
-
name: string;
|
|
1133
|
-
description?: string;
|
|
1134
|
-
url?: string;
|
|
1135
|
-
loginUrl?: string;
|
|
1136
|
-
type?: string;
|
|
1137
|
-
status?: string;
|
|
1138
|
-
config?: {
|
|
1139
|
-
[key: string]: unknown;
|
|
1140
|
-
};
|
|
1141
|
-
tags?: Array<string>;
|
|
1142
|
-
createdAt: string;
|
|
1143
|
-
updatedAt: string;
|
|
1144
|
-
};
|
|
1145
|
-
};
|
|
1146
|
-
export type PlatformsCreateResponse = PlatformsCreateResponses[keyof PlatformsCreateResponses];
|
|
1147
|
-
export type PlatformsDeleteData = {
|
|
1148
|
-
body?: never;
|
|
1149
|
-
path: {
|
|
1150
|
-
id: string;
|
|
1151
|
-
};
|
|
1152
|
-
query?: never;
|
|
1153
|
-
url: "/api/cf/platforms/{id}";
|
|
1154
|
-
};
|
|
1155
|
-
export type PlatformsDeleteErrors = {
|
|
1156
|
-
/**
|
|
1157
|
-
* Bad Request - 请求参数错误
|
|
1158
|
-
*/
|
|
1159
|
-
400: ApiError;
|
|
1160
|
-
};
|
|
1161
|
-
export type PlatformsDeleteError = PlatformsDeleteErrors[keyof PlatformsDeleteErrors];
|
|
1162
|
-
export type PlatformsDeleteResponses = {
|
|
1163
|
-
/**
|
|
1164
|
-
* Delete the platform
|
|
1165
|
-
*/
|
|
1166
|
-
200: {
|
|
1167
|
-
id: string;
|
|
1168
|
-
name: string;
|
|
1169
|
-
description?: string;
|
|
1170
|
-
url?: string;
|
|
1171
|
-
loginUrl?: string;
|
|
1172
|
-
type?: string;
|
|
1173
|
-
status?: string;
|
|
1174
|
-
config?: {
|
|
1175
|
-
[key: string]: unknown;
|
|
1176
|
-
};
|
|
1177
|
-
tags?: Array<string>;
|
|
1178
|
-
createdAt: string;
|
|
1179
|
-
updatedAt: string;
|
|
1180
|
-
};
|
|
1181
|
-
};
|
|
1182
|
-
export type PlatformsDeleteResponse = PlatformsDeleteResponses[keyof PlatformsDeleteResponses];
|
|
1183
|
-
export type PlatformsGetData = {
|
|
1184
|
-
body?: never;
|
|
1185
|
-
path: {
|
|
1186
|
-
id: string;
|
|
1187
|
-
};
|
|
1188
|
-
query?: never;
|
|
1189
|
-
url: "/api/cf/platforms/{id}";
|
|
1190
|
-
};
|
|
1191
|
-
export type PlatformsGetResponses = {
|
|
1192
|
-
/**
|
|
1193
|
-
* Retrieve the platform
|
|
1194
|
-
*/
|
|
1195
|
-
200: {
|
|
1196
|
-
id: string;
|
|
1197
|
-
name: string;
|
|
1198
|
-
description?: string;
|
|
1199
|
-
url?: string;
|
|
1200
|
-
loginUrl?: string;
|
|
1201
|
-
type?: string;
|
|
1202
|
-
status?: string;
|
|
1203
|
-
config?: {
|
|
1204
|
-
[key: string]: unknown;
|
|
1205
|
-
};
|
|
1206
|
-
tags?: Array<string>;
|
|
1207
|
-
createdAt: string;
|
|
1208
|
-
updatedAt: string;
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
export type PlatformsGetResponse = PlatformsGetResponses[keyof PlatformsGetResponses];
|
|
1212
|
-
export type PlatformsUpdateData = {
|
|
1213
|
-
body?: {
|
|
1214
|
-
name?: string;
|
|
1215
|
-
description?: string;
|
|
1216
|
-
url?: string;
|
|
1217
|
-
loginUrl?: string;
|
|
1218
|
-
type?: string;
|
|
1219
|
-
status?: string;
|
|
1220
|
-
config?: {
|
|
1221
|
-
[key: string]: unknown;
|
|
1222
|
-
};
|
|
1223
|
-
tags?: Array<string>;
|
|
1224
|
-
};
|
|
1225
|
-
path: {
|
|
1226
|
-
id: string;
|
|
1227
|
-
};
|
|
1228
|
-
query?: never;
|
|
1229
|
-
url: "/api/cf/platforms/{id}";
|
|
1230
|
-
};
|
|
1231
|
-
export type PlatformsUpdateErrors = {
|
|
1232
|
-
/**
|
|
1233
|
-
* Bad Request - 请求参数错误
|
|
1234
|
-
*/
|
|
1235
|
-
400: ApiError;
|
|
1236
|
-
};
|
|
1237
|
-
export type PlatformsUpdateError = PlatformsUpdateErrors[keyof PlatformsUpdateErrors];
|
|
1238
|
-
export type PlatformsUpdateResponses = {
|
|
1239
|
-
/**
|
|
1240
|
-
* Update platform
|
|
1241
|
-
*/
|
|
1242
|
-
200: {
|
|
1243
|
-
id: string;
|
|
1244
|
-
name: string;
|
|
1245
|
-
description?: string;
|
|
1246
|
-
url?: string;
|
|
1247
|
-
loginUrl?: string;
|
|
1248
|
-
type?: string;
|
|
1249
|
-
status?: string;
|
|
1250
|
-
config?: {
|
|
1251
|
-
[key: string]: unknown;
|
|
1252
|
-
};
|
|
1253
|
-
tags?: Array<string>;
|
|
1254
|
-
createdAt: string;
|
|
1255
|
-
updatedAt: string;
|
|
1256
|
-
};
|
|
1257
|
-
};
|
|
1258
|
-
export type PlatformsUpdateResponse = PlatformsUpdateResponses[keyof PlatformsUpdateResponses];
|
|
1259
|
-
export type ProxiesListData = {
|
|
1260
|
-
body?: never;
|
|
1261
|
-
path?: never;
|
|
1262
|
-
query?: {
|
|
1263
|
-
search?: string;
|
|
1264
|
-
limit?: number;
|
|
1265
|
-
offset?: number | null;
|
|
1266
|
-
enabled?: boolean | null;
|
|
1267
|
-
type?: string;
|
|
1268
|
-
provider?: string;
|
|
1269
|
-
};
|
|
1270
|
-
url: "/api/cf/proxies";
|
|
1271
|
-
};
|
|
1272
|
-
export type ProxiesListErrors = {
|
|
1273
|
-
/**
|
|
1274
|
-
* Bad Request - 请求参数错误
|
|
1275
|
-
*/
|
|
1276
|
-
400: ApiError;
|
|
1277
|
-
};
|
|
1278
|
-
export type ProxiesListError = ProxiesListErrors[keyof ProxiesListErrors];
|
|
1279
|
-
export type ProxiesListResponses = {
|
|
1280
|
-
/**
|
|
1281
|
-
* Retrieve the proxies list
|
|
1282
|
-
*/
|
|
1283
|
-
200: ProxyListResponse;
|
|
1284
|
-
};
|
|
1285
|
-
export type ProxiesListResponse = ProxiesListResponses[keyof ProxiesListResponses];
|
|
1286
|
-
export type ProxiesDeleteData = {
|
|
1287
|
-
body?: never;
|
|
1288
|
-
path: {
|
|
1289
|
-
proxyId: string;
|
|
1290
|
-
};
|
|
1291
|
-
query?: never;
|
|
1292
|
-
url: "/api/cf/proxies/{proxyId}";
|
|
1293
|
-
};
|
|
1294
|
-
export type ProxiesDeleteErrors = {
|
|
1295
|
-
/**
|
|
1296
|
-
* Bad Request - 请求参数错误
|
|
1297
|
-
*/
|
|
1298
|
-
400: ApiError;
|
|
1299
|
-
};
|
|
1300
|
-
export type ProxiesDeleteError = ProxiesDeleteErrors[keyof ProxiesDeleteErrors];
|
|
1301
|
-
export type ProxiesDeleteResponses = {
|
|
1302
|
-
/**
|
|
1303
|
-
* Delete the proxy
|
|
1304
|
-
*/
|
|
1305
|
-
200: ProxyGetResponse;
|
|
1306
|
-
};
|
|
1307
|
-
export type ProxiesDeleteResponse = ProxiesDeleteResponses[keyof ProxiesDeleteResponses];
|
|
1308
|
-
export type ProxiesGetData = {
|
|
1309
|
-
body?: never;
|
|
1310
|
-
path: {
|
|
1311
|
-
proxyId: string;
|
|
1312
|
-
};
|
|
1313
|
-
query?: never;
|
|
1314
|
-
url: "/api/cf/proxies/{proxyId}";
|
|
1315
|
-
};
|
|
1316
|
-
export type ProxiesGetErrors = {
|
|
1317
|
-
/**
|
|
1318
|
-
* Bad Request - 请求参数错误
|
|
1319
|
-
*/
|
|
1320
|
-
400: ApiError;
|
|
1321
|
-
};
|
|
1322
|
-
export type ProxiesGetError = ProxiesGetErrors[keyof ProxiesGetErrors];
|
|
1323
|
-
export type ProxiesGetResponses = {
|
|
1324
|
-
/**
|
|
1325
|
-
* Retrieve the proxy
|
|
1326
|
-
*/
|
|
1327
|
-
200: ProxyGetResponse;
|
|
1328
|
-
};
|
|
1329
|
-
export type ProxiesGetResponse = ProxiesGetResponses[keyof ProxiesGetResponses];
|
|
1330
|
-
export type ProxiesUpsertData = {
|
|
1331
|
-
body?: ProxyUpsertRequest;
|
|
1332
|
-
path?: never;
|
|
1333
|
-
query?: never;
|
|
1334
|
-
url: "/api/cf/proxies/upsert";
|
|
1335
|
-
};
|
|
1336
|
-
export type ProxiesUpsertErrors = {
|
|
1337
|
-
/**
|
|
1338
|
-
* Bad Request - 请求参数错误
|
|
1339
|
-
*/
|
|
1340
|
-
400: ApiError;
|
|
1341
|
-
};
|
|
1342
|
-
export type ProxiesUpsertError = ProxiesUpsertErrors[keyof ProxiesUpsertErrors];
|
|
1343
|
-
export type ProxiesUpsertResponses = {
|
|
1344
|
-
/**
|
|
1345
|
-
* Create or update proxy
|
|
1346
|
-
*/
|
|
1347
|
-
200: ProxyGetResponse;
|
|
1348
|
-
};
|
|
1349
|
-
export type ProxiesUpsertResponse = ProxiesUpsertResponses[keyof ProxiesUpsertResponses];
|
|
1350
|
-
export type SandboxListData = {
|
|
1351
|
-
body?: never;
|
|
1352
|
-
path?: never;
|
|
1353
|
-
query?: {
|
|
1354
|
-
limit?: number;
|
|
1355
|
-
offset?: number | null;
|
|
1356
|
-
status?: string;
|
|
1357
|
-
deployType?: string;
|
|
1358
|
-
name?: string;
|
|
1359
|
-
};
|
|
1360
|
-
url: "/api/cf/sandboxes";
|
|
1361
|
-
};
|
|
1362
|
-
export type SandboxListErrors = {
|
|
1363
|
-
/**
|
|
1364
|
-
* Internal Server Error - 内部服务器错误
|
|
1365
|
-
*/
|
|
1366
|
-
500: ApiError;
|
|
1367
|
-
};
|
|
1368
|
-
export type SandboxListError = SandboxListErrors[keyof SandboxListErrors];
|
|
1369
|
-
export type SandboxListResponses = {
|
|
1370
|
-
/**
|
|
1371
|
-
* 获取沙盒服务列表
|
|
1372
|
-
*/
|
|
1373
|
-
200: SandboxList;
|
|
1374
|
-
};
|
|
1375
|
-
export type SandboxListResponse = SandboxListResponses[keyof SandboxListResponses];
|
|
1376
|
-
export type SandboxCreateData = {
|
|
1377
|
-
body?: {
|
|
1378
|
-
name: string;
|
|
1379
|
-
description?: string;
|
|
1380
|
-
deployType?: string;
|
|
1381
|
-
serverUrl?: string;
|
|
1382
|
-
status?: string;
|
|
1383
|
-
config?: {
|
|
1384
|
-
[key: string]: unknown;
|
|
4
|
+
/**
|
|
5
|
+
* WorkerUpResp
|
|
6
|
+
*/
|
|
7
|
+
export type WorkerUpResp = {
|
|
8
|
+
workerId: string;
|
|
9
|
+
supabase: {
|
|
10
|
+
sbUserName: string;
|
|
11
|
+
sbPassword: string;
|
|
12
|
+
sbUrl: string;
|
|
13
|
+
sbPublicKey: string;
|
|
14
|
+
};
|
|
15
|
+
tunnel: {
|
|
16
|
+
cloudflared: {
|
|
17
|
+
token?: string;
|
|
1385
18
|
};
|
|
1386
|
-
|
|
1387
|
-
|
|
19
|
+
tailscale: {
|
|
20
|
+
token?: string;
|
|
1388
21
|
};
|
|
1389
22
|
};
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
};
|
|
1394
|
-
export type SandboxCreateErrors = {
|
|
1395
|
-
/**
|
|
1396
|
-
* 请求参数错误
|
|
1397
|
-
*/
|
|
1398
|
-
400: {
|
|
1399
|
-
error: string;
|
|
1400
|
-
};
|
|
1401
|
-
/**
|
|
1402
|
-
* Internal Server Error - 内部服务器错误
|
|
1403
|
-
*/
|
|
1404
|
-
500: ApiError;
|
|
1405
|
-
};
|
|
1406
|
-
export type SandboxCreateError = SandboxCreateErrors[keyof SandboxCreateErrors];
|
|
1407
|
-
export type SandboxCreateResponses = {
|
|
1408
|
-
/**
|
|
1409
|
-
* 沙盒服务创建成功
|
|
1410
|
-
*/
|
|
1411
|
-
201: Sandbox;
|
|
1412
|
-
};
|
|
1413
|
-
export type SandboxCreateResponse = SandboxCreateResponses[keyof SandboxCreateResponses];
|
|
1414
|
-
export type SandboxDeleteData = {
|
|
1415
|
-
body?: never;
|
|
1416
|
-
path: {
|
|
1417
|
-
id: string;
|
|
1418
|
-
};
|
|
1419
|
-
query?: never;
|
|
1420
|
-
url: "/api/cf/sandboxes/{id}";
|
|
1421
|
-
};
|
|
1422
|
-
export type SandboxDeleteErrors = {
|
|
1423
|
-
/**
|
|
1424
|
-
* 沙盒服务未找到
|
|
1425
|
-
*/
|
|
1426
|
-
404: {
|
|
1427
|
-
error: string;
|
|
1428
|
-
};
|
|
1429
|
-
/**
|
|
1430
|
-
* Internal Server Error - 内部服务器错误
|
|
1431
|
-
*/
|
|
1432
|
-
500: ApiError;
|
|
1433
|
-
};
|
|
1434
|
-
export type SandboxDeleteError = SandboxDeleteErrors[keyof SandboxDeleteErrors];
|
|
1435
|
-
export type SandboxDeleteResponses = {
|
|
1436
|
-
/**
|
|
1437
|
-
* 沙盒服务删除成功
|
|
1438
|
-
*/
|
|
1439
|
-
200: {
|
|
1440
|
-
success: boolean;
|
|
1441
|
-
};
|
|
1442
|
-
};
|
|
1443
|
-
export type SandboxDeleteResponse = SandboxDeleteResponses[keyof SandboxDeleteResponses];
|
|
1444
|
-
export type SandboxGetData = {
|
|
1445
|
-
body?: never;
|
|
1446
|
-
path: {
|
|
1447
|
-
id: string;
|
|
1448
|
-
};
|
|
1449
|
-
query?: never;
|
|
1450
|
-
url: "/api/cf/sandboxes/{id}";
|
|
1451
|
-
};
|
|
1452
|
-
export type SandboxGetErrors = {
|
|
1453
|
-
/**
|
|
1454
|
-
* Not Found - 资源不存在
|
|
1455
|
-
*/
|
|
1456
|
-
404: ApiError;
|
|
1457
|
-
/**
|
|
1458
|
-
* Internal Server Error - 内部服务器错误
|
|
1459
|
-
*/
|
|
1460
|
-
500: ApiError;
|
|
1461
|
-
};
|
|
1462
|
-
export type SandboxGetError = SandboxGetErrors[keyof SandboxGetErrors];
|
|
1463
|
-
export type SandboxGetResponses = {
|
|
1464
|
-
/**
|
|
1465
|
-
* 获取沙盒服务详情
|
|
1466
|
-
*/
|
|
1467
|
-
200: SandboxGet;
|
|
1468
|
-
};
|
|
1469
|
-
export type SandboxGetResponse = SandboxGetResponses[keyof SandboxGetResponses];
|
|
1470
|
-
export type SandboxUpdateData = {
|
|
1471
|
-
body?: {
|
|
1472
|
-
name?: string;
|
|
1473
|
-
description?: string;
|
|
1474
|
-
deployType?: string;
|
|
1475
|
-
serverUrl?: string;
|
|
1476
|
-
status?: string;
|
|
1477
|
-
config?: {
|
|
1478
|
-
[key: string]: unknown;
|
|
23
|
+
services: {
|
|
24
|
+
mainapi: {
|
|
25
|
+
enabled?: boolean;
|
|
1479
26
|
};
|
|
1480
|
-
|
|
1481
|
-
|
|
27
|
+
vnc: {
|
|
28
|
+
enabled?: boolean;
|
|
1482
29
|
};
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
};
|
|
1487
|
-
query?: never;
|
|
1488
|
-
url: "/api/cf/sandboxes/{id}";
|
|
1489
|
-
};
|
|
1490
|
-
export type SandboxUpdateErrors = {
|
|
1491
|
-
/**
|
|
1492
|
-
* 沙盒服务未找到
|
|
1493
|
-
*/
|
|
1494
|
-
404: {
|
|
1495
|
-
error: string;
|
|
1496
|
-
};
|
|
1497
|
-
/**
|
|
1498
|
-
* Internal Server Error - 内部服务器错误
|
|
1499
|
-
*/
|
|
1500
|
-
500: ApiError;
|
|
1501
|
-
};
|
|
1502
|
-
export type SandboxUpdateError = SandboxUpdateErrors[keyof SandboxUpdateErrors];
|
|
1503
|
-
export type SandboxUpdateResponses = {
|
|
1504
|
-
/**
|
|
1505
|
-
* 沙盒服务更新成功
|
|
1506
|
-
*/
|
|
1507
|
-
200: Sandbox;
|
|
1508
|
-
};
|
|
1509
|
-
export type SandboxUpdateResponse = SandboxUpdateResponses[keyof SandboxUpdateResponses];
|
|
1510
|
-
export type SandboxStartData = {
|
|
1511
|
-
body?: {
|
|
1512
|
-
serviceType?: string;
|
|
1513
|
-
config?: {
|
|
1514
|
-
[key: string]: unknown;
|
|
30
|
+
browserApi: {
|
|
31
|
+
enabled?: boolean;
|
|
32
|
+
apiToken: string;
|
|
1515
33
|
};
|
|
1516
34
|
};
|
|
1517
|
-
path: {
|
|
1518
|
-
id: string;
|
|
1519
|
-
};
|
|
1520
|
-
query?: never;
|
|
1521
|
-
url: "/api/cf/sandboxes/{id}/start";
|
|
1522
|
-
};
|
|
1523
|
-
export type SandboxStartErrors = {
|
|
1524
|
-
/**
|
|
1525
|
-
* 沙盒服务未找到
|
|
1526
|
-
*/
|
|
1527
|
-
404: {
|
|
1528
|
-
error: string;
|
|
1529
|
-
};
|
|
1530
|
-
/**
|
|
1531
|
-
* Internal Server Error - 内部服务器错误
|
|
1532
|
-
*/
|
|
1533
|
-
500: ApiError;
|
|
1534
|
-
};
|
|
1535
|
-
export type SandboxStartError = SandboxStartErrors[keyof SandboxStartErrors];
|
|
1536
|
-
export type SandboxStartResponses = {
|
|
1537
|
-
/**
|
|
1538
|
-
* 沙盒服务启动请求已提交
|
|
1539
|
-
*/
|
|
1540
|
-
200: SandboxStart;
|
|
1541
|
-
};
|
|
1542
|
-
export type SandboxStartResponse = SandboxStartResponses[keyof SandboxStartResponses];
|
|
1543
|
-
export type SandboxCallbackData = {
|
|
1544
|
-
body?: {
|
|
1545
|
-
sandboxId: string;
|
|
1546
|
-
status: string;
|
|
1547
|
-
serverUrl?: string;
|
|
1548
|
-
error?: string;
|
|
1549
|
-
};
|
|
1550
|
-
path: {
|
|
1551
|
-
id: string;
|
|
1552
|
-
};
|
|
1553
|
-
query?: never;
|
|
1554
|
-
url: "/api/cf/sandboxes/{id}/callback";
|
|
1555
|
-
};
|
|
1556
|
-
export type SandboxCallbackErrors = {
|
|
1557
|
-
/**
|
|
1558
|
-
* 沙盒服务未找到
|
|
1559
|
-
*/
|
|
1560
|
-
404: {
|
|
1561
|
-
error: string;
|
|
1562
|
-
};
|
|
1563
|
-
/**
|
|
1564
|
-
* Internal Server Error - 内部服务器错误
|
|
1565
|
-
*/
|
|
1566
|
-
500: ApiError;
|
|
1567
|
-
};
|
|
1568
|
-
export type SandboxCallbackError = SandboxCallbackErrors[keyof SandboxCallbackErrors];
|
|
1569
|
-
export type SandboxCallbackResponses = {
|
|
1570
|
-
/**
|
|
1571
|
-
* 回调处理成功
|
|
1572
|
-
*/
|
|
1573
|
-
200: {
|
|
1574
|
-
success: boolean;
|
|
1575
|
-
};
|
|
1576
|
-
};
|
|
1577
|
-
export type SandboxCallbackResponse = SandboxCallbackResponses[keyof SandboxCallbackResponses];
|
|
1578
|
-
export type DashuiGetData = {
|
|
1579
|
-
body?: never;
|
|
1580
|
-
path?: never;
|
|
1581
|
-
query?: never;
|
|
1582
|
-
url: "/api/cf/dashui-data";
|
|
1583
|
-
};
|
|
1584
|
-
export type DashuiGetErrors = {
|
|
1585
|
-
/**
|
|
1586
|
-
* Unauthorized - 未授权访问
|
|
1587
|
-
*/
|
|
1588
|
-
401: ApiError;
|
|
1589
|
-
};
|
|
1590
|
-
export type DashuiGetError = DashuiGetErrors[keyof DashuiGetErrors];
|
|
1591
|
-
export type DashuiGetResponses = {
|
|
1592
|
-
/**
|
|
1593
|
-
* 获取侧边栏导航菜单
|
|
1594
|
-
*/
|
|
1595
|
-
200: {
|
|
1596
|
-
navItems: Array<NavItem>;
|
|
1597
|
-
};
|
|
1598
|
-
};
|
|
1599
|
-
export type DashuiGetResponse = DashuiGetResponses[keyof DashuiGetResponses];
|
|
1600
|
-
export type SysConfigData = {
|
|
1601
|
-
body?: never;
|
|
1602
|
-
path?: never;
|
|
1603
|
-
query?: never;
|
|
1604
|
-
url: "/api/cf/sys/config";
|
|
1605
|
-
};
|
|
1606
|
-
export type SysConfigErrors = {
|
|
1607
|
-
/**
|
|
1608
|
-
* Internal Server Error - 内部服务器错误
|
|
1609
|
-
*/
|
|
1610
|
-
500: ApiError;
|
|
1611
|
-
};
|
|
1612
|
-
export type SysConfigError = SysConfigErrors[keyof SysConfigErrors];
|
|
1613
|
-
export type SysConfigResponses = {
|
|
1614
|
-
/**
|
|
1615
|
-
* 获取系统关键配置信息.
|
|
1616
|
-
*/
|
|
1617
|
-
200: {
|
|
1618
|
-
/**
|
|
1619
|
-
* 用户数量
|
|
1620
|
-
*/
|
|
1621
|
-
len: number;
|
|
1622
|
-
};
|
|
1623
|
-
};
|
|
1624
|
-
export type SysConfigResponse = SysConfigResponses[keyof SysConfigResponses];
|
|
1625
|
-
export type SetupStatusData = {
|
|
1626
|
-
body?: never;
|
|
1627
|
-
path?: never;
|
|
1628
|
-
query?: never;
|
|
1629
|
-
url: "/api/cf/setup/status";
|
|
1630
|
-
};
|
|
1631
|
-
export type SetupStatusResponses = {
|
|
1632
|
-
/**
|
|
1633
|
-
* 系统初始化状态
|
|
1634
|
-
*/
|
|
1635
|
-
200: {
|
|
1636
|
-
isInitialized: boolean;
|
|
1637
|
-
message: string;
|
|
1638
|
-
};
|
|
1639
|
-
};
|
|
1640
|
-
export type SetupStatusResponse = SetupStatusResponses[keyof SetupStatusResponses];
|
|
1641
|
-
export type SetupInitializeData = {
|
|
1642
|
-
body?: {
|
|
1643
|
-
email: string;
|
|
1644
|
-
password: string;
|
|
1645
|
-
};
|
|
1646
|
-
path?: never;
|
|
1647
|
-
query?: never;
|
|
1648
|
-
url: "/api/cf/setup";
|
|
1649
|
-
};
|
|
1650
|
-
export type SetupInitializeErrors = {
|
|
1651
|
-
/**
|
|
1652
|
-
* Bad Request - 请求参数错误
|
|
1653
|
-
*/
|
|
1654
|
-
400: ApiError;
|
|
1655
|
-
};
|
|
1656
|
-
export type SetupInitializeError = SetupInitializeErrors[keyof SetupInitializeErrors];
|
|
1657
|
-
export type SetupInitializeResponses = {
|
|
1658
|
-
/**
|
|
1659
|
-
* 初始化结果
|
|
1660
|
-
*/
|
|
1661
|
-
200: {
|
|
1662
|
-
success: boolean;
|
|
1663
|
-
message: string;
|
|
1664
|
-
};
|
|
1665
|
-
};
|
|
1666
|
-
export type SetupInitializeResponse = SetupInitializeResponses[keyof SetupInitializeResponses];
|
|
1667
|
-
export type ConfigGomtmGetData = {
|
|
1668
|
-
body?: never;
|
|
1669
|
-
path?: {
|
|
1670
|
-
name?: string;
|
|
1671
|
-
};
|
|
1672
|
-
query?: never;
|
|
1673
|
-
url: "/api/cf/configs/gomtm_config/{name}";
|
|
1674
|
-
};
|
|
1675
|
-
export type ConfigGomtmGetResponses = {
|
|
1676
|
-
/**
|
|
1677
|
-
* Retrieve the gomtm server config
|
|
1678
|
-
*/
|
|
1679
|
-
200: GomtmConfig;
|
|
1680
|
-
};
|
|
1681
|
-
export type ConfigGomtmGetResponse = ConfigGomtmGetResponses[keyof ConfigGomtmGetResponses];
|
|
1682
|
-
export type SingboxConfigGetData = {
|
|
1683
|
-
body?: never;
|
|
1684
|
-
path: {
|
|
1685
|
-
name: string;
|
|
1686
|
-
};
|
|
1687
|
-
query?: never;
|
|
1688
|
-
url: "/api/cf/tunnel/singbox/{name}";
|
|
1689
|
-
};
|
|
1690
|
-
export type SingboxConfigGetResponses = {
|
|
1691
|
-
/**
|
|
1692
|
-
* Retrieve the gomtm server config
|
|
1693
|
-
*/
|
|
1694
|
-
200: unknown;
|
|
1695
|
-
};
|
|
1696
|
-
export type SiteListData = {
|
|
1697
|
-
body?: never;
|
|
1698
|
-
path?: never;
|
|
1699
|
-
query?: {
|
|
1700
|
-
limit?: string;
|
|
1701
|
-
offset?: string;
|
|
1702
|
-
enabled?: string;
|
|
1703
|
-
search?: string;
|
|
1704
|
-
};
|
|
1705
|
-
url: "/api/cf/site";
|
|
1706
|
-
};
|
|
1707
|
-
export type SiteListErrors = {
|
|
1708
|
-
/**
|
|
1709
|
-
* Bad Request - 请求参数错误
|
|
1710
|
-
*/
|
|
1711
|
-
400: ApiError;
|
|
1712
|
-
/**
|
|
1713
|
-
* Unauthorized - 未授权访问
|
|
1714
|
-
*/
|
|
1715
|
-
401: ApiError;
|
|
1716
|
-
/**
|
|
1717
|
-
* Forbidden - 禁止访问
|
|
1718
|
-
*/
|
|
1719
|
-
403: ApiError;
|
|
1720
|
-
/**
|
|
1721
|
-
* Not Found - 资源不存在
|
|
1722
|
-
*/
|
|
1723
|
-
404: ApiError;
|
|
1724
|
-
/**
|
|
1725
|
-
* Unprocessable Entity - 无法处理的实体
|
|
1726
|
-
*/
|
|
1727
|
-
422: ApiError;
|
|
1728
|
-
/**
|
|
1729
|
-
* Internal Server Error - 内部服务器错误
|
|
1730
|
-
*/
|
|
1731
|
-
500: ApiError;
|
|
1732
|
-
};
|
|
1733
|
-
export type SiteListError = SiteListErrors[keyof SiteListErrors];
|
|
1734
|
-
export type SiteListResponses = {
|
|
1735
|
-
/**
|
|
1736
|
-
* 获取站点列表
|
|
1737
|
-
*/
|
|
1738
|
-
200: SiteList;
|
|
1739
|
-
};
|
|
1740
|
-
export type SiteListResponse = SiteListResponses[keyof SiteListResponses];
|
|
1741
|
-
export type SiteCreateData = {
|
|
1742
|
-
body?: SiteCreateRequest;
|
|
1743
|
-
path?: never;
|
|
1744
|
-
query?: never;
|
|
1745
|
-
url: "/api/cf/site";
|
|
1746
|
-
};
|
|
1747
|
-
export type SiteCreateErrors = {
|
|
1748
|
-
/**
|
|
1749
|
-
* Bad Request - 请求参数错误
|
|
1750
|
-
*/
|
|
1751
|
-
400: ApiError;
|
|
1752
|
-
/**
|
|
1753
|
-
* Unauthorized - 未授权访问
|
|
1754
|
-
*/
|
|
1755
|
-
401: ApiError;
|
|
1756
|
-
/**
|
|
1757
|
-
* Forbidden - 禁止访问
|
|
1758
|
-
*/
|
|
1759
|
-
403: ApiError;
|
|
1760
|
-
/**
|
|
1761
|
-
* Not Found - 资源不存在
|
|
1762
|
-
*/
|
|
1763
|
-
404: ApiError;
|
|
1764
|
-
/**
|
|
1765
|
-
* Unprocessable Entity - 无法处理的实体
|
|
1766
|
-
*/
|
|
1767
|
-
422: ApiError;
|
|
1768
|
-
/**
|
|
1769
|
-
* Internal Server Error - 内部服务器错误
|
|
1770
|
-
*/
|
|
1771
|
-
500: ApiError;
|
|
1772
|
-
};
|
|
1773
|
-
export type SiteCreateError = SiteCreateErrors[keyof SiteCreateErrors];
|
|
1774
|
-
export type SiteCreateResponses = {
|
|
1775
|
-
/**
|
|
1776
|
-
* 站点创建
|
|
1777
|
-
*/
|
|
1778
|
-
201: Site;
|
|
1779
|
-
};
|
|
1780
|
-
export type SiteCreateResponse = SiteCreateResponses[keyof SiteCreateResponses];
|
|
1781
|
-
export type SiteDeleteData = {
|
|
1782
|
-
body?: never;
|
|
1783
|
-
path: {
|
|
1784
|
-
id: string;
|
|
1785
|
-
};
|
|
1786
|
-
query?: never;
|
|
1787
|
-
url: "/api/cf/site/{id}";
|
|
1788
|
-
};
|
|
1789
|
-
export type SiteDeleteErrors = {
|
|
1790
|
-
/**
|
|
1791
|
-
* Bad Request - 请求参数错误
|
|
1792
|
-
*/
|
|
1793
|
-
400: ApiError;
|
|
1794
|
-
/**
|
|
1795
|
-
* Unauthorized - 未授权访问
|
|
1796
|
-
*/
|
|
1797
|
-
401: ApiError;
|
|
1798
|
-
/**
|
|
1799
|
-
* Forbidden - 禁止访问
|
|
1800
|
-
*/
|
|
1801
|
-
403: ApiError;
|
|
1802
|
-
/**
|
|
1803
|
-
* Not Found - 资源不存在
|
|
1804
|
-
*/
|
|
1805
|
-
404: ApiError;
|
|
1806
|
-
/**
|
|
1807
|
-
* Unprocessable Entity - 无法处理的实体
|
|
1808
|
-
*/
|
|
1809
|
-
422: ApiError;
|
|
1810
|
-
/**
|
|
1811
|
-
* Internal Server Error - 内部服务器错误
|
|
1812
|
-
*/
|
|
1813
|
-
500: ApiError;
|
|
1814
35
|
};
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
};
|
|
1822
|
-
export type SiteDeleteResponse = SiteDeleteResponses[keyof SiteDeleteResponses];
|
|
1823
|
-
export type SiteGetData = {
|
|
1824
|
-
body?: never;
|
|
1825
|
-
path: {
|
|
1826
|
-
id: string;
|
|
1827
|
-
};
|
|
1828
|
-
query?: never;
|
|
1829
|
-
url: "/api/cf/site/{id}";
|
|
36
|
+
/**
|
|
37
|
+
* WorkerUpRequest
|
|
38
|
+
*/
|
|
39
|
+
export type WorkerUpRequest = {
|
|
40
|
+
workerId?: string;
|
|
41
|
+
botType?: string;
|
|
1830
42
|
};
|
|
1831
|
-
export type
|
|
1832
|
-
|
|
1833
|
-
* Bad Request - 请求参数错误
|
|
1834
|
-
*/
|
|
1835
|
-
400: ApiError;
|
|
1836
|
-
/**
|
|
1837
|
-
* Unauthorized - 未授权访问
|
|
1838
|
-
*/
|
|
1839
|
-
401: ApiError;
|
|
1840
|
-
/**
|
|
1841
|
-
* Forbidden - 禁止访问
|
|
1842
|
-
*/
|
|
1843
|
-
403: ApiError;
|
|
1844
|
-
/**
|
|
1845
|
-
* Not Found - 资源不存在
|
|
1846
|
-
*/
|
|
1847
|
-
404: ApiError;
|
|
1848
|
-
/**
|
|
1849
|
-
* Unprocessable Entity - 无法处理的实体
|
|
1850
|
-
*/
|
|
1851
|
-
422: ApiError;
|
|
1852
|
-
/**
|
|
1853
|
-
* Internal Server Error - 内部服务器错误
|
|
1854
|
-
*/
|
|
1855
|
-
500: ApiError;
|
|
43
|
+
export type WorkerCheckResult = {
|
|
44
|
+
id: string;
|
|
1856
45
|
};
|
|
1857
|
-
export type
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
200: Site;
|
|
46
|
+
export type MqMessage = {
|
|
47
|
+
msg_id: number;
|
|
48
|
+
read_ct: number;
|
|
49
|
+
enqueued_at?: string;
|
|
50
|
+
message: unknown;
|
|
1863
51
|
};
|
|
1864
|
-
export type
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
path: {
|
|
1868
|
-
id: string;
|
|
1869
|
-
};
|
|
1870
|
-
query?: never;
|
|
1871
|
-
url: "/api/cf/site/{id}";
|
|
52
|
+
export type WorkerPullResp = {
|
|
53
|
+
error?: string;
|
|
54
|
+
data: Array<MqMessage>;
|
|
1872
55
|
};
|
|
1873
|
-
export type
|
|
1874
|
-
|
|
1875
|
-
* Bad Request - 请求参数错误
|
|
1876
|
-
*/
|
|
1877
|
-
400: ApiError;
|
|
1878
|
-
/**
|
|
1879
|
-
* Unauthorized - 未授权访问
|
|
1880
|
-
*/
|
|
1881
|
-
401: ApiError;
|
|
1882
|
-
/**
|
|
1883
|
-
* Forbidden - 禁止访问
|
|
1884
|
-
*/
|
|
1885
|
-
403: ApiError;
|
|
1886
|
-
/**
|
|
1887
|
-
* Not Found - 资源不存在
|
|
1888
|
-
*/
|
|
1889
|
-
404: ApiError;
|
|
1890
|
-
/**
|
|
1891
|
-
* Unprocessable Entity - 无法处理的实体
|
|
1892
|
-
*/
|
|
1893
|
-
422: ApiError;
|
|
1894
|
-
/**
|
|
1895
|
-
* Internal Server Error - 内部服务器错误
|
|
1896
|
-
*/
|
|
1897
|
-
500: ApiError;
|
|
56
|
+
export type WorkerPullRequest = {
|
|
57
|
+
worker_id: string;
|
|
1898
58
|
};
|
|
1899
|
-
export type
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
* 站点更新成功
|
|
1903
|
-
*/
|
|
1904
|
-
200: Site;
|
|
59
|
+
export type WorkerAckResp = {
|
|
60
|
+
error?: string;
|
|
61
|
+
data?: unknown;
|
|
1905
62
|
};
|
|
1906
|
-
export type
|
|
1907
|
-
|
|
1908
|
-
body?: never;
|
|
1909
|
-
path?: never;
|
|
1910
|
-
query?: {
|
|
1911
|
-
limit?: string;
|
|
1912
|
-
offset?: string;
|
|
1913
|
-
status?: string;
|
|
1914
|
-
state?: string;
|
|
1915
|
-
siteId?: string;
|
|
1916
|
-
search?: string;
|
|
1917
|
-
};
|
|
1918
|
-
url: "/api/cf/posts";
|
|
63
|
+
export type WorkerAckRequest = {
|
|
64
|
+
msg_id: number;
|
|
1919
65
|
};
|
|
1920
|
-
export type
|
|
1921
|
-
|
|
1922
|
-
* 获取博客文章列表成功
|
|
1923
|
-
*/
|
|
1924
|
-
200: BlogPostList;
|
|
66
|
+
export type AgentRunResult = {
|
|
67
|
+
[key: string]: unknown;
|
|
1925
68
|
};
|
|
1926
|
-
export type
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
path?: never;
|
|
1930
|
-
query?: never;
|
|
1931
|
-
url: "/api/cf/posts";
|
|
69
|
+
export type AdkBlob = {
|
|
70
|
+
mimeType?: string;
|
|
71
|
+
data: string;
|
|
1932
72
|
};
|
|
1933
|
-
export type
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
/**
|
|
1939
|
-
* Unauthorized - 未授权访问
|
|
1940
|
-
*/
|
|
1941
|
-
401: ApiError;
|
|
1942
|
-
/**
|
|
1943
|
-
* 服务器内部错误
|
|
1944
|
-
*/
|
|
1945
|
-
500: {
|
|
1946
|
-
message: string;
|
|
73
|
+
export type AdkFunctionCall = {
|
|
74
|
+
id?: string;
|
|
75
|
+
name: string;
|
|
76
|
+
args: {
|
|
77
|
+
[key: string]: unknown;
|
|
1947
78
|
};
|
|
1948
79
|
};
|
|
1949
|
-
export type
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
201: BlogPost;
|
|
1955
|
-
};
|
|
1956
|
-
export type BlogPostsCreateResponse = BlogPostsCreateResponses[keyof BlogPostsCreateResponses];
|
|
1957
|
-
export type BlogPostsDeleteData = {
|
|
1958
|
-
body?: never;
|
|
1959
|
-
path: {
|
|
1960
|
-
id: string;
|
|
80
|
+
export type AdkFunctionResp = {
|
|
81
|
+
id?: string;
|
|
82
|
+
name: string;
|
|
83
|
+
response: {
|
|
84
|
+
[key: string]: unknown;
|
|
1961
85
|
};
|
|
1962
|
-
query?: never;
|
|
1963
|
-
url: "/api/cf/posts/{id}";
|
|
1964
86
|
};
|
|
1965
|
-
export type
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
*/
|
|
1969
|
-
404: ApiError;
|
|
1970
|
-
/**
|
|
1971
|
-
* Internal Server Error - 内部服务器错误
|
|
1972
|
-
*/
|
|
1973
|
-
500: ApiError;
|
|
87
|
+
export type AdkFileData = {
|
|
88
|
+
mimeType: string;
|
|
89
|
+
fileUri: string;
|
|
1974
90
|
};
|
|
1975
|
-
export type
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
* 删除博客文章成功
|
|
1979
|
-
*/
|
|
1980
|
-
204: void;
|
|
91
|
+
export type AdkExecutableCode = {
|
|
92
|
+
language: 'UNKNOWN' | 'PYTHON';
|
|
93
|
+
code: string;
|
|
1981
94
|
};
|
|
1982
|
-
export type
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
path: {
|
|
1986
|
-
id: string;
|
|
1987
|
-
};
|
|
1988
|
-
query?: never;
|
|
1989
|
-
url: "/api/cf/posts/{id}";
|
|
95
|
+
export type AdkCodeExecutionResult = {
|
|
96
|
+
outcome: 'UNKNOWN' | 'OK' | 'FAILED' | 'DEADLINE_EXCEEDED';
|
|
97
|
+
output: string;
|
|
1990
98
|
};
|
|
1991
|
-
export type
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
99
|
+
export type AdkPart = {
|
|
100
|
+
text?: string;
|
|
101
|
+
inlineData?: AdkBlob;
|
|
102
|
+
functionCall?: AdkFunctionCall;
|
|
103
|
+
functionResponse?: AdkFunctionResp;
|
|
104
|
+
thought?: boolean;
|
|
105
|
+
fileData?: AdkFileData;
|
|
106
|
+
executableCode?: AdkExecutableCode;
|
|
107
|
+
codeExecutionResult?: AdkCodeExecutionResult;
|
|
2000
108
|
};
|
|
2001
|
-
export type
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
* 获取博客文章成功
|
|
2005
|
-
*/
|
|
2006
|
-
200: BlogPost;
|
|
109
|
+
export type GenaiContent = {
|
|
110
|
+
role: string;
|
|
111
|
+
parts: Array<AdkPart>;
|
|
2007
112
|
};
|
|
2008
|
-
export type
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
url: "/api/cf/posts/{id}";
|
|
113
|
+
export type AgentRunReq = {
|
|
114
|
+
agentName: string;
|
|
115
|
+
newMessage: GenaiContent;
|
|
116
|
+
sessionId: string;
|
|
117
|
+
stateDelta?: unknown;
|
|
118
|
+
streaming?: boolean;
|
|
119
|
+
userId?: string;
|
|
2016
120
|
};
|
|
2017
|
-
export type
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
121
|
+
export type AdkEventActions = {
|
|
122
|
+
message?: string;
|
|
123
|
+
artifactDelta?: unknown;
|
|
124
|
+
functionCall?: AdkFunctionCall;
|
|
125
|
+
functionResponse?: AdkFunctionResp;
|
|
126
|
+
finishReason?: string;
|
|
2022
127
|
};
|
|
2023
|
-
export type
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
128
|
+
export type AdkEvent = {
|
|
129
|
+
id?: string;
|
|
130
|
+
author?: string;
|
|
131
|
+
invocationId?: string;
|
|
132
|
+
actions?: AdkEventActions;
|
|
133
|
+
longRunningToolIds?: Array<string>;
|
|
134
|
+
branch?: string;
|
|
135
|
+
timestamp?: number;
|
|
136
|
+
content?: GenaiContent;
|
|
137
|
+
error?: string;
|
|
138
|
+
errorMessage?: string;
|
|
139
|
+
errorCode?: string;
|
|
140
|
+
groundingMetadata?: unknown;
|
|
141
|
+
usageMetadata?: unknown;
|
|
142
|
+
citationMetadata?: unknown;
|
|
143
|
+
customMetadata?: unknown;
|
|
144
|
+
turnComplete?: boolean;
|
|
145
|
+
interrupted?: boolean;
|
|
2029
146
|
};
|
|
2030
|
-
export type
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
147
|
+
export type AdkSessionCreateResp = {
|
|
148
|
+
error?: string;
|
|
149
|
+
data?: {
|
|
150
|
+
id?: string;
|
|
151
|
+
appName?: string;
|
|
152
|
+
userId?: string;
|
|
153
|
+
state: unknown;
|
|
154
|
+
events?: Array<AdkEvent>;
|
|
155
|
+
updateAt?: string;
|
|
2035
156
|
};
|
|
2036
|
-
query?: never;
|
|
2037
|
-
url: "/api/cf/posts/slug/{slug}";
|
|
2038
157
|
};
|
|
2039
|
-
export type
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
158
|
+
export type AdkSessionGetResp = {
|
|
159
|
+
error?: string;
|
|
160
|
+
data?: {
|
|
161
|
+
id?: string;
|
|
162
|
+
appName?: string;
|
|
163
|
+
userId?: string;
|
|
164
|
+
state: unknown;
|
|
165
|
+
events?: Array<AdkEvent>;
|
|
166
|
+
updateAt?: string;
|
|
167
|
+
};
|
|
2048
168
|
};
|
|
2049
|
-
export type
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
169
|
+
export type AgentChatItem = {
|
|
170
|
+
id: string;
|
|
171
|
+
title: string;
|
|
172
|
+
user_id: string;
|
|
173
|
+
visibility: string;
|
|
174
|
+
lastContext?: unknown;
|
|
175
|
+
created_at: string;
|
|
176
|
+
updated_at: string;
|
|
2055
177
|
};
|
|
2056
|
-
export type
|
|
2057
|
-
|
|
2058
|
-
body?: never;
|
|
2059
|
-
path: {
|
|
2060
|
-
id: string;
|
|
2061
|
-
};
|
|
2062
|
-
query?: never;
|
|
2063
|
-
url: "/api/cf/site-hosts/{id}";
|
|
178
|
+
export type ZMtAgentRun = {
|
|
179
|
+
[key: string]: unknown;
|
|
2064
180
|
};
|
|
2065
|
-
export type
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
181
|
+
export type MtAgentRunReq = {
|
|
182
|
+
agentName?: string;
|
|
183
|
+
messages: Array<unknown>;
|
|
184
|
+
sessionId?: string;
|
|
185
|
+
stateDelta?: unknown;
|
|
186
|
+
streaming?: boolean;
|
|
187
|
+
userId?: string;
|
|
2070
188
|
};
|
|
2071
|
-
export type
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
*/
|
|
2076
|
-
200: {
|
|
2077
|
-
hosts: Array<{
|
|
2078
|
-
id: string;
|
|
2079
|
-
siteId: string;
|
|
2080
|
-
host: string;
|
|
2081
|
-
createdAt: string;
|
|
2082
|
-
updatedAt: string;
|
|
2083
|
-
}>;
|
|
2084
|
-
total: number;
|
|
2085
|
-
};
|
|
189
|
+
export type AgentQuickActionItem = {
|
|
190
|
+
id?: string;
|
|
191
|
+
icon?: string;
|
|
192
|
+
text: string;
|
|
2086
193
|
};
|
|
2087
|
-
export type
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
194
|
+
export type ChatMessage = {
|
|
195
|
+
id: string;
|
|
196
|
+
created_at: string;
|
|
197
|
+
updated_at: string;
|
|
198
|
+
chat_id: string;
|
|
199
|
+
role: string;
|
|
200
|
+
parts: unknown;
|
|
201
|
+
attachments: unknown;
|
|
202
|
+
user_id: string;
|
|
203
|
+
};
|
|
204
|
+
export type BrowserCreateResult = {
|
|
205
|
+
id: string;
|
|
206
|
+
title?: string;
|
|
207
|
+
created_at?: string;
|
|
208
|
+
provider?: string;
|
|
2095
209
|
};
|
|
2096
|
-
export type
|
|
210
|
+
export type BrowserCreateReq = {
|
|
2097
211
|
/**
|
|
2098
|
-
*
|
|
212
|
+
* 如果不传则自动生成,传入则更新对应记录
|
|
2099
213
|
*/
|
|
2100
|
-
|
|
214
|
+
id?: string;
|
|
2101
215
|
/**
|
|
2102
|
-
*
|
|
216
|
+
* 配置名称
|
|
2103
217
|
*/
|
|
2104
|
-
|
|
218
|
+
title: string;
|
|
2105
219
|
/**
|
|
2106
|
-
*
|
|
220
|
+
* 描述信息
|
|
2107
221
|
*/
|
|
2108
|
-
|
|
2109
|
-
};
|
|
2110
|
-
export type SitehostCreateError = SitehostCreateErrors[keyof SitehostCreateErrors];
|
|
2111
|
-
export type SitehostCreateResponses = {
|
|
222
|
+
description?: string;
|
|
2112
223
|
/**
|
|
2113
|
-
*
|
|
224
|
+
* 关联的 profile ID
|
|
2114
225
|
*/
|
|
2115
|
-
|
|
2116
|
-
id: string;
|
|
2117
|
-
siteId: string;
|
|
2118
|
-
host: string;
|
|
2119
|
-
createdAt: string;
|
|
2120
|
-
updatedAt: string;
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
export type SitehostCreateResponse = SitehostCreateResponses[keyof SitehostCreateResponses];
|
|
2124
|
-
export type SitehostDeleteData = {
|
|
2125
|
-
body?: never;
|
|
2126
|
-
path: {
|
|
2127
|
-
id: string;
|
|
2128
|
-
hostId: string;
|
|
2129
|
-
};
|
|
2130
|
-
query?: never;
|
|
2131
|
-
url: "/api/cf/site-hosts/{id}/{hostId}";
|
|
2132
|
-
};
|
|
2133
|
-
export type SitehostDeleteErrors = {
|
|
226
|
+
profile_id?: string;
|
|
2134
227
|
/**
|
|
2135
|
-
*
|
|
228
|
+
* 底层提供商,如 nst
|
|
2136
229
|
*/
|
|
2137
|
-
|
|
2138
|
-
};
|
|
2139
|
-
export type SitehostDeleteError = SitehostDeleteErrors[keyof SitehostDeleteErrors];
|
|
2140
|
-
export type SitehostDeleteResponses = {
|
|
230
|
+
provider?: string;
|
|
2141
231
|
/**
|
|
2142
|
-
*
|
|
232
|
+
* 提供商特定配置
|
|
2143
233
|
*/
|
|
2144
|
-
|
|
2145
|
-
};
|
|
2146
|
-
export type SitehostDeleteResponse = SitehostDeleteResponses[keyof SitehostDeleteResponses];
|
|
2147
|
-
export type AdkSessionCreateData = {
|
|
2148
|
-
body?: AdkSessionCreateReq;
|
|
2149
|
-
path?: never;
|
|
2150
|
-
query?: never;
|
|
2151
|
-
url: "/api/cf/adk/session/create";
|
|
2152
|
-
};
|
|
2153
|
-
export type AdkSessionCreateResponses = {
|
|
234
|
+
provider_config?: unknown;
|
|
2154
235
|
/**
|
|
2155
|
-
*
|
|
236
|
+
* 通用配置
|
|
2156
237
|
*/
|
|
2157
|
-
|
|
238
|
+
config?: unknown;
|
|
2158
239
|
};
|
|
2159
|
-
export type
|
|
2160
|
-
|
|
2161
|
-
|
|
240
|
+
export type BrowserRow = {
|
|
241
|
+
id: string;
|
|
242
|
+
created_at: string;
|
|
243
|
+
updated_at: string;
|
|
244
|
+
title?: string;
|
|
245
|
+
description?: string;
|
|
246
|
+
profile_id?: string;
|
|
247
|
+
provider?: string;
|
|
248
|
+
provider_config?: unknown;
|
|
249
|
+
config?: unknown;
|
|
250
|
+
sandbox_id?: string;
|
|
251
|
+
vnc_url?: string;
|
|
252
|
+
worker_name?: string;
|
|
253
|
+
is_running?: boolean;
|
|
254
|
+
};
|
|
255
|
+
export type WorkerCheckRequest = string;
|
|
256
|
+
export type ChatlistParams = string;
|
|
257
|
+
export type ChatMessagesListInput = string;
|
|
258
|
+
export type WorkerUpData = {
|
|
259
|
+
body?: WorkerUpRequest;
|
|
2162
260
|
path?: never;
|
|
2163
261
|
query?: never;
|
|
2164
|
-
url:
|
|
262
|
+
url: '/api/cf/worker/up';
|
|
2165
263
|
};
|
|
2166
|
-
export type
|
|
264
|
+
export type WorkerUpResponses = {
|
|
2167
265
|
/**
|
|
2168
|
-
*
|
|
266
|
+
* Retrieve the Events list
|
|
2169
267
|
*/
|
|
2170
|
-
200:
|
|
268
|
+
200: WorkerUpResp;
|
|
2171
269
|
};
|
|
2172
|
-
export type
|
|
2173
|
-
export type
|
|
270
|
+
export type WorkerUpResponse = WorkerUpResponses[keyof WorkerUpResponses];
|
|
271
|
+
export type WorkerCheckData = {
|
|
2174
272
|
body?: never;
|
|
2175
|
-
path
|
|
2176
|
-
|
|
2177
|
-
app_name?: string;
|
|
2178
|
-
user_id?: string;
|
|
2179
|
-
limit?: number;
|
|
2180
|
-
offset?: number | null;
|
|
273
|
+
path: {
|
|
274
|
+
id: string;
|
|
2181
275
|
};
|
|
2182
|
-
|
|
276
|
+
query?: never;
|
|
277
|
+
url: '/api/cf/worker/check/{id}';
|
|
2183
278
|
};
|
|
2184
|
-
export type
|
|
279
|
+
export type WorkerCheckResponses = {
|
|
2185
280
|
/**
|
|
2186
|
-
*
|
|
281
|
+
* Retrieve the Events list
|
|
2187
282
|
*/
|
|
2188
|
-
200:
|
|
283
|
+
200: WorkerCheckResult;
|
|
2189
284
|
};
|
|
2190
|
-
export type
|
|
2191
|
-
export type
|
|
2192
|
-
body?:
|
|
285
|
+
export type WorkerCheckResponse = WorkerCheckResponses[keyof WorkerCheckResponses];
|
|
286
|
+
export type QueuePullData = {
|
|
287
|
+
body?: WorkerPullRequest;
|
|
2193
288
|
path?: never;
|
|
2194
289
|
query?: never;
|
|
2195
|
-
url:
|
|
290
|
+
url: '/api/cf/worker/pull';
|
|
2196
291
|
};
|
|
2197
|
-
export type
|
|
292
|
+
export type QueuePullResponses = {
|
|
2198
293
|
/**
|
|
2199
|
-
*
|
|
294
|
+
* List of messages
|
|
2200
295
|
*/
|
|
2201
|
-
200:
|
|
296
|
+
200: WorkerPullResp;
|
|
2202
297
|
};
|
|
2203
|
-
export type
|
|
2204
|
-
export type
|
|
2205
|
-
body?:
|
|
298
|
+
export type QueuePullResponse = QueuePullResponses[keyof QueuePullResponses];
|
|
299
|
+
export type QueueAckData = {
|
|
300
|
+
body?: WorkerAckRequest;
|
|
2206
301
|
path?: never;
|
|
2207
302
|
query?: never;
|
|
2208
|
-
url:
|
|
303
|
+
url: '/api/cf/worker/ack';
|
|
2209
304
|
};
|
|
2210
|
-
export type
|
|
305
|
+
export type QueueAckResponses = {
|
|
2211
306
|
/**
|
|
2212
|
-
*
|
|
307
|
+
* Ack Result
|
|
2213
308
|
*/
|
|
2214
|
-
200:
|
|
309
|
+
200: WorkerAckResp;
|
|
2215
310
|
};
|
|
2216
|
-
export type
|
|
2217
|
-
export type
|
|
2218
|
-
body?:
|
|
311
|
+
export type QueueAckResponse = QueueAckResponses[keyof QueueAckResponses];
|
|
312
|
+
export type AdkAgentRunData = {
|
|
313
|
+
body?: AgentRunReq;
|
|
2219
314
|
path?: never;
|
|
2220
315
|
query?: never;
|
|
2221
|
-
url:
|
|
316
|
+
url: '/api/cf/adk/run/sse';
|
|
2222
317
|
};
|
|
2223
|
-
export type
|
|
2224
|
-
|
|
2225
|
-
* Artifact保存成功
|
|
2226
|
-
*/
|
|
2227
|
-
200: AdkArtifactSave;
|
|
318
|
+
export type AdkAgentRunResponses = {
|
|
319
|
+
200: AgentRunResult;
|
|
2228
320
|
};
|
|
2229
|
-
export type
|
|
2230
|
-
export type
|
|
2231
|
-
body?:
|
|
321
|
+
export type AdkAgentRunResponse = AdkAgentRunResponses[keyof AdkAgentRunResponses];
|
|
322
|
+
export type AdkSessionCreateData = {
|
|
323
|
+
body?: {
|
|
324
|
+
state?: unknown;
|
|
325
|
+
agentName: string;
|
|
326
|
+
sessionId?: string;
|
|
327
|
+
userId?: string;
|
|
328
|
+
};
|
|
2232
329
|
path?: never;
|
|
2233
330
|
query?: never;
|
|
2234
|
-
url:
|
|
331
|
+
url: '/api/cf/adk/session/create';
|
|
2235
332
|
};
|
|
2236
|
-
export type
|
|
333
|
+
export type AdkSessionCreateResponses = {
|
|
2237
334
|
/**
|
|
2238
|
-
*
|
|
335
|
+
* Session Create Result
|
|
2239
336
|
*/
|
|
2240
|
-
200:
|
|
337
|
+
200: AdkSessionCreateResp;
|
|
2241
338
|
};
|
|
2242
|
-
export type
|
|
2243
|
-
export type
|
|
339
|
+
export type AdkSessionCreateResponse = AdkSessionCreateResponses[keyof AdkSessionCreateResponses];
|
|
340
|
+
export type AdkSessionGetData = {
|
|
2244
341
|
body?: never;
|
|
2245
|
-
path
|
|
2246
|
-
|
|
2247
|
-
app_name?: string;
|
|
2248
|
-
user_id?: string;
|
|
2249
|
-
session_id?: string;
|
|
2250
|
-
limit?: number;
|
|
2251
|
-
offset?: number | null;
|
|
342
|
+
path: {
|
|
343
|
+
id: string;
|
|
2252
344
|
};
|
|
2253
|
-
|
|
345
|
+
query?: never;
|
|
346
|
+
url: '/api/cf/adk/session/{id}';
|
|
2254
347
|
};
|
|
2255
|
-
export type
|
|
348
|
+
export type AdkSessionGetResponses = {
|
|
2256
349
|
/**
|
|
2257
|
-
*
|
|
350
|
+
* Get Session Metadata
|
|
2258
351
|
*/
|
|
2259
|
-
200:
|
|
352
|
+
200: AdkSessionGetResp;
|
|
2260
353
|
};
|
|
2261
|
-
export type
|
|
2262
|
-
export type
|
|
354
|
+
export type AdkSessionGetResponse = AdkSessionGetResponses[keyof AdkSessionGetResponses];
|
|
355
|
+
export type AdkEventListData = {
|
|
2263
356
|
body?: never;
|
|
2264
357
|
path?: never;
|
|
2265
358
|
query: {
|
|
2266
|
-
app_name: string;
|
|
2267
|
-
user_id: string;
|
|
2268
359
|
session_id: string;
|
|
2269
360
|
};
|
|
2270
|
-
url:
|
|
361
|
+
url: '/api/cf/adk/events/list';
|
|
2271
362
|
};
|
|
2272
|
-
export type
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
363
|
+
export type AdkEventListResponses = {
|
|
364
|
+
200: {
|
|
365
|
+
error?: string;
|
|
366
|
+
data: Array<unknown>;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
export type AdkEventListResponse = AdkEventListResponses[keyof AdkEventListResponses];
|
|
370
|
+
export type AdkEventsAppendData = {
|
|
371
|
+
body?: {
|
|
372
|
+
session_id: string;
|
|
373
|
+
event: AdkEvent;
|
|
374
|
+
};
|
|
375
|
+
path?: never;
|
|
376
|
+
query?: never;
|
|
377
|
+
url: '/api/cf/adk/events/append_event';
|
|
378
|
+
};
|
|
379
|
+
export type AdkEventsAppendResponses = {
|
|
380
|
+
200: {
|
|
381
|
+
error?: string;
|
|
382
|
+
data: unknown;
|
|
383
|
+
};
|
|
2277
384
|
};
|
|
2278
|
-
export type
|
|
2279
|
-
export type
|
|
2280
|
-
body?:
|
|
385
|
+
export type AdkEventsAppendResponse = AdkEventsAppendResponses[keyof AdkEventsAppendResponses];
|
|
386
|
+
export type BrowserOpenData = {
|
|
387
|
+
body?: {
|
|
388
|
+
profileId?: string;
|
|
389
|
+
urls?: Array<string>;
|
|
390
|
+
};
|
|
2281
391
|
path?: never;
|
|
2282
392
|
query?: never;
|
|
2283
|
-
url:
|
|
393
|
+
url: '/api/cf/demo/time';
|
|
2284
394
|
};
|
|
2285
|
-
export type
|
|
395
|
+
export type BrowserOpenResponses = {
|
|
2286
396
|
/**
|
|
2287
|
-
*
|
|
397
|
+
* browser open
|
|
2288
398
|
*/
|
|
2289
399
|
200: {
|
|
2290
|
-
|
|
400
|
+
/**
|
|
401
|
+
* vnc url
|
|
402
|
+
*/
|
|
403
|
+
vncUrl?: string;
|
|
404
|
+
wsCdpEndpoint?: string;
|
|
2291
405
|
};
|
|
2292
406
|
};
|
|
2293
|
-
export type
|
|
2294
|
-
export type
|
|
407
|
+
export type BrowserOpenResponse = BrowserOpenResponses[keyof BrowserOpenResponses];
|
|
408
|
+
export type AgentChatListData = {
|
|
2295
409
|
body?: never;
|
|
2296
410
|
path?: never;
|
|
2297
|
-
query
|
|
2298
|
-
|
|
2299
|
-
user_id: string;
|
|
2300
|
-
session_id: string;
|
|
2301
|
-
filename: string;
|
|
411
|
+
query?: {
|
|
412
|
+
agentId?: string;
|
|
2302
413
|
};
|
|
2303
|
-
url:
|
|
414
|
+
url: '/api/cf/agent/chat_list';
|
|
2304
415
|
};
|
|
2305
|
-
export type
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
interrupted?: boolean;
|
|
2331
|
-
grounding_metadata?: unknown;
|
|
2332
|
-
custom_metadata?: unknown;
|
|
2333
|
-
}>;
|
|
416
|
+
export type AgentChatListResponses = {
|
|
417
|
+
200: {
|
|
418
|
+
paginate: {
|
|
419
|
+
/**
|
|
420
|
+
* Total number of records
|
|
421
|
+
*/
|
|
422
|
+
total: number;
|
|
423
|
+
/**
|
|
424
|
+
* Current page number
|
|
425
|
+
*/
|
|
426
|
+
page: number;
|
|
427
|
+
/**
|
|
428
|
+
* Number of records per page
|
|
429
|
+
*/
|
|
430
|
+
pageSize: number;
|
|
431
|
+
/**
|
|
432
|
+
* Total number of pages
|
|
433
|
+
*/
|
|
434
|
+
totalPages: number;
|
|
435
|
+
/**
|
|
436
|
+
* Whether there is a next page
|
|
437
|
+
*/
|
|
438
|
+
hasNext: boolean;
|
|
439
|
+
};
|
|
440
|
+
data: Array<AgentChatItem>;
|
|
2334
441
|
};
|
|
442
|
+
};
|
|
443
|
+
export type AgentChatListResponse = AgentChatListResponses[keyof AgentChatListResponses];
|
|
444
|
+
export type AgentRunData = {
|
|
445
|
+
body?: MtAgentRunReq;
|
|
2335
446
|
path?: never;
|
|
2336
447
|
query?: never;
|
|
2337
|
-
url:
|
|
448
|
+
url: '/api/cf/agent/run';
|
|
2338
449
|
};
|
|
2339
|
-
export type
|
|
2340
|
-
|
|
2341
|
-
* 会话添加成功
|
|
2342
|
-
*/
|
|
2343
|
-
200: {
|
|
2344
|
-
success: boolean;
|
|
2345
|
-
};
|
|
450
|
+
export type AgentRunResponses = {
|
|
451
|
+
200: ZMtAgentRun;
|
|
2346
452
|
};
|
|
2347
|
-
export type
|
|
2348
|
-
export type
|
|
453
|
+
export type AgentRunResponse = AgentRunResponses[keyof AgentRunResponses];
|
|
454
|
+
export type AgentQuickActionData = {
|
|
2349
455
|
body?: never;
|
|
2350
456
|
path?: never;
|
|
2351
457
|
query?: {
|
|
2352
|
-
|
|
2353
|
-
user_id?: string;
|
|
2354
|
-
limit?: number;
|
|
2355
|
-
offset?: number | null;
|
|
458
|
+
agentName?: string;
|
|
2356
459
|
};
|
|
2357
|
-
url:
|
|
460
|
+
url: '/api/cf/agent/quick_actions';
|
|
2358
461
|
};
|
|
2359
|
-
export type
|
|
2360
|
-
/**
|
|
2361
|
-
* 记忆列表获取成功
|
|
2362
|
-
*/
|
|
462
|
+
export type AgentQuickActionResponses = {
|
|
2363
463
|
200: {
|
|
2364
|
-
|
|
2365
|
-
content?: unknown;
|
|
2366
|
-
author?: string;
|
|
2367
|
-
timestamp?: string;
|
|
2368
|
-
}>;
|
|
2369
|
-
total: number;
|
|
464
|
+
items: Array<AgentQuickActionItem>;
|
|
2370
465
|
};
|
|
2371
466
|
};
|
|
2372
|
-
export type
|
|
2373
|
-
export type
|
|
2374
|
-
body?:
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
467
|
+
export type AgentQuickActionResponse = AgentQuickActionResponses[keyof AgentQuickActionResponses];
|
|
468
|
+
export type AgentChatMessageListData = {
|
|
469
|
+
body?: never;
|
|
470
|
+
path?: never;
|
|
471
|
+
query: {
|
|
472
|
+
chat_id: string;
|
|
473
|
+
};
|
|
474
|
+
url: '/api/cf/agent/chat_messages';
|
|
475
|
+
};
|
|
476
|
+
export type AgentChatMessageListResponses = {
|
|
477
|
+
200: {
|
|
478
|
+
paginate: {
|
|
479
|
+
/**
|
|
480
|
+
* Total number of records
|
|
481
|
+
*/
|
|
482
|
+
total: number;
|
|
483
|
+
/**
|
|
484
|
+
* Current page number
|
|
485
|
+
*/
|
|
486
|
+
page: number;
|
|
487
|
+
/**
|
|
488
|
+
* Number of records per page
|
|
489
|
+
*/
|
|
490
|
+
pageSize: number;
|
|
491
|
+
/**
|
|
492
|
+
* Total number of pages
|
|
493
|
+
*/
|
|
494
|
+
totalPages: number;
|
|
495
|
+
/**
|
|
496
|
+
* Whether there is a next page
|
|
497
|
+
*/
|
|
498
|
+
hasNext: boolean;
|
|
499
|
+
};
|
|
500
|
+
data: Array<ChatMessage>;
|
|
2378
501
|
};
|
|
502
|
+
};
|
|
503
|
+
export type AgentChatMessageListResponse = AgentChatMessageListResponses[keyof AgentChatMessageListResponses];
|
|
504
|
+
export type HumanTasksListData = {
|
|
505
|
+
body?: never;
|
|
2379
506
|
path?: never;
|
|
2380
507
|
query?: never;
|
|
2381
|
-
url:
|
|
508
|
+
url: '/api/cf/human/tasks/list';
|
|
2382
509
|
};
|
|
2383
|
-
export type
|
|
2384
|
-
/**
|
|
2385
|
-
* 搜索结果
|
|
2386
|
-
*/
|
|
510
|
+
export type HumanTasksListResponses = {
|
|
2387
511
|
200: {
|
|
2388
|
-
|
|
2389
|
-
content?: unknown;
|
|
2390
|
-
author?: string;
|
|
2391
|
-
timestamp?: string;
|
|
2392
|
-
}>;
|
|
512
|
+
[key: string]: unknown;
|
|
2393
513
|
};
|
|
2394
514
|
};
|
|
2395
|
-
export type
|
|
2396
|
-
export type
|
|
2397
|
-
body?:
|
|
515
|
+
export type HumanTasksListResponse = HumanTasksListResponses[keyof HumanTasksListResponses];
|
|
516
|
+
export type McpApiHelloData = {
|
|
517
|
+
body?: never;
|
|
2398
518
|
path?: never;
|
|
2399
|
-
query
|
|
2400
|
-
|
|
519
|
+
query: {
|
|
520
|
+
msg: string;
|
|
521
|
+
};
|
|
522
|
+
url: '/api/cf/mcpapi/hello';
|
|
2401
523
|
};
|
|
2402
|
-
export type
|
|
524
|
+
export type McpApiHelloResponses = {
|
|
2403
525
|
/**
|
|
2404
|
-
*
|
|
526
|
+
* 简单问候API
|
|
2405
527
|
*/
|
|
2406
|
-
200:
|
|
528
|
+
200: {
|
|
529
|
+
paginate: {
|
|
530
|
+
/**
|
|
531
|
+
* Total number of records
|
|
532
|
+
*/
|
|
533
|
+
total: number;
|
|
534
|
+
/**
|
|
535
|
+
* Current page number
|
|
536
|
+
*/
|
|
537
|
+
page: number;
|
|
538
|
+
/**
|
|
539
|
+
* Number of records per page
|
|
540
|
+
*/
|
|
541
|
+
pageSize: number;
|
|
542
|
+
/**
|
|
543
|
+
* Total number of pages
|
|
544
|
+
*/
|
|
545
|
+
totalPages: number;
|
|
546
|
+
/**
|
|
547
|
+
* Whether there is a next page
|
|
548
|
+
*/
|
|
549
|
+
hasNext: boolean;
|
|
550
|
+
};
|
|
551
|
+
data: Array<ChatMessage>;
|
|
552
|
+
};
|
|
2407
553
|
};
|
|
2408
|
-
export type
|
|
2409
|
-
export type
|
|
2410
|
-
body?:
|
|
554
|
+
export type McpApiHelloResponse = McpApiHelloResponses[keyof McpApiHelloResponses];
|
|
555
|
+
export type BrowserUpsertData = {
|
|
556
|
+
body?: BrowserCreateReq;
|
|
2411
557
|
path?: never;
|
|
2412
558
|
query?: never;
|
|
2413
|
-
url:
|
|
559
|
+
url: '/api/cf/browser/browsers/upsert';
|
|
2414
560
|
};
|
|
2415
|
-
export type
|
|
561
|
+
export type BrowserUpsertResponses = {
|
|
2416
562
|
/**
|
|
2417
|
-
*
|
|
563
|
+
* Create or Update browser configuration
|
|
2418
564
|
*/
|
|
2419
|
-
200:
|
|
565
|
+
200: BrowserCreateResult;
|
|
2420
566
|
};
|
|
2421
|
-
export type
|
|
2422
|
-
export type
|
|
567
|
+
export type BrowserUpsertResponse = BrowserUpsertResponses[keyof BrowserUpsertResponses];
|
|
568
|
+
export type BrowserListData = {
|
|
2423
569
|
body?: never;
|
|
2424
570
|
path?: never;
|
|
2425
571
|
query?: {
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
offset?: number | null;
|
|
572
|
+
page?: number;
|
|
573
|
+
size?: number;
|
|
574
|
+
kw?: string;
|
|
2430
575
|
};
|
|
2431
|
-
url:
|
|
2432
|
-
};
|
|
2433
|
-
export type AdkTaskListResponses = {
|
|
2434
|
-
/**
|
|
2435
|
-
* 任务列表获取成功
|
|
2436
|
-
*/
|
|
2437
|
-
200: AdkTaskList;
|
|
2438
|
-
};
|
|
2439
|
-
export type AdkTaskListResponse = AdkTaskListResponses[keyof AdkTaskListResponses];
|
|
2440
|
-
export type AdkTaskDeleteData = {
|
|
2441
|
-
body?: AdkTaskDeleteRequest;
|
|
2442
|
-
path?: never;
|
|
2443
|
-
query?: never;
|
|
2444
|
-
url: "/api/cf/adk/task/delete";
|
|
576
|
+
url: '/api/cf/browser/browsers/list';
|
|
2445
577
|
};
|
|
2446
|
-
export type
|
|
578
|
+
export type BrowserListResponses = {
|
|
2447
579
|
/**
|
|
2448
|
-
*
|
|
580
|
+
* Get browser list
|
|
2449
581
|
*/
|
|
2450
|
-
200:
|
|
582
|
+
200: Array<BrowserRow>;
|
|
2451
583
|
};
|
|
2452
|
-
export type
|
|
584
|
+
export type BrowserListResponse = BrowserListResponses[keyof BrowserListResponses];
|
|
2453
585
|
//# sourceMappingURL=types.gen.d.ts.map
|