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,150 +1,53 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export const APIResponseSchema = {
|
|
3
|
-
description: "APIResponse schema",
|
|
4
|
-
properties: {
|
|
5
|
-
data: {
|
|
6
|
-
nullable: true,
|
|
7
|
-
},
|
|
8
|
-
error: {
|
|
9
|
-
nullable: true,
|
|
10
|
-
properties: {
|
|
11
|
-
code: {
|
|
12
|
-
type: "string",
|
|
13
|
-
},
|
|
14
|
-
details: {
|
|
15
|
-
nullable: true,
|
|
16
|
-
},
|
|
17
|
-
message: {
|
|
18
|
-
type: "string",
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
type: "object",
|
|
22
|
-
},
|
|
23
|
-
message: {
|
|
24
|
-
nullable: true,
|
|
25
|
-
type: "string",
|
|
26
|
-
},
|
|
27
|
-
success: {
|
|
28
|
-
type: "boolean",
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
type: "object",
|
|
32
|
-
};
|
|
33
|
-
export const AgentEventPushRequestSchema = {
|
|
34
|
-
description: "AgentEventPushRequest schema",
|
|
35
|
-
properties: {
|
|
36
|
-
agentId: {
|
|
37
|
-
example: "123e4567-e89b-12d3-a456-426614174000",
|
|
38
|
-
type: "string",
|
|
39
|
-
},
|
|
40
|
-
event: {
|
|
41
|
-
type: "string",
|
|
42
|
-
},
|
|
43
|
-
eventData: {
|
|
44
|
-
type: "string",
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
required: ["agentId"],
|
|
48
|
-
type: "object",
|
|
49
|
-
};
|
|
50
|
-
export const AgentEventPushResponseSchema = {
|
|
51
|
-
description: "AgentEventPushResponse schema",
|
|
52
|
-
properties: {
|
|
53
|
-
agentId: {
|
|
54
|
-
example: "123e4567-e89b-12d3-a456-426614174000",
|
|
55
|
-
type: "string",
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
required: ["agentId"],
|
|
59
|
-
type: "object",
|
|
60
|
-
};
|
|
61
|
-
export const AgentResponseSchema = {
|
|
62
|
-
description: "AgentResponse schema",
|
|
63
|
-
properties: {
|
|
64
|
-
config: {
|
|
65
|
-
additionalProperties: {},
|
|
66
|
-
type: "object",
|
|
67
|
-
},
|
|
68
|
-
created_at: {
|
|
69
|
-
format: "date-time",
|
|
70
|
-
type: "string",
|
|
71
|
-
},
|
|
72
|
-
description: {
|
|
73
|
-
type: "string",
|
|
74
|
-
},
|
|
75
|
-
id: {
|
|
76
|
-
type: "string",
|
|
77
|
-
},
|
|
78
|
-
name: {
|
|
79
|
-
type: "string",
|
|
80
|
-
},
|
|
81
|
-
state: {
|
|
82
|
-
additionalProperties: {},
|
|
83
|
-
type: "object",
|
|
84
|
-
},
|
|
85
|
-
status: {
|
|
86
|
-
type: "string",
|
|
87
|
-
},
|
|
88
|
-
tenant_id: {
|
|
89
|
-
type: "string",
|
|
90
|
-
},
|
|
91
|
-
updated_at: {
|
|
92
|
-
format: "date-time",
|
|
93
|
-
type: "string",
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
required: ["id", "created_at", "name", "status", "config", "state"],
|
|
97
|
-
type: "object",
|
|
98
|
-
};
|
|
99
2
|
export const BrowserConfigSchema = {
|
|
100
|
-
description:
|
|
3
|
+
description: 'BrowserConfig schema',
|
|
101
4
|
properties: {
|
|
102
5
|
createdAt: {
|
|
103
|
-
format:
|
|
6
|
+
format: 'date-time',
|
|
104
7
|
nullable: true,
|
|
105
|
-
type:
|
|
8
|
+
type: 'string'
|
|
106
9
|
},
|
|
107
10
|
id: {
|
|
108
|
-
type:
|
|
11
|
+
type: 'string'
|
|
109
12
|
},
|
|
110
13
|
name: {
|
|
111
|
-
type:
|
|
14
|
+
type: 'string'
|
|
112
15
|
},
|
|
113
16
|
settings: {
|
|
114
17
|
additionalProperties: {},
|
|
115
18
|
nullable: true,
|
|
116
|
-
type:
|
|
19
|
+
type: 'object'
|
|
117
20
|
},
|
|
118
21
|
type: {
|
|
119
|
-
type:
|
|
22
|
+
type: 'string'
|
|
120
23
|
},
|
|
121
24
|
updatedAt: {
|
|
122
|
-
format:
|
|
25
|
+
format: 'date-time',
|
|
123
26
|
nullable: true,
|
|
124
|
-
type:
|
|
125
|
-
}
|
|
27
|
+
type: 'string'
|
|
28
|
+
}
|
|
126
29
|
},
|
|
127
|
-
type:
|
|
30
|
+
type: 'object'
|
|
128
31
|
};
|
|
129
32
|
export const BrowserConfigCreateSchema = {
|
|
130
|
-
description:
|
|
33
|
+
description: 'BrowserConfigCreate schema',
|
|
131
34
|
properties: {
|
|
132
35
|
name: {
|
|
133
|
-
type:
|
|
36
|
+
type: 'string'
|
|
134
37
|
},
|
|
135
38
|
settings: {
|
|
136
39
|
additionalProperties: {},
|
|
137
40
|
nullable: true,
|
|
138
|
-
type:
|
|
41
|
+
type: 'object'
|
|
139
42
|
},
|
|
140
43
|
type: {
|
|
141
|
-
type:
|
|
142
|
-
}
|
|
44
|
+
type: 'string'
|
|
45
|
+
}
|
|
143
46
|
},
|
|
144
|
-
type:
|
|
47
|
+
type: 'object'
|
|
145
48
|
};
|
|
146
49
|
export const ChatbotListResponseSchema = {
|
|
147
|
-
description:
|
|
50
|
+
description: 'ChatbotListResponse schema',
|
|
148
51
|
properties: {
|
|
149
52
|
data: {
|
|
150
53
|
items: {
|
|
@@ -152,444 +55,408 @@ export const ChatbotListResponseSchema = {
|
|
|
152
55
|
config: {
|
|
153
56
|
additionalProperties: {},
|
|
154
57
|
nullable: true,
|
|
155
|
-
type:
|
|
58
|
+
type: 'object'
|
|
156
59
|
},
|
|
157
60
|
createdAt: {
|
|
158
|
-
example:
|
|
159
|
-
type:
|
|
61
|
+
example: '2023-01-01T00:00:00Z',
|
|
62
|
+
type: 'string'
|
|
160
63
|
},
|
|
161
64
|
createdBy: {
|
|
162
|
-
example:
|
|
163
|
-
type:
|
|
65
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
66
|
+
type: 'string'
|
|
164
67
|
},
|
|
165
68
|
description: {
|
|
166
|
-
|
|
167
|
-
example: "A helpful chatbot",
|
|
69
|
+
example: 'A helpful chatbot',
|
|
168
70
|
nullable: true,
|
|
169
|
-
type:
|
|
71
|
+
type: 'string'
|
|
170
72
|
},
|
|
171
73
|
id: {
|
|
172
|
-
example:
|
|
173
|
-
type:
|
|
74
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
75
|
+
type: 'string'
|
|
174
76
|
},
|
|
175
77
|
lastActiveAt: {
|
|
176
|
-
|
|
177
|
-
example: "2023-01-01T00:00:00Z",
|
|
78
|
+
example: '2023-01-01T00:00:00Z',
|
|
178
79
|
nullable: true,
|
|
179
|
-
type:
|
|
80
|
+
type: 'string'
|
|
180
81
|
},
|
|
181
82
|
name: {
|
|
182
|
-
example:
|
|
183
|
-
type:
|
|
83
|
+
example: 'My Bot',
|
|
84
|
+
type: 'string'
|
|
184
85
|
},
|
|
185
86
|
platform: {
|
|
186
|
-
example:
|
|
187
|
-
type:
|
|
87
|
+
example: 'napcatqq',
|
|
88
|
+
type: 'string'
|
|
188
89
|
},
|
|
189
90
|
serverType: {
|
|
190
|
-
|
|
191
|
-
example: "napcatqq",
|
|
91
|
+
example: 'napcatqq',
|
|
192
92
|
nullable: true,
|
|
193
|
-
type:
|
|
93
|
+
type: 'string'
|
|
194
94
|
},
|
|
195
95
|
serverUrl: {
|
|
196
|
-
|
|
197
|
-
example: "http://localhost:6099",
|
|
96
|
+
example: 'http://localhost:6099',
|
|
198
97
|
nullable: true,
|
|
199
|
-
type:
|
|
98
|
+
type: 'string'
|
|
200
99
|
},
|
|
201
100
|
state: {
|
|
202
101
|
nullable: true,
|
|
203
102
|
properties: {
|
|
204
103
|
humanInteractMsg: {
|
|
205
|
-
type:
|
|
104
|
+
type: 'string'
|
|
206
105
|
},
|
|
207
106
|
isHumanInteract: {
|
|
208
|
-
type:
|
|
107
|
+
type: 'boolean'
|
|
209
108
|
},
|
|
210
109
|
isLogined: {
|
|
211
|
-
type:
|
|
110
|
+
type: 'boolean'
|
|
212
111
|
},
|
|
213
112
|
isRunning: {
|
|
214
|
-
type:
|
|
113
|
+
type: 'boolean'
|
|
215
114
|
},
|
|
216
115
|
lastStatusUpdate: {
|
|
217
|
-
format:
|
|
218
|
-
type:
|
|
116
|
+
format: 'int64',
|
|
117
|
+
type: 'integer'
|
|
219
118
|
},
|
|
220
119
|
lastestReceiveMsg: {
|
|
221
|
-
type:
|
|
120
|
+
type: 'string'
|
|
222
121
|
},
|
|
223
122
|
lastestSendMsg: {
|
|
224
|
-
type:
|
|
123
|
+
type: 'string'
|
|
225
124
|
},
|
|
226
125
|
status: {
|
|
227
|
-
type:
|
|
126
|
+
type: 'string'
|
|
228
127
|
},
|
|
229
128
|
statusMessage: {
|
|
230
|
-
type:
|
|
231
|
-
}
|
|
129
|
+
type: 'string'
|
|
130
|
+
}
|
|
232
131
|
},
|
|
233
|
-
type:
|
|
132
|
+
type: 'object'
|
|
234
133
|
},
|
|
235
134
|
status: {
|
|
236
|
-
example:
|
|
237
|
-
type:
|
|
135
|
+
example: 'active',
|
|
136
|
+
type: 'string'
|
|
238
137
|
},
|
|
239
138
|
tags: {
|
|
240
139
|
items: {
|
|
241
|
-
type:
|
|
140
|
+
type: 'string'
|
|
242
141
|
},
|
|
243
142
|
nullable: true,
|
|
244
|
-
type:
|
|
143
|
+
type: 'array'
|
|
245
144
|
},
|
|
246
145
|
tenantId: {
|
|
247
|
-
example:
|
|
248
|
-
type:
|
|
146
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
147
|
+
type: 'string'
|
|
249
148
|
},
|
|
250
149
|
updatedAt: {
|
|
251
|
-
example:
|
|
252
|
-
type:
|
|
253
|
-
}
|
|
150
|
+
example: '2023-01-01T00:00:00Z',
|
|
151
|
+
type: 'string'
|
|
152
|
+
}
|
|
254
153
|
},
|
|
255
|
-
type:
|
|
154
|
+
type: 'object'
|
|
256
155
|
},
|
|
257
|
-
type:
|
|
156
|
+
type: 'array'
|
|
258
157
|
},
|
|
259
158
|
limit: {
|
|
260
159
|
example: 20,
|
|
261
|
-
type:
|
|
160
|
+
type: 'integer'
|
|
262
161
|
},
|
|
263
162
|
page: {
|
|
264
163
|
example: 1,
|
|
265
|
-
type:
|
|
164
|
+
type: 'integer'
|
|
266
165
|
},
|
|
267
166
|
total: {
|
|
268
167
|
example: 100,
|
|
269
|
-
type:
|
|
270
|
-
}
|
|
168
|
+
type: 'integer'
|
|
169
|
+
}
|
|
271
170
|
},
|
|
272
|
-
type:
|
|
171
|
+
type: 'object'
|
|
273
172
|
};
|
|
274
173
|
export const ChatbotResponseSchema = {
|
|
275
|
-
description:
|
|
174
|
+
description: 'ChatbotResponse schema',
|
|
276
175
|
properties: {
|
|
277
176
|
config: {
|
|
278
177
|
additionalProperties: {},
|
|
279
178
|
nullable: true,
|
|
280
|
-
type:
|
|
179
|
+
type: 'object'
|
|
281
180
|
},
|
|
282
181
|
createdAt: {
|
|
283
|
-
example:
|
|
284
|
-
type:
|
|
182
|
+
example: '2023-01-01T00:00:00Z',
|
|
183
|
+
type: 'string'
|
|
285
184
|
},
|
|
286
185
|
createdBy: {
|
|
287
|
-
example:
|
|
288
|
-
type:
|
|
186
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
187
|
+
type: 'string'
|
|
289
188
|
},
|
|
290
189
|
description: {
|
|
291
|
-
|
|
292
|
-
example: "A helpful chatbot",
|
|
190
|
+
example: 'A helpful chatbot',
|
|
293
191
|
nullable: true,
|
|
294
|
-
type:
|
|
192
|
+
type: 'string'
|
|
295
193
|
},
|
|
296
194
|
id: {
|
|
297
|
-
example:
|
|
298
|
-
type:
|
|
195
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
196
|
+
type: 'string'
|
|
299
197
|
},
|
|
300
198
|
lastActiveAt: {
|
|
301
|
-
|
|
302
|
-
example: "2023-01-01T00:00:00Z",
|
|
199
|
+
example: '2023-01-01T00:00:00Z',
|
|
303
200
|
nullable: true,
|
|
304
|
-
type:
|
|
201
|
+
type: 'string'
|
|
305
202
|
},
|
|
306
203
|
name: {
|
|
307
|
-
example:
|
|
308
|
-
type:
|
|
204
|
+
example: 'My Bot',
|
|
205
|
+
type: 'string'
|
|
309
206
|
},
|
|
310
207
|
platform: {
|
|
311
|
-
example:
|
|
312
|
-
type:
|
|
208
|
+
example: 'napcatqq',
|
|
209
|
+
type: 'string'
|
|
313
210
|
},
|
|
314
211
|
serverType: {
|
|
315
|
-
|
|
316
|
-
example: "napcatqq",
|
|
212
|
+
example: 'napcatqq',
|
|
317
213
|
nullable: true,
|
|
318
|
-
type:
|
|
214
|
+
type: 'string'
|
|
319
215
|
},
|
|
320
216
|
serverUrl: {
|
|
321
|
-
|
|
322
|
-
example: "http://localhost:6099",
|
|
217
|
+
example: 'http://localhost:6099',
|
|
323
218
|
nullable: true,
|
|
324
|
-
type:
|
|
219
|
+
type: 'string'
|
|
325
220
|
},
|
|
326
221
|
state: {
|
|
327
222
|
nullable: true,
|
|
328
223
|
properties: {
|
|
329
224
|
humanInteractMsg: {
|
|
330
|
-
type:
|
|
225
|
+
type: 'string'
|
|
331
226
|
},
|
|
332
227
|
isHumanInteract: {
|
|
333
|
-
type:
|
|
228
|
+
type: 'boolean'
|
|
334
229
|
},
|
|
335
230
|
isLogined: {
|
|
336
|
-
type:
|
|
231
|
+
type: 'boolean'
|
|
337
232
|
},
|
|
338
233
|
isRunning: {
|
|
339
|
-
type:
|
|
234
|
+
type: 'boolean'
|
|
340
235
|
},
|
|
341
236
|
lastStatusUpdate: {
|
|
342
|
-
format:
|
|
343
|
-
type:
|
|
237
|
+
format: 'int64',
|
|
238
|
+
type: 'integer'
|
|
344
239
|
},
|
|
345
240
|
lastestReceiveMsg: {
|
|
346
|
-
type:
|
|
241
|
+
type: 'string'
|
|
347
242
|
},
|
|
348
243
|
lastestSendMsg: {
|
|
349
|
-
type:
|
|
244
|
+
type: 'string'
|
|
350
245
|
},
|
|
351
246
|
status: {
|
|
352
|
-
type:
|
|
247
|
+
type: 'string'
|
|
353
248
|
},
|
|
354
249
|
statusMessage: {
|
|
355
|
-
type:
|
|
356
|
-
}
|
|
250
|
+
type: 'string'
|
|
251
|
+
}
|
|
357
252
|
},
|
|
358
|
-
type:
|
|
253
|
+
type: 'object'
|
|
359
254
|
},
|
|
360
255
|
status: {
|
|
361
|
-
example:
|
|
362
|
-
type:
|
|
256
|
+
example: 'active',
|
|
257
|
+
type: 'string'
|
|
363
258
|
},
|
|
364
259
|
tags: {
|
|
365
260
|
items: {
|
|
366
|
-
type:
|
|
261
|
+
type: 'string'
|
|
367
262
|
},
|
|
368
263
|
nullable: true,
|
|
369
|
-
type:
|
|
264
|
+
type: 'array'
|
|
370
265
|
},
|
|
371
266
|
tenantId: {
|
|
372
|
-
example:
|
|
373
|
-
type:
|
|
267
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
268
|
+
type: 'string'
|
|
374
269
|
},
|
|
375
270
|
updatedAt: {
|
|
376
|
-
example:
|
|
377
|
-
type:
|
|
378
|
-
}
|
|
271
|
+
example: '2023-01-01T00:00:00Z',
|
|
272
|
+
type: 'string'
|
|
273
|
+
}
|
|
379
274
|
},
|
|
380
|
-
type:
|
|
275
|
+
type: 'object'
|
|
381
276
|
};
|
|
382
277
|
export const ChatbotUpsertRequestSchema = {
|
|
383
|
-
description:
|
|
278
|
+
description: 'ChatbotUpsertRequest schema',
|
|
384
279
|
properties: {
|
|
385
280
|
config: {
|
|
386
281
|
additionalProperties: {},
|
|
387
282
|
nullable: true,
|
|
388
|
-
type:
|
|
283
|
+
type: 'object'
|
|
389
284
|
},
|
|
390
285
|
description: {
|
|
391
|
-
|
|
392
|
-
example: "A helpful chatbot",
|
|
286
|
+
example: 'A helpful chatbot',
|
|
393
287
|
maxLength: 500,
|
|
394
288
|
nullable: true,
|
|
395
|
-
type:
|
|
289
|
+
type: 'string'
|
|
396
290
|
},
|
|
397
291
|
id: {
|
|
398
|
-
|
|
399
|
-
example: "123e4567-e89b-12d3-a456-426614174000",
|
|
292
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
400
293
|
nullable: true,
|
|
401
|
-
type:
|
|
294
|
+
type: 'string'
|
|
402
295
|
},
|
|
403
296
|
name: {
|
|
404
|
-
example:
|
|
297
|
+
example: 'My Bot',
|
|
405
298
|
maxLength: 100,
|
|
406
299
|
minLength: 1,
|
|
407
|
-
type:
|
|
300
|
+
type: 'string'
|
|
408
301
|
},
|
|
409
302
|
platform: {
|
|
410
|
-
example:
|
|
303
|
+
example: 'napcatqq',
|
|
411
304
|
maxLength: 50,
|
|
412
305
|
minLength: 1,
|
|
413
|
-
type:
|
|
306
|
+
type: 'string'
|
|
414
307
|
},
|
|
415
308
|
serverType: {
|
|
416
|
-
|
|
417
|
-
example: "napcatqq",
|
|
309
|
+
example: 'napcatqq',
|
|
418
310
|
nullable: true,
|
|
419
|
-
type:
|
|
311
|
+
type: 'string'
|
|
420
312
|
},
|
|
421
313
|
serverUrl: {
|
|
422
|
-
|
|
423
|
-
example: "http://localhost:6099",
|
|
314
|
+
example: 'http://localhost:6099',
|
|
424
315
|
nullable: true,
|
|
425
|
-
type:
|
|
316
|
+
type: 'string'
|
|
426
317
|
},
|
|
427
318
|
status: {
|
|
428
|
-
example:
|
|
429
|
-
type:
|
|
319
|
+
example: 'inactive',
|
|
320
|
+
type: 'string'
|
|
430
321
|
},
|
|
431
322
|
tags: {
|
|
432
323
|
items: {
|
|
433
|
-
type:
|
|
324
|
+
type: 'string'
|
|
434
325
|
},
|
|
435
326
|
nullable: true,
|
|
436
|
-
type:
|
|
437
|
-
}
|
|
327
|
+
type: 'array'
|
|
328
|
+
}
|
|
438
329
|
},
|
|
439
|
-
required: [
|
|
440
|
-
|
|
330
|
+
required: [
|
|
331
|
+
'name',
|
|
332
|
+
'platform',
|
|
333
|
+
'status'
|
|
334
|
+
],
|
|
335
|
+
type: 'object'
|
|
441
336
|
};
|
|
442
|
-
export const
|
|
443
|
-
description:
|
|
337
|
+
export const CodeRunResultSchema = {
|
|
338
|
+
description: 'CodeRunResult schema',
|
|
444
339
|
properties: {
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
type:
|
|
340
|
+
duration: {
|
|
341
|
+
description: '耗时(秒)',
|
|
342
|
+
format: 'double',
|
|
343
|
+
type: 'number'
|
|
449
344
|
},
|
|
450
|
-
|
|
345
|
+
error: {
|
|
346
|
+
description: '错误信息',
|
|
451
347
|
nullable: true,
|
|
452
|
-
type:
|
|
348
|
+
type: 'string'
|
|
453
349
|
},
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
},
|
|
457
|
-
state: {
|
|
458
|
-
additionalProperties: {},
|
|
350
|
+
logs: {
|
|
351
|
+
description: '标准输出日志(stdout)',
|
|
459
352
|
nullable: true,
|
|
460
|
-
type:
|
|
353
|
+
type: 'string'
|
|
461
354
|
},
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
355
|
+
result: {
|
|
356
|
+
description: '代码的返回值',
|
|
357
|
+
nullable: true
|
|
465
358
|
},
|
|
359
|
+
status: {
|
|
360
|
+
description: '运行状态: success | error',
|
|
361
|
+
type: 'string'
|
|
362
|
+
}
|
|
466
363
|
},
|
|
467
|
-
|
|
468
|
-
type: "object",
|
|
364
|
+
type: 'object'
|
|
469
365
|
};
|
|
470
366
|
export const CreatePAccountRequestSchema = {
|
|
471
|
-
description:
|
|
367
|
+
description: 'CreatePAccountRequest schema',
|
|
472
368
|
properties: {
|
|
473
369
|
config: {
|
|
474
370
|
additionalProperties: {},
|
|
475
371
|
nullable: true,
|
|
476
|
-
type:
|
|
372
|
+
type: 'object'
|
|
477
373
|
},
|
|
478
374
|
description: {
|
|
479
|
-
description:
|
|
375
|
+
description: 'string schema',
|
|
480
376
|
nullable: true,
|
|
481
|
-
type:
|
|
377
|
+
type: 'string'
|
|
482
378
|
},
|
|
483
379
|
enabled: {
|
|
484
380
|
nullable: true,
|
|
485
|
-
type:
|
|
381
|
+
type: 'boolean'
|
|
486
382
|
},
|
|
487
383
|
icon: {
|
|
488
|
-
description:
|
|
384
|
+
description: 'string schema',
|
|
489
385
|
nullable: true,
|
|
490
|
-
type:
|
|
386
|
+
type: 'string'
|
|
491
387
|
},
|
|
492
388
|
name: {
|
|
493
|
-
description:
|
|
389
|
+
description: 'string schema',
|
|
494
390
|
nullable: true,
|
|
495
|
-
type:
|
|
391
|
+
type: 'string'
|
|
496
392
|
},
|
|
497
393
|
platformId: {
|
|
498
|
-
type:
|
|
394
|
+
type: 'string'
|
|
499
395
|
},
|
|
500
396
|
tags: {
|
|
501
397
|
items: {
|
|
502
|
-
type:
|
|
398
|
+
type: 'string'
|
|
503
399
|
},
|
|
504
400
|
nullable: true,
|
|
505
|
-
type:
|
|
506
|
-
}
|
|
401
|
+
type: 'array'
|
|
402
|
+
}
|
|
507
403
|
},
|
|
508
|
-
required: [
|
|
509
|
-
|
|
404
|
+
required: [
|
|
405
|
+
'platformId'
|
|
406
|
+
],
|
|
407
|
+
type: 'object'
|
|
510
408
|
};
|
|
511
409
|
export const CreatePlatformRequestSchema = {
|
|
512
|
-
description:
|
|
410
|
+
description: 'CreatePlatformRequest schema',
|
|
513
411
|
properties: {
|
|
514
412
|
description: {
|
|
515
|
-
description:
|
|
413
|
+
description: 'string schema',
|
|
516
414
|
nullable: true,
|
|
517
|
-
type:
|
|
415
|
+
type: 'string'
|
|
518
416
|
},
|
|
519
417
|
loginUrl: {
|
|
520
|
-
description:
|
|
418
|
+
description: 'string schema',
|
|
521
419
|
nullable: true,
|
|
522
|
-
type:
|
|
420
|
+
type: 'string'
|
|
523
421
|
},
|
|
524
422
|
name: {
|
|
525
|
-
type:
|
|
423
|
+
type: 'string'
|
|
526
424
|
},
|
|
527
425
|
tags: {
|
|
528
426
|
items: {
|
|
529
|
-
type:
|
|
427
|
+
type: 'string'
|
|
530
428
|
},
|
|
531
429
|
nullable: true,
|
|
532
|
-
type:
|
|
430
|
+
type: 'array'
|
|
533
431
|
},
|
|
534
432
|
url: {
|
|
535
|
-
description:
|
|
433
|
+
description: 'string schema',
|
|
536
434
|
nullable: true,
|
|
537
|
-
type:
|
|
538
|
-
}
|
|
435
|
+
type: 'string'
|
|
436
|
+
}
|
|
539
437
|
},
|
|
540
|
-
required: [
|
|
541
|
-
|
|
438
|
+
required: [
|
|
439
|
+
'name'
|
|
440
|
+
],
|
|
441
|
+
type: 'object'
|
|
542
442
|
};
|
|
543
443
|
export const CreateSessionRequestSchema = {
|
|
544
|
-
description:
|
|
444
|
+
description: 'CreateSessionRequest schema',
|
|
545
445
|
properties: {
|
|
546
446
|
config: {
|
|
547
447
|
additionalProperties: {},
|
|
548
448
|
nullable: true,
|
|
549
|
-
type:
|
|
449
|
+
type: 'object'
|
|
550
450
|
},
|
|
551
451
|
type: {
|
|
552
452
|
nullable: true,
|
|
553
|
-
type:
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
type: "object",
|
|
557
|
-
};
|
|
558
|
-
export const CreateTerminalRequestSchema = {
|
|
559
|
-
description: "CreateTerminalRequest schema",
|
|
560
|
-
properties: {
|
|
561
|
-
cols: {
|
|
562
|
-
maximum: 65535,
|
|
563
|
-
minimum: 0,
|
|
564
|
-
nullable: true,
|
|
565
|
-
type: "integer",
|
|
566
|
-
},
|
|
567
|
-
cwd: {
|
|
568
|
-
type: "string",
|
|
569
|
-
},
|
|
570
|
-
env: {
|
|
571
|
-
additionalProperties: {
|
|
572
|
-
type: "string",
|
|
573
|
-
},
|
|
574
|
-
nullable: true,
|
|
575
|
-
type: "object",
|
|
576
|
-
},
|
|
577
|
-
rows: {
|
|
578
|
-
maximum: 65535,
|
|
579
|
-
minimum: 0,
|
|
580
|
-
nullable: true,
|
|
581
|
-
type: "integer",
|
|
582
|
-
},
|
|
583
|
-
shell: {
|
|
584
|
-
nullable: true,
|
|
585
|
-
type: "string",
|
|
586
|
-
},
|
|
453
|
+
type: 'string'
|
|
454
|
+
}
|
|
587
455
|
},
|
|
588
|
-
|
|
589
|
-
type: "object",
|
|
456
|
+
type: 'object'
|
|
590
457
|
};
|
|
591
458
|
export const ExportPAccountsResponseSchema = {
|
|
592
|
-
description:
|
|
459
|
+
description: 'ExportPAccountsResponse schema',
|
|
593
460
|
properties: {
|
|
594
461
|
data: {
|
|
595
462
|
items: {
|
|
@@ -597,235 +464,205 @@ export const ExportPAccountsResponseSchema = {
|
|
|
597
464
|
config: {
|
|
598
465
|
additionalProperties: {},
|
|
599
466
|
nullable: true,
|
|
600
|
-
type:
|
|
467
|
+
type: 'object'
|
|
601
468
|
},
|
|
602
469
|
createdAt: {
|
|
603
|
-
format:
|
|
604
|
-
type:
|
|
470
|
+
format: 'date-time',
|
|
471
|
+
type: 'string'
|
|
605
472
|
},
|
|
606
473
|
description: {
|
|
607
|
-
description:
|
|
474
|
+
description: 'string schema',
|
|
608
475
|
nullable: true,
|
|
609
|
-
type:
|
|
476
|
+
type: 'string'
|
|
610
477
|
},
|
|
611
478
|
enabled: {
|
|
612
|
-
type:
|
|
479
|
+
type: 'boolean'
|
|
613
480
|
},
|
|
614
481
|
error: {
|
|
615
|
-
description:
|
|
482
|
+
description: 'string schema',
|
|
616
483
|
nullable: true,
|
|
617
|
-
type:
|
|
484
|
+
type: 'string'
|
|
618
485
|
},
|
|
619
486
|
icon: {
|
|
620
|
-
description:
|
|
487
|
+
description: 'string schema',
|
|
621
488
|
nullable: true,
|
|
622
|
-
type:
|
|
489
|
+
type: 'string'
|
|
623
490
|
},
|
|
624
491
|
id: {
|
|
625
|
-
type:
|
|
492
|
+
type: 'string'
|
|
626
493
|
},
|
|
627
494
|
name: {
|
|
628
|
-
description:
|
|
495
|
+
description: 'string schema',
|
|
629
496
|
nullable: true,
|
|
630
|
-
type:
|
|
497
|
+
type: 'string'
|
|
631
498
|
},
|
|
632
499
|
platform: {
|
|
633
500
|
nullable: true,
|
|
634
501
|
properties: {
|
|
635
502
|
description: {
|
|
636
|
-
description:
|
|
503
|
+
description: 'string schema',
|
|
637
504
|
nullable: true,
|
|
638
|
-
type:
|
|
505
|
+
type: 'string'
|
|
639
506
|
},
|
|
640
507
|
id: {
|
|
641
|
-
type:
|
|
508
|
+
type: 'string'
|
|
642
509
|
},
|
|
643
510
|
name: {
|
|
644
|
-
type:
|
|
645
|
-
}
|
|
511
|
+
type: 'string'
|
|
512
|
+
}
|
|
646
513
|
},
|
|
647
|
-
type:
|
|
514
|
+
type: 'object'
|
|
648
515
|
},
|
|
649
516
|
platformId: {
|
|
650
|
-
type:
|
|
517
|
+
type: 'string'
|
|
651
518
|
},
|
|
652
519
|
state: {
|
|
653
520
|
additionalProperties: {},
|
|
654
521
|
nullable: true,
|
|
655
|
-
type:
|
|
522
|
+
type: 'object'
|
|
656
523
|
},
|
|
657
524
|
tags: {
|
|
658
525
|
items: {
|
|
659
|
-
type:
|
|
526
|
+
type: 'string'
|
|
660
527
|
},
|
|
661
528
|
nullable: true,
|
|
662
|
-
type:
|
|
529
|
+
type: 'array'
|
|
663
530
|
},
|
|
664
531
|
updatedAt: {
|
|
665
|
-
format:
|
|
666
|
-
type:
|
|
667
|
-
}
|
|
532
|
+
format: 'date-time',
|
|
533
|
+
type: 'string'
|
|
534
|
+
}
|
|
668
535
|
},
|
|
669
|
-
type:
|
|
536
|
+
type: 'object'
|
|
670
537
|
},
|
|
671
|
-
type:
|
|
538
|
+
type: 'array'
|
|
672
539
|
},
|
|
673
540
|
exportedAt: {
|
|
674
|
-
format:
|
|
675
|
-
type:
|
|
541
|
+
format: 'date-time',
|
|
542
|
+
type: 'string'
|
|
676
543
|
},
|
|
677
544
|
totalCount: {
|
|
678
|
-
type:
|
|
545
|
+
type: 'integer'
|
|
679
546
|
},
|
|
680
547
|
version: {
|
|
681
|
-
type:
|
|
682
|
-
}
|
|
548
|
+
type: 'string'
|
|
549
|
+
}
|
|
683
550
|
},
|
|
684
|
-
type:
|
|
551
|
+
type: 'object'
|
|
685
552
|
};
|
|
686
553
|
export const ExportPlatformsResponseSchema = {
|
|
687
|
-
description:
|
|
554
|
+
description: 'ExportPlatformsResponse schema',
|
|
688
555
|
properties: {
|
|
689
556
|
data: {
|
|
690
557
|
items: {
|
|
691
558
|
properties: {
|
|
692
559
|
createdAt: {
|
|
693
|
-
format:
|
|
694
|
-
type:
|
|
560
|
+
format: 'date-time',
|
|
561
|
+
type: 'string'
|
|
695
562
|
},
|
|
696
563
|
description: {
|
|
697
564
|
nullable: true,
|
|
698
|
-
type:
|
|
565
|
+
type: 'string'
|
|
699
566
|
},
|
|
700
567
|
id: {
|
|
701
|
-
type:
|
|
568
|
+
type: 'string'
|
|
702
569
|
},
|
|
703
570
|
loginUrl: {
|
|
704
571
|
nullable: true,
|
|
705
|
-
type:
|
|
572
|
+
type: 'string'
|
|
706
573
|
},
|
|
707
574
|
name: {
|
|
708
|
-
type:
|
|
575
|
+
type: 'string'
|
|
709
576
|
},
|
|
710
577
|
tags: {
|
|
711
578
|
items: {
|
|
712
|
-
type:
|
|
579
|
+
type: 'string'
|
|
713
580
|
},
|
|
714
581
|
nullable: true,
|
|
715
|
-
type:
|
|
582
|
+
type: 'array'
|
|
716
583
|
},
|
|
717
584
|
updatedAt: {
|
|
718
|
-
format:
|
|
719
|
-
type:
|
|
585
|
+
format: 'date-time',
|
|
586
|
+
type: 'string'
|
|
720
587
|
},
|
|
721
588
|
url: {
|
|
722
589
|
nullable: true,
|
|
723
|
-
type:
|
|
724
|
-
}
|
|
590
|
+
type: 'string'
|
|
591
|
+
}
|
|
725
592
|
},
|
|
726
|
-
type:
|
|
593
|
+
type: 'object'
|
|
727
594
|
},
|
|
728
|
-
type:
|
|
595
|
+
type: 'array'
|
|
729
596
|
},
|
|
730
597
|
exportedAt: {
|
|
731
|
-
format:
|
|
732
|
-
type:
|
|
598
|
+
format: 'date-time',
|
|
599
|
+
type: 'string'
|
|
733
600
|
},
|
|
734
601
|
totalCount: {
|
|
735
|
-
type:
|
|
602
|
+
type: 'integer'
|
|
736
603
|
},
|
|
737
604
|
version: {
|
|
738
|
-
type:
|
|
739
|
-
}
|
|
605
|
+
type: 'string'
|
|
606
|
+
}
|
|
740
607
|
},
|
|
741
|
-
type:
|
|
608
|
+
type: 'object'
|
|
742
609
|
};
|
|
743
610
|
export const HTTPErrorSchema = {
|
|
744
|
-
description:
|
|
611
|
+
description: 'HTTPError schema',
|
|
745
612
|
properties: {
|
|
746
613
|
detail: {
|
|
747
|
-
description:
|
|
614
|
+
description: 'Human readable error message',
|
|
748
615
|
nullable: true,
|
|
749
|
-
type:
|
|
616
|
+
type: 'string'
|
|
750
617
|
},
|
|
751
618
|
errors: {
|
|
752
619
|
items: {
|
|
753
620
|
properties: {
|
|
754
621
|
more: {
|
|
755
622
|
additionalProperties: {},
|
|
756
|
-
description:
|
|
623
|
+
description: 'Additional information about the error',
|
|
757
624
|
nullable: true,
|
|
758
|
-
type:
|
|
625
|
+
type: 'object'
|
|
759
626
|
},
|
|
760
627
|
name: {
|
|
761
|
-
description:
|
|
762
|
-
type:
|
|
628
|
+
description: 'For example, name of the parameter that caused the error',
|
|
629
|
+
type: 'string'
|
|
763
630
|
},
|
|
764
631
|
reason: {
|
|
765
|
-
description:
|
|
766
|
-
type:
|
|
767
|
-
}
|
|
632
|
+
description: 'Human readable error message',
|
|
633
|
+
type: 'string'
|
|
634
|
+
}
|
|
768
635
|
},
|
|
769
|
-
type:
|
|
636
|
+
type: 'object'
|
|
770
637
|
},
|
|
771
638
|
nullable: true,
|
|
772
|
-
type:
|
|
639
|
+
type: 'array'
|
|
773
640
|
},
|
|
774
641
|
instance: {
|
|
775
642
|
nullable: true,
|
|
776
|
-
type:
|
|
643
|
+
type: 'string'
|
|
777
644
|
},
|
|
778
645
|
status: {
|
|
779
|
-
description:
|
|
646
|
+
description: 'HTTP status code',
|
|
780
647
|
example: 403,
|
|
781
648
|
nullable: true,
|
|
782
|
-
type:
|
|
649
|
+
type: 'integer'
|
|
783
650
|
},
|
|
784
651
|
title: {
|
|
785
|
-
description:
|
|
652
|
+
description: 'Short title of the error',
|
|
786
653
|
nullable: true,
|
|
787
|
-
type:
|
|
654
|
+
type: 'string'
|
|
788
655
|
},
|
|
789
656
|
type: {
|
|
790
|
-
description:
|
|
657
|
+
description: 'URL of the error type. Can be used to lookup the error in a documentation',
|
|
791
658
|
nullable: true,
|
|
792
|
-
type:
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
type: "object",
|
|
796
|
-
};
|
|
797
|
-
export const HealthResponseSchema = {
|
|
798
|
-
description: "HealthResponse schema",
|
|
799
|
-
properties: {
|
|
800
|
-
activeSessions: {
|
|
801
|
-
type: "integer",
|
|
802
|
-
},
|
|
803
|
-
lastCleanup: {
|
|
804
|
-
format: "date-time",
|
|
805
|
-
type: "string",
|
|
806
|
-
},
|
|
807
|
-
memoryUsage: {
|
|
808
|
-
format: "int64",
|
|
809
|
-
type: "integer",
|
|
810
|
-
},
|
|
811
|
-
status: {
|
|
812
|
-
type: "string",
|
|
813
|
-
},
|
|
814
|
-
totalSessions: {
|
|
815
|
-
type: "integer",
|
|
816
|
-
},
|
|
817
|
-
uptime: {
|
|
818
|
-
format: "int64",
|
|
819
|
-
type: "integer",
|
|
820
|
-
},
|
|
821
|
-
version: {
|
|
822
|
-
type: "string",
|
|
823
|
-
},
|
|
659
|
+
type: 'string'
|
|
660
|
+
}
|
|
824
661
|
},
|
|
825
|
-
type:
|
|
662
|
+
type: 'object'
|
|
826
663
|
};
|
|
827
664
|
export const ImportPAccountsRequestSchema = {
|
|
828
|
-
description:
|
|
665
|
+
description: 'ImportPAccountsRequest schema',
|
|
829
666
|
properties: {
|
|
830
667
|
data: {
|
|
831
668
|
items: {
|
|
@@ -833,694 +670,554 @@ export const ImportPAccountsRequestSchema = {
|
|
|
833
670
|
config: {
|
|
834
671
|
additionalProperties: {},
|
|
835
672
|
nullable: true,
|
|
836
|
-
type:
|
|
673
|
+
type: 'object'
|
|
837
674
|
},
|
|
838
675
|
description: {
|
|
839
|
-
description:
|
|
676
|
+
description: 'string schema',
|
|
840
677
|
nullable: true,
|
|
841
|
-
type:
|
|
678
|
+
type: 'string'
|
|
842
679
|
},
|
|
843
680
|
enabled: {
|
|
844
|
-
description:
|
|
681
|
+
description: 'bool schema',
|
|
845
682
|
nullable: true,
|
|
846
|
-
type:
|
|
683
|
+
type: 'boolean'
|
|
847
684
|
},
|
|
848
685
|
icon: {
|
|
849
|
-
description:
|
|
686
|
+
description: 'string schema',
|
|
850
687
|
nullable: true,
|
|
851
|
-
type:
|
|
688
|
+
type: 'string'
|
|
852
689
|
},
|
|
853
690
|
name: {
|
|
854
|
-
description:
|
|
691
|
+
description: 'string schema',
|
|
855
692
|
nullable: true,
|
|
856
|
-
type:
|
|
693
|
+
type: 'string'
|
|
857
694
|
},
|
|
858
695
|
platformId: {
|
|
859
|
-
type:
|
|
696
|
+
type: 'string'
|
|
860
697
|
},
|
|
861
698
|
tags: {
|
|
862
699
|
items: {
|
|
863
|
-
type:
|
|
700
|
+
type: 'string'
|
|
864
701
|
},
|
|
865
702
|
nullable: true,
|
|
866
|
-
type:
|
|
867
|
-
}
|
|
703
|
+
type: 'array'
|
|
704
|
+
}
|
|
868
705
|
},
|
|
869
|
-
required: [
|
|
870
|
-
|
|
706
|
+
required: [
|
|
707
|
+
'platformId'
|
|
708
|
+
],
|
|
709
|
+
type: 'object'
|
|
871
710
|
},
|
|
872
|
-
type:
|
|
711
|
+
type: 'array'
|
|
873
712
|
},
|
|
874
713
|
options: {
|
|
875
714
|
nullable: true,
|
|
876
715
|
properties: {
|
|
877
716
|
overwrite: {
|
|
878
|
-
type:
|
|
717
|
+
type: 'boolean'
|
|
879
718
|
},
|
|
880
719
|
skipDuplicates: {
|
|
881
|
-
type:
|
|
882
|
-
}
|
|
720
|
+
type: 'boolean'
|
|
721
|
+
}
|
|
883
722
|
},
|
|
884
|
-
type:
|
|
885
|
-
}
|
|
723
|
+
type: 'object'
|
|
724
|
+
}
|
|
886
725
|
},
|
|
887
|
-
type:
|
|
726
|
+
type: 'object'
|
|
888
727
|
};
|
|
889
728
|
export const ImportPAccountsResponseSchema = {
|
|
890
|
-
description:
|
|
729
|
+
description: 'ImportPAccountsResponse schema',
|
|
891
730
|
properties: {
|
|
892
731
|
errors: {
|
|
893
732
|
items: {
|
|
894
733
|
properties: {
|
|
895
734
|
line: {
|
|
896
|
-
type:
|
|
735
|
+
type: 'integer'
|
|
897
736
|
},
|
|
898
737
|
message: {
|
|
899
|
-
type:
|
|
900
|
-
}
|
|
738
|
+
type: 'string'
|
|
739
|
+
}
|
|
901
740
|
},
|
|
902
|
-
type:
|
|
741
|
+
type: 'object'
|
|
903
742
|
},
|
|
904
743
|
nullable: true,
|
|
905
|
-
type:
|
|
744
|
+
type: 'array'
|
|
906
745
|
},
|
|
907
746
|
imported: {
|
|
908
|
-
type:
|
|
747
|
+
type: 'integer'
|
|
909
748
|
},
|
|
910
749
|
skipped: {
|
|
911
|
-
type:
|
|
750
|
+
type: 'integer'
|
|
912
751
|
},
|
|
913
752
|
success: {
|
|
914
|
-
type:
|
|
915
|
-
}
|
|
753
|
+
type: 'boolean'
|
|
754
|
+
}
|
|
916
755
|
},
|
|
917
|
-
type:
|
|
756
|
+
type: 'object'
|
|
918
757
|
};
|
|
919
758
|
export const ImportPlatformsRequestSchema = {
|
|
920
|
-
description:
|
|
759
|
+
description: 'ImportPlatformsRequest schema',
|
|
921
760
|
properties: {
|
|
922
761
|
data: {
|
|
923
762
|
items: {
|
|
924
763
|
properties: {
|
|
925
764
|
description: {
|
|
926
|
-
description:
|
|
765
|
+
description: 'string schema',
|
|
927
766
|
nullable: true,
|
|
928
|
-
type:
|
|
767
|
+
type: 'string'
|
|
929
768
|
},
|
|
930
769
|
loginUrl: {
|
|
931
|
-
description:
|
|
770
|
+
description: 'string schema',
|
|
932
771
|
nullable: true,
|
|
933
|
-
type:
|
|
772
|
+
type: 'string'
|
|
934
773
|
},
|
|
935
774
|
name: {
|
|
936
|
-
type:
|
|
775
|
+
type: 'string'
|
|
937
776
|
},
|
|
938
777
|
tags: {
|
|
939
778
|
items: {
|
|
940
|
-
type:
|
|
779
|
+
type: 'string'
|
|
941
780
|
},
|
|
942
781
|
nullable: true,
|
|
943
|
-
type:
|
|
782
|
+
type: 'array'
|
|
944
783
|
},
|
|
945
784
|
url: {
|
|
946
|
-
description:
|
|
785
|
+
description: 'string schema',
|
|
947
786
|
nullable: true,
|
|
948
|
-
type:
|
|
949
|
-
}
|
|
787
|
+
type: 'string'
|
|
788
|
+
}
|
|
950
789
|
},
|
|
951
|
-
required: [
|
|
952
|
-
|
|
790
|
+
required: [
|
|
791
|
+
'name'
|
|
792
|
+
],
|
|
793
|
+
type: 'object'
|
|
953
794
|
},
|
|
954
|
-
type:
|
|
795
|
+
type: 'array'
|
|
955
796
|
},
|
|
956
797
|
options: {
|
|
957
798
|
nullable: true,
|
|
958
799
|
properties: {
|
|
959
800
|
overwrite: {
|
|
960
|
-
type:
|
|
801
|
+
type: 'boolean'
|
|
961
802
|
},
|
|
962
803
|
skipDuplicates: {
|
|
963
|
-
type:
|
|
964
|
-
}
|
|
804
|
+
type: 'boolean'
|
|
805
|
+
}
|
|
965
806
|
},
|
|
966
|
-
type:
|
|
967
|
-
}
|
|
807
|
+
type: 'object'
|
|
808
|
+
}
|
|
968
809
|
},
|
|
969
|
-
type:
|
|
810
|
+
type: 'object'
|
|
970
811
|
};
|
|
971
812
|
export const ImportPlatformsResponseSchema = {
|
|
972
|
-
description:
|
|
813
|
+
description: 'ImportPlatformsResponse schema',
|
|
973
814
|
properties: {
|
|
974
815
|
errors: {
|
|
975
816
|
items: {
|
|
976
817
|
properties: {
|
|
977
818
|
line: {
|
|
978
|
-
type:
|
|
819
|
+
type: 'integer'
|
|
979
820
|
},
|
|
980
821
|
message: {
|
|
981
|
-
type:
|
|
982
|
-
}
|
|
822
|
+
type: 'string'
|
|
823
|
+
}
|
|
983
824
|
},
|
|
984
|
-
type:
|
|
825
|
+
type: 'object'
|
|
985
826
|
},
|
|
986
827
|
nullable: true,
|
|
987
|
-
type:
|
|
828
|
+
type: 'array'
|
|
988
829
|
},
|
|
989
830
|
imported: {
|
|
990
|
-
type:
|
|
831
|
+
type: 'integer'
|
|
991
832
|
},
|
|
992
833
|
skipped: {
|
|
993
|
-
type:
|
|
834
|
+
type: 'integer'
|
|
994
835
|
},
|
|
995
836
|
success: {
|
|
996
|
-
type:
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
type: "object",
|
|
1000
|
-
};
|
|
1001
|
-
export const ListAgentsResponseSchema = {
|
|
1002
|
-
description: "ListAgentsResponse schema",
|
|
1003
|
-
properties: {
|
|
1004
|
-
agents: {
|
|
1005
|
-
items: {
|
|
1006
|
-
properties: {
|
|
1007
|
-
config: {
|
|
1008
|
-
additionalProperties: {},
|
|
1009
|
-
type: "object",
|
|
1010
|
-
},
|
|
1011
|
-
created_at: {
|
|
1012
|
-
format: "date-time",
|
|
1013
|
-
type: "string",
|
|
1014
|
-
},
|
|
1015
|
-
description: {
|
|
1016
|
-
type: "string",
|
|
1017
|
-
},
|
|
1018
|
-
id: {
|
|
1019
|
-
type: "string",
|
|
1020
|
-
},
|
|
1021
|
-
name: {
|
|
1022
|
-
type: "string",
|
|
1023
|
-
},
|
|
1024
|
-
state: {
|
|
1025
|
-
additionalProperties: {},
|
|
1026
|
-
type: "object",
|
|
1027
|
-
},
|
|
1028
|
-
status: {
|
|
1029
|
-
type: "string",
|
|
1030
|
-
},
|
|
1031
|
-
tenant_id: {
|
|
1032
|
-
type: "string",
|
|
1033
|
-
},
|
|
1034
|
-
updated_at: {
|
|
1035
|
-
format: "date-time",
|
|
1036
|
-
type: "string",
|
|
1037
|
-
},
|
|
1038
|
-
},
|
|
1039
|
-
required: ["id", "created_at", "name", "status", "config", "state"],
|
|
1040
|
-
type: "object",
|
|
1041
|
-
},
|
|
1042
|
-
type: "array",
|
|
1043
|
-
},
|
|
1044
|
-
pagination: {
|
|
1045
|
-
properties: {
|
|
1046
|
-
limit: {
|
|
1047
|
-
type: "integer",
|
|
1048
|
-
},
|
|
1049
|
-
page: {
|
|
1050
|
-
type: "integer",
|
|
1051
|
-
},
|
|
1052
|
-
total_count: {
|
|
1053
|
-
format: "int64",
|
|
1054
|
-
type: "integer",
|
|
1055
|
-
},
|
|
1056
|
-
total_pages: {
|
|
1057
|
-
type: "integer",
|
|
1058
|
-
},
|
|
1059
|
-
},
|
|
1060
|
-
type: "object",
|
|
1061
|
-
},
|
|
837
|
+
type: 'boolean'
|
|
838
|
+
}
|
|
1062
839
|
},
|
|
1063
|
-
type:
|
|
840
|
+
type: 'object'
|
|
1064
841
|
};
|
|
1065
842
|
export const ListMessagesResponseSchema = {
|
|
1066
|
-
description:
|
|
843
|
+
description: 'ListMessagesResponse schema',
|
|
1067
844
|
properties: {
|
|
1068
845
|
data: {
|
|
1069
846
|
items: {
|
|
1070
847
|
properties: {
|
|
1071
848
|
createdAt: {
|
|
1072
849
|
nullable: true,
|
|
1073
|
-
type:
|
|
850
|
+
type: 'string'
|
|
1074
851
|
},
|
|
1075
852
|
errorMessage: {
|
|
1076
|
-
description:
|
|
853
|
+
description: 'string schema',
|
|
1077
854
|
nullable: true,
|
|
1078
|
-
type:
|
|
855
|
+
type: 'string'
|
|
1079
856
|
},
|
|
1080
857
|
font: {
|
|
1081
858
|
nullable: true,
|
|
1082
|
-
type:
|
|
859
|
+
type: 'integer'
|
|
1083
860
|
},
|
|
1084
861
|
groupId: {
|
|
1085
|
-
format:
|
|
862
|
+
format: 'int64',
|
|
1086
863
|
nullable: true,
|
|
1087
|
-
type:
|
|
864
|
+
type: 'integer'
|
|
1088
865
|
},
|
|
1089
866
|
id: {
|
|
1090
|
-
description:
|
|
1091
|
-
type:
|
|
867
|
+
description: 'message id',
|
|
868
|
+
type: 'string'
|
|
1092
869
|
},
|
|
1093
870
|
message: {
|
|
1094
|
-
type:
|
|
871
|
+
type: 'string'
|
|
1095
872
|
},
|
|
1096
873
|
messageId: {
|
|
1097
|
-
format:
|
|
874
|
+
format: 'int64',
|
|
1098
875
|
nullable: true,
|
|
1099
|
-
type:
|
|
876
|
+
type: 'integer'
|
|
1100
877
|
},
|
|
1101
878
|
messageType: {
|
|
1102
|
-
description:
|
|
879
|
+
description: 'string schema',
|
|
1103
880
|
nullable: true,
|
|
1104
|
-
type:
|
|
881
|
+
type: 'string'
|
|
1105
882
|
},
|
|
1106
883
|
metadata: {
|
|
1107
|
-
type:
|
|
884
|
+
type: 'string'
|
|
1108
885
|
},
|
|
1109
886
|
postType: {
|
|
1110
|
-
type:
|
|
887
|
+
type: 'string'
|
|
1111
888
|
},
|
|
1112
889
|
processed: {
|
|
1113
|
-
type:
|
|
890
|
+
type: 'boolean'
|
|
1114
891
|
},
|
|
1115
892
|
processedAt: {
|
|
1116
|
-
description:
|
|
893
|
+
description: 'string schema',
|
|
1117
894
|
nullable: true,
|
|
1118
|
-
type:
|
|
895
|
+
type: 'string'
|
|
1119
896
|
},
|
|
1120
897
|
rawData: {
|
|
1121
|
-
type:
|
|
898
|
+
type: 'string'
|
|
1122
899
|
},
|
|
1123
900
|
rawMessage: {
|
|
1124
|
-
description:
|
|
901
|
+
description: 'string schema',
|
|
1125
902
|
nullable: true,
|
|
1126
|
-
type:
|
|
903
|
+
type: 'string'
|
|
1127
904
|
},
|
|
1128
905
|
selfId: {
|
|
1129
|
-
type:
|
|
906
|
+
type: 'string'
|
|
1130
907
|
},
|
|
1131
908
|
senderCard: {
|
|
1132
|
-
description:
|
|
909
|
+
description: 'string schema',
|
|
1133
910
|
nullable: true,
|
|
1134
|
-
type:
|
|
911
|
+
type: 'string'
|
|
1135
912
|
},
|
|
1136
913
|
senderNickname: {
|
|
1137
|
-
description:
|
|
914
|
+
description: 'string schema',
|
|
1138
915
|
nullable: true,
|
|
1139
|
-
type:
|
|
916
|
+
type: 'string'
|
|
1140
917
|
},
|
|
1141
918
|
senderRole: {
|
|
1142
|
-
description:
|
|
919
|
+
description: 'string schema',
|
|
1143
920
|
nullable: true,
|
|
1144
|
-
type:
|
|
921
|
+
type: 'string'
|
|
1145
922
|
},
|
|
1146
923
|
subType: {
|
|
1147
|
-
description:
|
|
924
|
+
description: 'string schema',
|
|
1148
925
|
nullable: true,
|
|
1149
|
-
type:
|
|
926
|
+
type: 'string'
|
|
1150
927
|
},
|
|
1151
928
|
time: {
|
|
1152
|
-
format:
|
|
1153
|
-
type:
|
|
929
|
+
format: 'int64',
|
|
930
|
+
type: 'integer'
|
|
1154
931
|
},
|
|
1155
932
|
updatedAt: {
|
|
1156
933
|
nullable: true,
|
|
1157
|
-
type:
|
|
934
|
+
type: 'string'
|
|
1158
935
|
},
|
|
1159
936
|
userId: {
|
|
1160
|
-
format:
|
|
937
|
+
format: 'int64',
|
|
1161
938
|
nullable: true,
|
|
1162
|
-
type:
|
|
1163
|
-
}
|
|
1164
|
-
},
|
|
1165
|
-
required: [
|
|
1166
|
-
|
|
939
|
+
type: 'integer'
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
required: [
|
|
943
|
+
'id',
|
|
944
|
+
'selfId',
|
|
945
|
+
'postType'
|
|
946
|
+
],
|
|
947
|
+
type: 'object'
|
|
1167
948
|
},
|
|
1168
|
-
type:
|
|
949
|
+
type: 'array'
|
|
1169
950
|
},
|
|
1170
951
|
limit: {
|
|
1171
952
|
maximum: 100,
|
|
1172
953
|
minimum: 0,
|
|
1173
|
-
type:
|
|
954
|
+
type: 'integer'
|
|
1174
955
|
},
|
|
1175
956
|
page: {
|
|
1176
|
-
type:
|
|
957
|
+
type: 'integer'
|
|
1177
958
|
},
|
|
1178
959
|
total: {
|
|
1179
|
-
type:
|
|
1180
|
-
}
|
|
960
|
+
type: 'integer'
|
|
961
|
+
}
|
|
1181
962
|
},
|
|
1182
|
-
required: [
|
|
1183
|
-
|
|
963
|
+
required: [
|
|
964
|
+
'data',
|
|
965
|
+
'total',
|
|
966
|
+
'page',
|
|
967
|
+
'limit'
|
|
968
|
+
],
|
|
969
|
+
type: 'object'
|
|
1184
970
|
};
|
|
1185
971
|
export const ListSessionsResponseSchema = {
|
|
1186
|
-
description:
|
|
972
|
+
description: 'ListSessionsResponse schema',
|
|
1187
973
|
properties: {
|
|
1188
974
|
data: {
|
|
1189
975
|
items: {
|
|
1190
976
|
properties: {
|
|
1191
977
|
createdAt: {
|
|
1192
|
-
type:
|
|
978
|
+
type: 'string'
|
|
1193
979
|
},
|
|
1194
980
|
id: {
|
|
1195
|
-
type:
|
|
981
|
+
type: 'string'
|
|
1196
982
|
},
|
|
1197
983
|
isActive: {
|
|
1198
|
-
type:
|
|
984
|
+
type: 'boolean'
|
|
1199
985
|
},
|
|
1200
986
|
lastMessageAt: {
|
|
1201
|
-
description:
|
|
1202
|
-
|
|
987
|
+
description: 'string schema',
|
|
988
|
+
nullable: true,
|
|
989
|
+
type: 'string'
|
|
1203
990
|
},
|
|
1204
991
|
messageCount: {
|
|
1205
|
-
type:
|
|
992
|
+
type: 'integer'
|
|
1206
993
|
},
|
|
1207
994
|
selfId: {
|
|
1208
|
-
type:
|
|
995
|
+
type: 'string'
|
|
1209
996
|
},
|
|
1210
997
|
sessionId: {
|
|
1211
|
-
type:
|
|
998
|
+
type: 'string'
|
|
1212
999
|
},
|
|
1213
1000
|
sessionName: {
|
|
1214
|
-
description:
|
|
1215
|
-
|
|
1001
|
+
description: 'string schema',
|
|
1002
|
+
nullable: true,
|
|
1003
|
+
type: 'string'
|
|
1216
1004
|
},
|
|
1217
1005
|
sessionType: {
|
|
1218
|
-
type:
|
|
1006
|
+
type: 'string'
|
|
1219
1007
|
},
|
|
1220
1008
|
updatedAt: {
|
|
1221
|
-
type:
|
|
1222
|
-
}
|
|
1009
|
+
type: 'string'
|
|
1010
|
+
}
|
|
1223
1011
|
},
|
|
1224
|
-
type:
|
|
1012
|
+
type: 'object'
|
|
1225
1013
|
},
|
|
1226
|
-
type:
|
|
1014
|
+
type: 'array'
|
|
1227
1015
|
},
|
|
1228
1016
|
limit: {
|
|
1229
|
-
type:
|
|
1017
|
+
type: 'integer'
|
|
1230
1018
|
},
|
|
1231
1019
|
page: {
|
|
1232
|
-
type:
|
|
1233
|
-
},
|
|
1234
|
-
total: {
|
|
1235
|
-
type: "integer",
|
|
1236
|
-
},
|
|
1237
|
-
},
|
|
1238
|
-
type: "object",
|
|
1239
|
-
};
|
|
1240
|
-
export const ListTerminalsResponseSchema = {
|
|
1241
|
-
description: "ListTerminalsResponse schema",
|
|
1242
|
-
properties: {
|
|
1243
|
-
terminals: {
|
|
1244
|
-
items: {
|
|
1245
|
-
properties: {
|
|
1246
|
-
cols: {
|
|
1247
|
-
maximum: 65535,
|
|
1248
|
-
minimum: 0,
|
|
1249
|
-
type: "integer",
|
|
1250
|
-
},
|
|
1251
|
-
created: {
|
|
1252
|
-
format: "date-time",
|
|
1253
|
-
type: "string",
|
|
1254
|
-
},
|
|
1255
|
-
cwd: {
|
|
1256
|
-
type: "string",
|
|
1257
|
-
},
|
|
1258
|
-
id: {
|
|
1259
|
-
type: "string",
|
|
1260
|
-
},
|
|
1261
|
-
lastActivity: {
|
|
1262
|
-
format: "date-time",
|
|
1263
|
-
type: "string",
|
|
1264
|
-
},
|
|
1265
|
-
pid: {
|
|
1266
|
-
type: "integer",
|
|
1267
|
-
},
|
|
1268
|
-
rows: {
|
|
1269
|
-
maximum: 65535,
|
|
1270
|
-
minimum: 0,
|
|
1271
|
-
type: "integer",
|
|
1272
|
-
},
|
|
1273
|
-
shell: {
|
|
1274
|
-
type: "string",
|
|
1275
|
-
},
|
|
1276
|
-
status: {
|
|
1277
|
-
type: "string",
|
|
1278
|
-
},
|
|
1279
|
-
},
|
|
1280
|
-
type: "object",
|
|
1281
|
-
},
|
|
1282
|
-
type: "array",
|
|
1020
|
+
type: 'integer'
|
|
1283
1021
|
},
|
|
1284
1022
|
total: {
|
|
1285
|
-
type:
|
|
1286
|
-
}
|
|
1023
|
+
type: 'integer'
|
|
1024
|
+
}
|
|
1287
1025
|
},
|
|
1288
|
-
type:
|
|
1026
|
+
type: 'object'
|
|
1289
1027
|
};
|
|
1290
1028
|
export const LoginChatbotRequestSchema = {
|
|
1291
|
-
description:
|
|
1029
|
+
description: 'LoginChatbotRequest schema',
|
|
1292
1030
|
properties: {
|
|
1293
1031
|
chatbotId: {
|
|
1294
|
-
example:
|
|
1295
|
-
type:
|
|
1296
|
-
}
|
|
1032
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
1033
|
+
type: 'string'
|
|
1034
|
+
}
|
|
1297
1035
|
},
|
|
1298
|
-
required: [
|
|
1299
|
-
|
|
1036
|
+
required: [
|
|
1037
|
+
'chatbotId'
|
|
1038
|
+
],
|
|
1039
|
+
type: 'object'
|
|
1300
1040
|
};
|
|
1301
1041
|
export const LoginChatbotResponseSchema = {
|
|
1302
|
-
description:
|
|
1042
|
+
description: 'LoginChatbotResponse schema',
|
|
1303
1043
|
properties: {
|
|
1304
1044
|
chatbotId: {
|
|
1305
|
-
example:
|
|
1306
|
-
type:
|
|
1045
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
1046
|
+
type: 'string'
|
|
1307
1047
|
},
|
|
1308
1048
|
currentStatus: {
|
|
1309
|
-
example:
|
|
1310
|
-
type:
|
|
1049
|
+
example: 'logging_in',
|
|
1050
|
+
type: 'string'
|
|
1311
1051
|
},
|
|
1312
1052
|
message: {
|
|
1313
|
-
example:
|
|
1314
|
-
type:
|
|
1053
|
+
example: '聊天机器人登录工作流已触发',
|
|
1054
|
+
type: 'string'
|
|
1315
1055
|
},
|
|
1316
1056
|
success: {
|
|
1317
1057
|
example: true,
|
|
1318
|
-
type:
|
|
1058
|
+
type: 'boolean'
|
|
1319
1059
|
},
|
|
1320
1060
|
workflowId: {
|
|
1321
|
-
example:
|
|
1061
|
+
example: 'wf_123456',
|
|
1322
1062
|
nullable: true,
|
|
1323
|
-
type:
|
|
1324
|
-
}
|
|
1063
|
+
type: 'string'
|
|
1064
|
+
}
|
|
1325
1065
|
},
|
|
1326
|
-
type:
|
|
1066
|
+
type: 'object'
|
|
1327
1067
|
};
|
|
1328
1068
|
export const MessageResponseSchema = {
|
|
1329
|
-
description:
|
|
1069
|
+
description: 'MessageResponse schema',
|
|
1330
1070
|
properties: {
|
|
1331
1071
|
createdAt: {
|
|
1332
1072
|
nullable: true,
|
|
1333
|
-
type:
|
|
1073
|
+
type: 'string'
|
|
1334
1074
|
},
|
|
1335
1075
|
errorMessage: {
|
|
1336
|
-
description:
|
|
1076
|
+
description: 'string schema',
|
|
1337
1077
|
nullable: true,
|
|
1338
|
-
type:
|
|
1078
|
+
type: 'string'
|
|
1339
1079
|
},
|
|
1340
1080
|
font: {
|
|
1341
1081
|
nullable: true,
|
|
1342
|
-
type:
|
|
1082
|
+
type: 'integer'
|
|
1343
1083
|
},
|
|
1344
1084
|
groupId: {
|
|
1345
|
-
format:
|
|
1085
|
+
format: 'int64',
|
|
1346
1086
|
nullable: true,
|
|
1347
|
-
type:
|
|
1087
|
+
type: 'integer'
|
|
1348
1088
|
},
|
|
1349
1089
|
id: {
|
|
1350
|
-
description:
|
|
1351
|
-
type:
|
|
1090
|
+
description: 'message id',
|
|
1091
|
+
type: 'string'
|
|
1352
1092
|
},
|
|
1353
1093
|
message: {
|
|
1354
|
-
type:
|
|
1094
|
+
type: 'string'
|
|
1355
1095
|
},
|
|
1356
1096
|
messageId: {
|
|
1357
|
-
format:
|
|
1097
|
+
format: 'int64',
|
|
1358
1098
|
nullable: true,
|
|
1359
|
-
type:
|
|
1099
|
+
type: 'integer'
|
|
1360
1100
|
},
|
|
1361
1101
|
messageType: {
|
|
1362
|
-
description:
|
|
1102
|
+
description: 'string schema',
|
|
1363
1103
|
nullable: true,
|
|
1364
|
-
type:
|
|
1104
|
+
type: 'string'
|
|
1365
1105
|
},
|
|
1366
1106
|
metadata: {
|
|
1367
|
-
type:
|
|
1107
|
+
type: 'string'
|
|
1368
1108
|
},
|
|
1369
1109
|
postType: {
|
|
1370
|
-
type:
|
|
1110
|
+
type: 'string'
|
|
1371
1111
|
},
|
|
1372
1112
|
processed: {
|
|
1373
|
-
type:
|
|
1113
|
+
type: 'boolean'
|
|
1374
1114
|
},
|
|
1375
1115
|
processedAt: {
|
|
1376
|
-
description:
|
|
1116
|
+
description: 'string schema',
|
|
1377
1117
|
nullable: true,
|
|
1378
|
-
type:
|
|
1118
|
+
type: 'string'
|
|
1379
1119
|
},
|
|
1380
1120
|
rawData: {
|
|
1381
|
-
type:
|
|
1121
|
+
type: 'string'
|
|
1382
1122
|
},
|
|
1383
1123
|
rawMessage: {
|
|
1384
|
-
description:
|
|
1124
|
+
description: 'string schema',
|
|
1385
1125
|
nullable: true,
|
|
1386
|
-
type:
|
|
1126
|
+
type: 'string'
|
|
1387
1127
|
},
|
|
1388
1128
|
selfId: {
|
|
1389
|
-
type:
|
|
1129
|
+
type: 'string'
|
|
1390
1130
|
},
|
|
1391
1131
|
senderCard: {
|
|
1392
|
-
description:
|
|
1132
|
+
description: 'string schema',
|
|
1393
1133
|
nullable: true,
|
|
1394
|
-
type:
|
|
1134
|
+
type: 'string'
|
|
1395
1135
|
},
|
|
1396
1136
|
senderNickname: {
|
|
1397
|
-
description:
|
|
1137
|
+
description: 'string schema',
|
|
1398
1138
|
nullable: true,
|
|
1399
|
-
type:
|
|
1139
|
+
type: 'string'
|
|
1400
1140
|
},
|
|
1401
1141
|
senderRole: {
|
|
1402
|
-
description:
|
|
1142
|
+
description: 'string schema',
|
|
1403
1143
|
nullable: true,
|
|
1404
|
-
type:
|
|
1144
|
+
type: 'string'
|
|
1405
1145
|
},
|
|
1406
1146
|
subType: {
|
|
1407
|
-
description:
|
|
1147
|
+
description: 'string schema',
|
|
1408
1148
|
nullable: true,
|
|
1409
|
-
type:
|
|
1149
|
+
type: 'string'
|
|
1410
1150
|
},
|
|
1411
1151
|
time: {
|
|
1412
|
-
format:
|
|
1413
|
-
type:
|
|
1152
|
+
format: 'int64',
|
|
1153
|
+
type: 'integer'
|
|
1414
1154
|
},
|
|
1415
1155
|
updatedAt: {
|
|
1416
1156
|
nullable: true,
|
|
1417
|
-
type:
|
|
1157
|
+
type: 'string'
|
|
1418
1158
|
},
|
|
1419
1159
|
userId: {
|
|
1420
|
-
format:
|
|
1160
|
+
format: 'int64',
|
|
1421
1161
|
nullable: true,
|
|
1422
|
-
type:
|
|
1423
|
-
}
|
|
1162
|
+
type: 'integer'
|
|
1163
|
+
}
|
|
1424
1164
|
},
|
|
1425
|
-
required: [
|
|
1426
|
-
|
|
1165
|
+
required: [
|
|
1166
|
+
'id',
|
|
1167
|
+
'selfId',
|
|
1168
|
+
'postType'
|
|
1169
|
+
],
|
|
1170
|
+
type: 'object'
|
|
1427
1171
|
};
|
|
1428
1172
|
export const NapcatStatusSchema = {
|
|
1429
|
-
description:
|
|
1173
|
+
description: 'NapcatStatus schema',
|
|
1430
1174
|
properties: {
|
|
1431
1175
|
config_dir: {
|
|
1432
1176
|
nullable: true,
|
|
1433
|
-
type:
|
|
1177
|
+
type: 'string'
|
|
1434
1178
|
},
|
|
1435
1179
|
data_dir: {
|
|
1436
1180
|
nullable: true,
|
|
1437
|
-
type:
|
|
1181
|
+
type: 'string'
|
|
1438
1182
|
},
|
|
1439
1183
|
is_running: {
|
|
1440
|
-
type:
|
|
1184
|
+
type: 'boolean'
|
|
1441
1185
|
},
|
|
1442
1186
|
napcat_port: {
|
|
1443
1187
|
nullable: true,
|
|
1444
|
-
type:
|
|
1188
|
+
type: 'integer'
|
|
1445
1189
|
},
|
|
1446
1190
|
process_id: {
|
|
1447
1191
|
nullable: true,
|
|
1448
|
-
type:
|
|
1192
|
+
type: 'integer'
|
|
1449
1193
|
},
|
|
1450
1194
|
webui_port: {
|
|
1451
1195
|
nullable: true,
|
|
1452
|
-
type:
|
|
1453
|
-
}
|
|
1196
|
+
type: 'integer'
|
|
1197
|
+
}
|
|
1454
1198
|
},
|
|
1455
|
-
type:
|
|
1199
|
+
type: 'object'
|
|
1456
1200
|
};
|
|
1457
1201
|
export const OperationMessageSchema = {
|
|
1458
|
-
description:
|
|
1202
|
+
description: 'OperationMessage schema',
|
|
1459
1203
|
properties: {
|
|
1460
1204
|
message: {
|
|
1461
|
-
type:
|
|
1462
|
-
}
|
|
1205
|
+
type: 'string'
|
|
1206
|
+
}
|
|
1463
1207
|
},
|
|
1464
|
-
type:
|
|
1208
|
+
type: 'object'
|
|
1465
1209
|
};
|
|
1466
1210
|
export const OperationSuccessSchema = {
|
|
1467
|
-
description:
|
|
1211
|
+
description: 'OperationSuccess schema',
|
|
1468
1212
|
properties: {
|
|
1469
1213
|
success: {
|
|
1470
|
-
type:
|
|
1471
|
-
}
|
|
1472
|
-
},
|
|
1473
|
-
type: "object",
|
|
1474
|
-
};
|
|
1475
|
-
export const OutputResultSchema = {
|
|
1476
|
-
description: "OutputResult schema",
|
|
1477
|
-
properties: {
|
|
1478
|
-
hasMore: {
|
|
1479
|
-
type: "boolean",
|
|
1480
|
-
},
|
|
1481
|
-
nextReadFrom: {
|
|
1482
|
-
type: "integer",
|
|
1483
|
-
},
|
|
1484
|
-
output: {
|
|
1485
|
-
type: "string",
|
|
1486
|
-
},
|
|
1487
|
-
stats: {
|
|
1488
|
-
properties: {
|
|
1489
|
-
bufferSize: {
|
|
1490
|
-
type: "integer",
|
|
1491
|
-
},
|
|
1492
|
-
estimatedTokens: {
|
|
1493
|
-
type: "integer",
|
|
1494
|
-
},
|
|
1495
|
-
linesOmitted: {
|
|
1496
|
-
type: "integer",
|
|
1497
|
-
},
|
|
1498
|
-
linesShown: {
|
|
1499
|
-
type: "integer",
|
|
1500
|
-
},
|
|
1501
|
-
newestIndex: {
|
|
1502
|
-
type: "integer",
|
|
1503
|
-
},
|
|
1504
|
-
oldestIndex: {
|
|
1505
|
-
type: "integer",
|
|
1506
|
-
},
|
|
1507
|
-
totalBytes: {
|
|
1508
|
-
type: "integer",
|
|
1509
|
-
},
|
|
1510
|
-
},
|
|
1511
|
-
type: "object",
|
|
1512
|
-
},
|
|
1513
|
-
totalLines: {
|
|
1514
|
-
type: "integer",
|
|
1515
|
-
},
|
|
1516
|
-
truncated: {
|
|
1517
|
-
type: "boolean",
|
|
1518
|
-
},
|
|
1214
|
+
type: 'boolean'
|
|
1215
|
+
}
|
|
1519
1216
|
},
|
|
1520
|
-
type:
|
|
1217
|
+
type: 'object'
|
|
1521
1218
|
};
|
|
1522
1219
|
export const PAccountListDataSchema = {
|
|
1523
|
-
description:
|
|
1220
|
+
description: 'PAccountListData schema',
|
|
1524
1221
|
properties: {
|
|
1525
1222
|
accounts: {
|
|
1526
1223
|
items: {
|
|
@@ -1528,940 +1225,603 @@ export const PAccountListDataSchema = {
|
|
|
1528
1225
|
config: {
|
|
1529
1226
|
additionalProperties: {},
|
|
1530
1227
|
nullable: true,
|
|
1531
|
-
type:
|
|
1228
|
+
type: 'object'
|
|
1532
1229
|
},
|
|
1533
1230
|
createdAt: {
|
|
1534
|
-
format:
|
|
1535
|
-
type:
|
|
1231
|
+
format: 'date-time',
|
|
1232
|
+
type: 'string'
|
|
1536
1233
|
},
|
|
1537
1234
|
description: {
|
|
1538
|
-
description:
|
|
1235
|
+
description: 'string schema',
|
|
1539
1236
|
nullable: true,
|
|
1540
|
-
type:
|
|
1237
|
+
type: 'string'
|
|
1541
1238
|
},
|
|
1542
1239
|
enabled: {
|
|
1543
|
-
type:
|
|
1240
|
+
type: 'boolean'
|
|
1544
1241
|
},
|
|
1545
1242
|
error: {
|
|
1546
|
-
description:
|
|
1243
|
+
description: 'string schema',
|
|
1547
1244
|
nullable: true,
|
|
1548
|
-
type:
|
|
1245
|
+
type: 'string'
|
|
1549
1246
|
},
|
|
1550
1247
|
icon: {
|
|
1551
|
-
description:
|
|
1248
|
+
description: 'string schema',
|
|
1552
1249
|
nullable: true,
|
|
1553
|
-
type:
|
|
1250
|
+
type: 'string'
|
|
1554
1251
|
},
|
|
1555
1252
|
id: {
|
|
1556
|
-
type:
|
|
1253
|
+
type: 'string'
|
|
1557
1254
|
},
|
|
1558
1255
|
name: {
|
|
1559
|
-
description:
|
|
1256
|
+
description: 'string schema',
|
|
1560
1257
|
nullable: true,
|
|
1561
|
-
type:
|
|
1258
|
+
type: 'string'
|
|
1562
1259
|
},
|
|
1563
1260
|
platform: {
|
|
1564
1261
|
nullable: true,
|
|
1565
1262
|
properties: {
|
|
1566
1263
|
description: {
|
|
1567
|
-
description:
|
|
1264
|
+
description: 'string schema',
|
|
1568
1265
|
nullable: true,
|
|
1569
|
-
type:
|
|
1266
|
+
type: 'string'
|
|
1570
1267
|
},
|
|
1571
1268
|
id: {
|
|
1572
|
-
type:
|
|
1269
|
+
type: 'string'
|
|
1573
1270
|
},
|
|
1574
1271
|
name: {
|
|
1575
|
-
type:
|
|
1576
|
-
}
|
|
1272
|
+
type: 'string'
|
|
1273
|
+
}
|
|
1577
1274
|
},
|
|
1578
|
-
type:
|
|
1275
|
+
type: 'object'
|
|
1579
1276
|
},
|
|
1580
1277
|
platformId: {
|
|
1581
|
-
type:
|
|
1278
|
+
type: 'string'
|
|
1582
1279
|
},
|
|
1583
1280
|
state: {
|
|
1584
1281
|
additionalProperties: {},
|
|
1585
1282
|
nullable: true,
|
|
1586
|
-
type:
|
|
1283
|
+
type: 'object'
|
|
1587
1284
|
},
|
|
1588
1285
|
tags: {
|
|
1589
1286
|
items: {
|
|
1590
|
-
type:
|
|
1287
|
+
type: 'string'
|
|
1591
1288
|
},
|
|
1592
1289
|
nullable: true,
|
|
1593
|
-
type:
|
|
1290
|
+
type: 'array'
|
|
1594
1291
|
},
|
|
1595
1292
|
updatedAt: {
|
|
1596
|
-
format:
|
|
1597
|
-
type:
|
|
1598
|
-
}
|
|
1293
|
+
format: 'date-time',
|
|
1294
|
+
type: 'string'
|
|
1295
|
+
}
|
|
1599
1296
|
},
|
|
1600
|
-
type:
|
|
1297
|
+
type: 'object'
|
|
1601
1298
|
},
|
|
1602
|
-
type:
|
|
1299
|
+
type: 'array'
|
|
1603
1300
|
},
|
|
1604
1301
|
limit: {
|
|
1605
|
-
type:
|
|
1302
|
+
type: 'integer'
|
|
1606
1303
|
},
|
|
1607
1304
|
page: {
|
|
1608
|
-
type:
|
|
1305
|
+
type: 'integer'
|
|
1609
1306
|
},
|
|
1610
1307
|
total: {
|
|
1611
|
-
format:
|
|
1612
|
-
type:
|
|
1613
|
-
}
|
|
1308
|
+
format: 'int64',
|
|
1309
|
+
type: 'integer'
|
|
1310
|
+
}
|
|
1614
1311
|
},
|
|
1615
|
-
type:
|
|
1312
|
+
type: 'object'
|
|
1616
1313
|
};
|
|
1617
1314
|
export const PAccountResponseSchema = {
|
|
1618
|
-
description:
|
|
1315
|
+
description: 'PAccountResponse schema',
|
|
1619
1316
|
properties: {
|
|
1620
1317
|
config: {
|
|
1621
1318
|
additionalProperties: {},
|
|
1622
1319
|
nullable: true,
|
|
1623
|
-
type:
|
|
1320
|
+
type: 'object'
|
|
1624
1321
|
},
|
|
1625
1322
|
createdAt: {
|
|
1626
|
-
format:
|
|
1627
|
-
type:
|
|
1323
|
+
format: 'date-time',
|
|
1324
|
+
type: 'string'
|
|
1628
1325
|
},
|
|
1629
1326
|
description: {
|
|
1630
|
-
description:
|
|
1327
|
+
description: 'string schema',
|
|
1631
1328
|
nullable: true,
|
|
1632
|
-
type:
|
|
1329
|
+
type: 'string'
|
|
1633
1330
|
},
|
|
1634
1331
|
enabled: {
|
|
1635
|
-
type:
|
|
1332
|
+
type: 'boolean'
|
|
1636
1333
|
},
|
|
1637
1334
|
error: {
|
|
1638
|
-
description:
|
|
1335
|
+
description: 'string schema',
|
|
1639
1336
|
nullable: true,
|
|
1640
|
-
type:
|
|
1337
|
+
type: 'string'
|
|
1641
1338
|
},
|
|
1642
1339
|
icon: {
|
|
1643
|
-
description:
|
|
1340
|
+
description: 'string schema',
|
|
1644
1341
|
nullable: true,
|
|
1645
|
-
type:
|
|
1342
|
+
type: 'string'
|
|
1646
1343
|
},
|
|
1647
1344
|
id: {
|
|
1648
|
-
type:
|
|
1345
|
+
type: 'string'
|
|
1649
1346
|
},
|
|
1650
1347
|
name: {
|
|
1651
|
-
description:
|
|
1348
|
+
description: 'string schema',
|
|
1652
1349
|
nullable: true,
|
|
1653
|
-
type:
|
|
1350
|
+
type: 'string'
|
|
1654
1351
|
},
|
|
1655
1352
|
platform: {
|
|
1656
1353
|
nullable: true,
|
|
1657
1354
|
properties: {
|
|
1658
1355
|
description: {
|
|
1659
|
-
description:
|
|
1356
|
+
description: 'string schema',
|
|
1660
1357
|
nullable: true,
|
|
1661
|
-
type:
|
|
1358
|
+
type: 'string'
|
|
1662
1359
|
},
|
|
1663
1360
|
id: {
|
|
1664
|
-
type:
|
|
1361
|
+
type: 'string'
|
|
1665
1362
|
},
|
|
1666
1363
|
name: {
|
|
1667
|
-
type:
|
|
1668
|
-
}
|
|
1364
|
+
type: 'string'
|
|
1365
|
+
}
|
|
1669
1366
|
},
|
|
1670
|
-
type:
|
|
1367
|
+
type: 'object'
|
|
1671
1368
|
},
|
|
1672
1369
|
platformId: {
|
|
1673
|
-
type:
|
|
1370
|
+
type: 'string'
|
|
1674
1371
|
},
|
|
1675
1372
|
state: {
|
|
1676
1373
|
additionalProperties: {},
|
|
1677
1374
|
nullable: true,
|
|
1678
|
-
type:
|
|
1375
|
+
type: 'object'
|
|
1679
1376
|
},
|
|
1680
1377
|
tags: {
|
|
1681
1378
|
items: {
|
|
1682
|
-
type:
|
|
1379
|
+
type: 'string'
|
|
1683
1380
|
},
|
|
1684
1381
|
nullable: true,
|
|
1685
|
-
type:
|
|
1382
|
+
type: 'array'
|
|
1686
1383
|
},
|
|
1687
1384
|
updatedAt: {
|
|
1688
|
-
format:
|
|
1689
|
-
type:
|
|
1690
|
-
}
|
|
1385
|
+
format: 'date-time',
|
|
1386
|
+
type: 'string'
|
|
1387
|
+
}
|
|
1691
1388
|
},
|
|
1692
|
-
type:
|
|
1389
|
+
type: 'object'
|
|
1693
1390
|
};
|
|
1694
1391
|
export const PAccountSessionSchema = {
|
|
1695
|
-
description:
|
|
1392
|
+
description: 'PAccountSession schema',
|
|
1696
1393
|
properties: {
|
|
1697
1394
|
createdAt: {
|
|
1698
|
-
format:
|
|
1699
|
-
type:
|
|
1395
|
+
format: 'date-time',
|
|
1396
|
+
type: 'string'
|
|
1700
1397
|
},
|
|
1701
1398
|
id: {
|
|
1702
|
-
type:
|
|
1399
|
+
type: 'string'
|
|
1703
1400
|
},
|
|
1704
1401
|
metadata: {
|
|
1705
1402
|
additionalProperties: {},
|
|
1706
1403
|
nullable: true,
|
|
1707
|
-
type:
|
|
1404
|
+
type: 'object'
|
|
1708
1405
|
},
|
|
1709
1406
|
status: {
|
|
1710
|
-
type:
|
|
1407
|
+
type: 'string'
|
|
1711
1408
|
},
|
|
1712
1409
|
updatedAt: {
|
|
1713
|
-
format:
|
|
1410
|
+
format: 'date-time',
|
|
1714
1411
|
nullable: true,
|
|
1715
|
-
type:
|
|
1716
|
-
}
|
|
1412
|
+
type: 'string'
|
|
1413
|
+
}
|
|
1717
1414
|
},
|
|
1718
|
-
type:
|
|
1415
|
+
type: 'object'
|
|
1719
1416
|
};
|
|
1720
1417
|
export const PlatformListDataSchema = {
|
|
1721
|
-
description:
|
|
1418
|
+
description: 'PlatformListData schema',
|
|
1722
1419
|
properties: {
|
|
1723
1420
|
limit: {
|
|
1724
|
-
type:
|
|
1421
|
+
type: 'integer'
|
|
1725
1422
|
},
|
|
1726
1423
|
page: {
|
|
1727
|
-
type:
|
|
1424
|
+
type: 'integer'
|
|
1728
1425
|
},
|
|
1729
1426
|
platforms: {
|
|
1730
1427
|
items: {
|
|
1731
1428
|
properties: {
|
|
1732
1429
|
createdAt: {
|
|
1733
|
-
format:
|
|
1734
|
-
type:
|
|
1430
|
+
format: 'date-time',
|
|
1431
|
+
type: 'string'
|
|
1735
1432
|
},
|
|
1736
1433
|
description: {
|
|
1737
1434
|
nullable: true,
|
|
1738
|
-
type:
|
|
1435
|
+
type: 'string'
|
|
1739
1436
|
},
|
|
1740
1437
|
id: {
|
|
1741
|
-
type:
|
|
1438
|
+
type: 'string'
|
|
1742
1439
|
},
|
|
1743
1440
|
loginUrl: {
|
|
1744
1441
|
nullable: true,
|
|
1745
|
-
type:
|
|
1442
|
+
type: 'string'
|
|
1746
1443
|
},
|
|
1747
1444
|
name: {
|
|
1748
|
-
type:
|
|
1445
|
+
type: 'string'
|
|
1749
1446
|
},
|
|
1750
1447
|
tags: {
|
|
1751
1448
|
items: {
|
|
1752
|
-
type:
|
|
1449
|
+
type: 'string'
|
|
1753
1450
|
},
|
|
1754
1451
|
nullable: true,
|
|
1755
|
-
type:
|
|
1452
|
+
type: 'array'
|
|
1756
1453
|
},
|
|
1757
1454
|
updatedAt: {
|
|
1758
|
-
format:
|
|
1759
|
-
type:
|
|
1455
|
+
format: 'date-time',
|
|
1456
|
+
type: 'string'
|
|
1760
1457
|
},
|
|
1761
1458
|
url: {
|
|
1762
1459
|
nullable: true,
|
|
1763
|
-
type:
|
|
1764
|
-
}
|
|
1460
|
+
type: 'string'
|
|
1461
|
+
}
|
|
1765
1462
|
},
|
|
1766
|
-
type:
|
|
1463
|
+
type: 'object'
|
|
1767
1464
|
},
|
|
1768
|
-
type:
|
|
1465
|
+
type: 'array'
|
|
1769
1466
|
},
|
|
1770
1467
|
total: {
|
|
1771
|
-
format:
|
|
1772
|
-
type:
|
|
1773
|
-
}
|
|
1468
|
+
format: 'int64',
|
|
1469
|
+
type: 'integer'
|
|
1470
|
+
}
|
|
1774
1471
|
},
|
|
1775
|
-
type:
|
|
1472
|
+
type: 'object'
|
|
1776
1473
|
};
|
|
1777
1474
|
export const PlatformResponseSchema = {
|
|
1778
|
-
description:
|
|
1475
|
+
description: 'PlatformResponse schema',
|
|
1779
1476
|
properties: {
|
|
1780
1477
|
createdAt: {
|
|
1781
|
-
format:
|
|
1782
|
-
type:
|
|
1478
|
+
format: 'date-time',
|
|
1479
|
+
type: 'string'
|
|
1783
1480
|
},
|
|
1784
1481
|
description: {
|
|
1785
1482
|
nullable: true,
|
|
1786
|
-
type:
|
|
1483
|
+
type: 'string'
|
|
1787
1484
|
},
|
|
1788
1485
|
id: {
|
|
1789
|
-
type:
|
|
1486
|
+
type: 'string'
|
|
1790
1487
|
},
|
|
1791
1488
|
loginUrl: {
|
|
1792
1489
|
nullable: true,
|
|
1793
|
-
type:
|
|
1490
|
+
type: 'string'
|
|
1794
1491
|
},
|
|
1795
1492
|
name: {
|
|
1796
|
-
type:
|
|
1493
|
+
type: 'string'
|
|
1797
1494
|
},
|
|
1798
1495
|
tags: {
|
|
1799
1496
|
items: {
|
|
1800
|
-
type:
|
|
1497
|
+
type: 'string'
|
|
1801
1498
|
},
|
|
1802
1499
|
nullable: true,
|
|
1803
|
-
type:
|
|
1500
|
+
type: 'array'
|
|
1804
1501
|
},
|
|
1805
1502
|
updatedAt: {
|
|
1806
|
-
format:
|
|
1807
|
-
type:
|
|
1503
|
+
format: 'date-time',
|
|
1504
|
+
type: 'string'
|
|
1808
1505
|
},
|
|
1809
1506
|
url: {
|
|
1810
1507
|
nullable: true,
|
|
1811
|
-
type:
|
|
1812
|
-
}
|
|
1508
|
+
type: 'string'
|
|
1509
|
+
}
|
|
1813
1510
|
},
|
|
1814
|
-
type:
|
|
1511
|
+
type: 'object'
|
|
1815
1512
|
};
|
|
1816
1513
|
export const PlatformTypeListResponseSchema = {
|
|
1817
|
-
description:
|
|
1514
|
+
description: 'PlatformTypeListResponse schema',
|
|
1818
1515
|
properties: {
|
|
1819
1516
|
data: {
|
|
1820
1517
|
items: {
|
|
1821
1518
|
properties: {
|
|
1822
1519
|
code: {
|
|
1823
|
-
example:
|
|
1824
|
-
type:
|
|
1520
|
+
example: 'napcatqq',
|
|
1521
|
+
type: 'string'
|
|
1825
1522
|
},
|
|
1826
1523
|
createdAt: {
|
|
1827
|
-
example:
|
|
1828
|
-
type:
|
|
1524
|
+
example: '2023-01-01T00:00:00Z',
|
|
1525
|
+
type: 'string'
|
|
1829
1526
|
},
|
|
1830
1527
|
enabled: {
|
|
1831
1528
|
example: true,
|
|
1832
|
-
type:
|
|
1529
|
+
type: 'boolean'
|
|
1833
1530
|
},
|
|
1834
1531
|
id: {
|
|
1835
|
-
example:
|
|
1836
|
-
type:
|
|
1532
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
1533
|
+
type: 'string'
|
|
1837
1534
|
},
|
|
1838
1535
|
name: {
|
|
1839
|
-
example:
|
|
1840
|
-
type:
|
|
1536
|
+
example: 'NapCat QQ',
|
|
1537
|
+
type: 'string'
|
|
1841
1538
|
},
|
|
1842
1539
|
updatedAt: {
|
|
1843
|
-
example:
|
|
1844
|
-
type:
|
|
1845
|
-
}
|
|
1540
|
+
example: '2023-01-01T00:00:00Z',
|
|
1541
|
+
type: 'string'
|
|
1542
|
+
}
|
|
1846
1543
|
},
|
|
1847
|
-
type:
|
|
1544
|
+
type: 'object'
|
|
1848
1545
|
},
|
|
1849
|
-
type:
|
|
1546
|
+
type: 'array'
|
|
1850
1547
|
},
|
|
1851
1548
|
limit: {
|
|
1852
1549
|
example: 20,
|
|
1853
|
-
type:
|
|
1550
|
+
type: 'integer'
|
|
1854
1551
|
},
|
|
1855
1552
|
page: {
|
|
1856
1553
|
example: 1,
|
|
1857
|
-
type:
|
|
1554
|
+
type: 'integer'
|
|
1858
1555
|
},
|
|
1859
1556
|
total: {
|
|
1860
1557
|
example: 10,
|
|
1861
|
-
type:
|
|
1862
|
-
}
|
|
1863
|
-
},
|
|
1864
|
-
type: "object",
|
|
1865
|
-
};
|
|
1866
|
-
export const ProxyListDataSchema = {
|
|
1867
|
-
description: "ProxyListData schema",
|
|
1868
|
-
properties: {
|
|
1869
|
-
pagination: {
|
|
1870
|
-
properties: {
|
|
1871
|
-
limit: {
|
|
1872
|
-
type: "integer",
|
|
1873
|
-
},
|
|
1874
|
-
page: {
|
|
1875
|
-
type: "integer",
|
|
1876
|
-
},
|
|
1877
|
-
total_count: {
|
|
1878
|
-
format: "int64",
|
|
1879
|
-
type: "integer",
|
|
1880
|
-
},
|
|
1881
|
-
total_pages: {
|
|
1882
|
-
type: "integer",
|
|
1883
|
-
},
|
|
1884
|
-
},
|
|
1885
|
-
type: "object",
|
|
1886
|
-
},
|
|
1887
|
-
proxies: {
|
|
1888
|
-
items: {
|
|
1889
|
-
properties: {
|
|
1890
|
-
country_code: {
|
|
1891
|
-
type: "string",
|
|
1892
|
-
},
|
|
1893
|
-
created_at: {
|
|
1894
|
-
format: "date-time",
|
|
1895
|
-
type: "string",
|
|
1896
|
-
},
|
|
1897
|
-
description: {
|
|
1898
|
-
type: "string",
|
|
1899
|
-
},
|
|
1900
|
-
enabled: {
|
|
1901
|
-
type: "boolean",
|
|
1902
|
-
},
|
|
1903
|
-
id: {
|
|
1904
|
-
type: "string",
|
|
1905
|
-
},
|
|
1906
|
-
name: {
|
|
1907
|
-
type: "string",
|
|
1908
|
-
},
|
|
1909
|
-
port: {
|
|
1910
|
-
type: "integer",
|
|
1911
|
-
},
|
|
1912
|
-
provider: {
|
|
1913
|
-
type: "string",
|
|
1914
|
-
},
|
|
1915
|
-
tenant_id: {
|
|
1916
|
-
type: "string",
|
|
1917
|
-
},
|
|
1918
|
-
type: {
|
|
1919
|
-
type: "string",
|
|
1920
|
-
},
|
|
1921
|
-
updated_at: {
|
|
1922
|
-
format: "date-time",
|
|
1923
|
-
type: "string",
|
|
1924
|
-
},
|
|
1925
|
-
url: {
|
|
1926
|
-
type: "string",
|
|
1927
|
-
},
|
|
1928
|
-
},
|
|
1929
|
-
required: ["id", "created_at", "name", "url"],
|
|
1930
|
-
type: "object",
|
|
1931
|
-
},
|
|
1932
|
-
type: "array",
|
|
1933
|
-
},
|
|
1934
|
-
},
|
|
1935
|
-
type: "object",
|
|
1936
|
-
};
|
|
1937
|
-
export const ProxyResponseSchema = {
|
|
1938
|
-
description: "ProxyResponse schema",
|
|
1939
|
-
properties: {
|
|
1940
|
-
country_code: {
|
|
1941
|
-
type: "string",
|
|
1942
|
-
},
|
|
1943
|
-
created_at: {
|
|
1944
|
-
format: "date-time",
|
|
1945
|
-
type: "string",
|
|
1946
|
-
},
|
|
1947
|
-
description: {
|
|
1948
|
-
type: "string",
|
|
1949
|
-
},
|
|
1950
|
-
enabled: {
|
|
1951
|
-
type: "boolean",
|
|
1952
|
-
},
|
|
1953
|
-
id: {
|
|
1954
|
-
type: "string",
|
|
1955
|
-
},
|
|
1956
|
-
name: {
|
|
1957
|
-
type: "string",
|
|
1958
|
-
},
|
|
1959
|
-
port: {
|
|
1960
|
-
type: "integer",
|
|
1961
|
-
},
|
|
1962
|
-
provider: {
|
|
1963
|
-
type: "string",
|
|
1964
|
-
},
|
|
1965
|
-
tenant_id: {
|
|
1966
|
-
type: "string",
|
|
1967
|
-
},
|
|
1968
|
-
type: {
|
|
1969
|
-
type: "string",
|
|
1970
|
-
},
|
|
1971
|
-
updated_at: {
|
|
1972
|
-
format: "date-time",
|
|
1973
|
-
type: "string",
|
|
1974
|
-
},
|
|
1975
|
-
url: {
|
|
1976
|
-
type: "string",
|
|
1977
|
-
},
|
|
1978
|
-
},
|
|
1979
|
-
required: ["id", "created_at", "name", "url"],
|
|
1980
|
-
type: "object",
|
|
1981
|
-
};
|
|
1982
|
-
export const ProxyUpsertRequestSchema = {
|
|
1983
|
-
description: "ProxyUpsertRequest schema",
|
|
1984
|
-
properties: {
|
|
1985
|
-
description: {
|
|
1986
|
-
description: "string schema",
|
|
1987
|
-
nullable: true,
|
|
1988
|
-
type: "string",
|
|
1989
|
-
},
|
|
1990
|
-
id: {
|
|
1991
|
-
description: "string schema",
|
|
1992
|
-
nullable: true,
|
|
1993
|
-
type: "string",
|
|
1994
|
-
},
|
|
1995
|
-
name: {
|
|
1996
|
-
description: "string schema",
|
|
1997
|
-
nullable: true,
|
|
1998
|
-
type: "string",
|
|
1999
|
-
},
|
|
2000
|
-
url: {
|
|
2001
|
-
type: "string",
|
|
2002
|
-
},
|
|
1558
|
+
type: 'integer'
|
|
1559
|
+
}
|
|
2003
1560
|
},
|
|
2004
|
-
|
|
2005
|
-
type: "object",
|
|
1561
|
+
type: 'object'
|
|
2006
1562
|
};
|
|
2007
1563
|
export const RunChatbotRequestSchema = {
|
|
2008
|
-
description:
|
|
1564
|
+
description: 'RunChatbotRequest schema',
|
|
2009
1565
|
properties: {
|
|
2010
1566
|
chatbotId: {
|
|
2011
|
-
example:
|
|
2012
|
-
type:
|
|
2013
|
-
}
|
|
1567
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
1568
|
+
type: 'string'
|
|
1569
|
+
}
|
|
2014
1570
|
},
|
|
2015
|
-
required: [
|
|
2016
|
-
|
|
1571
|
+
required: [
|
|
1572
|
+
'chatbotId'
|
|
1573
|
+
],
|
|
1574
|
+
type: 'object'
|
|
2017
1575
|
};
|
|
2018
1576
|
export const RunChatbotResponseSchema = {
|
|
2019
|
-
description:
|
|
1577
|
+
description: 'RunChatbotResponse schema',
|
|
2020
1578
|
properties: {
|
|
2021
1579
|
chatbotId: {
|
|
2022
|
-
example:
|
|
2023
|
-
type:
|
|
1580
|
+
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
1581
|
+
type: 'string'
|
|
2024
1582
|
},
|
|
2025
1583
|
currentStatus: {
|
|
2026
|
-
example:
|
|
2027
|
-
type:
|
|
1584
|
+
example: 'starting',
|
|
1585
|
+
type: 'string'
|
|
2028
1586
|
},
|
|
2029
1587
|
message: {
|
|
2030
|
-
example:
|
|
2031
|
-
type:
|
|
1588
|
+
example: '聊天机器人启动工作流已触发',
|
|
1589
|
+
type: 'string'
|
|
2032
1590
|
},
|
|
2033
1591
|
success: {
|
|
2034
1592
|
example: true,
|
|
2035
|
-
type:
|
|
1593
|
+
type: 'boolean'
|
|
2036
1594
|
},
|
|
2037
1595
|
workflowId: {
|
|
2038
|
-
example:
|
|
1596
|
+
example: 'wf_123456',
|
|
2039
1597
|
nullable: true,
|
|
2040
|
-
type:
|
|
2041
|
-
}
|
|
1598
|
+
type: 'string'
|
|
1599
|
+
}
|
|
2042
1600
|
},
|
|
2043
|
-
type:
|
|
1601
|
+
type: 'object'
|
|
2044
1602
|
};
|
|
2045
|
-
export const
|
|
2046
|
-
description:
|
|
1603
|
+
export const RunCodeReqSchema = {
|
|
1604
|
+
description: 'RunCodeReq schema',
|
|
2047
1605
|
properties: {
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
type: "integer",
|
|
2060
|
-
},
|
|
2061
|
-
num_pages: {
|
|
2062
|
-
format: "int64",
|
|
2063
|
-
nullable: true,
|
|
2064
|
-
type: "integer",
|
|
2065
|
-
},
|
|
2066
|
-
},
|
|
2067
|
-
type: "object",
|
|
1606
|
+
codeType: {
|
|
1607
|
+
description: '代码类型: python | browserjs',
|
|
1608
|
+
example: 'python,js',
|
|
1609
|
+
minLength: 2,
|
|
1610
|
+
type: 'string'
|
|
1611
|
+
},
|
|
1612
|
+
content: {
|
|
1613
|
+
description: '代码正文',
|
|
1614
|
+
example: 'print(\'hello\')',
|
|
1615
|
+
minLength: 1,
|
|
1616
|
+
type: 'string'
|
|
2068
1617
|
},
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
additionalMetadata: {
|
|
2073
|
-
additionalProperties: {},
|
|
2074
|
-
nullable: true,
|
|
2075
|
-
type: "object",
|
|
2076
|
-
},
|
|
2077
|
-
input: {
|
|
2078
|
-
additionalProperties: {},
|
|
2079
|
-
nullable: true,
|
|
2080
|
-
type: "object",
|
|
2081
|
-
},
|
|
2082
|
-
metadata: {
|
|
2083
|
-
properties: {
|
|
2084
|
-
createdAt: {
|
|
2085
|
-
format: "date-time",
|
|
2086
|
-
type: "string",
|
|
2087
|
-
},
|
|
2088
|
-
id: {
|
|
2089
|
-
type: "string",
|
|
2090
|
-
},
|
|
2091
|
-
updatedAt: {
|
|
2092
|
-
format: "date-time",
|
|
2093
|
-
type: "string",
|
|
2094
|
-
},
|
|
2095
|
-
},
|
|
2096
|
-
type: "object",
|
|
2097
|
-
},
|
|
2098
|
-
method: {
|
|
2099
|
-
type: "string",
|
|
2100
|
-
},
|
|
2101
|
-
priority: {
|
|
2102
|
-
format: "int32",
|
|
2103
|
-
nullable: true,
|
|
2104
|
-
type: "integer",
|
|
2105
|
-
},
|
|
2106
|
-
tenantId: {
|
|
2107
|
-
type: "string",
|
|
2108
|
-
},
|
|
2109
|
-
triggerAt: {
|
|
2110
|
-
format: "date-time",
|
|
2111
|
-
type: "string",
|
|
2112
|
-
},
|
|
2113
|
-
workflowId: {
|
|
2114
|
-
type: "string",
|
|
2115
|
-
},
|
|
2116
|
-
workflowName: {
|
|
2117
|
-
type: "string",
|
|
2118
|
-
},
|
|
2119
|
-
workflowRunCreatedAt: {
|
|
2120
|
-
format: "date-time",
|
|
2121
|
-
nullable: true,
|
|
2122
|
-
type: "string",
|
|
2123
|
-
},
|
|
2124
|
-
workflowRunId: {
|
|
2125
|
-
nullable: true,
|
|
2126
|
-
},
|
|
2127
|
-
workflowRunName: {
|
|
2128
|
-
description: "string schema",
|
|
2129
|
-
type: "string",
|
|
2130
|
-
},
|
|
2131
|
-
workflowRunStatus: {
|
|
2132
|
-
nullable: true,
|
|
2133
|
-
type: "string",
|
|
2134
|
-
},
|
|
2135
|
-
workflowVersionId: {
|
|
2136
|
-
type: "string",
|
|
2137
|
-
},
|
|
2138
|
-
},
|
|
2139
|
-
type: "object",
|
|
2140
|
-
},
|
|
1618
|
+
context: {
|
|
1619
|
+
additionalProperties: {},
|
|
1620
|
+
description: '注入到代码运行环境的上下文变量',
|
|
2141
1621
|
nullable: true,
|
|
2142
|
-
type:
|
|
2143
|
-
},
|
|
2144
|
-
},
|
|
2145
|
-
type: "object",
|
|
2146
|
-
};
|
|
2147
|
-
export const SendInputRequestSchema = {
|
|
2148
|
-
description: "SendInputRequest schema",
|
|
2149
|
-
properties: {
|
|
2150
|
-
input: {
|
|
2151
|
-
type: "string",
|
|
1622
|
+
type: 'object'
|
|
2152
1623
|
},
|
|
1624
|
+
timeout: {
|
|
1625
|
+
description: '运行超时时间(秒), 如果不填默认为60秒',
|
|
1626
|
+
example: 60,
|
|
1627
|
+
nullable: true,
|
|
1628
|
+
type: 'integer'
|
|
1629
|
+
}
|
|
2153
1630
|
},
|
|
2154
|
-
required: [
|
|
2155
|
-
|
|
1631
|
+
required: [
|
|
1632
|
+
'codeType',
|
|
1633
|
+
'content'
|
|
1634
|
+
],
|
|
1635
|
+
type: 'object'
|
|
2156
1636
|
};
|
|
2157
1637
|
export const StartNapcatRequestSchema = {
|
|
2158
|
-
description:
|
|
1638
|
+
description: 'StartNapcatRequest schema',
|
|
2159
1639
|
properties: {
|
|
2160
1640
|
config_dir: {
|
|
2161
1641
|
nullable: true,
|
|
2162
|
-
type:
|
|
1642
|
+
type: 'string'
|
|
2163
1643
|
},
|
|
2164
1644
|
data_dir: {
|
|
2165
1645
|
nullable: true,
|
|
2166
|
-
type:
|
|
1646
|
+
type: 'string'
|
|
2167
1647
|
},
|
|
2168
1648
|
napcat_port: {
|
|
2169
1649
|
nullable: true,
|
|
2170
|
-
type:
|
|
1650
|
+
type: 'integer'
|
|
2171
1651
|
},
|
|
2172
1652
|
qq_account: {
|
|
2173
1653
|
nullable: true,
|
|
2174
|
-
type:
|
|
1654
|
+
type: 'string'
|
|
2175
1655
|
},
|
|
2176
1656
|
webui_port: {
|
|
2177
1657
|
nullable: true,
|
|
2178
|
-
type:
|
|
2179
|
-
}
|
|
1658
|
+
type: 'integer'
|
|
1659
|
+
}
|
|
2180
1660
|
},
|
|
2181
|
-
type:
|
|
1661
|
+
type: 'object'
|
|
2182
1662
|
};
|
|
2183
|
-
export const
|
|
2184
|
-
description:
|
|
1663
|
+
export const TaskRunReqSchema = {
|
|
1664
|
+
description: 'TaskRunReq schema',
|
|
2185
1665
|
properties: {
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
type: "integer",
|
|
2190
|
-
},
|
|
2191
|
-
created: {
|
|
2192
|
-
format: "date-time",
|
|
2193
|
-
type: "string",
|
|
2194
|
-
},
|
|
2195
|
-
cwd: {
|
|
2196
|
-
type: "string",
|
|
2197
|
-
},
|
|
2198
|
-
id: {
|
|
2199
|
-
type: "string",
|
|
2200
|
-
},
|
|
2201
|
-
lastActivity: {
|
|
2202
|
-
format: "date-time",
|
|
2203
|
-
type: "string",
|
|
2204
|
-
},
|
|
2205
|
-
pid: {
|
|
2206
|
-
type: "integer",
|
|
2207
|
-
},
|
|
2208
|
-
rows: {
|
|
2209
|
-
maximum: 65535,
|
|
2210
|
-
minimum: 0,
|
|
2211
|
-
type: "integer",
|
|
2212
|
-
},
|
|
2213
|
-
shell: {
|
|
2214
|
-
type: "string",
|
|
2215
|
-
},
|
|
2216
|
-
status: {
|
|
2217
|
-
type: "string",
|
|
2218
|
-
},
|
|
2219
|
-
},
|
|
2220
|
-
type: "object",
|
|
2221
|
-
};
|
|
2222
|
-
export const TerminalStatsSchema = {
|
|
2223
|
-
description: "TerminalStats schema",
|
|
2224
|
-
properties: {
|
|
2225
|
-
bufferStatus: {
|
|
2226
|
-
properties: {
|
|
2227
|
-
chunkCount: {
|
|
2228
|
-
type: "integer",
|
|
2229
|
-
},
|
|
2230
|
-
currentSize: {
|
|
2231
|
-
type: "integer",
|
|
2232
|
-
},
|
|
2233
|
-
maxChunks: {
|
|
2234
|
-
type: "integer",
|
|
2235
|
-
},
|
|
2236
|
-
maxTotalSize: {
|
|
2237
|
-
type: "integer",
|
|
2238
|
-
},
|
|
2239
|
-
},
|
|
2240
|
-
type: "object",
|
|
2241
|
-
},
|
|
2242
|
-
outputStats: {
|
|
2243
|
-
properties: {
|
|
2244
|
-
bufferSize: {
|
|
2245
|
-
type: "integer",
|
|
2246
|
-
},
|
|
2247
|
-
estimatedTokens: {
|
|
2248
|
-
type: "integer",
|
|
2249
|
-
},
|
|
2250
|
-
linesOmitted: {
|
|
2251
|
-
type: "integer",
|
|
2252
|
-
},
|
|
2253
|
-
linesShown: {
|
|
2254
|
-
type: "integer",
|
|
2255
|
-
},
|
|
2256
|
-
newestIndex: {
|
|
2257
|
-
type: "integer",
|
|
2258
|
-
},
|
|
2259
|
-
oldestIndex: {
|
|
2260
|
-
type: "integer",
|
|
2261
|
-
},
|
|
2262
|
-
totalBytes: {
|
|
2263
|
-
type: "integer",
|
|
2264
|
-
},
|
|
2265
|
-
},
|
|
2266
|
-
type: "object",
|
|
1666
|
+
browserId: {
|
|
1667
|
+
nullable: true,
|
|
1668
|
+
type: 'string'
|
|
2267
1669
|
},
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
maximum: 65535,
|
|
2272
|
-
minimum: 0,
|
|
2273
|
-
type: "integer",
|
|
2274
|
-
},
|
|
2275
|
-
created: {
|
|
2276
|
-
format: "date-time",
|
|
2277
|
-
type: "string",
|
|
2278
|
-
},
|
|
2279
|
-
cwd: {
|
|
2280
|
-
type: "string",
|
|
2281
|
-
},
|
|
2282
|
-
id: {
|
|
2283
|
-
type: "string",
|
|
2284
|
-
},
|
|
2285
|
-
lastActivity: {
|
|
2286
|
-
format: "date-time",
|
|
2287
|
-
type: "string",
|
|
2288
|
-
},
|
|
2289
|
-
pid: {
|
|
2290
|
-
type: "integer",
|
|
2291
|
-
},
|
|
2292
|
-
rows: {
|
|
2293
|
-
maximum: 65535,
|
|
2294
|
-
minimum: 0,
|
|
2295
|
-
type: "integer",
|
|
2296
|
-
},
|
|
2297
|
-
shell: {
|
|
2298
|
-
type: "string",
|
|
2299
|
-
},
|
|
2300
|
-
status: {
|
|
2301
|
-
type: "string",
|
|
2302
|
-
},
|
|
2303
|
-
},
|
|
2304
|
-
type: "object",
|
|
1670
|
+
payload: {},
|
|
1671
|
+
taskId: {
|
|
1672
|
+
type: 'string'
|
|
2305
1673
|
},
|
|
1674
|
+
type: {
|
|
1675
|
+
type: 'string'
|
|
1676
|
+
}
|
|
2306
1677
|
},
|
|
2307
|
-
type:
|
|
1678
|
+
type: 'object'
|
|
2308
1679
|
};
|
|
2309
|
-
export const
|
|
2310
|
-
description:
|
|
1680
|
+
export const TaskRunRespSchema = {
|
|
1681
|
+
description: 'TaskRunResp schema',
|
|
2311
1682
|
properties: {
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
nullable: true,
|
|
2315
|
-
type: "object",
|
|
2316
|
-
},
|
|
2317
|
-
description: {
|
|
2318
|
-
nullable: true,
|
|
2319
|
-
type: "string",
|
|
2320
|
-
},
|
|
2321
|
-
name: {
|
|
2322
|
-
nullable: true,
|
|
2323
|
-
type: "string",
|
|
2324
|
-
},
|
|
2325
|
-
state: {
|
|
2326
|
-
additionalProperties: {},
|
|
2327
|
-
nullable: true,
|
|
2328
|
-
type: "object",
|
|
1683
|
+
message: {
|
|
1684
|
+
type: 'string'
|
|
2329
1685
|
},
|
|
2330
1686
|
status: {
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
},
|
|
1687
|
+
type: 'string'
|
|
1688
|
+
}
|
|
2334
1689
|
},
|
|
2335
|
-
type:
|
|
1690
|
+
type: 'object'
|
|
2336
1691
|
};
|
|
2337
1692
|
export const UpdatePAccountRequestSchema = {
|
|
2338
|
-
description:
|
|
1693
|
+
description: 'UpdatePAccountRequest schema',
|
|
2339
1694
|
properties: {
|
|
2340
1695
|
config: {
|
|
2341
1696
|
additionalProperties: {},
|
|
2342
1697
|
nullable: true,
|
|
2343
|
-
type:
|
|
1698
|
+
type: 'object'
|
|
2344
1699
|
},
|
|
2345
1700
|
description: {
|
|
2346
|
-
description:
|
|
1701
|
+
description: 'string schema',
|
|
2347
1702
|
nullable: true,
|
|
2348
|
-
type:
|
|
1703
|
+
type: 'string'
|
|
2349
1704
|
},
|
|
2350
1705
|
enabled: {
|
|
2351
1706
|
nullable: true,
|
|
2352
|
-
type:
|
|
1707
|
+
type: 'boolean'
|
|
2353
1708
|
},
|
|
2354
1709
|
icon: {
|
|
2355
|
-
description:
|
|
1710
|
+
description: 'string schema',
|
|
2356
1711
|
nullable: true,
|
|
2357
|
-
type:
|
|
1712
|
+
type: 'string'
|
|
2358
1713
|
},
|
|
2359
1714
|
name: {
|
|
2360
|
-
description:
|
|
1715
|
+
description: 'string schema',
|
|
2361
1716
|
nullable: true,
|
|
2362
|
-
type:
|
|
1717
|
+
type: 'string'
|
|
2363
1718
|
},
|
|
2364
1719
|
platformId: {
|
|
2365
|
-
type:
|
|
1720
|
+
type: 'string'
|
|
2366
1721
|
},
|
|
2367
1722
|
tags: {
|
|
2368
1723
|
items: {
|
|
2369
|
-
type:
|
|
1724
|
+
type: 'string'
|
|
2370
1725
|
},
|
|
2371
1726
|
nullable: true,
|
|
2372
|
-
type:
|
|
2373
|
-
}
|
|
1727
|
+
type: 'array'
|
|
1728
|
+
}
|
|
2374
1729
|
},
|
|
2375
|
-
required: [
|
|
2376
|
-
|
|
1730
|
+
required: [
|
|
1731
|
+
'platformId'
|
|
1732
|
+
],
|
|
1733
|
+
type: 'object'
|
|
2377
1734
|
};
|
|
2378
1735
|
export const UpdatePlatformRequestSchema = {
|
|
2379
|
-
description:
|
|
1736
|
+
description: 'UpdatePlatformRequest schema',
|
|
2380
1737
|
properties: {
|
|
2381
1738
|
description: {
|
|
2382
|
-
description:
|
|
1739
|
+
description: 'string schema',
|
|
2383
1740
|
nullable: true,
|
|
2384
|
-
type:
|
|
1741
|
+
type: 'string'
|
|
2385
1742
|
},
|
|
2386
1743
|
loginUrl: {
|
|
2387
|
-
description:
|
|
1744
|
+
description: 'string schema',
|
|
2388
1745
|
nullable: true,
|
|
2389
|
-
type:
|
|
1746
|
+
type: 'string'
|
|
2390
1747
|
},
|
|
2391
1748
|
name: {
|
|
2392
|
-
type:
|
|
1749
|
+
type: 'string'
|
|
2393
1750
|
},
|
|
2394
1751
|
tags: {
|
|
2395
1752
|
items: {
|
|
2396
|
-
type:
|
|
1753
|
+
type: 'string'
|
|
2397
1754
|
},
|
|
2398
1755
|
nullable: true,
|
|
2399
|
-
type:
|
|
1756
|
+
type: 'array'
|
|
2400
1757
|
},
|
|
2401
1758
|
url: {
|
|
2402
|
-
description:
|
|
1759
|
+
description: 'string schema',
|
|
2403
1760
|
nullable: true,
|
|
2404
|
-
type:
|
|
2405
|
-
}
|
|
1761
|
+
type: 'string'
|
|
1762
|
+
}
|
|
2406
1763
|
},
|
|
2407
|
-
required: [
|
|
2408
|
-
|
|
1764
|
+
required: [
|
|
1765
|
+
'name'
|
|
1766
|
+
],
|
|
1767
|
+
type: 'object'
|
|
2409
1768
|
};
|
|
2410
1769
|
export const UpdateSessionRequestSchema = {
|
|
2411
|
-
description:
|
|
1770
|
+
description: 'UpdateSessionRequest schema',
|
|
2412
1771
|
properties: {
|
|
2413
1772
|
config: {
|
|
2414
1773
|
additionalProperties: {},
|
|
2415
1774
|
nullable: true,
|
|
2416
|
-
type:
|
|
1775
|
+
type: 'object'
|
|
2417
1776
|
},
|
|
2418
1777
|
status: {
|
|
2419
1778
|
nullable: true,
|
|
2420
|
-
type:
|
|
2421
|
-
}
|
|
1779
|
+
type: 'string'
|
|
1780
|
+
}
|
|
2422
1781
|
},
|
|
2423
|
-
type:
|
|
1782
|
+
type: 'object'
|
|
2424
1783
|
};
|
|
2425
1784
|
export const UserResponseSchema = {
|
|
2426
|
-
description:
|
|
1785
|
+
description: 'UserResponse schema',
|
|
2427
1786
|
properties: {
|
|
2428
1787
|
avatarUrl: {
|
|
2429
|
-
description:
|
|
1788
|
+
description: 'string schema',
|
|
2430
1789
|
nullable: true,
|
|
2431
|
-
type:
|
|
1790
|
+
type: 'string'
|
|
2432
1791
|
},
|
|
2433
1792
|
email: {
|
|
2434
|
-
type:
|
|
1793
|
+
type: 'string'
|
|
2435
1794
|
},
|
|
2436
1795
|
hasPassword: {
|
|
2437
|
-
type:
|
|
1796
|
+
type: 'boolean'
|
|
2438
1797
|
},
|
|
2439
1798
|
hashedEmail: {
|
|
2440
|
-
description:
|
|
1799
|
+
description: 'string schema',
|
|
2441
1800
|
nullable: true,
|
|
2442
|
-
type:
|
|
1801
|
+
type: 'string'
|
|
2443
1802
|
},
|
|
2444
1803
|
id: {
|
|
2445
|
-
type:
|
|
1804
|
+
type: 'string'
|
|
2446
1805
|
},
|
|
2447
1806
|
name: {
|
|
2448
|
-
description:
|
|
1807
|
+
description: 'string schema',
|
|
2449
1808
|
nullable: true,
|
|
2450
|
-
type:
|
|
2451
|
-
}
|
|
1809
|
+
type: 'string'
|
|
1810
|
+
}
|
|
2452
1811
|
},
|
|
2453
|
-
type:
|
|
1812
|
+
type: 'object'
|
|
2454
1813
|
};
|
|
2455
1814
|
export const boolSchema = {
|
|
2456
|
-
description:
|
|
1815
|
+
description: 'bool schema',
|
|
2457
1816
|
nullable: true,
|
|
2458
|
-
type:
|
|
1817
|
+
type: 'boolean'
|
|
2459
1818
|
};
|
|
2460
1819
|
export const stringSchema = {
|
|
2461
|
-
description:
|
|
2462
|
-
|
|
1820
|
+
description: 'string schema',
|
|
1821
|
+
nullable: true,
|
|
1822
|
+
type: 'string'
|
|
2463
1823
|
};
|
|
2464
1824
|
export const unknown_interfaceSchema = {
|
|
2465
|
-
description:
|
|
1825
|
+
description: 'unknown-interface schema'
|
|
2466
1826
|
};
|
|
2467
1827
|
//# sourceMappingURL=schemas.gen.js.map
|