mtmsdk 0.0.12 → 0.0.14
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/components/MustAdmin.d.ts +14 -0
- package/dist/components/MustAdmin.d.ts.map +1 -0
- package/dist/components/MustAdmin.js +37 -0
- package/dist/components/MustAdmin.js.map +1 -0
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +137 -2073
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +118 -2085
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/client/client.gen.d.ts +3 -0
- package/dist/gomtmapi/client/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2/client/client.js → gomtmapi/client/client.gen.js} +82 -23
- package/dist/gomtmapi/client/client.gen.js.map +1 -0
- package/dist/gomtmapi/client/index.d.ts +7 -7
- package/dist/gomtmapi/client/index.d.ts.map +1 -1
- package/dist/gomtmapi/client/index.js +5 -4
- package/dist/gomtmapi/client/index.js.map +1 -1
- package/dist/gomtmapi/client/{types.d.ts → types.gen.d.ts} +19 -14
- package/dist/gomtmapi/client/types.gen.d.ts.map +1 -0
- package/dist/gomtmapi/client/types.gen.js +3 -0
- package/dist/gomtmapi/client/types.gen.js.map +1 -0
- package/dist/gomtmapi/client/{utils.d.ts → utils.gen.d.ts} +9 -21
- package/dist/gomtmapi/client/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2/client/utils.js → gomtmapi/client/utils.gen.js} +56 -110
- package/dist/gomtmapi/client/utils.gen.js.map +1 -0
- package/dist/gomtmapi/client.gen.d.ts +3 -3
- package/dist/gomtmapi/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi/client.gen.js.map +1 -1
- package/dist/gomtmapi/core/{auth.d.ts → auth.gen.d.ts} +1 -1
- package/dist/gomtmapi/core/auth.gen.d.ts.map +1 -0
- package/dist/gomtmapi/core/{auth.js → auth.gen.js} +2 -1
- package/dist/gomtmapi/core/auth.gen.js.map +1 -0
- package/dist/{mtgate_api/core/bodySerializer.d.ts → gomtmapi/core/bodySerializer.gen.d.ts} +2 -2
- package/dist/gomtmapi/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{mtgate_api/core/bodySerializer.js → gomtmapi/core/bodySerializer.gen.js} +5 -1
- package/dist/gomtmapi/core/bodySerializer.gen.js.map +1 -0
- package/dist/{mtgate_api/core/params.d.ts → gomtmapi/core/params.gen.d.ts} +11 -1
- package/dist/gomtmapi/core/params.gen.d.ts.map +1 -0
- package/dist/gomtmapi/core/{params.js → params.gen.js} +2 -1
- package/dist/gomtmapi/core/params.gen.js.map +1 -0
- package/dist/{mtgate_api/core/pathSerializer.d.ts → gomtmapi/core/pathSerializer.gen.d.ts} +1 -1
- package/dist/gomtmapi/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/gomtmapi/core/{pathSerializer.js → pathSerializer.gen.js} +2 -1
- package/dist/gomtmapi/core/pathSerializer.gen.js.map +1 -0
- package/dist/gomtmapi/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/gomtmapi/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/gomtmapi/core/serverSentEvents.gen.js +136 -0
- package/dist/gomtmapi/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{mtgate_api/core/types.d.ts → gomtmapi/core/types.gen.d.ts} +20 -15
- package/dist/gomtmapi/core/types.gen.d.ts.map +1 -0
- package/dist/gomtmapi/core/types.gen.js +3 -0
- package/dist/gomtmapi/core/types.gen.js.map +1 -0
- package/dist/gomtmapi/core/utils.gen.d.ts +20 -0
- package/dist/gomtmapi/core/utils.gen.d.ts.map +1 -0
- package/dist/gomtmapi/core/utils.gen.js +88 -0
- package/dist/gomtmapi/core/utils.gen.js.map +1 -0
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +806 -3746
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +780 -3827
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +3 -306
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +53 -1338
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +1186 -5364
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/types.gen.js +8 -45
- package/dist/gomtmapi/types.gen.js.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +1371 -4628
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +565 -2224
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +286 -823
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +226 -787
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts +3 -0
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -0
- package/dist/{mtgate_api/client/client.js → gomtmapi_v2/client/client.gen.js} +82 -23
- package/dist/gomtmapi_v2/client/client.gen.js.map +1 -0
- package/dist/gomtmapi_v2/client/index.d.ts +7 -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/{mtgate_api/client/types.d.ts → gomtmapi_v2/client/types.gen.d.ts} +19 -14
- package/dist/gomtmapi_v2/client/types.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/client/types.gen.js +3 -0
- package/dist/gomtmapi_v2/client/types.gen.js.map +1 -0
- package/dist/{mtgate_api/client/utils.d.ts → gomtmapi_v2/client/utils.gen.d.ts} +9 -21
- package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi/client/utils.js → gomtmapi_v2/client/utils.gen.js} +56 -110
- package/dist/gomtmapi_v2/client/utils.gen.js.map +1 -0
- package/dist/gomtmapi_v2/client.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client.gen.js.map +1 -1
- package/dist/{mtmai_api/core/auth.d.ts → gomtmapi_v2/core/auth.gen.d.ts} +1 -1
- package/dist/gomtmapi_v2/core/auth.gen.d.ts.map +1 -0
- package/dist/{mtmai_api/core/auth.js → gomtmapi_v2/core/auth.gen.js} +2 -1
- package/dist/gomtmapi_v2/core/auth.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +2 -2
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi/core/bodySerializer.js → gomtmapi_v2/core/bodySerializer.gen.js} +5 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/{params.d.ts → params.gen.d.ts} +11 -1
- package/dist/gomtmapi_v2/core/params.gen.d.ts.map +1 -0
- package/dist/{mtgate_api/core/params.js → gomtmapi_v2/core/params.gen.js} +2 -1
- package/dist/gomtmapi_v2/core/params.gen.js.map +1 -0
- package/dist/{mtmai_api/core/pathSerializer.d.ts → gomtmapi_v2/core/pathSerializer.gen.d.ts} +1 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/{mtgate_api/core/pathSerializer.js → gomtmapi_v2/core/pathSerializer.gen.js} +2 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js +136 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{mtmai_api/core/types.d.ts → gomtmapi_v2/core/types.gen.d.ts} +20 -15
- package/dist/gomtmapi_v2/core/types.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/types.gen.js +3 -0
- package/dist/gomtmapi_v2/core/types.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/utils.gen.d.ts +20 -0
- package/dist/gomtmapi_v2/core/utils.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/utils.gen.js +88 -0
- package/dist/gomtmapi_v2/core/utils.gen.js.map +1 -0
- package/dist/gomtmapi_v2/index.d.ts +1 -1
- package/dist/gomtmapi_v2/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/index.js +0 -1
- package/dist/gomtmapi_v2/index.js.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts +317 -222
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.js +317 -222
- package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +142 -156
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +210 -233
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/gomtmapi_v2/types.gen.d.ts +188 -195
- package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts +474 -428
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.js +892 -1054
- package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
- package/dist/lib/adk-utils.d.ts +0 -5
- package/dist/lib/adk-utils.d.ts.map +1 -1
- package/dist/lib/adk-utils.js +31 -32
- package/dist/lib/adk-utils.js.map +1 -1
- package/dist/lib/auth-client.d.ts +5965 -0
- package/dist/lib/auth-client.d.ts.map +1 -0
- package/dist/lib/auth-client.js +29 -0
- package/dist/lib/auth-client.js.map +1 -0
- package/dist/lib/get-query-client.d.ts.map +1 -1
- package/dist/lib/get-query-client.js +1 -21
- package/dist/lib/get-query-client.js.map +1 -1
- package/dist/lib/mtgate_client_ss.d.ts +10 -0
- package/dist/lib/mtgate_client_ss.d.ts.map +1 -0
- package/dist/lib/mtgate_client_ss.js +24 -0
- package/dist/lib/mtgate_client_ss.js.map +1 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +367 -2123
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +142 -1018
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts +3 -0
- package/dist/mtgate_api/client/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi/client/client.js → mtgate_api/client/client.gen.js} +82 -23
- package/dist/mtgate_api/client/client.gen.js.map +1 -0
- package/dist/mtgate_api/client/index.d.ts +7 -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/{gomtmapi_v2/client/types.d.ts → mtgate_api/client/types.gen.d.ts} +19 -14
- package/dist/mtgate_api/client/types.gen.d.ts.map +1 -0
- package/dist/mtgate_api/client/types.gen.js +3 -0
- package/dist/mtgate_api/client/types.gen.js.map +1 -0
- package/dist/{mtmai_api/client/utils.d.ts → mtgate_api/client/utils.gen.d.ts} +9 -21
- package/dist/mtgate_api/client/utils.gen.d.ts.map +1 -0
- package/dist/mtgate_api/client/{utils.js → utils.gen.js} +56 -110
- package/dist/mtgate_api/client/utils.gen.js.map +1 -0
- package/dist/mtgate_api/client.gen.d.ts +3 -3
- package/dist/mtgate_api/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client.gen.js.map +1 -1
- package/dist/{gomtmapi_v2/core/auth.d.ts → mtgate_api/core/auth.gen.d.ts} +1 -1
- package/dist/mtgate_api/core/auth.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/{auth.js → auth.gen.js} +2 -1
- package/dist/mtgate_api/core/auth.gen.js.map +1 -0
- package/dist/{gomtmapi/core/bodySerializer.d.ts → mtgate_api/core/bodySerializer.gen.d.ts} +2 -2
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{mtmai_api/core/bodySerializer.js → mtgate_api/core/bodySerializer.gen.js} +5 -1
- package/dist/mtgate_api/core/bodySerializer.gen.js.map +1 -0
- package/dist/{mtmai_api/core/params.d.ts → mtgate_api/core/params.gen.d.ts} +11 -1
- package/dist/mtgate_api/core/params.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2/core/params.js → mtgate_api/core/params.gen.js} +2 -1
- package/dist/mtgate_api/core/params.gen.js.map +1 -0
- package/dist/{gomtmapi_v2/core/pathSerializer.d.ts → mtgate_api/core/pathSerializer.gen.d.ts} +1 -1
- package/dist/mtgate_api/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2/core/pathSerializer.js → mtgate_api/core/pathSerializer.gen.js} +2 -1
- package/dist/mtgate_api/core/pathSerializer.gen.js.map +1 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.js +136 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{gomtmapi/core/types.d.ts → mtgate_api/core/types.gen.d.ts} +20 -15
- package/dist/mtgate_api/core/types.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/types.gen.js +3 -0
- package/dist/mtgate_api/core/types.gen.js.map +1 -0
- package/dist/mtgate_api/core/utils.gen.d.ts +20 -0
- package/dist/mtgate_api/core/utils.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/utils.gen.js +88 -0
- package/dist/mtgate_api/core/utils.gen.js.map +1 -0
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +206 -289
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +230 -307
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +20 -43
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +88 -234
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +383 -862
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/types.gen.js.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +607 -978
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +718 -1215
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +115 -475
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.js +55 -423
- package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts +3 -0
- package/dist/mtmai_api/client/client.gen.d.ts.map +1 -0
- package/dist/mtmai_api/client/{client.js → client.gen.js} +82 -23
- package/dist/mtmai_api/client/client.gen.js.map +1 -0
- package/dist/mtmai_api/client/index.d.ts +7 -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.d.ts → types.gen.d.ts} +19 -14
- package/dist/mtmai_api/client/types.gen.d.ts.map +1 -0
- package/dist/mtmai_api/client/types.gen.js +3 -0
- package/dist/mtmai_api/client/types.gen.js.map +1 -0
- package/dist/{gomtmapi_v2/client/utils.d.ts → mtmai_api/client/utils.gen.d.ts} +9 -21
- package/dist/mtmai_api/client/utils.gen.d.ts.map +1 -0
- package/dist/mtmai_api/client/{utils.js → utils.gen.js} +56 -110
- package/dist/mtmai_api/client/utils.gen.js.map +1 -0
- package/dist/mtmai_api/client.gen.d.ts +3 -3
- package/dist/mtmai_api/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client.gen.js.map +1 -1
- package/dist/{mtgate_api/core/auth.d.ts → mtmai_api/core/auth.gen.d.ts} +1 -1
- package/dist/mtmai_api/core/auth.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2/core/auth.js → mtmai_api/core/auth.gen.js} +2 -1
- package/dist/mtmai_api/core/auth.gen.js.map +1 -0
- package/dist/mtmai_api/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +2 -2
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2/core/bodySerializer.js → mtmai_api/core/bodySerializer.gen.js} +5 -1
- package/dist/mtmai_api/core/bodySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi/core/params.d.ts → mtmai_api/core/params.gen.d.ts} +11 -1
- package/dist/mtmai_api/core/params.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/{params.js → params.gen.js} +2 -1
- package/dist/mtmai_api/core/params.gen.js.map +1 -0
- package/dist/{gomtmapi/core/pathSerializer.d.ts → mtmai_api/core/pathSerializer.gen.d.ts} +1 -1
- package/dist/mtmai_api/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/{pathSerializer.js → pathSerializer.gen.js} +2 -1
- package/dist/mtmai_api/core/pathSerializer.gen.js.map +1 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.js +136 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{gomtmapi_v2/core/types.d.ts → mtmai_api/core/types.gen.d.ts} +20 -15
- package/dist/mtmai_api/core/types.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/types.gen.js +3 -0
- package/dist/mtmai_api/core/types.gen.js.map +1 -0
- package/dist/mtmai_api/core/utils.gen.d.ts +20 -0
- package/dist/mtmai_api/core/utils.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/utils.gen.js +88 -0
- package/dist/mtmai_api/core/utils.gen.js.map +1 -0
- package/dist/mtmai_api/index.d.ts.map +1 -1
- package/dist/mtmai_api/index.js.map +1 -1
- package/dist/mtmai_api/schemas.gen.d.ts +447 -90
- package/dist/mtmai_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtmai_api/schemas.gen.js +561 -108
- package/dist/mtmai_api/schemas.gen.js.map +1 -1
- package/dist/mtmai_api/sdk.gen.d.ts +3 -8
- package/dist/mtmai_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtmai_api/sdk.gen.js +53 -67
- package/dist/mtmai_api/sdk.gen.js.map +1 -1
- package/dist/mtmai_api/types.gen.d.ts +420 -208
- package/dist/mtmai_api/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/types.gen.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +26092 -5524
- package/dist/mtmai_api/zod.gen.d.ts.map +1 -1
- package/dist/mtmai_api/zod.gen.js +1391 -1362
- package/dist/mtmai_api/zod.gen.js.map +1 -1
- package/dist/store/AuthProviders.d.ts +8 -0
- package/dist/store/AuthProviders.d.ts.map +1 -0
- package/dist/store/AuthProviders.js +34 -0
- package/dist/store/AuthProviders.js.map +1 -0
- package/dist/store/{ReactQueryApiV2Provider.d.ts → GomtmProvider.d.ts} +1 -1
- package/dist/store/GomtmProvider.d.ts.map +1 -0
- package/dist/store/{ReactQueryApiV2Provider.js → GomtmProvider.js} +2 -2
- package/dist/store/GomtmProvider.js.map +1 -0
- package/dist/store/{ReactQueryProvider.d.ts → GomtmV1Provider.d.ts} +1 -1
- package/dist/store/GomtmV1Provider.d.ts.map +1 -0
- package/dist/store/{ReactQueryProvider.js → GomtmV1Provider.js} +2 -2
- package/dist/store/GomtmV1Provider.js.map +1 -0
- package/dist/store/MtgateProvider.d.ts +6015 -0
- package/dist/store/MtgateProvider.d.ts.map +1 -0
- package/dist/store/MtgateProvider.js +76 -0
- package/dist/store/MtgateProvider.js.map +1 -0
- package/dist/store/MtmsdkProvider.d.ts.map +1 -1
- package/dist/store/MtmsdkProvider.js +9 -12
- package/dist/store/MtmsdkProvider.js.map +1 -1
- package/package.json +68 -72
- package/dist/gomtmapi/client/client.d.ts +0 -3
- package/dist/gomtmapi/client/client.d.ts.map +0 -1
- package/dist/gomtmapi/client/client.js.map +0 -1
- package/dist/gomtmapi/client/types.d.ts.map +0 -1
- package/dist/gomtmapi/client/types.js +0 -2
- package/dist/gomtmapi/client/types.js.map +0 -1
- package/dist/gomtmapi/client/utils.d.ts.map +0 -1
- package/dist/gomtmapi/client/utils.js.map +0 -1
- package/dist/gomtmapi/core/auth.d.ts.map +0 -1
- package/dist/gomtmapi/core/auth.js.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.d.ts.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.js.map +0 -1
- package/dist/gomtmapi/core/params.d.ts.map +0 -1
- package/dist/gomtmapi/core/params.js.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.d.ts.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.js.map +0 -1
- package/dist/gomtmapi/core/types.d.ts.map +0 -1
- package/dist/gomtmapi/core/types.js +0 -2
- package/dist/gomtmapi/core/types.js.map +0 -1
- package/dist/gomtmapi_v2/client/client.d.ts +0 -3
- package/dist/gomtmapi_v2/client/client.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/client.js.map +0 -1
- package/dist/gomtmapi_v2/client/types.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/types.js +0 -2
- package/dist/gomtmapi_v2/client/types.js.map +0 -1
- package/dist/gomtmapi_v2/client/utils.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/utils.js.map +0 -1
- package/dist/gomtmapi_v2/core/auth.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/auth.js.map +0 -1
- package/dist/gomtmapi_v2/core/bodySerializer.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/bodySerializer.js.map +0 -1
- package/dist/gomtmapi_v2/core/params.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/params.js.map +0 -1
- package/dist/gomtmapi_v2/core/pathSerializer.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/pathSerializer.js.map +0 -1
- package/dist/gomtmapi_v2/core/types.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/types.js +0 -2
- package/dist/gomtmapi_v2/core/types.js.map +0 -1
- package/dist/lib/ai-types.d.ts +0 -61
- package/dist/lib/ai-types.d.ts.map +0 -1
- package/dist/lib/ai-types.js +0 -15
- package/dist/lib/ai-types.js.map +0 -1
- package/dist/lib/constants.d.ts +0 -40
- package/dist/lib/constants.d.ts.map +0 -1
- package/dist/lib/constants.js +0 -40
- package/dist/lib/constants.js.map +0 -1
- package/dist/lib/d1-utils.d.ts +0 -5
- package/dist/lib/d1-utils.d.ts.map +0 -1
- package/dist/lib/d1-utils.js +0 -36
- package/dist/lib/d1-utils.js.map +0 -1
- package/dist/lib/mtmutils.d.ts +0 -2
- package/dist/lib/mtmutils.d.ts.map +0 -1
- package/dist/lib/mtmutils.js +0 -9
- package/dist/lib/mtmutils.js.map +0 -1
- package/dist/mtgate_api/client/client.d.ts +0 -3
- package/dist/mtgate_api/client/client.d.ts.map +0 -1
- package/dist/mtgate_api/client/client.js.map +0 -1
- package/dist/mtgate_api/client/types.d.ts.map +0 -1
- package/dist/mtgate_api/client/types.js +0 -2
- package/dist/mtgate_api/client/types.js.map +0 -1
- package/dist/mtgate_api/client/utils.d.ts.map +0 -1
- package/dist/mtgate_api/client/utils.js.map +0 -1
- package/dist/mtgate_api/core/auth.d.ts.map +0 -1
- package/dist/mtgate_api/core/auth.js.map +0 -1
- package/dist/mtgate_api/core/bodySerializer.d.ts.map +0 -1
- package/dist/mtgate_api/core/bodySerializer.js.map +0 -1
- package/dist/mtgate_api/core/params.d.ts.map +0 -1
- package/dist/mtgate_api/core/params.js.map +0 -1
- package/dist/mtgate_api/core/pathSerializer.d.ts.map +0 -1
- package/dist/mtgate_api/core/pathSerializer.js.map +0 -1
- package/dist/mtgate_api/core/types.d.ts.map +0 -1
- package/dist/mtgate_api/core/types.js +0 -2
- package/dist/mtgate_api/core/types.js.map +0 -1
- package/dist/mtmai_api/client/client.d.ts +0 -3
- package/dist/mtmai_api/client/client.d.ts.map +0 -1
- package/dist/mtmai_api/client/client.js.map +0 -1
- package/dist/mtmai_api/client/types.d.ts.map +0 -1
- package/dist/mtmai_api/client/types.js +0 -2
- package/dist/mtmai_api/client/types.js.map +0 -1
- package/dist/mtmai_api/client/utils.d.ts.map +0 -1
- package/dist/mtmai_api/client/utils.js.map +0 -1
- package/dist/mtmai_api/core/auth.d.ts.map +0 -1
- package/dist/mtmai_api/core/auth.js.map +0 -1
- package/dist/mtmai_api/core/bodySerializer.d.ts.map +0 -1
- package/dist/mtmai_api/core/bodySerializer.js.map +0 -1
- package/dist/mtmai_api/core/params.d.ts.map +0 -1
- package/dist/mtmai_api/core/params.js.map +0 -1
- package/dist/mtmai_api/core/pathSerializer.d.ts.map +0 -1
- package/dist/mtmai_api/core/pathSerializer.js.map +0 -1
- package/dist/mtmai_api/core/types.d.ts.map +0 -1
- package/dist/mtmai_api/core/types.js +0 -2
- package/dist/mtmai_api/core/types.js.map +0 -1
- package/dist/store/ReactQueryApiV2Provider.d.ts.map +0 -1
- package/dist/store/ReactQueryApiV2Provider.js.map +0 -1
- package/dist/store/ReactQueryCfApiProvider.d.ts +0 -9
- package/dist/store/ReactQueryCfApiProvider.d.ts.map +0 -1
- package/dist/store/ReactQueryCfApiProvider.js +0 -26
- package/dist/store/ReactQueryCfApiProvider.js.map +0 -1
- package/dist/store/ReactQueryProvider.d.ts.map +0 -1
- package/dist/store/ReactQueryProvider.js.map +0 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: "https://mtgate-3.yuepa8.com" | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type Agent = {
|
|
2
5
|
id: string;
|
|
3
6
|
createdAt: string;
|
|
4
7
|
updatedAt: string;
|
|
5
8
|
deletedAt?: string;
|
|
6
|
-
|
|
9
|
+
organizationId: string;
|
|
7
10
|
name: string;
|
|
8
11
|
description?: string;
|
|
9
12
|
status: string;
|
|
@@ -31,7 +34,7 @@ export type AgentCreateRequest = {
|
|
|
31
34
|
state?: {
|
|
32
35
|
[key: string]: unknown;
|
|
33
36
|
};
|
|
34
|
-
|
|
37
|
+
organizationId: string;
|
|
35
38
|
};
|
|
36
39
|
export type AgentChatbotUpdateBodyConfig = {
|
|
37
40
|
name?: string;
|
|
@@ -56,16 +59,15 @@ export type AgentHandlerInfo = {
|
|
|
56
59
|
/**
|
|
57
60
|
* Agent state
|
|
58
61
|
*/
|
|
59
|
-
state
|
|
62
|
+
state: string;
|
|
60
63
|
};
|
|
61
64
|
export type ApiError = {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
docs_link?: string;
|
|
65
|
+
error: {
|
|
66
|
+
code?: "VALIDATION_ERROR" | "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "INTERNAL_ERROR" | "CONFLICT" | "BAD_REQUEST" | "UNPROCESSABLE_ENTITY";
|
|
67
|
+
message: string;
|
|
68
|
+
details?: string;
|
|
69
|
+
field?: string;
|
|
70
|
+
};
|
|
69
71
|
};
|
|
70
72
|
export type AgentHandlerGetInfoBody = {
|
|
71
73
|
/**
|
|
@@ -73,56 +75,49 @@ export type AgentHandlerGetInfoBody = {
|
|
|
73
75
|
*/
|
|
74
76
|
agentId: string;
|
|
75
77
|
};
|
|
76
|
-
export type
|
|
77
|
-
email: string;
|
|
78
|
-
password: string;
|
|
79
|
-
name: string;
|
|
80
|
-
};
|
|
81
|
-
export type User = {
|
|
78
|
+
export type BrowserGetResponse = {
|
|
82
79
|
id: string;
|
|
83
|
-
|
|
84
|
-
name
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
organizationId: string;
|
|
81
|
+
name: string;
|
|
82
|
+
description?: string;
|
|
83
|
+
url: string;
|
|
84
|
+
properties?: {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
tags?: Array<string>;
|
|
88
|
+
lastUsedAt?: string;
|
|
89
|
+
createdAt: string;
|
|
90
|
+
updatedAt: string;
|
|
91
|
+
platformId?: string;
|
|
92
|
+
autoLoginScript?: string;
|
|
93
|
+
sessionData?: {
|
|
94
|
+
[key: string]: unknown;
|
|
95
|
+
};
|
|
87
96
|
};
|
|
88
|
-
export type
|
|
89
|
-
|
|
90
|
-
id: string;
|
|
91
|
-
email: string;
|
|
92
|
-
emailVerified: boolean;
|
|
93
|
-
name?: string;
|
|
94
|
-
role: "ADMIN" | "USER" | "GUEST";
|
|
95
|
-
createdAt: string;
|
|
96
|
-
updatedAt: string;
|
|
97
|
-
}>;
|
|
97
|
+
export type BrowserListResponse = {
|
|
98
|
+
browsers: Array<BrowserGetResponse>;
|
|
98
99
|
total: number;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
email: string;
|
|
104
|
-
password: string;
|
|
105
|
-
name?: string;
|
|
106
|
-
role?: "ADMIN" | "USER" | "GUEST";
|
|
107
|
-
};
|
|
108
|
-
export type UserUpdateResponse = {
|
|
109
|
-
id: string;
|
|
110
|
-
email: string;
|
|
111
|
-
emailVerified: boolean;
|
|
112
|
-
name?: string;
|
|
113
|
-
role: "ADMIN" | "USER" | "GUEST";
|
|
114
|
-
metadata: {
|
|
115
|
-
id: string;
|
|
116
|
-
createdAt: string;
|
|
117
|
-
updatedAt: string;
|
|
100
|
+
pagination?: {
|
|
101
|
+
limit: number;
|
|
102
|
+
offset: number;
|
|
103
|
+
total_count: number;
|
|
118
104
|
};
|
|
119
105
|
};
|
|
120
|
-
export type
|
|
121
|
-
id: string;
|
|
106
|
+
export type BrowserUpsertRequest = {
|
|
122
107
|
name: string;
|
|
123
|
-
|
|
108
|
+
description?: string;
|
|
109
|
+
url: string;
|
|
110
|
+
properties?: {
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
};
|
|
113
|
+
tags?: Array<string>;
|
|
114
|
+
platformId?: string;
|
|
115
|
+
autoLoginScript?: string;
|
|
116
|
+
sessionData?: {
|
|
117
|
+
[key: string]: unknown;
|
|
118
|
+
};
|
|
124
119
|
};
|
|
125
|
-
export type
|
|
120
|
+
export type ApiCommonDelete = {
|
|
126
121
|
id?: string;
|
|
127
122
|
message?: string;
|
|
128
123
|
};
|
|
@@ -158,8 +153,8 @@ export type Sandbox = {
|
|
|
158
153
|
id: string;
|
|
159
154
|
createdAt: string;
|
|
160
155
|
updatedAt: string;
|
|
161
|
-
deletedAt?: string;
|
|
162
|
-
|
|
156
|
+
deletedAt?: string | null;
|
|
157
|
+
organizationId: string;
|
|
163
158
|
name: string;
|
|
164
159
|
description: string;
|
|
165
160
|
deployType: string;
|
|
@@ -183,51 +178,6 @@ export type SandboxStart = {
|
|
|
183
178
|
message: string;
|
|
184
179
|
serviceId: string;
|
|
185
180
|
};
|
|
186
|
-
export type Api401Response = {
|
|
187
|
-
message?: string;
|
|
188
|
-
};
|
|
189
|
-
export type Api403Response = {
|
|
190
|
-
message?: string;
|
|
191
|
-
};
|
|
192
|
-
export type Chatbot = {
|
|
193
|
-
id: string;
|
|
194
|
-
title: string;
|
|
195
|
-
description: string | null;
|
|
196
|
-
config?: unknown;
|
|
197
|
-
state?: unknown;
|
|
198
|
-
};
|
|
199
|
-
export type ChatbotListResponse = {
|
|
200
|
-
rows: Array<Chatbot>;
|
|
201
|
-
total: number;
|
|
202
|
-
};
|
|
203
|
-
export type BlogPostsList = {
|
|
204
|
-
posts: Array<{
|
|
205
|
-
id: string;
|
|
206
|
-
state: string;
|
|
207
|
-
publishDate?: string;
|
|
208
|
-
content: string;
|
|
209
|
-
tenantId: string;
|
|
210
|
-
authorId: string;
|
|
211
|
-
siteId: string;
|
|
212
|
-
title?: string;
|
|
213
|
-
description?: string;
|
|
214
|
-
parentPostId?: string;
|
|
215
|
-
releaseId?: string;
|
|
216
|
-
releaseURL?: string;
|
|
217
|
-
settings?: string;
|
|
218
|
-
image?: string;
|
|
219
|
-
lastMessageId?: string;
|
|
220
|
-
error?: string;
|
|
221
|
-
createdAt: string;
|
|
222
|
-
updatedAt: string;
|
|
223
|
-
deletedAt?: string;
|
|
224
|
-
status: string;
|
|
225
|
-
slug: string;
|
|
226
|
-
}>;
|
|
227
|
-
total: number;
|
|
228
|
-
limit: number;
|
|
229
|
-
offset: number;
|
|
230
|
-
};
|
|
231
181
|
/**
|
|
232
182
|
* 导航菜单项
|
|
233
183
|
*/
|
|
@@ -252,6 +202,10 @@ export type NavItem = {
|
|
|
252
202
|
* 是否仅在调试模式下显示
|
|
253
203
|
*/
|
|
254
204
|
debugOnly?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* 允许访问此菜单项的角色列表
|
|
207
|
+
*/
|
|
208
|
+
roles?: Array<string>;
|
|
255
209
|
/**
|
|
256
210
|
* 子菜单项
|
|
257
211
|
*/
|
|
@@ -295,6 +249,25 @@ export type GomtmConfig = {
|
|
|
295
249
|
helloOnionWeb?: HelloOnionWebService;
|
|
296
250
|
mainApi?: MainApiService;
|
|
297
251
|
};
|
|
252
|
+
export type Site = {
|
|
253
|
+
id: string;
|
|
254
|
+
title: string;
|
|
255
|
+
description?: string;
|
|
256
|
+
organizationId: string;
|
|
257
|
+
enabled: boolean;
|
|
258
|
+
createdAt: string;
|
|
259
|
+
updatedAt: string;
|
|
260
|
+
state?: {
|
|
261
|
+
[key: string]: unknown;
|
|
262
|
+
};
|
|
263
|
+
automationEnabled: boolean;
|
|
264
|
+
};
|
|
265
|
+
export type SiteList = {
|
|
266
|
+
sites: Array<Site>;
|
|
267
|
+
total: number;
|
|
268
|
+
limit: number;
|
|
269
|
+
offset: number;
|
|
270
|
+
};
|
|
298
271
|
export type SiteCreateRequest = {
|
|
299
272
|
title: string;
|
|
300
273
|
description?: string;
|
|
@@ -303,8 +276,10 @@ export type SiteCreateRequest = {
|
|
|
303
276
|
state?: {
|
|
304
277
|
[key: string]: unknown;
|
|
305
278
|
};
|
|
279
|
+
organizationId: string;
|
|
306
280
|
};
|
|
307
281
|
export type SiteUpdateRequest = {
|
|
282
|
+
id: string;
|
|
308
283
|
title?: string;
|
|
309
284
|
description?: string;
|
|
310
285
|
enabled?: boolean;
|
|
@@ -312,6 +287,7 @@ export type SiteUpdateRequest = {
|
|
|
312
287
|
state?: {
|
|
313
288
|
[key: string]: unknown;
|
|
314
289
|
};
|
|
290
|
+
tenantId: string;
|
|
315
291
|
};
|
|
316
292
|
export type BlogPost = {
|
|
317
293
|
id: string;
|
|
@@ -336,7 +312,13 @@ export type BlogPost = {
|
|
|
336
312
|
lastMessageId?: string;
|
|
337
313
|
error?: string;
|
|
338
314
|
};
|
|
339
|
-
export type
|
|
315
|
+
export type BlogPostList = {
|
|
316
|
+
posts: Array<BlogPost>;
|
|
317
|
+
total: number;
|
|
318
|
+
limit: number;
|
|
319
|
+
offset: number;
|
|
320
|
+
};
|
|
321
|
+
export type BlogPostCreate = {
|
|
340
322
|
title?: string;
|
|
341
323
|
content: string;
|
|
342
324
|
description?: string;
|
|
@@ -348,7 +330,7 @@ export type BlogPostCreateRequest = {
|
|
|
348
330
|
image?: string;
|
|
349
331
|
settings?: string;
|
|
350
332
|
};
|
|
351
|
-
export type
|
|
333
|
+
export type BlogPostUpdate = {
|
|
352
334
|
title?: string;
|
|
353
335
|
content?: string;
|
|
354
336
|
description?: string;
|
|
@@ -501,7 +483,6 @@ export type Message = {
|
|
|
501
483
|
[key: string]: unknown;
|
|
502
484
|
};
|
|
503
485
|
};
|
|
504
|
-
export type TaskState = "submitted" | "running" | "completed" | "failed" | "cancelled";
|
|
505
486
|
export declare const TaskState: {
|
|
506
487
|
readonly SUBMITTED: "submitted";
|
|
507
488
|
readonly RUNNING: "running";
|
|
@@ -509,6 +490,7 @@ export declare const TaskState: {
|
|
|
509
490
|
readonly FAILED: "failed";
|
|
510
491
|
readonly CANCELLED: "cancelled";
|
|
511
492
|
};
|
|
493
|
+
export type TaskState = (typeof TaskState)[keyof typeof TaskState];
|
|
512
494
|
export type TaskStatus = {
|
|
513
495
|
message?: Message;
|
|
514
496
|
state: TaskState;
|
|
@@ -563,7 +545,7 @@ export type AgentChatbotListData = {
|
|
|
563
545
|
body?: never;
|
|
564
546
|
path?: never;
|
|
565
547
|
query?: {
|
|
566
|
-
|
|
548
|
+
organizationId?: string;
|
|
567
549
|
limit?: number;
|
|
568
550
|
offset?: number | null;
|
|
569
551
|
};
|
|
@@ -638,7 +620,7 @@ export type WorkerAgentStartNapcatData = {
|
|
|
638
620
|
body?: never;
|
|
639
621
|
path?: never;
|
|
640
622
|
query?: {
|
|
641
|
-
|
|
623
|
+
organizationId?: string;
|
|
642
624
|
limit?: number;
|
|
643
625
|
offset?: number | null;
|
|
644
626
|
};
|
|
@@ -659,13 +641,11 @@ export type AgentHandlerGetInfoData = {
|
|
|
659
641
|
};
|
|
660
642
|
export type AgentHandlerGetInfoErrors = {
|
|
661
643
|
/**
|
|
662
|
-
*
|
|
644
|
+
* Not Found - 资源不存在
|
|
663
645
|
*/
|
|
664
|
-
404:
|
|
665
|
-
[key: string]: unknown;
|
|
666
|
-
};
|
|
646
|
+
404: ApiError;
|
|
667
647
|
/**
|
|
668
|
-
* Internal
|
|
648
|
+
* Internal Server Error - 内部服务器错误
|
|
669
649
|
*/
|
|
670
650
|
500: ApiError;
|
|
671
651
|
};
|
|
@@ -686,7 +666,7 @@ export type A2aGetAgentCardData = {
|
|
|
686
666
|
agent: string;
|
|
687
667
|
};
|
|
688
668
|
query?: never;
|
|
689
|
-
url: "/api/cf/agents/{agent}/.well-known/agent-card.json";
|
|
669
|
+
url: "/api/cf/agents/a2a/{agent}/.well-known/agent-card.json";
|
|
690
670
|
};
|
|
691
671
|
export type A2aGetAgentCardErrors = {
|
|
692
672
|
/**
|
|
@@ -715,11 +695,11 @@ export type A2aRpcData = {
|
|
|
715
695
|
agent: string;
|
|
716
696
|
};
|
|
717
697
|
query?: never;
|
|
718
|
-
url: "/api/cf/agents/{agent}";
|
|
698
|
+
url: "/api/cf/agents/a2a/{agent}";
|
|
719
699
|
};
|
|
720
700
|
export type A2aRpcErrors = {
|
|
721
701
|
/**
|
|
722
|
-
* Internal
|
|
702
|
+
* Internal Server Error - 内部服务器错误
|
|
723
703
|
*/
|
|
724
704
|
500: ApiError;
|
|
725
705
|
};
|
|
@@ -730,292 +710,117 @@ export type A2aRpcResponses = {
|
|
|
730
710
|
*/
|
|
731
711
|
200: unknown;
|
|
732
712
|
};
|
|
733
|
-
export type
|
|
734
|
-
body?: {
|
|
735
|
-
/**
|
|
736
|
-
* 用户邮箱
|
|
737
|
-
*/
|
|
738
|
-
email: string;
|
|
739
|
-
/**
|
|
740
|
-
* 用户密码
|
|
741
|
-
*/
|
|
742
|
-
password: string;
|
|
743
|
-
/**
|
|
744
|
-
* 用户全名
|
|
745
|
-
*/
|
|
746
|
-
full_name: string;
|
|
747
|
-
};
|
|
748
|
-
path?: never;
|
|
749
|
-
query?: never;
|
|
750
|
-
url: "/api/cf/mtmai-demo";
|
|
751
|
-
};
|
|
752
|
-
export type AgentsMtmaiDemoErrors = {
|
|
753
|
-
/**
|
|
754
|
-
* 请求参数错误
|
|
755
|
-
*/
|
|
756
|
-
400: {
|
|
757
|
-
error: string;
|
|
758
|
-
};
|
|
759
|
-
/**
|
|
760
|
-
* Internal server error
|
|
761
|
-
*/
|
|
762
|
-
500: ApiError;
|
|
763
|
-
};
|
|
764
|
-
export type AgentsMtmaiDemoError = AgentsMtmaiDemoErrors[keyof AgentsMtmaiDemoErrors];
|
|
765
|
-
export type AgentsMtmaiDemoResponses = {
|
|
766
|
-
/**
|
|
767
|
-
* 成功调用mtmai demo
|
|
768
|
-
*/
|
|
769
|
-
200: {
|
|
770
|
-
/**
|
|
771
|
-
* 操作结果消息
|
|
772
|
-
*/
|
|
773
|
-
message: string;
|
|
774
|
-
/**
|
|
775
|
-
* 操作是否成功
|
|
776
|
-
*/
|
|
777
|
-
success: boolean;
|
|
778
|
-
};
|
|
779
|
-
};
|
|
780
|
-
export type AgentsMtmaiDemoResponse = AgentsMtmaiDemoResponses[keyof AgentsMtmaiDemoResponses];
|
|
781
|
-
export type AuthRegisterData = {
|
|
782
|
-
body?: RegisterInput;
|
|
783
|
-
path?: never;
|
|
784
|
-
query?: never;
|
|
785
|
-
url: "/api/cf/auth/register";
|
|
786
|
-
};
|
|
787
|
-
export type AuthRegisterResponses = {
|
|
788
|
-
/**
|
|
789
|
-
* 注册结果
|
|
790
|
-
*/
|
|
791
|
-
200: {
|
|
792
|
-
success: boolean;
|
|
793
|
-
message?: string;
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
export type AuthRegisterResponse = AuthRegisterResponses[keyof AuthRegisterResponses];
|
|
797
|
-
export type AuthLoginData = {
|
|
798
|
-
body?: {
|
|
799
|
-
email: string;
|
|
800
|
-
password: string;
|
|
801
|
-
};
|
|
802
|
-
path?: never;
|
|
803
|
-
query?: never;
|
|
804
|
-
url: "/api/cf/auth/login";
|
|
805
|
-
};
|
|
806
|
-
export type AuthLoginResponses = {
|
|
807
|
-
/**
|
|
808
|
-
* 登录结果
|
|
809
|
-
*/
|
|
810
|
-
200: {
|
|
811
|
-
success: boolean;
|
|
812
|
-
user?: User;
|
|
813
|
-
token?: string;
|
|
814
|
-
message?: string;
|
|
815
|
-
};
|
|
816
|
-
};
|
|
817
|
-
export type AuthLoginResponse = AuthLoginResponses[keyof AuthLoginResponses];
|
|
818
|
-
export type AuthVerifyData = {
|
|
819
|
-
body?: {
|
|
820
|
-
token: string;
|
|
821
|
-
};
|
|
822
|
-
path?: never;
|
|
823
|
-
query?: never;
|
|
824
|
-
url: "/api/cf/auth/verify";
|
|
825
|
-
};
|
|
826
|
-
export type AuthVerifyResponses = {
|
|
827
|
-
/**
|
|
828
|
-
* 验证结果
|
|
829
|
-
*/
|
|
830
|
-
200: {
|
|
831
|
-
valid: boolean;
|
|
832
|
-
user?: User;
|
|
833
|
-
};
|
|
834
|
-
};
|
|
835
|
-
export type AuthVerifyResponse = AuthVerifyResponses[keyof AuthVerifyResponses];
|
|
836
|
-
export type AuthSessionData = {
|
|
837
|
-
body?: never;
|
|
838
|
-
path?: never;
|
|
839
|
-
query?: never;
|
|
840
|
-
url: "/api/cf/auth/session";
|
|
841
|
-
};
|
|
842
|
-
export type AuthSessionResponses = {
|
|
843
|
-
/**
|
|
844
|
-
* 获取当前用户会话信息,包含用户ID和租户ID。如果用户未登录,则返回空对象。
|
|
845
|
-
*/
|
|
846
|
-
200: {
|
|
847
|
-
uid?: string;
|
|
848
|
-
tid?: string;
|
|
849
|
-
user?: User;
|
|
850
|
-
};
|
|
851
|
-
};
|
|
852
|
-
export type AuthSessionResponse = AuthSessionResponses[keyof AuthSessionResponses];
|
|
853
|
-
export type UsersListData = {
|
|
713
|
+
export type BrowsersListData = {
|
|
854
714
|
body?: never;
|
|
855
715
|
path?: never;
|
|
856
716
|
query?: {
|
|
857
717
|
search?: string;
|
|
858
718
|
limit?: number;
|
|
859
719
|
offset?: number | null;
|
|
720
|
+
platformId?: string;
|
|
860
721
|
};
|
|
861
|
-
url: "/api/cf/
|
|
722
|
+
url: "/api/cf/browsers";
|
|
862
723
|
};
|
|
863
|
-
export type
|
|
724
|
+
export type BrowsersListErrors = {
|
|
864
725
|
/**
|
|
865
|
-
*
|
|
726
|
+
* Bad Request - 请求参数错误
|
|
866
727
|
*/
|
|
867
|
-
|
|
728
|
+
400: ApiError;
|
|
868
729
|
};
|
|
869
|
-
export type
|
|
870
|
-
export type
|
|
730
|
+
export type BrowsersListError = BrowsersListErrors[keyof BrowsersListErrors];
|
|
731
|
+
export type BrowsersListResponses = {
|
|
871
732
|
/**
|
|
872
|
-
*
|
|
733
|
+
* Retrieve the browsers list
|
|
873
734
|
*/
|
|
874
|
-
200:
|
|
735
|
+
200: BrowserListResponse;
|
|
875
736
|
};
|
|
876
|
-
export type
|
|
877
|
-
export type
|
|
878
|
-
body?:
|
|
737
|
+
export type BrowsersListResponse = BrowsersListResponses[keyof BrowsersListResponses];
|
|
738
|
+
export type BrowsersCreateData = {
|
|
739
|
+
body?: BrowserUpsertRequest;
|
|
879
740
|
path?: never;
|
|
880
741
|
query?: never;
|
|
881
|
-
url: "/api/cf/
|
|
742
|
+
url: "/api/cf/browsers";
|
|
882
743
|
};
|
|
883
|
-
export type
|
|
744
|
+
export type BrowsersCreateErrors = {
|
|
884
745
|
/**
|
|
885
|
-
* Bad
|
|
746
|
+
* Bad Request - 请求参数错误
|
|
886
747
|
*/
|
|
887
748
|
400: ApiError;
|
|
888
749
|
};
|
|
889
|
-
export type
|
|
890
|
-
export type
|
|
750
|
+
export type BrowsersCreateError = BrowsersCreateErrors[keyof BrowsersCreateErrors];
|
|
751
|
+
export type BrowsersCreateResponses = {
|
|
891
752
|
/**
|
|
892
|
-
*
|
|
753
|
+
* Browser created successfully
|
|
893
754
|
*/
|
|
894
|
-
201:
|
|
895
|
-
id: string;
|
|
896
|
-
email: string;
|
|
897
|
-
emailVerified: boolean;
|
|
898
|
-
name?: string;
|
|
899
|
-
role: "ADMIN" | "USER" | "GUEST";
|
|
900
|
-
metadata: {
|
|
901
|
-
id: string;
|
|
902
|
-
createdAt: string;
|
|
903
|
-
updatedAt: string;
|
|
904
|
-
};
|
|
905
|
-
};
|
|
755
|
+
201: BrowserGetResponse;
|
|
906
756
|
};
|
|
907
|
-
export type
|
|
908
|
-
export type
|
|
757
|
+
export type BrowsersCreateResponse = BrowsersCreateResponses[keyof BrowsersCreateResponses];
|
|
758
|
+
export type BrowsersDeleteData = {
|
|
909
759
|
body?: never;
|
|
910
760
|
path: {
|
|
911
|
-
|
|
761
|
+
browserId: string;
|
|
912
762
|
};
|
|
913
763
|
query?: never;
|
|
914
|
-
url: "/api/cf/
|
|
764
|
+
url: "/api/cf/browsers/{browserId}";
|
|
915
765
|
};
|
|
916
|
-
export type
|
|
766
|
+
export type BrowsersDeleteErrors = {
|
|
917
767
|
/**
|
|
918
|
-
*
|
|
768
|
+
* Bad Request - 请求参数错误
|
|
919
769
|
*/
|
|
920
|
-
|
|
921
|
-
error: string;
|
|
922
|
-
};
|
|
770
|
+
400: ApiError;
|
|
923
771
|
};
|
|
924
|
-
export type
|
|
925
|
-
export type
|
|
772
|
+
export type BrowsersDeleteError = BrowsersDeleteErrors[keyof BrowsersDeleteErrors];
|
|
773
|
+
export type BrowsersDeleteResponses = {
|
|
926
774
|
/**
|
|
927
|
-
*
|
|
775
|
+
* Delete the browser
|
|
928
776
|
*/
|
|
929
|
-
|
|
777
|
+
200: BrowserGetResponse;
|
|
930
778
|
};
|
|
931
|
-
export type
|
|
932
|
-
export type
|
|
779
|
+
export type BrowsersDeleteResponse = BrowsersDeleteResponses[keyof BrowsersDeleteResponses];
|
|
780
|
+
export type BrowsersGetData = {
|
|
933
781
|
body?: never;
|
|
934
782
|
path: {
|
|
935
|
-
|
|
783
|
+
browserId: string;
|
|
936
784
|
};
|
|
937
785
|
query?: never;
|
|
938
|
-
url: "/api/cf/
|
|
786
|
+
url: "/api/cf/browsers/{browserId}";
|
|
939
787
|
};
|
|
940
|
-
export type
|
|
941
|
-
/**
|
|
942
|
-
* 用户不存在
|
|
943
|
-
*/
|
|
944
|
-
404: {
|
|
945
|
-
error: string;
|
|
946
|
-
};
|
|
788
|
+
export type BrowsersGetErrors = {
|
|
947
789
|
/**
|
|
948
|
-
*
|
|
790
|
+
* Bad Request - 请求参数错误
|
|
949
791
|
*/
|
|
950
|
-
|
|
792
|
+
400: ApiError;
|
|
951
793
|
};
|
|
952
|
-
export type
|
|
953
|
-
export type
|
|
794
|
+
export type BrowsersGetError = BrowsersGetErrors[keyof BrowsersGetErrors];
|
|
795
|
+
export type BrowsersGetResponses = {
|
|
954
796
|
/**
|
|
955
|
-
*
|
|
797
|
+
* Retrieve browser details
|
|
956
798
|
*/
|
|
957
|
-
200:
|
|
958
|
-
id: string;
|
|
959
|
-
email: string;
|
|
960
|
-
emailVerified: boolean;
|
|
961
|
-
name?: string;
|
|
962
|
-
role: "ADMIN" | "USER" | "GUEST";
|
|
963
|
-
metadata: {
|
|
964
|
-
id: string;
|
|
965
|
-
createdAt: string;
|
|
966
|
-
updatedAt: string;
|
|
967
|
-
};
|
|
968
|
-
};
|
|
799
|
+
200: BrowserGetResponse;
|
|
969
800
|
};
|
|
970
|
-
export type
|
|
971
|
-
export type
|
|
972
|
-
body?:
|
|
973
|
-
email?: string;
|
|
974
|
-
name?: string;
|
|
975
|
-
role?: "ADMIN" | "USER" | "GUEST";
|
|
976
|
-
password?: string;
|
|
977
|
-
};
|
|
801
|
+
export type BrowsersGetResponse = BrowsersGetResponses[keyof BrowsersGetResponses];
|
|
802
|
+
export type BrowsersUpdateData = {
|
|
803
|
+
body?: BrowserUpsertRequest;
|
|
978
804
|
path: {
|
|
979
|
-
|
|
805
|
+
browserId: string;
|
|
980
806
|
};
|
|
981
807
|
query?: never;
|
|
982
|
-
url: "/api/cf/
|
|
983
|
-
};
|
|
984
|
-
export type UsersUpdateErrors = {
|
|
985
|
-
/**
|
|
986
|
-
* 请求参数错误
|
|
987
|
-
*/
|
|
988
|
-
400: {
|
|
989
|
-
error: string;
|
|
990
|
-
};
|
|
991
|
-
/**
|
|
992
|
-
* 用户不存在
|
|
993
|
-
*/
|
|
994
|
-
404: {
|
|
995
|
-
error: string;
|
|
996
|
-
};
|
|
808
|
+
url: "/api/cf/browsers/{browserId}";
|
|
997
809
|
};
|
|
998
|
-
export type
|
|
999
|
-
export type UsersUpdateResponses = {
|
|
810
|
+
export type BrowsersUpdateErrors = {
|
|
1000
811
|
/**
|
|
1001
|
-
*
|
|
812
|
+
* Bad Request - 请求参数错误
|
|
1002
813
|
*/
|
|
1003
|
-
|
|
1004
|
-
};
|
|
1005
|
-
export type UsersUpdateResponse = UsersUpdateResponses[keyof UsersUpdateResponses];
|
|
1006
|
-
export type SysConfigGetData = {
|
|
1007
|
-
body?: never;
|
|
1008
|
-
path?: never;
|
|
1009
|
-
query?: never;
|
|
1010
|
-
url: "/api/cf/sysconfig";
|
|
814
|
+
400: ApiError;
|
|
1011
815
|
};
|
|
1012
|
-
export type
|
|
816
|
+
export type BrowsersUpdateError = BrowsersUpdateErrors[keyof BrowsersUpdateErrors];
|
|
817
|
+
export type BrowsersUpdateResponses = {
|
|
1013
818
|
/**
|
|
1014
|
-
*
|
|
819
|
+
* Browser updated successfully
|
|
1015
820
|
*/
|
|
1016
|
-
200:
|
|
821
|
+
200: BrowserGetResponse;
|
|
1017
822
|
};
|
|
1018
|
-
export type
|
|
823
|
+
export type BrowsersUpdateResponse = BrowsersUpdateResponses[keyof BrowsersUpdateResponses];
|
|
1019
824
|
export type PAccountsListData = {
|
|
1020
825
|
body?: never;
|
|
1021
826
|
path?: never;
|
|
@@ -1081,11 +886,9 @@ export type PAccountsCreateData = {
|
|
|
1081
886
|
};
|
|
1082
887
|
export type PAccountsCreateErrors = {
|
|
1083
888
|
/**
|
|
1084
|
-
*
|
|
889
|
+
* Not Found - 资源不存在
|
|
1085
890
|
*/
|
|
1086
|
-
404:
|
|
1087
|
-
[key: string]: unknown;
|
|
1088
|
-
};
|
|
891
|
+
404: ApiError;
|
|
1089
892
|
};
|
|
1090
893
|
export type PAccountsCreateError = PAccountsCreateErrors[keyof PAccountsCreateErrors];
|
|
1091
894
|
export type PAccountsCreateResponses = {
|
|
@@ -1133,18 +936,16 @@ export type PAccountsDeleteData = {
|
|
|
1133
936
|
};
|
|
1134
937
|
export type PAccountsDeleteErrors = {
|
|
1135
938
|
/**
|
|
1136
|
-
*
|
|
939
|
+
* Not Found - 资源不存在
|
|
1137
940
|
*/
|
|
1138
|
-
404:
|
|
1139
|
-
[key: string]: unknown;
|
|
1140
|
-
};
|
|
941
|
+
404: ApiError;
|
|
1141
942
|
};
|
|
1142
943
|
export type PAccountsDeleteError = PAccountsDeleteErrors[keyof PAccountsDeleteErrors];
|
|
1143
944
|
export type PAccountsDeleteResponses = {
|
|
1144
945
|
/**
|
|
1145
946
|
* 平台账号删除成功
|
|
1146
947
|
*/
|
|
1147
|
-
200:
|
|
948
|
+
200: ApiCommonDelete;
|
|
1148
949
|
};
|
|
1149
950
|
export type PAccountsDeleteResponse = PAccountsDeleteResponses[keyof PAccountsDeleteResponses];
|
|
1150
951
|
export type PAccountsGetData = {
|
|
@@ -1157,11 +958,9 @@ export type PAccountsGetData = {
|
|
|
1157
958
|
};
|
|
1158
959
|
export type PAccountsGetErrors = {
|
|
1159
960
|
/**
|
|
1160
|
-
*
|
|
961
|
+
* Not Found - 资源不存在
|
|
1161
962
|
*/
|
|
1162
|
-
404:
|
|
1163
|
-
[key: string]: unknown;
|
|
1164
|
-
};
|
|
963
|
+
404: ApiError;
|
|
1165
964
|
};
|
|
1166
965
|
export type PAccountsGetError = PAccountsGetErrors[keyof PAccountsGetErrors];
|
|
1167
966
|
export type PAccountsGetResponses = {
|
|
@@ -1223,11 +1022,9 @@ export type PAccountsUpdateErrors = {
|
|
|
1223
1022
|
*/
|
|
1224
1023
|
400: ApiError;
|
|
1225
1024
|
/**
|
|
1226
|
-
*
|
|
1025
|
+
* Not Found - 资源不存在
|
|
1227
1026
|
*/
|
|
1228
|
-
404:
|
|
1229
|
-
[key: string]: unknown;
|
|
1230
|
-
};
|
|
1027
|
+
404: ApiError;
|
|
1231
1028
|
};
|
|
1232
1029
|
export type PAccountsUpdateError = PAccountsUpdateErrors[keyof PAccountsUpdateErrors];
|
|
1233
1030
|
export type PAccountsUpdateResponses = {
|
|
@@ -1282,18 +1079,18 @@ export type PlatformsListResponses = {
|
|
|
1282
1079
|
200: {
|
|
1283
1080
|
platforms: Array<{
|
|
1284
1081
|
id: string;
|
|
1285
|
-
tenantId: string;
|
|
1286
1082
|
name: string;
|
|
1287
1083
|
description?: string;
|
|
1288
1084
|
url?: string;
|
|
1289
1085
|
loginUrl?: string;
|
|
1290
|
-
|
|
1086
|
+
type?: string;
|
|
1087
|
+
status?: string;
|
|
1088
|
+
config?: {
|
|
1291
1089
|
[key: string]: unknown;
|
|
1292
1090
|
};
|
|
1293
1091
|
tags?: Array<string>;
|
|
1294
1092
|
createdAt: string;
|
|
1295
1093
|
updatedAt: string;
|
|
1296
|
-
deletedAt?: string;
|
|
1297
1094
|
}>;
|
|
1298
1095
|
total: number;
|
|
1299
1096
|
limit: number;
|
|
@@ -1319,24 +1116,31 @@ export type PlatformsCreateData = {
|
|
|
1319
1116
|
query?: never;
|
|
1320
1117
|
url: "/api/cf/platforms";
|
|
1321
1118
|
};
|
|
1119
|
+
export type PlatformsCreateErrors = {
|
|
1120
|
+
/**
|
|
1121
|
+
* Bad Request - 请求参数错误
|
|
1122
|
+
*/
|
|
1123
|
+
400: ApiError;
|
|
1124
|
+
};
|
|
1125
|
+
export type PlatformsCreateError = PlatformsCreateErrors[keyof PlatformsCreateErrors];
|
|
1322
1126
|
export type PlatformsCreateResponses = {
|
|
1323
1127
|
/**
|
|
1324
1128
|
* Create new platform
|
|
1325
1129
|
*/
|
|
1326
1130
|
200: {
|
|
1327
1131
|
id: string;
|
|
1328
|
-
tenantId: string;
|
|
1329
1132
|
name: string;
|
|
1330
1133
|
description?: string;
|
|
1331
1134
|
url?: string;
|
|
1332
1135
|
loginUrl?: string;
|
|
1333
|
-
|
|
1136
|
+
type?: string;
|
|
1137
|
+
status?: string;
|
|
1138
|
+
config?: {
|
|
1334
1139
|
[key: string]: unknown;
|
|
1335
1140
|
};
|
|
1336
1141
|
tags?: Array<string>;
|
|
1337
1142
|
createdAt: string;
|
|
1338
1143
|
updatedAt: string;
|
|
1339
|
-
deletedAt?: string;
|
|
1340
1144
|
};
|
|
1341
1145
|
};
|
|
1342
1146
|
export type PlatformsCreateResponse = PlatformsCreateResponses[keyof PlatformsCreateResponses];
|
|
@@ -1348,6 +1152,13 @@ export type PlatformsDeleteData = {
|
|
|
1348
1152
|
query?: never;
|
|
1349
1153
|
url: "/api/cf/platforms/{id}";
|
|
1350
1154
|
};
|
|
1155
|
+
export type PlatformsDeleteErrors = {
|
|
1156
|
+
/**
|
|
1157
|
+
* Bad Request - 请求参数错误
|
|
1158
|
+
*/
|
|
1159
|
+
400: ApiError;
|
|
1160
|
+
};
|
|
1161
|
+
export type PlatformsDeleteError = PlatformsDeleteErrors[keyof PlatformsDeleteErrors];
|
|
1351
1162
|
export type PlatformsDeleteResponses = {
|
|
1352
1163
|
/**
|
|
1353
1164
|
* Delete the platform
|
|
@@ -1364,11 +1175,8 @@ export type PlatformsDeleteResponses = {
|
|
|
1364
1175
|
[key: string]: unknown;
|
|
1365
1176
|
};
|
|
1366
1177
|
tags?: Array<string>;
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
createdAt: string;
|
|
1370
|
-
updatedAt: string;
|
|
1371
|
-
};
|
|
1178
|
+
createdAt: string;
|
|
1179
|
+
updatedAt: string;
|
|
1372
1180
|
};
|
|
1373
1181
|
};
|
|
1374
1182
|
export type PlatformsDeleteResponse = PlatformsDeleteResponses[keyof PlatformsDeleteResponses];
|
|
@@ -1396,11 +1204,8 @@ export type PlatformsGetResponses = {
|
|
|
1396
1204
|
[key: string]: unknown;
|
|
1397
1205
|
};
|
|
1398
1206
|
tags?: Array<string>;
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
createdAt: string;
|
|
1402
|
-
updatedAt: string;
|
|
1403
|
-
};
|
|
1207
|
+
createdAt: string;
|
|
1208
|
+
updatedAt: string;
|
|
1404
1209
|
};
|
|
1405
1210
|
};
|
|
1406
1211
|
export type PlatformsGetResponse = PlatformsGetResponses[keyof PlatformsGetResponses];
|
|
@@ -1423,24 +1228,31 @@ export type PlatformsUpdateData = {
|
|
|
1423
1228
|
query?: never;
|
|
1424
1229
|
url: "/api/cf/platforms/{id}";
|
|
1425
1230
|
};
|
|
1231
|
+
export type PlatformsUpdateErrors = {
|
|
1232
|
+
/**
|
|
1233
|
+
* Bad Request - 请求参数错误
|
|
1234
|
+
*/
|
|
1235
|
+
400: ApiError;
|
|
1236
|
+
};
|
|
1237
|
+
export type PlatformsUpdateError = PlatformsUpdateErrors[keyof PlatformsUpdateErrors];
|
|
1426
1238
|
export type PlatformsUpdateResponses = {
|
|
1427
1239
|
/**
|
|
1428
1240
|
* Update platform
|
|
1429
1241
|
*/
|
|
1430
1242
|
200: {
|
|
1431
1243
|
id: string;
|
|
1432
|
-
tenantId: string;
|
|
1433
1244
|
name: string;
|
|
1434
1245
|
description?: string;
|
|
1435
1246
|
url?: string;
|
|
1436
1247
|
loginUrl?: string;
|
|
1437
|
-
|
|
1248
|
+
type?: string;
|
|
1249
|
+
status?: string;
|
|
1250
|
+
config?: {
|
|
1438
1251
|
[key: string]: unknown;
|
|
1439
1252
|
};
|
|
1440
1253
|
tags?: Array<string>;
|
|
1441
1254
|
createdAt: string;
|
|
1442
1255
|
updatedAt: string;
|
|
1443
|
-
deletedAt?: string;
|
|
1444
1256
|
};
|
|
1445
1257
|
};
|
|
1446
1258
|
export type PlatformsUpdateResponse = PlatformsUpdateResponses[keyof PlatformsUpdateResponses];
|
|
@@ -1457,6 +1269,13 @@ export type ProxiesListData = {
|
|
|
1457
1269
|
};
|
|
1458
1270
|
url: "/api/cf/proxies";
|
|
1459
1271
|
};
|
|
1272
|
+
export type ProxiesListErrors = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Bad Request - 请求参数错误
|
|
1275
|
+
*/
|
|
1276
|
+
400: ApiError;
|
|
1277
|
+
};
|
|
1278
|
+
export type ProxiesListError = ProxiesListErrors[keyof ProxiesListErrors];
|
|
1460
1279
|
export type ProxiesListResponses = {
|
|
1461
1280
|
/**
|
|
1462
1281
|
* Retrieve the proxies list
|
|
@@ -1472,6 +1291,13 @@ export type ProxiesDeleteData = {
|
|
|
1472
1291
|
query?: never;
|
|
1473
1292
|
url: "/api/cf/proxies/{proxyId}";
|
|
1474
1293
|
};
|
|
1294
|
+
export type ProxiesDeleteErrors = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Bad Request - 请求参数错误
|
|
1297
|
+
*/
|
|
1298
|
+
400: ApiError;
|
|
1299
|
+
};
|
|
1300
|
+
export type ProxiesDeleteError = ProxiesDeleteErrors[keyof ProxiesDeleteErrors];
|
|
1475
1301
|
export type ProxiesDeleteResponses = {
|
|
1476
1302
|
/**
|
|
1477
1303
|
* Delete the proxy
|
|
@@ -1487,6 +1313,13 @@ export type ProxiesGetData = {
|
|
|
1487
1313
|
query?: never;
|
|
1488
1314
|
url: "/api/cf/proxies/{proxyId}";
|
|
1489
1315
|
};
|
|
1316
|
+
export type ProxiesGetErrors = {
|
|
1317
|
+
/**
|
|
1318
|
+
* Bad Request - 请求参数错误
|
|
1319
|
+
*/
|
|
1320
|
+
400: ApiError;
|
|
1321
|
+
};
|
|
1322
|
+
export type ProxiesGetError = ProxiesGetErrors[keyof ProxiesGetErrors];
|
|
1490
1323
|
export type ProxiesGetResponses = {
|
|
1491
1324
|
/**
|
|
1492
1325
|
* Retrieve the proxy
|
|
@@ -1500,6 +1333,13 @@ export type ProxiesUpsertData = {
|
|
|
1500
1333
|
query?: never;
|
|
1501
1334
|
url: "/api/cf/proxies/upsert";
|
|
1502
1335
|
};
|
|
1336
|
+
export type ProxiesUpsertErrors = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Bad Request - 请求参数错误
|
|
1339
|
+
*/
|
|
1340
|
+
400: ApiError;
|
|
1341
|
+
};
|
|
1342
|
+
export type ProxiesUpsertError = ProxiesUpsertErrors[keyof ProxiesUpsertErrors];
|
|
1503
1343
|
export type ProxiesUpsertResponses = {
|
|
1504
1344
|
/**
|
|
1505
1345
|
* Create or update proxy
|
|
@@ -1521,7 +1361,7 @@ export type SandboxListData = {
|
|
|
1521
1361
|
};
|
|
1522
1362
|
export type SandboxListErrors = {
|
|
1523
1363
|
/**
|
|
1524
|
-
* Internal
|
|
1364
|
+
* Internal Server Error - 内部服务器错误
|
|
1525
1365
|
*/
|
|
1526
1366
|
500: ApiError;
|
|
1527
1367
|
};
|
|
@@ -1559,7 +1399,7 @@ export type SandboxCreateErrors = {
|
|
|
1559
1399
|
error: string;
|
|
1560
1400
|
};
|
|
1561
1401
|
/**
|
|
1562
|
-
* Internal
|
|
1402
|
+
* Internal Server Error - 内部服务器错误
|
|
1563
1403
|
*/
|
|
1564
1404
|
500: ApiError;
|
|
1565
1405
|
};
|
|
@@ -1587,7 +1427,7 @@ export type SandboxDeleteErrors = {
|
|
|
1587
1427
|
error: string;
|
|
1588
1428
|
};
|
|
1589
1429
|
/**
|
|
1590
|
-
* Internal
|
|
1430
|
+
* Internal Server Error - 内部服务器错误
|
|
1591
1431
|
*/
|
|
1592
1432
|
500: ApiError;
|
|
1593
1433
|
};
|
|
@@ -1611,13 +1451,11 @@ export type SandboxGetData = {
|
|
|
1611
1451
|
};
|
|
1612
1452
|
export type SandboxGetErrors = {
|
|
1613
1453
|
/**
|
|
1614
|
-
*
|
|
1454
|
+
* Not Found - 资源不存在
|
|
1615
1455
|
*/
|
|
1616
|
-
404:
|
|
1617
|
-
error: string;
|
|
1618
|
-
};
|
|
1456
|
+
404: ApiError;
|
|
1619
1457
|
/**
|
|
1620
|
-
* Internal
|
|
1458
|
+
* Internal Server Error - 内部服务器错误
|
|
1621
1459
|
*/
|
|
1622
1460
|
500: ApiError;
|
|
1623
1461
|
};
|
|
@@ -1657,7 +1495,7 @@ export type SandboxUpdateErrors = {
|
|
|
1657
1495
|
error: string;
|
|
1658
1496
|
};
|
|
1659
1497
|
/**
|
|
1660
|
-
* Internal
|
|
1498
|
+
* Internal Server Error - 内部服务器错误
|
|
1661
1499
|
*/
|
|
1662
1500
|
500: ApiError;
|
|
1663
1501
|
};
|
|
@@ -1690,7 +1528,7 @@ export type SandboxStartErrors = {
|
|
|
1690
1528
|
error: string;
|
|
1691
1529
|
};
|
|
1692
1530
|
/**
|
|
1693
|
-
* Internal
|
|
1531
|
+
* Internal Server Error - 内部服务器错误
|
|
1694
1532
|
*/
|
|
1695
1533
|
500: ApiError;
|
|
1696
1534
|
};
|
|
@@ -1723,7 +1561,7 @@ export type SandboxCallbackErrors = {
|
|
|
1723
1561
|
error: string;
|
|
1724
1562
|
};
|
|
1725
1563
|
/**
|
|
1726
|
-
* Internal
|
|
1564
|
+
* Internal Server Error - 内部服务器错误
|
|
1727
1565
|
*/
|
|
1728
1566
|
500: ApiError;
|
|
1729
1567
|
};
|
|
@@ -1737,323 +1575,6 @@ export type SandboxCallbackResponses = {
|
|
|
1737
1575
|
};
|
|
1738
1576
|
};
|
|
1739
1577
|
export type SandboxCallbackResponse = SandboxCallbackResponses[keyof SandboxCallbackResponses];
|
|
1740
|
-
export type TenantsListData = {
|
|
1741
|
-
body?: never;
|
|
1742
|
-
path?: never;
|
|
1743
|
-
query?: {
|
|
1744
|
-
search?: string;
|
|
1745
|
-
limit?: number;
|
|
1746
|
-
offset?: number | null;
|
|
1747
|
-
};
|
|
1748
|
-
url: "/api/cf/tenants";
|
|
1749
|
-
};
|
|
1750
|
-
export type TenantsListErrors = {
|
|
1751
|
-
/**
|
|
1752
|
-
* Unauthorized
|
|
1753
|
-
*/
|
|
1754
|
-
401: Api401Response;
|
|
1755
|
-
/**
|
|
1756
|
-
* Internal server error
|
|
1757
|
-
*/
|
|
1758
|
-
500: ApiError;
|
|
1759
|
-
};
|
|
1760
|
-
export type TenantsListError = TenantsListErrors[keyof TenantsListErrors];
|
|
1761
|
-
export type TenantsListResponses = {
|
|
1762
|
-
/**
|
|
1763
|
-
* 获取租户列表
|
|
1764
|
-
*/
|
|
1765
|
-
200: {
|
|
1766
|
-
tenants: Array<{
|
|
1767
|
-
id: string;
|
|
1768
|
-
name: string;
|
|
1769
|
-
slug: string;
|
|
1770
|
-
createdAt: string;
|
|
1771
|
-
updatedAt: string;
|
|
1772
|
-
analyticsOptOut: boolean;
|
|
1773
|
-
alertMemberEmails: boolean;
|
|
1774
|
-
dataRetentionPeriod: string;
|
|
1775
|
-
memberCount?: number;
|
|
1776
|
-
}>;
|
|
1777
|
-
total: number;
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
export type TenantsListResponse = TenantsListResponses[keyof TenantsListResponses];
|
|
1781
|
-
export type TenantsCreateData = {
|
|
1782
|
-
body?: {
|
|
1783
|
-
name: string;
|
|
1784
|
-
slug: string;
|
|
1785
|
-
analyticsOptOut?: boolean;
|
|
1786
|
-
alertMemberEmails?: boolean;
|
|
1787
|
-
dataRetentionPeriod?: string;
|
|
1788
|
-
};
|
|
1789
|
-
path?: never;
|
|
1790
|
-
query?: never;
|
|
1791
|
-
url: "/api/cf/tenants";
|
|
1792
|
-
};
|
|
1793
|
-
export type TenantsCreateErrors = {
|
|
1794
|
-
/**
|
|
1795
|
-
* Unauthorized
|
|
1796
|
-
*/
|
|
1797
|
-
401: Api401Response;
|
|
1798
|
-
/**
|
|
1799
|
-
* not founded
|
|
1800
|
-
*/
|
|
1801
|
-
404: {
|
|
1802
|
-
[key: string]: unknown;
|
|
1803
|
-
};
|
|
1804
|
-
};
|
|
1805
|
-
export type TenantsCreateError = TenantsCreateErrors[keyof TenantsCreateErrors];
|
|
1806
|
-
export type TenantsCreateResponses = {
|
|
1807
|
-
/**
|
|
1808
|
-
* 租户创建成功
|
|
1809
|
-
*/
|
|
1810
|
-
201: {
|
|
1811
|
-
id: string;
|
|
1812
|
-
name: string;
|
|
1813
|
-
slug: string;
|
|
1814
|
-
createdAt: string;
|
|
1815
|
-
updatedAt: string;
|
|
1816
|
-
analyticsOptOut: boolean;
|
|
1817
|
-
alertMemberEmails: boolean;
|
|
1818
|
-
dataRetentionPeriod: string;
|
|
1819
|
-
memberCount?: number;
|
|
1820
|
-
};
|
|
1821
|
-
};
|
|
1822
|
-
export type TenantsCreateResponse = TenantsCreateResponses[keyof TenantsCreateResponses];
|
|
1823
|
-
export type TenantsDeleteData = {
|
|
1824
|
-
body?: never;
|
|
1825
|
-
headers: {
|
|
1826
|
-
authorization: string;
|
|
1827
|
-
};
|
|
1828
|
-
path: {
|
|
1829
|
-
tenantId: string;
|
|
1830
|
-
};
|
|
1831
|
-
query?: never;
|
|
1832
|
-
url: "/api/cf/tenants/{tenantId}";
|
|
1833
|
-
};
|
|
1834
|
-
export type TenantsDeleteErrors = {
|
|
1835
|
-
/**
|
|
1836
|
-
* Unauthorized
|
|
1837
|
-
*/
|
|
1838
|
-
401: Api401Response;
|
|
1839
|
-
/**
|
|
1840
|
-
* Forbidden
|
|
1841
|
-
*/
|
|
1842
|
-
403: Api403Response;
|
|
1843
|
-
};
|
|
1844
|
-
export type TenantsDeleteError = TenantsDeleteErrors[keyof TenantsDeleteErrors];
|
|
1845
|
-
export type TenantsDeleteResponses = {
|
|
1846
|
-
/**
|
|
1847
|
-
* 租户删除成功
|
|
1848
|
-
*/
|
|
1849
|
-
200: {
|
|
1850
|
-
success: boolean;
|
|
1851
|
-
};
|
|
1852
|
-
};
|
|
1853
|
-
export type TenantsDeleteResponse = TenantsDeleteResponses[keyof TenantsDeleteResponses];
|
|
1854
|
-
export type TenantsGetData = {
|
|
1855
|
-
body?: never;
|
|
1856
|
-
path: {
|
|
1857
|
-
tenantId: string;
|
|
1858
|
-
};
|
|
1859
|
-
query?: never;
|
|
1860
|
-
url: "/api/cf/tenants/{tenantId}";
|
|
1861
|
-
};
|
|
1862
|
-
export type TenantsGetErrors = {
|
|
1863
|
-
/**
|
|
1864
|
-
* Unauthorized
|
|
1865
|
-
*/
|
|
1866
|
-
401: Api401Response;
|
|
1867
|
-
/**
|
|
1868
|
-
* not founded
|
|
1869
|
-
*/
|
|
1870
|
-
404: {
|
|
1871
|
-
[key: string]: unknown;
|
|
1872
|
-
};
|
|
1873
|
-
};
|
|
1874
|
-
export type TenantsGetError = TenantsGetErrors[keyof TenantsGetErrors];
|
|
1875
|
-
export type TenantsGetResponses = {
|
|
1876
|
-
/**
|
|
1877
|
-
* 获取租户详情
|
|
1878
|
-
*/
|
|
1879
|
-
200: {
|
|
1880
|
-
tenant?: {
|
|
1881
|
-
id: string;
|
|
1882
|
-
name: string;
|
|
1883
|
-
slug: string;
|
|
1884
|
-
createdAt: string;
|
|
1885
|
-
updatedAt: string;
|
|
1886
|
-
analyticsOptOut: boolean;
|
|
1887
|
-
alertMemberEmails: boolean;
|
|
1888
|
-
dataRetentionPeriod: string;
|
|
1889
|
-
memberCount?: number;
|
|
1890
|
-
};
|
|
1891
|
-
};
|
|
1892
|
-
};
|
|
1893
|
-
export type TenantsGetResponse = TenantsGetResponses[keyof TenantsGetResponses];
|
|
1894
|
-
export type TenantsUpdateData = {
|
|
1895
|
-
body?: {
|
|
1896
|
-
name?: string;
|
|
1897
|
-
slug?: string;
|
|
1898
|
-
analyticsOptOut?: boolean;
|
|
1899
|
-
alertMemberEmails?: boolean;
|
|
1900
|
-
dataRetentionPeriod?: string;
|
|
1901
|
-
};
|
|
1902
|
-
headers: {
|
|
1903
|
-
authorization: string;
|
|
1904
|
-
};
|
|
1905
|
-
path: {
|
|
1906
|
-
tenantId: string;
|
|
1907
|
-
};
|
|
1908
|
-
query?: never;
|
|
1909
|
-
url: "/api/cf/tenants/{tenantId}";
|
|
1910
|
-
};
|
|
1911
|
-
export type TenantsUpdateErrors = {
|
|
1912
|
-
/**
|
|
1913
|
-
* Bad request
|
|
1914
|
-
*/
|
|
1915
|
-
400: ApiError;
|
|
1916
|
-
/**
|
|
1917
|
-
* Unauthorized
|
|
1918
|
-
*/
|
|
1919
|
-
401: Api401Response;
|
|
1920
|
-
/**
|
|
1921
|
-
* Forbidden
|
|
1922
|
-
*/
|
|
1923
|
-
403: Api403Response;
|
|
1924
|
-
};
|
|
1925
|
-
export type TenantsUpdateError = TenantsUpdateErrors[keyof TenantsUpdateErrors];
|
|
1926
|
-
export type TenantsUpdateResponses = {
|
|
1927
|
-
/**
|
|
1928
|
-
* 租户更新成功
|
|
1929
|
-
*/
|
|
1930
|
-
200: {
|
|
1931
|
-
id: string;
|
|
1932
|
-
name: string;
|
|
1933
|
-
slug: string;
|
|
1934
|
-
createdAt: string;
|
|
1935
|
-
updatedAt: string;
|
|
1936
|
-
analyticsOptOut: boolean;
|
|
1937
|
-
alertMemberEmails: boolean;
|
|
1938
|
-
dataRetentionPeriod: string;
|
|
1939
|
-
memberCount?: number;
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
export type TenantsUpdateResponse = TenantsUpdateResponses[keyof TenantsUpdateResponses];
|
|
1943
|
-
export type CloudflareChatbotListData = {
|
|
1944
|
-
body?: never;
|
|
1945
|
-
path?: never;
|
|
1946
|
-
query?: {
|
|
1947
|
-
title?: string;
|
|
1948
|
-
limit?: number | null;
|
|
1949
|
-
};
|
|
1950
|
-
url: "/api/cf/cf/chatbot";
|
|
1951
|
-
};
|
|
1952
|
-
export type CloudflareChatbotListResponses = {
|
|
1953
|
-
/**
|
|
1954
|
-
* Retrieve the system config
|
|
1955
|
-
*/
|
|
1956
|
-
200: ChatbotListResponse;
|
|
1957
|
-
};
|
|
1958
|
-
export type CloudflareChatbotListResponse = CloudflareChatbotListResponses[keyof CloudflareChatbotListResponses];
|
|
1959
|
-
export type CloudflareChatbotCreateData = {
|
|
1960
|
-
body?: Chatbot;
|
|
1961
|
-
path?: never;
|
|
1962
|
-
query?: never;
|
|
1963
|
-
url: "/api/cf/cf/chatbot";
|
|
1964
|
-
};
|
|
1965
|
-
export type CloudflareChatbotCreateResponses = {
|
|
1966
|
-
/**
|
|
1967
|
-
* add new chatbot
|
|
1968
|
-
*/
|
|
1969
|
-
200: Chatbot;
|
|
1970
|
-
};
|
|
1971
|
-
export type CloudflareChatbotCreateResponse = CloudflareChatbotCreateResponses[keyof CloudflareChatbotCreateResponses];
|
|
1972
|
-
export type CloudflareChatbotDeleteData = {
|
|
1973
|
-
body?: never;
|
|
1974
|
-
path: {
|
|
1975
|
-
id: string;
|
|
1976
|
-
};
|
|
1977
|
-
query?: never;
|
|
1978
|
-
url: "/api/cf/cf/chatbot/{id}";
|
|
1979
|
-
};
|
|
1980
|
-
export type CloudflareChatbotDeleteResponses = {
|
|
1981
|
-
/**
|
|
1982
|
-
* delete the chatbot
|
|
1983
|
-
*/
|
|
1984
|
-
200: Chatbot;
|
|
1985
|
-
};
|
|
1986
|
-
export type CloudflareChatbotDeleteResponse = CloudflareChatbotDeleteResponses[keyof CloudflareChatbotDeleteResponses];
|
|
1987
|
-
export type CloudflareChatbotGetData = {
|
|
1988
|
-
body?: never;
|
|
1989
|
-
path: {
|
|
1990
|
-
id: string;
|
|
1991
|
-
};
|
|
1992
|
-
query?: never;
|
|
1993
|
-
url: "/api/cf/cf/chatbot/{id}";
|
|
1994
|
-
};
|
|
1995
|
-
export type CloudflareChatbotGetResponses = {
|
|
1996
|
-
/**
|
|
1997
|
-
* Retrieve the system config
|
|
1998
|
-
*/
|
|
1999
|
-
200: Chatbot;
|
|
2000
|
-
};
|
|
2001
|
-
export type CloudflareChatbotGetResponse = CloudflareChatbotGetResponses[keyof CloudflareChatbotGetResponses];
|
|
2002
|
-
export type BlogPostsListData = {
|
|
2003
|
-
body?: never;
|
|
2004
|
-
path?: never;
|
|
2005
|
-
query?: {
|
|
2006
|
-
limit?: string;
|
|
2007
|
-
offset?: string;
|
|
2008
|
-
status?: "PUBLISHED" | "DRAFT" | "ARCHIVED";
|
|
2009
|
-
state?: string;
|
|
2010
|
-
siteId?: string;
|
|
2011
|
-
search?: string;
|
|
2012
|
-
};
|
|
2013
|
-
url: "/api/cf/cf/posts";
|
|
2014
|
-
};
|
|
2015
|
-
export type BlogPostsListErrors = {
|
|
2016
|
-
/**
|
|
2017
|
-
* Unauthorized
|
|
2018
|
-
*/
|
|
2019
|
-
401: Api401Response;
|
|
2020
|
-
/**
|
|
2021
|
-
* Internal server error
|
|
2022
|
-
*/
|
|
2023
|
-
500: ApiError;
|
|
2024
|
-
};
|
|
2025
|
-
export type BlogPostsListError = BlogPostsListErrors[keyof BlogPostsListErrors];
|
|
2026
|
-
export type BlogPostsListResponses = {
|
|
2027
|
-
/**
|
|
2028
|
-
* 获取博客文章列表成功
|
|
2029
|
-
*/
|
|
2030
|
-
200: BlogPostsList;
|
|
2031
|
-
};
|
|
2032
|
-
export type BlogPostsListResponse = BlogPostsListResponses[keyof BlogPostsListResponses];
|
|
2033
|
-
export type TunnelListData = {
|
|
2034
|
-
body?: never;
|
|
2035
|
-
path?: never;
|
|
2036
|
-
query?: never;
|
|
2037
|
-
url: "/api/cf/cf/tunnel/list";
|
|
2038
|
-
};
|
|
2039
|
-
export type TunnelListResponses = {
|
|
2040
|
-
200: {
|
|
2041
|
-
message?: string;
|
|
2042
|
-
};
|
|
2043
|
-
};
|
|
2044
|
-
export type TunnelListResponse = TunnelListResponses[keyof TunnelListResponses];
|
|
2045
|
-
export type TunnelGetData = {
|
|
2046
|
-
body?: never;
|
|
2047
|
-
path?: never;
|
|
2048
|
-
query?: never;
|
|
2049
|
-
url: "/api/cf/cf/tunnel/get";
|
|
2050
|
-
};
|
|
2051
|
-
export type TunnelGetResponses = {
|
|
2052
|
-
200: {
|
|
2053
|
-
message?: string;
|
|
2054
|
-
};
|
|
2055
|
-
};
|
|
2056
|
-
export type TunnelGetResponse = TunnelGetResponses[keyof TunnelGetResponses];
|
|
2057
1578
|
export type DashuiGetData = {
|
|
2058
1579
|
body?: never;
|
|
2059
1580
|
path?: never;
|
|
@@ -2062,11 +1583,9 @@ export type DashuiGetData = {
|
|
|
2062
1583
|
};
|
|
2063
1584
|
export type DashuiGetErrors = {
|
|
2064
1585
|
/**
|
|
2065
|
-
*
|
|
1586
|
+
* Unauthorized - 未授权访问
|
|
2066
1587
|
*/
|
|
2067
|
-
401:
|
|
2068
|
-
message: string;
|
|
2069
|
-
};
|
|
1588
|
+
401: ApiError;
|
|
2070
1589
|
};
|
|
2071
1590
|
export type DashuiGetError = DashuiGetErrors[keyof DashuiGetErrors];
|
|
2072
1591
|
export type DashuiGetResponses = {
|
|
@@ -2084,6 +1603,13 @@ export type SysConfigData = {
|
|
|
2084
1603
|
query?: never;
|
|
2085
1604
|
url: "/api/cf/sys/config";
|
|
2086
1605
|
};
|
|
1606
|
+
export type SysConfigErrors = {
|
|
1607
|
+
/**
|
|
1608
|
+
* Internal Server Error - 内部服务器错误
|
|
1609
|
+
*/
|
|
1610
|
+
500: ApiError;
|
|
1611
|
+
};
|
|
1612
|
+
export type SysConfigError = SysConfigErrors[keyof SysConfigErrors];
|
|
2087
1613
|
export type SysConfigResponses = {
|
|
2088
1614
|
/**
|
|
2089
1615
|
* 获取系统关键配置信息.
|
|
@@ -2096,32 +1622,6 @@ export type SysConfigResponses = {
|
|
|
2096
1622
|
};
|
|
2097
1623
|
};
|
|
2098
1624
|
export type SysConfigResponse = SysConfigResponses[keyof SysConfigResponses];
|
|
2099
|
-
export type WorkflowTriggerData = {
|
|
2100
|
-
body?: never;
|
|
2101
|
-
path?: never;
|
|
2102
|
-
query?: {
|
|
2103
|
-
limit?: number;
|
|
2104
|
-
offset?: number | null;
|
|
2105
|
-
status?: string;
|
|
2106
|
-
deployType?: string;
|
|
2107
|
-
name?: string;
|
|
2108
|
-
};
|
|
2109
|
-
url: "/api/cf/workflows";
|
|
2110
|
-
};
|
|
2111
|
-
export type WorkflowTriggerErrors = {
|
|
2112
|
-
/**
|
|
2113
|
-
* Internal server error
|
|
2114
|
-
*/
|
|
2115
|
-
500: ApiError;
|
|
2116
|
-
};
|
|
2117
|
-
export type WorkflowTriggerError = WorkflowTriggerErrors[keyof WorkflowTriggerErrors];
|
|
2118
|
-
export type WorkflowTriggerResponses = {
|
|
2119
|
-
/**
|
|
2120
|
-
* 获取沙盒服务列表
|
|
2121
|
-
*/
|
|
2122
|
-
200: SandboxList;
|
|
2123
|
-
};
|
|
2124
|
-
export type WorkflowTriggerResponse = WorkflowTriggerResponses[keyof WorkflowTriggerResponses];
|
|
2125
1625
|
export type SetupStatusData = {
|
|
2126
1626
|
body?: never;
|
|
2127
1627
|
path?: never;
|
|
@@ -2149,7 +1649,7 @@ export type SetupInitializeData = {
|
|
|
2149
1649
|
};
|
|
2150
1650
|
export type SetupInitializeErrors = {
|
|
2151
1651
|
/**
|
|
2152
|
-
* Bad
|
|
1652
|
+
* Bad Request - 请求参数错误
|
|
2153
1653
|
*/
|
|
2154
1654
|
400: ApiError;
|
|
2155
1655
|
};
|
|
@@ -2166,8 +1666,8 @@ export type SetupInitializeResponses = {
|
|
|
2166
1666
|
export type SetupInitializeResponse = SetupInitializeResponses[keyof SetupInitializeResponses];
|
|
2167
1667
|
export type ConfigGomtmGetData = {
|
|
2168
1668
|
body?: never;
|
|
2169
|
-
path
|
|
2170
|
-
name
|
|
1669
|
+
path?: {
|
|
1670
|
+
name?: string;
|
|
2171
1671
|
};
|
|
2172
1672
|
query?: never;
|
|
2173
1673
|
url: "/api/cf/configs/gomtm_config/{name}";
|
|
@@ -2204,28 +1704,38 @@ export type SiteListData = {
|
|
|
2204
1704
|
};
|
|
2205
1705
|
url: "/api/cf/site";
|
|
2206
1706
|
};
|
|
1707
|
+
export type SiteListErrors = {
|
|
1708
|
+
/**
|
|
1709
|
+
* Bad Request - 请求参数错误
|
|
1710
|
+
*/
|
|
1711
|
+
400: ApiError;
|
|
1712
|
+
/**
|
|
1713
|
+
* Unauthorized - 未授权访问
|
|
1714
|
+
*/
|
|
1715
|
+
401: ApiError;
|
|
1716
|
+
/**
|
|
1717
|
+
* Forbidden - 禁止访问
|
|
1718
|
+
*/
|
|
1719
|
+
403: ApiError;
|
|
1720
|
+
/**
|
|
1721
|
+
* Not Found - 资源不存在
|
|
1722
|
+
*/
|
|
1723
|
+
404: ApiError;
|
|
1724
|
+
/**
|
|
1725
|
+
* Unprocessable Entity - 无法处理的实体
|
|
1726
|
+
*/
|
|
1727
|
+
422: ApiError;
|
|
1728
|
+
/**
|
|
1729
|
+
* Internal Server Error - 内部服务器错误
|
|
1730
|
+
*/
|
|
1731
|
+
500: ApiError;
|
|
1732
|
+
};
|
|
1733
|
+
export type SiteListError = SiteListErrors[keyof SiteListErrors];
|
|
2207
1734
|
export type SiteListResponses = {
|
|
2208
1735
|
/**
|
|
2209
1736
|
* 获取站点列表
|
|
2210
1737
|
*/
|
|
2211
|
-
200:
|
|
2212
|
-
sites: Array<{
|
|
2213
|
-
id: string;
|
|
2214
|
-
title: string;
|
|
2215
|
-
description?: string;
|
|
2216
|
-
tenantId: string;
|
|
2217
|
-
enabled: boolean;
|
|
2218
|
-
createdAt: string;
|
|
2219
|
-
updatedAt: string;
|
|
2220
|
-
state?: {
|
|
2221
|
-
[key: string]: unknown;
|
|
2222
|
-
};
|
|
2223
|
-
automationEnabled: boolean;
|
|
2224
|
-
}>;
|
|
2225
|
-
total: number;
|
|
2226
|
-
limit: number;
|
|
2227
|
-
offset: number;
|
|
2228
|
-
};
|
|
1738
|
+
200: SiteList;
|
|
2229
1739
|
};
|
|
2230
1740
|
export type SiteListResponse = SiteListResponses[keyof SiteListResponses];
|
|
2231
1741
|
export type SiteCreateData = {
|
|
@@ -2234,23 +1744,38 @@ export type SiteCreateData = {
|
|
|
2234
1744
|
query?: never;
|
|
2235
1745
|
url: "/api/cf/site";
|
|
2236
1746
|
};
|
|
1747
|
+
export type SiteCreateErrors = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Bad Request - 请求参数错误
|
|
1750
|
+
*/
|
|
1751
|
+
400: ApiError;
|
|
1752
|
+
/**
|
|
1753
|
+
* Unauthorized - 未授权访问
|
|
1754
|
+
*/
|
|
1755
|
+
401: ApiError;
|
|
1756
|
+
/**
|
|
1757
|
+
* Forbidden - 禁止访问
|
|
1758
|
+
*/
|
|
1759
|
+
403: ApiError;
|
|
1760
|
+
/**
|
|
1761
|
+
* Not Found - 资源不存在
|
|
1762
|
+
*/
|
|
1763
|
+
404: ApiError;
|
|
1764
|
+
/**
|
|
1765
|
+
* Unprocessable Entity - 无法处理的实体
|
|
1766
|
+
*/
|
|
1767
|
+
422: ApiError;
|
|
1768
|
+
/**
|
|
1769
|
+
* Internal Server Error - 内部服务器错误
|
|
1770
|
+
*/
|
|
1771
|
+
500: ApiError;
|
|
1772
|
+
};
|
|
1773
|
+
export type SiteCreateError = SiteCreateErrors[keyof SiteCreateErrors];
|
|
2237
1774
|
export type SiteCreateResponses = {
|
|
2238
1775
|
/**
|
|
2239
1776
|
* 站点创建
|
|
2240
1777
|
*/
|
|
2241
|
-
201:
|
|
2242
|
-
id: string;
|
|
2243
|
-
title: string;
|
|
2244
|
-
description?: string;
|
|
2245
|
-
tenantId: string;
|
|
2246
|
-
enabled: boolean;
|
|
2247
|
-
createdAt: string;
|
|
2248
|
-
updatedAt: string;
|
|
2249
|
-
state?: {
|
|
2250
|
-
[key: string]: unknown;
|
|
2251
|
-
};
|
|
2252
|
-
automationEnabled: boolean;
|
|
2253
|
-
};
|
|
1778
|
+
201: Site;
|
|
2254
1779
|
};
|
|
2255
1780
|
export type SiteCreateResponse = SiteCreateResponses[keyof SiteCreateResponses];
|
|
2256
1781
|
export type SiteDeleteData = {
|
|
@@ -2263,13 +1788,27 @@ export type SiteDeleteData = {
|
|
|
2263
1788
|
};
|
|
2264
1789
|
export type SiteDeleteErrors = {
|
|
2265
1790
|
/**
|
|
2266
|
-
*
|
|
1791
|
+
* Bad Request - 请求参数错误
|
|
2267
1792
|
*/
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
1793
|
+
400: ApiError;
|
|
1794
|
+
/**
|
|
1795
|
+
* Unauthorized - 未授权访问
|
|
1796
|
+
*/
|
|
1797
|
+
401: ApiError;
|
|
1798
|
+
/**
|
|
1799
|
+
* Forbidden - 禁止访问
|
|
1800
|
+
*/
|
|
1801
|
+
403: ApiError;
|
|
2271
1802
|
/**
|
|
2272
|
-
*
|
|
1803
|
+
* Not Found - 资源不存在
|
|
1804
|
+
*/
|
|
1805
|
+
404: ApiError;
|
|
1806
|
+
/**
|
|
1807
|
+
* Unprocessable Entity - 无法处理的实体
|
|
1808
|
+
*/
|
|
1809
|
+
422: ApiError;
|
|
1810
|
+
/**
|
|
1811
|
+
* Internal Server Error - 内部服务器错误
|
|
2273
1812
|
*/
|
|
2274
1813
|
500: ApiError;
|
|
2275
1814
|
};
|
|
@@ -2291,13 +1830,27 @@ export type SiteGetData = {
|
|
|
2291
1830
|
};
|
|
2292
1831
|
export type SiteGetErrors = {
|
|
2293
1832
|
/**
|
|
2294
|
-
*
|
|
1833
|
+
* Bad Request - 请求参数错误
|
|
2295
1834
|
*/
|
|
2296
|
-
|
|
2297
|
-
[key: string]: unknown;
|
|
2298
|
-
};
|
|
1835
|
+
400: ApiError;
|
|
2299
1836
|
/**
|
|
2300
|
-
*
|
|
1837
|
+
* Unauthorized - 未授权访问
|
|
1838
|
+
*/
|
|
1839
|
+
401: ApiError;
|
|
1840
|
+
/**
|
|
1841
|
+
* Forbidden - 禁止访问
|
|
1842
|
+
*/
|
|
1843
|
+
403: ApiError;
|
|
1844
|
+
/**
|
|
1845
|
+
* Not Found - 资源不存在
|
|
1846
|
+
*/
|
|
1847
|
+
404: ApiError;
|
|
1848
|
+
/**
|
|
1849
|
+
* Unprocessable Entity - 无法处理的实体
|
|
1850
|
+
*/
|
|
1851
|
+
422: ApiError;
|
|
1852
|
+
/**
|
|
1853
|
+
* Internal Server Error - 内部服务器错误
|
|
2301
1854
|
*/
|
|
2302
1855
|
500: ApiError;
|
|
2303
1856
|
};
|
|
@@ -2306,19 +1859,7 @@ export type SiteGetResponses = {
|
|
|
2306
1859
|
/**
|
|
2307
1860
|
* 获取站点
|
|
2308
1861
|
*/
|
|
2309
|
-
200:
|
|
2310
|
-
id: string;
|
|
2311
|
-
title: string;
|
|
2312
|
-
description?: string;
|
|
2313
|
-
tenantId: string;
|
|
2314
|
-
enabled: boolean;
|
|
2315
|
-
createdAt: string;
|
|
2316
|
-
updatedAt: string;
|
|
2317
|
-
state?: {
|
|
2318
|
-
[key: string]: unknown;
|
|
2319
|
-
};
|
|
2320
|
-
automationEnabled: boolean;
|
|
2321
|
-
};
|
|
1862
|
+
200: Site;
|
|
2322
1863
|
};
|
|
2323
1864
|
export type SiteGetResponse = SiteGetResponses[keyof SiteGetResponses];
|
|
2324
1865
|
export type SiteUpdateData = {
|
|
@@ -2327,17 +1868,31 @@ export type SiteUpdateData = {
|
|
|
2327
1868
|
id: string;
|
|
2328
1869
|
};
|
|
2329
1870
|
query?: never;
|
|
2330
|
-
url: "/api/cf/{id}";
|
|
1871
|
+
url: "/api/cf/site/{id}";
|
|
2331
1872
|
};
|
|
2332
1873
|
export type SiteUpdateErrors = {
|
|
2333
1874
|
/**
|
|
2334
|
-
*
|
|
1875
|
+
* Bad Request - 请求参数错误
|
|
2335
1876
|
*/
|
|
2336
|
-
|
|
2337
|
-
[key: string]: unknown;
|
|
2338
|
-
};
|
|
1877
|
+
400: ApiError;
|
|
2339
1878
|
/**
|
|
2340
|
-
*
|
|
1879
|
+
* Unauthorized - 未授权访问
|
|
1880
|
+
*/
|
|
1881
|
+
401: ApiError;
|
|
1882
|
+
/**
|
|
1883
|
+
* Forbidden - 禁止访问
|
|
1884
|
+
*/
|
|
1885
|
+
403: ApiError;
|
|
1886
|
+
/**
|
|
1887
|
+
* Not Found - 资源不存在
|
|
1888
|
+
*/
|
|
1889
|
+
404: ApiError;
|
|
1890
|
+
/**
|
|
1891
|
+
* Unprocessable Entity - 无法处理的实体
|
|
1892
|
+
*/
|
|
1893
|
+
422: ApiError;
|
|
1894
|
+
/**
|
|
1895
|
+
* Internal Server Error - 内部服务器错误
|
|
2341
1896
|
*/
|
|
2342
1897
|
500: ApiError;
|
|
2343
1898
|
};
|
|
@@ -2346,22 +1901,10 @@ export type SiteUpdateResponses = {
|
|
|
2346
1901
|
/**
|
|
2347
1902
|
* 站点更新成功
|
|
2348
1903
|
*/
|
|
2349
|
-
200:
|
|
2350
|
-
id: string;
|
|
2351
|
-
title: string;
|
|
2352
|
-
description?: string;
|
|
2353
|
-
tenantId: string;
|
|
2354
|
-
enabled: boolean;
|
|
2355
|
-
createdAt: string;
|
|
2356
|
-
updatedAt: string;
|
|
2357
|
-
state?: {
|
|
2358
|
-
[key: string]: unknown;
|
|
2359
|
-
};
|
|
2360
|
-
automationEnabled: boolean;
|
|
2361
|
-
};
|
|
1904
|
+
200: Site;
|
|
2362
1905
|
};
|
|
2363
1906
|
export type SiteUpdateResponse = SiteUpdateResponses[keyof SiteUpdateResponses];
|
|
2364
|
-
export type
|
|
1907
|
+
export type BlogPostsListData = {
|
|
2365
1908
|
body?: never;
|
|
2366
1909
|
path?: never;
|
|
2367
1910
|
query?: {
|
|
@@ -2374,33 +1917,28 @@ export type BlogPostsList2Data = {
|
|
|
2374
1917
|
};
|
|
2375
1918
|
url: "/api/cf/posts";
|
|
2376
1919
|
};
|
|
2377
|
-
export type
|
|
1920
|
+
export type BlogPostsListResponses = {
|
|
2378
1921
|
/**
|
|
2379
1922
|
* 获取博客文章列表成功
|
|
2380
1923
|
*/
|
|
2381
|
-
200:
|
|
2382
|
-
posts: Array<BlogPost>;
|
|
2383
|
-
total: number;
|
|
2384
|
-
limit: number;
|
|
2385
|
-
offset: number;
|
|
2386
|
-
};
|
|
1924
|
+
200: BlogPostList;
|
|
2387
1925
|
};
|
|
2388
|
-
export type
|
|
1926
|
+
export type BlogPostsListResponse = BlogPostsListResponses[keyof BlogPostsListResponses];
|
|
2389
1927
|
export type BlogPostsCreateData = {
|
|
2390
|
-
body?:
|
|
1928
|
+
body?: BlogPostCreate;
|
|
2391
1929
|
path?: never;
|
|
2392
1930
|
query?: never;
|
|
2393
1931
|
url: "/api/cf/posts";
|
|
2394
1932
|
};
|
|
2395
1933
|
export type BlogPostsCreateErrors = {
|
|
2396
1934
|
/**
|
|
2397
|
-
* Bad
|
|
1935
|
+
* Bad Request - 请求参数错误
|
|
2398
1936
|
*/
|
|
2399
1937
|
400: ApiError;
|
|
2400
1938
|
/**
|
|
2401
|
-
* Unauthorized
|
|
1939
|
+
* Unauthorized - 未授权访问
|
|
2402
1940
|
*/
|
|
2403
|
-
401:
|
|
1941
|
+
401: ApiError;
|
|
2404
1942
|
/**
|
|
2405
1943
|
* 服务器内部错误
|
|
2406
1944
|
*/
|
|
@@ -2426,13 +1964,11 @@ export type BlogPostsDeleteData = {
|
|
|
2426
1964
|
};
|
|
2427
1965
|
export type BlogPostsDeleteErrors = {
|
|
2428
1966
|
/**
|
|
2429
|
-
*
|
|
1967
|
+
* Not Found - 资源不存在
|
|
2430
1968
|
*/
|
|
2431
|
-
404:
|
|
2432
|
-
[key: string]: unknown;
|
|
2433
|
-
};
|
|
1969
|
+
404: ApiError;
|
|
2434
1970
|
/**
|
|
2435
|
-
* Internal
|
|
1971
|
+
* Internal Server Error - 内部服务器错误
|
|
2436
1972
|
*/
|
|
2437
1973
|
500: ApiError;
|
|
2438
1974
|
};
|
|
@@ -2454,13 +1990,11 @@ export type BlogPostsGetByIdData = {
|
|
|
2454
1990
|
};
|
|
2455
1991
|
export type BlogPostsGetByIdErrors = {
|
|
2456
1992
|
/**
|
|
2457
|
-
*
|
|
1993
|
+
* Not Found - 资源不存在
|
|
2458
1994
|
*/
|
|
2459
|
-
404:
|
|
2460
|
-
[key: string]: unknown;
|
|
2461
|
-
};
|
|
1995
|
+
404: ApiError;
|
|
2462
1996
|
/**
|
|
2463
|
-
* Internal
|
|
1997
|
+
* Internal Server Error - 内部服务器错误
|
|
2464
1998
|
*/
|
|
2465
1999
|
500: ApiError;
|
|
2466
2000
|
};
|
|
@@ -2473,7 +2007,7 @@ export type BlogPostsGetByIdResponses = {
|
|
|
2473
2007
|
};
|
|
2474
2008
|
export type BlogPostsGetByIdResponse = BlogPostsGetByIdResponses[keyof BlogPostsGetByIdResponses];
|
|
2475
2009
|
export type BlogPostsUpdateData = {
|
|
2476
|
-
body?:
|
|
2010
|
+
body?: BlogPostUpdate;
|
|
2477
2011
|
path: {
|
|
2478
2012
|
id: string;
|
|
2479
2013
|
};
|
|
@@ -2482,11 +2016,9 @@ export type BlogPostsUpdateData = {
|
|
|
2482
2016
|
};
|
|
2483
2017
|
export type BlogPostsUpdateErrors = {
|
|
2484
2018
|
/**
|
|
2485
|
-
*
|
|
2019
|
+
* Not Found - 资源不存在
|
|
2486
2020
|
*/
|
|
2487
|
-
404:
|
|
2488
|
-
[key: string]: unknown;
|
|
2489
|
-
};
|
|
2021
|
+
404: ApiError;
|
|
2490
2022
|
};
|
|
2491
2023
|
export type BlogPostsUpdateError = BlogPostsUpdateErrors[keyof BlogPostsUpdateErrors];
|
|
2492
2024
|
export type BlogPostsUpdateResponses = {
|
|
@@ -2506,13 +2038,11 @@ export type BlogPostsGetBySlugData = {
|
|
|
2506
2038
|
};
|
|
2507
2039
|
export type BlogPostsGetBySlugErrors = {
|
|
2508
2040
|
/**
|
|
2509
|
-
*
|
|
2041
|
+
* Not Found - 资源不存在
|
|
2510
2042
|
*/
|
|
2511
|
-
404:
|
|
2512
|
-
[key: string]: unknown;
|
|
2513
|
-
};
|
|
2043
|
+
404: ApiError;
|
|
2514
2044
|
/**
|
|
2515
|
-
* Internal
|
|
2045
|
+
* Internal Server Error - 内部服务器错误
|
|
2516
2046
|
*/
|
|
2517
2047
|
500: ApiError;
|
|
2518
2048
|
};
|
|
@@ -2534,11 +2064,9 @@ export type SitehostListData = {
|
|
|
2534
2064
|
};
|
|
2535
2065
|
export type SitehostListErrors = {
|
|
2536
2066
|
/**
|
|
2537
|
-
*
|
|
2067
|
+
* Not Found - 资源不存在
|
|
2538
2068
|
*/
|
|
2539
|
-
404:
|
|
2540
|
-
[key: string]: unknown;
|
|
2541
|
-
};
|
|
2069
|
+
404: ApiError;
|
|
2542
2070
|
};
|
|
2543
2071
|
export type SitehostListError = SitehostListErrors[keyof SitehostListErrors];
|
|
2544
2072
|
export type SitehostListResponses = {
|
|
@@ -2567,7 +2095,7 @@ export type SitehostCreateData = {
|
|
|
2567
2095
|
};
|
|
2568
2096
|
export type SitehostCreateErrors = {
|
|
2569
2097
|
/**
|
|
2570
|
-
* Bad
|
|
2098
|
+
* Bad Request - 请求参数错误
|
|
2571
2099
|
*/
|
|
2572
2100
|
400: ApiError;
|
|
2573
2101
|
/**
|
|
@@ -2575,11 +2103,9 @@ export type SitehostCreateErrors = {
|
|
|
2575
2103
|
*/
|
|
2576
2104
|
401: ApiError;
|
|
2577
2105
|
/**
|
|
2578
|
-
*
|
|
2106
|
+
* Not Found - 资源不存在
|
|
2579
2107
|
*/
|
|
2580
|
-
404:
|
|
2581
|
-
[key: string]: unknown;
|
|
2582
|
-
};
|
|
2108
|
+
404: ApiError;
|
|
2583
2109
|
};
|
|
2584
2110
|
export type SitehostCreateError = SitehostCreateErrors[keyof SitehostCreateErrors];
|
|
2585
2111
|
export type SitehostCreateResponses = {
|
|
@@ -2606,11 +2132,9 @@ export type SitehostDeleteData = {
|
|
|
2606
2132
|
};
|
|
2607
2133
|
export type SitehostDeleteErrors = {
|
|
2608
2134
|
/**
|
|
2609
|
-
*
|
|
2135
|
+
* Not Found - 资源不存在
|
|
2610
2136
|
*/
|
|
2611
|
-
404:
|
|
2612
|
-
[key: string]: unknown;
|
|
2613
|
-
};
|
|
2137
|
+
404: ApiError;
|
|
2614
2138
|
};
|
|
2615
2139
|
export type SitehostDeleteError = SitehostDeleteErrors[keyof SitehostDeleteErrors];
|
|
2616
2140
|
export type SitehostDeleteResponses = {
|
|
@@ -2926,7 +2450,4 @@ export type AdkTaskDeleteResponses = {
|
|
|
2926
2450
|
200: AdkTaskDelete;
|
|
2927
2451
|
};
|
|
2928
2452
|
export type AdkTaskDeleteResponse = AdkTaskDeleteResponses[keyof AdkTaskDeleteResponses];
|
|
2929
|
-
export type ClientOptions = {
|
|
2930
|
-
baseUrl: "https://mtgate-3.yuepa8.com" | (string & {});
|
|
2931
|
-
};
|
|
2932
2453
|
//# sourceMappingURL=types.gen.d.ts.map
|